From 0741730a9b6d4351a5ee65223e9c9d055a76994b Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Thu, 4 Jun 2020 16:39:11 +0800 Subject: [PATCH 1/6] replace sdk --- src/azure-firewall/azext_firewall/__init__.py | 2 +- .../azext_firewall/_client_factory.py | 2 +- src/azure-firewall/azext_firewall/commands.py | 4 +- src/azure-firewall/azext_firewall/custom.py | 78 +- src/azure-firewall/azext_firewall/profiles.py | 2 +- .../v2019_07_01/_operations_mixin.py | 190 - ..._virtual_network_connections_operations.py | 174 - .../_network_management_client_operations.py | 151 - .../{v2019_07_01 => v2020_05_01}/__init__.py | 0 .../_configuration.py | 0 .../_network_management_client.py | 1538 +++- .../v2020_05_01/_operations_mixin.py | 451 + .../{v2019_07_01 => v2020_05_01}/models.py | 3 +- .../v2020_05_01}/__init__.py | 0 .../v2020_05_01}/_configuration.py | 0 .../_network_management_client.py | 273 +- .../v2020_05_01}/models/__init__.py | 423 +- .../v2020_05_01}/models/_models.py | 7256 +++++++++++----- .../v2020_05_01}/models/_models_py3.py | 7466 ++++++++++++----- .../_network_management_client_enums.py | 163 +- .../v2020_05_01}/models/_paged_models.py | 378 +- .../v2020_05_01}/operations/__init__.py | 46 +- .../_application_gateways_operations.py | 111 +- ..._application_security_groups_operations.py | 91 +- .../_available_delegations_operations.py | 6 +- ..._available_endpoint_services_operations.py | 6 +- ...lable_private_endpoint_types_operations.py | 8 +- ...e_resource_group_delegations_operations.py | 6 +- .../_available_service_aliases_operations.py | 183 + .../_azure_firewall_fqdn_tags_operations.py | 6 +- .../operations/_azure_firewalls_operations.py | 96 +- .../operations/_bastion_hosts_operations.py | 16 +- .../_bgp_service_communities_operations.py | 6 +- .../_connection_monitors_operations.py | 36 +- .../_ddos_custom_policies_operations.py | 83 +- .../_ddos_protection_plans_operations.py | 87 +- .../_default_security_rules_operations.py | 8 +- ...route_circuit_authorizations_operations.py | 14 +- ...ss_route_circuit_connections_operations.py | 14 +- ...press_route_circuit_peerings_operations.py | 14 +- .../_express_route_circuits_operations.py | 103 +- .../_express_route_connections_operations.py | 14 +- ...te_cross_connection_peerings_operations.py | 14 +- ...ress_route_cross_connections_operations.py | 101 +- .../_express_route_gateways_operations.py | 16 +- .../_express_route_links_operations.py | 8 +- ...xpress_route_ports_locations_operations.py | 8 +- .../_express_route_ports_operations.py | 89 +- ...ress_route_service_providers_operations.py | 6 +- .../_firewall_policies_operations.py | 86 +- ...licy_rule_collection_groups_operations.py} | 96 +- .../operations/_flow_logs_operations.py | 364 + .../_hub_route_tables_operations.py | 370 + ..._virtual_network_connections_operations.py | 373 + .../_inbound_nat_rules_operations.py | 14 +- .../operations/_ip_allocations_operations.py | 493 ++ .../operations/_ip_groups_operations.py | 487 ++ ...lancer_backend_address_pools_operations.py | 372 + ...r_frontend_ip_configurations_operations.py | 8 +- ...alancer_load_balancing_rules_operations.py | 8 +- ..._balancer_network_interfaces_operations.py | 6 +- ...load_balancer_outbound_rules_operations.py | 8 +- .../_load_balancer_probes_operations.py | 8 +- .../operations/_load_balancers_operations.py | 87 +- .../_local_network_gateways_operations.py | 87 +- .../operations/_nat_gateways_operations.py | 18 +- ..._interface_ip_configurations_operations.py | 8 +- ...ork_interface_load_balancers_operations.py | 6 +- ...interface_tap_configurations_operations.py | 14 +- .../_network_interfaces_operations.py | 117 +- .../_network_management_client_operations.py | 726 ++ .../_network_profiles_operations.py | 87 +- .../_network_security_groups_operations.py | 89 +- .../_network_virtual_appliances_operations.py | 499 ++ .../_network_watchers_operations.py | 126 +- .../v2020_05_01}/operations/_operations.py | 6 +- .../_p2s_vpn_gateways_operations.py | 340 +- .../operations/_packet_captures_operations.py | 30 +- ...ss_route_circuit_connections_operations.py | 8 +- .../_private_dns_zone_groups_operations.py | 373 + .../_private_endpoints_operations.py | 26 +- .../_private_link_services_operations.py | 184 +- .../_public_ip_addresses_operations.py | 101 +- .../_public_ip_prefixes_operations.py | 87 +- .../_resource_navigation_links_operations.py | 6 +- .../_route_filter_rules_operations.py | 120 +- .../operations/_route_filters_operations.py | 97 +- .../operations/_route_tables_operations.py | 87 +- .../operations/_routes_operations.py | 14 +- .../_security_partner_providers_operations.py | 494 ++ .../operations/_security_rules_operations.py | 14 +- .../_service_association_links_operations.py | 6 +- .../_service_endpoint_policies_operations.py | 93 +- ..._endpoint_policy_definitions_operations.py | 14 +- .../operations/_service_tags_operations.py | 6 +- .../operations/_subnets_operations.py | 16 +- .../operations/_usages_operations.py | 6 +- .../_virtual_appliance_sites_operations.py | 369 + .../_virtual_appliance_skus_operations.py} | 56 +- .../_virtual_hub_bgp_connection_operations.py | 293 + ..._virtual_hub_bgp_connections_operations.py | 112 + ...irtual_hub_ip_configuration_operations.py} | 157 +- ..._virtual_hub_route_table_v2s_operations.py | 369 + .../operations/_virtual_hubs_operations.py | 232 +- ..._network_gateway_connections_operations.py | 32 +- .../_virtual_network_gateways_operations.py | 150 +- .../_virtual_network_peerings_operations.py | 14 +- .../_virtual_network_taps_operations.py | 87 +- .../_virtual_networks_operations.py | 91 +- .../_virtual_router_peerings_operations.py | 95 +- .../operations/_virtual_routers_operations.py | 96 +- .../operations/_virtual_wans_operations.py | 132 +- .../operations/_vpn_connections_operations.py | 43 +- .../operations/_vpn_gateways_operations.py | 135 +- .../_vpn_link_connections_operations.py | 14 +- ..._associated_with_virtual_wan_operations.py | 138 + .../_vpn_server_configurations_operations.py | 500 ++ .../_vpn_site_link_connections_operations.py | 14 +- .../operations/_vpn_site_links_operations.py | 23 +- .../_vpn_sites_configuration_operations.py | 12 +- .../operations/_vpn_sites_operations.py | 132 +- ...pplication_firewall_policies_operations.py | 14 +- .../v2020_05_01}/version.py | 0 .../{v2019_07_01 => v2020_05_01}/version.py | 2 +- 124 files changed, 22315 insertions(+), 7432 deletions(-) delete mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_operations_mixin.py delete mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_hub_virtual_network_connections_operations.py delete mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_management_client_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01 => v2020_05_01}/__init__.py (100%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01 => v2020_05_01}/_configuration.py (100%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01 => v2020_05_01}/_network_management_client.py (74%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_operations_mixin.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01 => v2020_05_01}/models.py (86%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/__init__.py (100%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/_configuration.py (100%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/_network_management_client.py (68%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/models/__init__.py (78%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/models/_models.py (71%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/models/_models_py3.py (70%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/models/_network_management_client_enums.py (87%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/models/_paged_models.py (71%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/__init__.py (82%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_application_gateways_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_application_security_groups_operations.py (89%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_available_delegations_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_available_endpoint_services_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_available_private_endpoint_types_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_available_resource_group_delegations_operations.py (95%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_service_aliases_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_azure_firewall_fqdn_tags_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_azure_firewalls_operations.py (87%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_bastion_hosts_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_bgp_service_communities_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_connection_monitors_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_ddos_custom_policies_operations.py (87%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_ddos_protection_plans_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_default_security_rules_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_circuit_authorizations_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_circuit_connections_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_circuit_peerings_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_circuits_operations.py (93%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_connections_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_cross_connection_peerings_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_cross_connections_operations.py (92%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_gateways_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_links_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_ports_locations_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_ports_operations.py (89%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_express_route_service_providers_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_firewall_policies_operations.py (82%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py => v2020_05_01/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py} (81%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_flow_logs_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_route_tables_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_virtual_network_connections_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_inbound_nat_rules_operations.py (97%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_allocations_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_groups_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancer_frontend_ip_configurations_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancer_load_balancing_rules_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancer_network_interfaces_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancer_outbound_rules_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancer_probes_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_load_balancers_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_local_network_gateways_operations.py (89%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_nat_gateways_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_interface_ip_configurations_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_interface_load_balancers_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_interface_tap_configurations_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_interfaces_operations.py (93%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_management_client_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_profiles_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_security_groups_operations.py (89%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_virtual_appliances_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_network_watchers_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_p2s_vpn_gateways_operations.py (72%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_packet_captures_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_peer_express_route_circuit_connections_operations.py (96%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_dns_zone_groups_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_private_endpoints_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_private_link_services_operations.py (82%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_public_ip_addresses_operations.py (92%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_public_ip_prefixes_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_resource_navigation_links_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_route_filter_rules_operations.py (75%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_route_filters_operations.py (87%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_route_tables_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_routes_operations.py (97%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_partner_providers_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_security_rules_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_service_association_links_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_service_endpoint_policies_operations.py (88%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_service_endpoint_policy_definitions_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_service_tags_operations.py (95%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_subnets_operations.py (98%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_usages_operations.py (95%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_sites_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01/operations/_load_balancer_backend_address_pools_operations.py => v2020_05_01/v2020_05_01/operations/_virtual_appliance_skus_operations.py} (67%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connections_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01/operations/_p2s_vpn_server_configurations_operations.py => v2020_05_01/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py} (67%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_route_table_v2s_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_hubs_operations.py (76%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_network_gateway_connections_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_network_gateways_operations.py (93%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_network_peerings_operations.py (97%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_network_taps_operations.py (89%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_networks_operations.py (91%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_router_peerings_operations.py (79%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_routers_operations.py (81%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_virtual_wans_operations.py (85%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_connections_operations.py (92%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_gateways_operations.py (86%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_link_connections_operations.py (90%) create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py create mode 100644 src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_operations.py rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_site_link_connections_operations.py (91%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_site_links_operations.py (90%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_sites_configuration_operations.py (94%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_vpn_sites_operations.py (85%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/operations/_web_application_firewall_policies_operations.py (96%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01/v2019_07_01 => v2020_05_01/v2020_05_01}/version.py (100%) rename src/azure-firewall/azext_firewall/vendored_sdks/{v2019_07_01 => v2020_05_01}/version.py (94%) diff --git a/src/azure-firewall/azext_firewall/__init__.py b/src/azure-firewall/azext_firewall/__init__.py index 72712e6ee9c..4d20821fef8 100644 --- a/src/azure-firewall/azext_firewall/__init__.py +++ b/src/azure-firewall/azext_firewall/__init__.py @@ -15,7 +15,7 @@ def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType from .profiles import CUSTOM_FIREWALL, CUSTOM_FIREWALL_POLICY register_resource_type('latest', CUSTOM_FIREWALL, '2019-11-01') - register_resource_type('latest', CUSTOM_FIREWALL_POLICY, '2019-07-01') + register_resource_type('latest', CUSTOM_FIREWALL_POLICY, '2020-05-01') super(AzureFirewallCommandsLoader, self).__init__( cli_ctx=cli_ctx, diff --git a/src/azure-firewall/azext_firewall/_client_factory.py b/src/azure-firewall/azext_firewall/_client_factory.py index 353122a721d..62f712cd674 100644 --- a/src/azure-firewall/azext_firewall/_client_factory.py +++ b/src/azure-firewall/azext_firewall/_client_factory.py @@ -15,7 +15,7 @@ def network_client_policy_factory(cli_ctx, aux_subscriptions=None, **_): from azure.cli.core.commands.client_factory import get_mgmt_service_client from .profiles import CUSTOM_FIREWALL_POLICY return get_mgmt_service_client(cli_ctx, CUSTOM_FIREWALL_POLICY, aux_subscriptions=aux_subscriptions, - api_version='2019-07-01') + api_version='2020-05-01') def cf_firewalls(cli_ctx, _): diff --git a/src/azure-firewall/azext_firewall/commands.py b/src/azure-firewall/azext_firewall/commands.py index 7f56228e7b6..914bd2db403 100644 --- a/src/azure-firewall/azext_firewall/commands.py +++ b/src/azure-firewall/azext_firewall/commands.py @@ -37,14 +37,14 @@ def load_command_table(self, _): ) network_firewall_policies_sdk = CliCommandType( - operations_tmpl='azext_firewall.vendored_sdks.v2019_07_01.operations#FirewallPoliciesOperations.{}', + operations_tmpl='azext_firewall.vendored_sdks.v2020_05_01.operations#FirewallPoliciesOperations.{}', client_factory=cf_firewall_policies, resource_type=CUSTOM_FIREWALL_POLICY, min_api='2019-07-01' ) network_firewall_policy_rule_groups = CliCommandType( - operations_tmpl='azext_firewall.vendored_sdks.v2019_07_01.operations#FirewallPolicyRuleGroupsOperations.{}', + operations_tmpl='azext_firewall.vendored_sdks.v2020_05_01.operations#FirewallPolicyRuleGroupsOperations.{}', client_factory=cf_firewall_policy_rule_groups, resource_type=CUSTOM_FIREWALL_POLICY, min_api='2019-07-01' diff --git a/src/azure-firewall/azext_firewall/custom.py b/src/azure-firewall/azext_firewall/custom.py index 58aa7d7e802..3a1e8451096 100644 --- a/src/azure-firewall/azext_firewall/custom.py +++ b/src/azure-firewall/azext_firewall/custom.py @@ -440,12 +440,12 @@ def list_azure_firewall_policies(cmd, resource_group_name=None): def create_azure_firewall_policy_rule_group(cmd, resource_group_name, firewall_policy_name, rule_group_name, priority, location=None, tags=None): - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups - FirewallPolicyRuleGroup = cmd.get_models('FirewallPolicyRuleGroup') - rule_group = FirewallPolicyRuleGroup(priority=priority, - location=location, - tags=tags, - name=rule_group_name) + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups + FirewallPolicyRuleCollectionGroup = cmd.get_models('FirewallPolicyRuleCollectionGroup') + rule_group = FirewallPolicyRuleCollectionGroup(priority=priority, + location=location, + tags=tags, + name=rule_group_name) return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) @@ -461,27 +461,27 @@ def add_azure_firewall_policy_nat_rule(cmd, resource_group_name, firewall_policy rule_priority, translated_address=None, translated_port=None, nat_action=None, condition_name=None, description=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None): - FirewallPolicyNatRule, FirewallPolicyNatRuleAction, \ - NetworkRuleCondition, FirewallPolicyRuleConditionNetworkProtocol = \ - cmd.get_models('FirewallPolicyNatRule', 'FirewallPolicyNatRuleAction', - 'NetworkRuleCondition', 'FirewallPolicyRuleConditionNetworkProtocol') - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + FirewallPolicyNatRuleCollection, FirewallPolicyNatRuleCollectionAction, \ + NetworkRule, FirewallPolicyRuleNetworkProtocol = \ + cmd.get_models('FirewallPolicyNatRuleCollection', 'FirewallPolicyNatRuleCollectionAction', + 'NetworkRule', 'FirewallPolicyRuleNetworkProtocol') + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - ip_protocols = list(map(FirewallPolicyRuleConditionNetworkProtocol, ip_protocols)) - rule_condition = NetworkRuleCondition(name=condition_name, - description=description, - rule_condition_type="NetworkRuleCondition", - ip_protocols=ip_protocols, - source_addresses=source_addresses, - destination_addresses=destination_addresses, - destination_ports=destination_ports) - nat_rule = FirewallPolicyNatRule(name=rule_name, - priority=rule_priority, - rule_type="FirewallPolicyNatRule", - translated_address=translated_address, - translated_port=translated_port, - action=FirewallPolicyNatRuleAction(type=nat_action), - rule_condition=rule_condition) + ip_protocols = list(map(FirewallPolicyRuleNetworkProtocol, ip_protocols)) + rule_condition = NetworkRule(name=condition_name, + description=description, + rule_type="NetworkRule", + ip_protocols=ip_protocols, + source_addresses=source_addresses, + destination_addresses=destination_addresses, + destination_ports=destination_ports) + nat_rule = FirewallPolicyNatRuleCollection(name=rule_name, + priority=rule_priority, + rule_collection_type="FirewallPolicyNatRuleCollection", + translated_address=translated_address, + translated_port=translated_port, + action=FirewallPolicyNatRuleCollectionAction(type=nat_action), + rules=rule_condition) rule_group.rules.append(nat_rule) return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) @@ -492,15 +492,15 @@ def add_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_pol condition_type=None, description=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, protocols=None, fqdn_tags=None, target_fqdns=None): - NetworkRuleCondition, FirewallPolicyRuleConditionApplicationProtocol,\ + NetworkRule, FirewallPolicyRuleConditionApplicationProtocol,\ ApplicationRuleCondition, FirewallPolicyFilterRuleAction, FirewallPolicyFilterRule =\ - cmd.get_models('NetworkRuleCondition', 'FirewallPolicyRuleConditionApplicationProtocol', + cmd.get_models('NetworkRule', 'FirewallPolicyRuleConditionApplicationProtocol', 'ApplicationRuleCondition', 'FirewallPolicyFilterRuleAction', 'FirewallPolicyFilterRule') - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) rule_condition = None if condition_type == "NetworkRule": - rule_condition = NetworkRuleCondition(name=condition_name, + rule_condition = NetworkRule(name=condition_name, description=description, rule_condition_type=condition_type, ip_protocols=ip_protocols, @@ -531,7 +531,7 @@ def map_application_condition_protocol(item): def remove_azure_firewall_policy_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name, rule_name): - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) for rule in rule_group.rules: if rule.name == rule_name: @@ -540,7 +540,7 @@ def remove_azure_firewall_policy_rule(cmd, resource_group_name, firewall_policy_ def list_azure_firewall_policy_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name): - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) return rule_group.rules @@ -551,10 +551,10 @@ def add_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, fi description=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, protocols=None, fqdn_tags=None, target_fqdns=None): - NetworkRuleCondition, FirewallPolicyRuleConditionApplicationProtocol, ApplicationRuleCondition = \ - cmd.get_models('NetworkRuleCondition', 'FirewallPolicyRuleConditionApplicationProtocol', + NetworkRule, FirewallPolicyRuleConditionApplicationProtocol, ApplicationRuleCondition = \ + cmd.get_models('NetworkRule', 'FirewallPolicyRuleConditionApplicationProtocol', 'ApplicationRuleCondition') - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) target_rule = None for rule in rule_group.rules: @@ -564,11 +564,11 @@ def add_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, fi if target_rule is None: raise CLIError("Cannot find corresponding rule.") - if target_rule.rule_type == "FirewallPolicyNatRule": + if target_rule.rule_type == "FirewallPolicyNatRuleCollection": raise CLIError("Only FirewallPolicyFilterRule can support multiple conditions.") rule_condition = None if condition_type == "NetworkRule": - rule_condition = NetworkRuleCondition(name=condition_name, + rule_condition = NetworkRule(name=condition_name, description=description, rule_condition_type=condition_type, ip_protocols=ip_protocols, @@ -596,7 +596,7 @@ def map_application_condition_protocol(item): def remove_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, firewall_policy_name, rule_group_name, rule_name, condition_name): - client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_groups + client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) target_rule = None for rule in rule_group.rules: @@ -606,7 +606,7 @@ def remove_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, if target_rule is None: raise CLIError("Cannot find corresponding rule.") - if target_rule.rule_type == "FirewallPolicyNatRule": + if target_rule.rule_type == "FirewallPolicyNatRuleCollection": raise CLIError("Only FirewallPolicyFilterRule can support multiple conditions") for condition in target_rule.rule_conditions: if condition.name == condition_name: diff --git a/src/azure-firewall/azext_firewall/profiles.py b/src/azure-firewall/azext_firewall/profiles.py index 8348107fdd1..3eb3e8b7b43 100644 --- a/src/azure-firewall/azext_firewall/profiles.py +++ b/src/azure-firewall/azext_firewall/profiles.py @@ -6,4 +6,4 @@ from azure.cli.core.profiles import CustomResourceType CUSTOM_FIREWALL = CustomResourceType('azext_firewall.vendored_sdks.v2019_11_01', 'NetworkManagementClient') -CUSTOM_FIREWALL_POLICY = CustomResourceType('azext_firewall.vendored_sdks.v2019_07_01', 'NetworkManagementClient') +CUSTOM_FIREWALL_POLICY = CustomResourceType('azext_firewall.vendored_sdks.v2020_05_01', 'NetworkManagementClient') diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_operations_mixin.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_operations_mixin.py deleted file mode 100644 index b064f1de9b2..00000000000 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_operations_mixin.py +++ /dev/null @@ -1,190 +0,0 @@ -# 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 msrest import Serializer, Deserializer - - -class NetworkManagementClientOperationsMixin(object): - - - def check_dns_name_availability(self, location, domain_name_label, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: DnsNameAvailabilityResult or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_09_01.models.DnsNameAvailabilityResult or - ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` - - """ - api_version = self._get_api_version('check_dns_name_availability') - if api_version == '2015-06-15': - from .v2015_06_15.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2016-09-01': - from .v2016_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2016-12-01': - from .v2016_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-03-01': - from .v2017_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-06-01': - from .v2017_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-08-01': - from .v2017_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-09-01': - from .v2017_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-10-01': - from .v2017_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2017-11-01': - from .v2017_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-01-01': - from .v2018_01_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-02-01': - from .v2018_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-04-01': - from .v2018_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-06-01': - from .v2018_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-07-01': - from .v2018_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-08-01': - from .v2018_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-10-01': - from .v2018_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-12-01': - from .v2018_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-02-01': - from .v2019_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-07-01': - from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-08-01': - from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-09-01': - from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass - else: - raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.check_dns_name_availability(location, domain_name_label, custom_headers, raw, **operation_config) - - def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id=None, authentication_method=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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_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.v2019_09_01.models.AuthenticationMethod - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VpnProfileResponse or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_09_01.models.VpnProfileResponse]] - :raises: :class:`CloudError` - - """ - api_version = self._get_api_version('generatevirtualwanvpnserverconfigurationvpnprofile') - if api_version == '2019-08-01': - from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-09-01': - from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass - else: - raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id, authentication_method, custom_headers, raw, polling, **operation_config) - - def supported_security_providers(self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: VirtualWanSecurityProviders or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_09_01.models.VirtualWanSecurityProviders or - ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` - - """ - api_version = self._get_api_version('supported_security_providers') - if api_version == '2018-08-01': - from .v2018_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-10-01': - from .v2018_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-11-01': - from .v2018_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2018-12-01': - from .v2018_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-02-01': - from .v2019_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-04-01': - from .v2019_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-06-01': - from .v2019_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-07-01': - from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-08-01': - from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass - elif api_version == '2019-09-01': - from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass - else: - raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) - return mixin_instance.supported_security_providers(resource_group_name, virtual_wan_name, custom_headers, raw, **operation_config) diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_hub_virtual_network_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_hub_virtual_network_connections_operations.py deleted file mode 100644 index 5b79d222c65..00000000000 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_hub_virtual_network_connections_operations.py +++ /dev/null @@ -1,174 +0,0 @@ -# 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 uuid -from msrest.pipeline import ClientRawResponse - -from .. import models - - -class HubVirtualNetworkConnectionsOperations(object): - """HubVirtualNetworkConnectionsOperations operations. - - You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. - - :param client: Client for service requests. - :param config: Configuration of service client. - :param serializer: An object model serializer. - :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". - """ - - models = models - - def __init__(self, client, config, serializer, deserializer): - - self._client = client - self._serialize = serializer - self._deserialize = deserializer - self.api_version = "2019-07-01" - - self.config = config - - def get( - self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: HubVirtualNetworkConnection or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_07_01.models.HubVirtualNetworkConnection or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` - """ - # Construct URL - url = self.get.metadata['url'] - 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 = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('HubVirtualNetworkConnection', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} - - def list( - self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: An iterator like instance of HubVirtualNetworkConnection - :rtype: - ~azure.mgmt.network.v2019_07_01.models.HubVirtualNetworkConnectionPaged[~azure.mgmt.network.v2019_07_01.models.HubVirtualNetworkConnection] - :raises: - :class:`ErrorException` - """ - def prepare_request(next_link=None): - if not next_link: - # Construct URL - url = self.list.metadata['url'] - 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 = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - else: - url = next_link - query_parameters = {} - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) - return request - - def internal_paging(next_link=None): - request = prepare_request(next_link) - - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - return response - - # Deserialize response - header_dict = None - if raw: - header_dict = {} - deserialized = models.HubVirtualNetworkConnectionPaged(internal_paging, self._deserialize.dependencies, header_dict) - - return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_management_client_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_management_client_operations.py deleted file mode 100644 index db2426576b7..00000000000 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_management_client_operations.py +++ /dev/null @@ -1,151 +0,0 @@ -# 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 msrest.pipeline import ClientRawResponse -from msrestazure.azure_exceptions import CloudError -from msrest.polling import LROPoller, NoPolling -from msrestazure.polling.arm_polling import ARMPolling -from .. import models -import uuid - - -class NetworkManagementClientOperationsMixin(object): - - def check_dns_name_availability( - self, location, domain_name_label, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: DnsNameAvailabilityResult or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_07_01.models.DnsNameAvailabilityResult or - ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` - """ - api_version = "2019-07-01" - - # Construct URL - url = self.check_dns_name_availability.metadata['url'] - 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 = {} - 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 = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('DnsNameAvailabilityResult', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - check_dns_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'} - - def supported_security_providers( - self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): - """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 - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: VirtualWanSecurityProviders or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviders or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` - """ - api_version = "2019-07-01" - - # Construct URL - url = self.supported_security_providers.metadata['url'] - 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 = {} - query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('VirtualWanSecurityProviders', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - supported_security_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/__init__.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/__init__.py similarity index 100% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/__init__.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/__init__.py diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_configuration.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_configuration.py similarity index 100% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_configuration.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_configuration.py diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_network_management_client.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_network_management_client.py similarity index 74% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_network_management_client.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_network_management_client.py index a049c96b5d5..614c33bf866 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/_network_management_client.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_network_management_client.py @@ -46,11 +46,12 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, MultiApiCl :type profile: azure.profiles.KnownProfiles """ - DEFAULT_API_VERSION = '2019-09-01' + DEFAULT_API_VERSION = '2020-05-01' _PROFILE_TAG = "azure.mgmt.network.NetworkManagementClient" LATEST_PROFILE = ProfileDefinition({ _PROFILE_TAG: { None: DEFAULT_API_VERSION, + 'firewall_policy_rule_groups': '2020-04-01', 'interface_endpoints': '2019-02-01', 'p2s_vpn_server_configurations': '2019-07-01', 'virtual_wa_ns': '2018-07-01', @@ -99,6 +100,11 @@ def models(cls, api_version=DEFAULT_API_VERSION): * 2019-07-01: :mod:`v2019_07_01.models` * 2019-08-01: :mod:`v2019_08_01.models` * 2019-09-01: :mod:`v2019_09_01.models` + * 2019-11-01: :mod:`v2019_11_01.models` + * 2019-12-01: :mod:`v2019_12_01.models` + * 2020-03-01: :mod:`v2020_03_01.models` + * 2020-04-01: :mod:`v2020_04_01.models` + * 2020-05-01: :mod:`v2020_05_01.models` """ if api_version == '2015-06-15': from .v2015_06_15 import models @@ -172,6 +178,21 @@ def models(cls, api_version=DEFAULT_API_VERSION): elif api_version == '2019-09-01': from .v2019_09_01 import models return models + elif api_version == '2019-11-01': + from .v2019_11_01 import models + return models + elif api_version == '2019-12-01': + from .v2019_12_01 import models + return models + elif api_version == '2020-03-01': + from .v2020_03_01 import models + return models + elif api_version == '2020-04-01': + from .v2020_04_01 import models + return models + elif api_version == '2020-05-01': + from .v2020_05_01 import models + return models raise NotImplementedError("APIVersion {} is not available".format(api_version)) @property @@ -202,6 +223,11 @@ def application_gateways(self): * 2019-07-01: :class:`ApplicationGatewaysOperations` * 2019-08-01: :class:`ApplicationGatewaysOperations` * 2019-09-01: :class:`ApplicationGatewaysOperations` + * 2019-11-01: :class:`ApplicationGatewaysOperations` + * 2019-12-01: :class:`ApplicationGatewaysOperations` + * 2020-03-01: :class:`ApplicationGatewaysOperations` + * 2020-04-01: :class:`ApplicationGatewaysOperations` + * 2020-05-01: :class:`ApplicationGatewaysOperations` """ api_version = self._get_api_version('application_gateways') if api_version == '2015-06-15': @@ -252,6 +278,16 @@ def application_gateways(self): from .v2019_08_01.operations import ApplicationGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ApplicationGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ApplicationGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -278,6 +314,11 @@ def application_security_groups(self): * 2019-07-01: :class:`ApplicationSecurityGroupsOperations` * 2019-08-01: :class:`ApplicationSecurityGroupsOperations` * 2019-09-01: :class:`ApplicationSecurityGroupsOperations` + * 2019-11-01: :class:`ApplicationSecurityGroupsOperations` + * 2019-12-01: :class:`ApplicationSecurityGroupsOperations` + * 2020-03-01: :class:`ApplicationSecurityGroupsOperations` + * 2020-04-01: :class:`ApplicationSecurityGroupsOperations` + * 2020-05-01: :class:`ApplicationSecurityGroupsOperations` """ api_version = self._get_api_version('application_security_groups') if api_version == '2017-09-01': @@ -316,6 +357,16 @@ def application_security_groups(self): from .v2019_08_01.operations import ApplicationSecurityGroupsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ApplicationSecurityGroupsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ApplicationSecurityGroupsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -334,6 +385,11 @@ def available_delegations(self): * 2019-07-01: :class:`AvailableDelegationsOperations` * 2019-08-01: :class:`AvailableDelegationsOperations` * 2019-09-01: :class:`AvailableDelegationsOperations` + * 2019-11-01: :class:`AvailableDelegationsOperations` + * 2019-12-01: :class:`AvailableDelegationsOperations` + * 2020-03-01: :class:`AvailableDelegationsOperations` + * 2020-04-01: :class:`AvailableDelegationsOperations` + * 2020-05-01: :class:`AvailableDelegationsOperations` """ api_version = self._get_api_version('available_delegations') if api_version == '2018-08-01': @@ -356,6 +412,16 @@ def available_delegations(self): from .v2019_08_01.operations import AvailableDelegationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AvailableDelegationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AvailableDelegationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -384,6 +450,11 @@ def available_endpoint_services(self): * 2019-07-01: :class:`AvailableEndpointServicesOperations` * 2019-08-01: :class:`AvailableEndpointServicesOperations` * 2019-09-01: :class:`AvailableEndpointServicesOperations` + * 2019-11-01: :class:`AvailableEndpointServicesOperations` + * 2019-12-01: :class:`AvailableEndpointServicesOperations` + * 2020-03-01: :class:`AvailableEndpointServicesOperations` + * 2020-04-01: :class:`AvailableEndpointServicesOperations` + * 2020-05-01: :class:`AvailableEndpointServicesOperations` """ api_version = self._get_api_version('available_endpoint_services') if api_version == '2017-06-01': @@ -426,6 +497,16 @@ def available_endpoint_services(self): from .v2019_08_01.operations import AvailableEndpointServicesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AvailableEndpointServicesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AvailableEndpointServicesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -439,6 +520,11 @@ def available_private_endpoint_types(self): * 2019-07-01: :class:`AvailablePrivateEndpointTypesOperations` * 2019-08-01: :class:`AvailablePrivateEndpointTypesOperations` * 2019-09-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2019-11-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2019-12-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2020-03-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2020-04-01: :class:`AvailablePrivateEndpointTypesOperations` + * 2020-05-01: :class:`AvailablePrivateEndpointTypesOperations` """ api_version = self._get_api_version('available_private_endpoint_types') if api_version == '2019-04-01': @@ -451,6 +537,16 @@ def available_private_endpoint_types(self): from .v2019_08_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AvailablePrivateEndpointTypesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -469,6 +565,11 @@ def available_resource_group_delegations(self): * 2019-07-01: :class:`AvailableResourceGroupDelegationsOperations` * 2019-08-01: :class:`AvailableResourceGroupDelegationsOperations` * 2019-09-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2019-11-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2019-12-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2020-03-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2020-04-01: :class:`AvailableResourceGroupDelegationsOperations` + * 2020-05-01: :class:`AvailableResourceGroupDelegationsOperations` """ api_version = self._get_api_version('available_resource_group_delegations') if api_version == '2018-08-01': @@ -491,6 +592,16 @@ def available_resource_group_delegations(self): from .v2019_08_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AvailableResourceGroupDelegationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -501,12 +612,27 @@ def available_service_aliases(self): * 2019-08-01: :class:`AvailableServiceAliasesOperations` * 2019-09-01: :class:`AvailableServiceAliasesOperations` + * 2019-11-01: :class:`AvailableServiceAliasesOperations` + * 2019-12-01: :class:`AvailableServiceAliasesOperations` + * 2020-03-01: :class:`AvailableServiceAliasesOperations` + * 2020-04-01: :class:`AvailableServiceAliasesOperations` + * 2020-05-01: :class:`AvailableServiceAliasesOperations` """ api_version = self._get_api_version('available_service_aliases') if api_version == '2019-08-01': from .v2019_08_01.operations import AvailableServiceAliasesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AvailableServiceAliasesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AvailableServiceAliasesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -525,6 +651,11 @@ def azure_firewall_fqdn_tags(self): * 2019-07-01: :class:`AzureFirewallFqdnTagsOperations` * 2019-08-01: :class:`AzureFirewallFqdnTagsOperations` * 2019-09-01: :class:`AzureFirewallFqdnTagsOperations` + * 2019-11-01: :class:`AzureFirewallFqdnTagsOperations` + * 2019-12-01: :class:`AzureFirewallFqdnTagsOperations` + * 2020-03-01: :class:`AzureFirewallFqdnTagsOperations` + * 2020-04-01: :class:`AzureFirewallFqdnTagsOperations` + * 2020-05-01: :class:`AzureFirewallFqdnTagsOperations` """ api_version = self._get_api_version('azure_firewall_fqdn_tags') if api_version == '2018-08-01': @@ -547,6 +678,16 @@ def azure_firewall_fqdn_tags(self): from .v2019_08_01.operations import AzureFirewallFqdnTagsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AzureFirewallFqdnTagsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AzureFirewallFqdnTagsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -568,6 +709,11 @@ def azure_firewalls(self): * 2019-07-01: :class:`AzureFirewallsOperations` * 2019-08-01: :class:`AzureFirewallsOperations` * 2019-09-01: :class:`AzureFirewallsOperations` + * 2019-11-01: :class:`AzureFirewallsOperations` + * 2019-12-01: :class:`AzureFirewallsOperations` + * 2020-03-01: :class:`AzureFirewallsOperations` + * 2020-04-01: :class:`AzureFirewallsOperations` + * 2020-05-01: :class:`AzureFirewallsOperations` """ api_version = self._get_api_version('azure_firewalls') if api_version == '2018-04-01': @@ -596,6 +742,16 @@ def azure_firewalls(self): from .v2019_08_01.operations import AzureFirewallsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import AzureFirewallsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import AzureFirewallsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -609,6 +765,11 @@ def bastion_hosts(self): * 2019-07-01: :class:`BastionHostsOperations` * 2019-08-01: :class:`BastionHostsOperations` * 2019-09-01: :class:`BastionHostsOperations` + * 2019-11-01: :class:`BastionHostsOperations` + * 2019-12-01: :class:`BastionHostsOperations` + * 2020-03-01: :class:`BastionHostsOperations` + * 2020-04-01: :class:`BastionHostsOperations` + * 2020-05-01: :class:`BastionHostsOperations` """ api_version = self._get_api_version('bastion_hosts') if api_version == '2019-04-01': @@ -621,6 +782,16 @@ def bastion_hosts(self): from .v2019_08_01.operations import BastionHostsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import BastionHostsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import BastionHostsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -651,6 +822,11 @@ def bgp_service_communities(self): * 2019-07-01: :class:`BgpServiceCommunitiesOperations` * 2019-08-01: :class:`BgpServiceCommunitiesOperations` * 2019-09-01: :class:`BgpServiceCommunitiesOperations` + * 2019-11-01: :class:`BgpServiceCommunitiesOperations` + * 2019-12-01: :class:`BgpServiceCommunitiesOperations` + * 2020-03-01: :class:`BgpServiceCommunitiesOperations` + * 2020-04-01: :class:`BgpServiceCommunitiesOperations` + * 2020-05-01: :class:`BgpServiceCommunitiesOperations` """ api_version = self._get_api_version('bgp_service_communities') if api_version == '2016-12-01': @@ -697,6 +873,16 @@ def bgp_service_communities(self): from .v2019_08_01.operations import BgpServiceCommunitiesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import BgpServiceCommunitiesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import BgpServiceCommunitiesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -722,6 +908,11 @@ def connection_monitors(self): * 2019-07-01: :class:`ConnectionMonitorsOperations` * 2019-08-01: :class:`ConnectionMonitorsOperations` * 2019-09-01: :class:`ConnectionMonitorsOperations` + * 2019-11-01: :class:`ConnectionMonitorsOperations` + * 2019-12-01: :class:`ConnectionMonitorsOperations` + * 2020-03-01: :class:`ConnectionMonitorsOperations` + * 2020-04-01: :class:`ConnectionMonitorsOperations` + * 2020-05-01: :class:`ConnectionMonitorsOperations` """ api_version = self._get_api_version('connection_monitors') if api_version == '2017-10-01': @@ -758,6 +949,16 @@ def connection_monitors(self): from .v2019_08_01.operations import ConnectionMonitorsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ConnectionMonitorsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ConnectionMonitorsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -774,6 +975,11 @@ def ddos_custom_policies(self): * 2019-07-01: :class:`DdosCustomPoliciesOperations` * 2019-08-01: :class:`DdosCustomPoliciesOperations` * 2019-09-01: :class:`DdosCustomPoliciesOperations` + * 2019-11-01: :class:`DdosCustomPoliciesOperations` + * 2019-12-01: :class:`DdosCustomPoliciesOperations` + * 2020-03-01: :class:`DdosCustomPoliciesOperations` + * 2020-04-01: :class:`DdosCustomPoliciesOperations` + * 2020-05-01: :class:`DdosCustomPoliciesOperations` """ api_version = self._get_api_version('ddos_custom_policies') if api_version == '2018-11-01': @@ -792,6 +998,16 @@ def ddos_custom_policies(self): from .v2019_08_01.operations import DdosCustomPoliciesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import DdosCustomPoliciesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import DdosCustomPoliciesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -814,6 +1030,11 @@ def ddos_protection_plans(self): * 2019-07-01: :class:`DdosProtectionPlansOperations` * 2019-08-01: :class:`DdosProtectionPlansOperations` * 2019-09-01: :class:`DdosProtectionPlansOperations` + * 2019-11-01: :class:`DdosProtectionPlansOperations` + * 2019-12-01: :class:`DdosProtectionPlansOperations` + * 2020-03-01: :class:`DdosProtectionPlansOperations` + * 2020-04-01: :class:`DdosProtectionPlansOperations` + * 2020-05-01: :class:`DdosProtectionPlansOperations` """ api_version = self._get_api_version('ddos_protection_plans') if api_version == '2018-02-01': @@ -844,6 +1065,16 @@ def ddos_protection_plans(self): from .v2019_08_01.operations import DdosProtectionPlansOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import DdosProtectionPlansOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import DdosProtectionPlansOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -872,6 +1103,11 @@ def default_security_rules(self): * 2019-07-01: :class:`DefaultSecurityRulesOperations` * 2019-08-01: :class:`DefaultSecurityRulesOperations` * 2019-09-01: :class:`DefaultSecurityRulesOperations` + * 2019-11-01: :class:`DefaultSecurityRulesOperations` + * 2019-12-01: :class:`DefaultSecurityRulesOperations` + * 2020-03-01: :class:`DefaultSecurityRulesOperations` + * 2020-04-01: :class:`DefaultSecurityRulesOperations` + * 2020-05-01: :class:`DefaultSecurityRulesOperations` """ api_version = self._get_api_version('default_security_rules') if api_version == '2017-06-01': @@ -914,6 +1150,16 @@ def default_security_rules(self): from .v2019_08_01.operations import DefaultSecurityRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import DefaultSecurityRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import DefaultSecurityRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -946,6 +1192,11 @@ def express_route_circuit_authorizations(self): * 2019-07-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2019-08-01: :class:`ExpressRouteCircuitAuthorizationsOperations` * 2019-09-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2019-11-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2019-12-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2020-03-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2020-04-01: :class:`ExpressRouteCircuitAuthorizationsOperations` + * 2020-05-01: :class:`ExpressRouteCircuitAuthorizationsOperations` """ api_version = self._get_api_version('express_route_circuit_authorizations') if api_version == '2015-06-15': @@ -996,6 +1247,16 @@ def express_route_circuit_authorizations(self): from .v2019_08_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCircuitAuthorizationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1018,6 +1279,11 @@ def express_route_circuit_connections(self): * 2019-07-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2019-08-01: :class:`ExpressRouteCircuitConnectionsOperations` * 2019-09-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2019-11-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2019-12-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2020-03-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2020-04-01: :class:`ExpressRouteCircuitConnectionsOperations` + * 2020-05-01: :class:`ExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('express_route_circuit_connections') if api_version == '2018-02-01': @@ -1048,6 +1314,16 @@ def express_route_circuit_connections(self): from .v2019_08_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCircuitConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1080,6 +1356,11 @@ def express_route_circuit_peerings(self): * 2019-07-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2019-08-01: :class:`ExpressRouteCircuitPeeringsOperations` * 2019-09-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2019-11-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2019-12-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2020-03-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2020-04-01: :class:`ExpressRouteCircuitPeeringsOperations` + * 2020-05-01: :class:`ExpressRouteCircuitPeeringsOperations` """ api_version = self._get_api_version('express_route_circuit_peerings') if api_version == '2015-06-15': @@ -1130,6 +1411,16 @@ def express_route_circuit_peerings(self): from .v2019_08_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCircuitPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1162,6 +1453,11 @@ def express_route_circuits(self): * 2019-07-01: :class:`ExpressRouteCircuitsOperations` * 2019-08-01: :class:`ExpressRouteCircuitsOperations` * 2019-09-01: :class:`ExpressRouteCircuitsOperations` + * 2019-11-01: :class:`ExpressRouteCircuitsOperations` + * 2019-12-01: :class:`ExpressRouteCircuitsOperations` + * 2020-03-01: :class:`ExpressRouteCircuitsOperations` + * 2020-04-01: :class:`ExpressRouteCircuitsOperations` + * 2020-05-01: :class:`ExpressRouteCircuitsOperations` """ api_version = self._get_api_version('express_route_circuits') if api_version == '2015-06-15': @@ -1212,6 +1508,16 @@ def express_route_circuits(self): from .v2019_08_01.operations import ExpressRouteCircuitsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCircuitsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCircuitsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1230,6 +1536,11 @@ def express_route_connections(self): * 2019-07-01: :class:`ExpressRouteConnectionsOperations` * 2019-08-01: :class:`ExpressRouteConnectionsOperations` * 2019-09-01: :class:`ExpressRouteConnectionsOperations` + * 2019-11-01: :class:`ExpressRouteConnectionsOperations` + * 2019-12-01: :class:`ExpressRouteConnectionsOperations` + * 2020-03-01: :class:`ExpressRouteConnectionsOperations` + * 2020-04-01: :class:`ExpressRouteConnectionsOperations` + * 2020-05-01: :class:`ExpressRouteConnectionsOperations` """ api_version = self._get_api_version('express_route_connections') if api_version == '2018-08-01': @@ -1252,6 +1563,16 @@ def express_route_connections(self): from .v2019_08_01.operations import ExpressRouteConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1274,6 +1595,11 @@ def express_route_cross_connection_peerings(self): * 2019-07-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2019-08-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` * 2019-09-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2019-11-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2019-12-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2020-03-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2020-04-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` + * 2020-05-01: :class:`ExpressRouteCrossConnectionPeeringsOperations` """ api_version = self._get_api_version('express_route_cross_connection_peerings') if api_version == '2018-02-01': @@ -1304,6 +1630,16 @@ def express_route_cross_connection_peerings(self): from .v2019_08_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCrossConnectionPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1326,6 +1662,11 @@ def express_route_cross_connections(self): * 2019-07-01: :class:`ExpressRouteCrossConnectionsOperations` * 2019-08-01: :class:`ExpressRouteCrossConnectionsOperations` * 2019-09-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2019-11-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2019-12-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2020-03-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2020-04-01: :class:`ExpressRouteCrossConnectionsOperations` + * 2020-05-01: :class:`ExpressRouteCrossConnectionsOperations` """ api_version = self._get_api_version('express_route_cross_connections') if api_version == '2018-02-01': @@ -1356,6 +1697,16 @@ def express_route_cross_connections(self): from .v2019_08_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteCrossConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1374,6 +1725,11 @@ def express_route_gateways(self): * 2019-07-01: :class:`ExpressRouteGatewaysOperations` * 2019-08-01: :class:`ExpressRouteGatewaysOperations` * 2019-09-01: :class:`ExpressRouteGatewaysOperations` + * 2019-11-01: :class:`ExpressRouteGatewaysOperations` + * 2019-12-01: :class:`ExpressRouteGatewaysOperations` + * 2020-03-01: :class:`ExpressRouteGatewaysOperations` + * 2020-04-01: :class:`ExpressRouteGatewaysOperations` + * 2020-05-01: :class:`ExpressRouteGatewaysOperations` """ api_version = self._get_api_version('express_route_gateways') if api_version == '2018-08-01': @@ -1396,6 +1752,16 @@ def express_route_gateways(self): from .v2019_08_01.operations import ExpressRouteGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1414,6 +1780,11 @@ def express_route_links(self): * 2019-07-01: :class:`ExpressRouteLinksOperations` * 2019-08-01: :class:`ExpressRouteLinksOperations` * 2019-09-01: :class:`ExpressRouteLinksOperations` + * 2019-11-01: :class:`ExpressRouteLinksOperations` + * 2019-12-01: :class:`ExpressRouteLinksOperations` + * 2020-03-01: :class:`ExpressRouteLinksOperations` + * 2020-04-01: :class:`ExpressRouteLinksOperations` + * 2020-05-01: :class:`ExpressRouteLinksOperations` """ api_version = self._get_api_version('express_route_links') if api_version == '2018-08-01': @@ -1436,6 +1807,16 @@ def express_route_links(self): from .v2019_08_01.operations import ExpressRouteLinksOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteLinksOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteLinksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1454,6 +1835,11 @@ def express_route_ports(self): * 2019-07-01: :class:`ExpressRoutePortsOperations` * 2019-08-01: :class:`ExpressRoutePortsOperations` * 2019-09-01: :class:`ExpressRoutePortsOperations` + * 2019-11-01: :class:`ExpressRoutePortsOperations` + * 2019-12-01: :class:`ExpressRoutePortsOperations` + * 2020-03-01: :class:`ExpressRoutePortsOperations` + * 2020-04-01: :class:`ExpressRoutePortsOperations` + * 2020-05-01: :class:`ExpressRoutePortsOperations` """ api_version = self._get_api_version('express_route_ports') if api_version == '2018-08-01': @@ -1476,6 +1862,16 @@ def express_route_ports(self): from .v2019_08_01.operations import ExpressRoutePortsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRoutePortsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRoutePortsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1494,6 +1890,11 @@ def express_route_ports_locations(self): * 2019-07-01: :class:`ExpressRoutePortsLocationsOperations` * 2019-08-01: :class:`ExpressRoutePortsLocationsOperations` * 2019-09-01: :class:`ExpressRoutePortsLocationsOperations` + * 2019-11-01: :class:`ExpressRoutePortsLocationsOperations` + * 2019-12-01: :class:`ExpressRoutePortsLocationsOperations` + * 2020-03-01: :class:`ExpressRoutePortsLocationsOperations` + * 2020-04-01: :class:`ExpressRoutePortsLocationsOperations` + * 2020-05-01: :class:`ExpressRoutePortsLocationsOperations` """ api_version = self._get_api_version('express_route_ports_locations') if api_version == '2018-08-01': @@ -1516,6 +1917,16 @@ def express_route_ports_locations(self): from .v2019_08_01.operations import ExpressRoutePortsLocationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRoutePortsLocationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRoutePortsLocationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1548,6 +1959,11 @@ def express_route_service_providers(self): * 2019-07-01: :class:`ExpressRouteServiceProvidersOperations` * 2019-08-01: :class:`ExpressRouteServiceProvidersOperations` * 2019-09-01: :class:`ExpressRouteServiceProvidersOperations` + * 2019-11-01: :class:`ExpressRouteServiceProvidersOperations` + * 2019-12-01: :class:`ExpressRouteServiceProvidersOperations` + * 2020-03-01: :class:`ExpressRouteServiceProvidersOperations` + * 2020-04-01: :class:`ExpressRouteServiceProvidersOperations` + * 2020-05-01: :class:`ExpressRouteServiceProvidersOperations` """ api_version = self._get_api_version('express_route_service_providers') if api_version == '2015-06-15': @@ -1598,6 +2014,16 @@ def express_route_service_providers(self): from .v2019_08_01.operations import ExpressRouteServiceProvidersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ExpressRouteServiceProvidersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ExpressRouteServiceProvidersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1610,6 +2036,11 @@ def firewall_policies(self): * 2019-07-01: :class:`FirewallPoliciesOperations` * 2019-08-01: :class:`FirewallPoliciesOperations` * 2019-09-01: :class:`FirewallPoliciesOperations` + * 2019-11-01: :class:`FirewallPoliciesOperations` + * 2019-12-01: :class:`FirewallPoliciesOperations` + * 2020-03-01: :class:`FirewallPoliciesOperations` + * 2020-04-01: :class:`FirewallPoliciesOperations` + * 2020-05-01: :class:`FirewallPoliciesOperations` """ api_version = self._get_api_version('firewall_policies') if api_version == '2019-06-01': @@ -1620,6 +2051,29 @@ def firewall_policies(self): from .v2019_08_01.operations import FirewallPoliciesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import FirewallPoliciesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import FirewallPoliciesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def firewall_policy_rule_collection_groups(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`FirewallPolicyRuleCollectionGroupsOperations` + """ + api_version = self._get_api_version('firewall_policy_rule_collection_groups') + if api_version == '2020-05-01': + from .v2020_05_01.operations import FirewallPolicyRuleCollectionGroupsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1632,6 +2086,10 @@ def firewall_policy_rule_groups(self): * 2019-07-01: :class:`FirewallPolicyRuleGroupsOperations` * 2019-08-01: :class:`FirewallPolicyRuleGroupsOperations` * 2019-09-01: :class:`FirewallPolicyRuleGroupsOperations` + * 2019-11-01: :class:`FirewallPolicyRuleGroupsOperations` + * 2019-12-01: :class:`FirewallPolicyRuleGroupsOperations` + * 2020-03-01: :class:`FirewallPolicyRuleGroupsOperations` + * 2020-04-01: :class:`FirewallPolicyRuleGroupsOperations` """ api_version = self._get_api_version('firewall_policy_rule_groups') if api_version == '2019-06-01': @@ -1642,6 +2100,55 @@ def firewall_policy_rule_groups(self): from .v2019_08_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import FirewallPolicyRuleGroupsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def flow_logs(self): + """Instance depends on the API version: + + * 2019-11-01: :class:`FlowLogsOperations` + * 2019-12-01: :class:`FlowLogsOperations` + * 2020-03-01: :class:`FlowLogsOperations` + * 2020-04-01: :class:`FlowLogsOperations` + * 2020-05-01: :class:`FlowLogsOperations` + """ + api_version = self._get_api_version('flow_logs') + if api_version == '2019-11-01': + from .v2019_11_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import FlowLogsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import FlowLogsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def hub_route_tables(self): + """Instance depends on the API version: + + * 2020-04-01: :class:`HubRouteTablesOperations` + * 2020-05-01: :class:`HubRouteTablesOperations` + """ + api_version = self._get_api_version('hub_route_tables') + if api_version == '2020-04-01': + from .v2020_04_01.operations import HubRouteTablesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import HubRouteTablesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1663,6 +2170,11 @@ def hub_virtual_network_connections(self): * 2019-07-01: :class:`HubVirtualNetworkConnectionsOperations` * 2019-08-01: :class:`HubVirtualNetworkConnectionsOperations` * 2019-09-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2019-11-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2019-12-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2020-03-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2020-04-01: :class:`HubVirtualNetworkConnectionsOperations` + * 2020-05-01: :class:`HubVirtualNetworkConnectionsOperations` """ api_version = self._get_api_version('hub_virtual_network_connections') if api_version == '2018-04-01': @@ -1691,6 +2203,16 @@ def hub_virtual_network_connections(self): from .v2019_08_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import HubVirtualNetworkConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1719,6 +2241,11 @@ def inbound_nat_rules(self): * 2019-07-01: :class:`InboundNatRulesOperations` * 2019-08-01: :class:`InboundNatRulesOperations` * 2019-09-01: :class:`InboundNatRulesOperations` + * 2019-11-01: :class:`InboundNatRulesOperations` + * 2019-12-01: :class:`InboundNatRulesOperations` + * 2020-03-01: :class:`InboundNatRulesOperations` + * 2020-04-01: :class:`InboundNatRulesOperations` + * 2020-05-01: :class:`InboundNatRulesOperations` """ api_version = self._get_api_version('inbound_nat_rules') if api_version == '2017-06-01': @@ -1761,6 +2288,16 @@ def inbound_nat_rules(self): from .v2019_08_01.operations import InboundNatRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import InboundNatRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import InboundNatRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1790,15 +2327,49 @@ def interface_endpoints(self): raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property + def ip_allocations(self): + """Instance depends on the API version: + + * 2020-03-01: :class:`IpAllocationsOperations` + * 2020-04-01: :class:`IpAllocationsOperations` + * 2020-05-01: :class:`IpAllocationsOperations` + """ + api_version = self._get_api_version('ip_allocations') + if api_version == '2020-03-01': + from .v2020_03_01.operations import IpAllocationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import IpAllocationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import IpAllocationsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + @property def ip_groups(self): """Instance depends on the API version: * 2019-09-01: :class:`IpGroupsOperations` + * 2019-11-01: :class:`IpGroupsOperations` + * 2019-12-01: :class:`IpGroupsOperations` + * 2020-03-01: :class:`IpGroupsOperations` + * 2020-04-01: :class:`IpGroupsOperations` + * 2020-05-01: :class:`IpGroupsOperations` """ api_version = self._get_api_version('ip_groups') if api_version == '2019-09-01': from .v2019_09_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import IpGroupsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import IpGroupsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1827,6 +2398,11 @@ def load_balancer_backend_address_pools(self): * 2019-07-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2019-08-01: :class:`LoadBalancerBackendAddressPoolsOperations` * 2019-09-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2019-11-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2019-12-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2020-03-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2020-04-01: :class:`LoadBalancerBackendAddressPoolsOperations` + * 2020-05-01: :class:`LoadBalancerBackendAddressPoolsOperations` """ api_version = self._get_api_version('load_balancer_backend_address_pools') if api_version == '2017-06-01': @@ -1869,6 +2445,16 @@ def load_balancer_backend_address_pools(self): from .v2019_08_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerBackendAddressPoolsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1897,6 +2483,11 @@ def load_balancer_frontend_ip_configurations(self): * 2019-07-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2019-08-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` * 2019-09-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2019-11-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2019-12-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2020-03-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2020-04-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` + * 2020-05-01: :class:`LoadBalancerFrontendIPConfigurationsOperations` """ api_version = self._get_api_version('load_balancer_frontend_ip_configurations') if api_version == '2017-06-01': @@ -1939,6 +2530,16 @@ def load_balancer_frontend_ip_configurations(self): from .v2019_08_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerFrontendIPConfigurationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -1967,6 +2568,11 @@ def load_balancer_load_balancing_rules(self): * 2019-07-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2019-08-01: :class:`LoadBalancerLoadBalancingRulesOperations` * 2019-09-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2019-11-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2019-12-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2020-03-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2020-04-01: :class:`LoadBalancerLoadBalancingRulesOperations` + * 2020-05-01: :class:`LoadBalancerLoadBalancingRulesOperations` """ api_version = self._get_api_version('load_balancer_load_balancing_rules') if api_version == '2017-06-01': @@ -2009,6 +2615,16 @@ def load_balancer_load_balancing_rules(self): from .v2019_08_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerLoadBalancingRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2037,6 +2653,11 @@ def load_balancer_network_interfaces(self): * 2019-07-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2019-08-01: :class:`LoadBalancerNetworkInterfacesOperations` * 2019-09-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2019-11-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2019-12-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2020-03-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2020-04-01: :class:`LoadBalancerNetworkInterfacesOperations` + * 2020-05-01: :class:`LoadBalancerNetworkInterfacesOperations` """ api_version = self._get_api_version('load_balancer_network_interfaces') if api_version == '2017-06-01': @@ -2079,6 +2700,16 @@ def load_balancer_network_interfaces(self): from .v2019_08_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerNetworkInterfacesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2097,6 +2728,11 @@ def load_balancer_outbound_rules(self): * 2019-07-01: :class:`LoadBalancerOutboundRulesOperations` * 2019-08-01: :class:`LoadBalancerOutboundRulesOperations` * 2019-09-01: :class:`LoadBalancerOutboundRulesOperations` + * 2019-11-01: :class:`LoadBalancerOutboundRulesOperations` + * 2019-12-01: :class:`LoadBalancerOutboundRulesOperations` + * 2020-03-01: :class:`LoadBalancerOutboundRulesOperations` + * 2020-04-01: :class:`LoadBalancerOutboundRulesOperations` + * 2020-05-01: :class:`LoadBalancerOutboundRulesOperations` """ api_version = self._get_api_version('load_balancer_outbound_rules') if api_version == '2018-08-01': @@ -2119,6 +2755,16 @@ def load_balancer_outbound_rules(self): from .v2019_08_01.operations import LoadBalancerOutboundRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerOutboundRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerOutboundRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2147,6 +2793,11 @@ def load_balancer_probes(self): * 2019-07-01: :class:`LoadBalancerProbesOperations` * 2019-08-01: :class:`LoadBalancerProbesOperations` * 2019-09-01: :class:`LoadBalancerProbesOperations` + * 2019-11-01: :class:`LoadBalancerProbesOperations` + * 2019-12-01: :class:`LoadBalancerProbesOperations` + * 2020-03-01: :class:`LoadBalancerProbesOperations` + * 2020-04-01: :class:`LoadBalancerProbesOperations` + * 2020-05-01: :class:`LoadBalancerProbesOperations` """ api_version = self._get_api_version('load_balancer_probes') if api_version == '2017-06-01': @@ -2189,6 +2840,16 @@ def load_balancer_probes(self): from .v2019_08_01.operations import LoadBalancerProbesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancerProbesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancerProbesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2221,6 +2882,11 @@ def load_balancers(self): * 2019-07-01: :class:`LoadBalancersOperations` * 2019-08-01: :class:`LoadBalancersOperations` * 2019-09-01: :class:`LoadBalancersOperations` + * 2019-11-01: :class:`LoadBalancersOperations` + * 2019-12-01: :class:`LoadBalancersOperations` + * 2020-03-01: :class:`LoadBalancersOperations` + * 2020-04-01: :class:`LoadBalancersOperations` + * 2020-05-01: :class:`LoadBalancersOperations` """ api_version = self._get_api_version('load_balancers') if api_version == '2015-06-15': @@ -2271,6 +2937,16 @@ def load_balancers(self): from .v2019_08_01.operations import LoadBalancersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LoadBalancersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LoadBalancersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2303,6 +2979,11 @@ def local_network_gateways(self): * 2019-07-01: :class:`LocalNetworkGatewaysOperations` * 2019-08-01: :class:`LocalNetworkGatewaysOperations` * 2019-09-01: :class:`LocalNetworkGatewaysOperations` + * 2019-11-01: :class:`LocalNetworkGatewaysOperations` + * 2019-12-01: :class:`LocalNetworkGatewaysOperations` + * 2020-03-01: :class:`LocalNetworkGatewaysOperations` + * 2020-04-01: :class:`LocalNetworkGatewaysOperations` + * 2020-05-01: :class:`LocalNetworkGatewaysOperations` """ api_version = self._get_api_version('local_network_gateways') if api_version == '2015-06-15': @@ -2353,6 +3034,16 @@ def local_network_gateways(self): from .v2019_08_01.operations import LocalNetworkGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import LocalNetworkGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import LocalNetworkGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2367,6 +3058,11 @@ def nat_gateways(self): * 2019-07-01: :class:`NatGatewaysOperations` * 2019-08-01: :class:`NatGatewaysOperations` * 2019-09-01: :class:`NatGatewaysOperations` + * 2019-11-01: :class:`NatGatewaysOperations` + * 2019-12-01: :class:`NatGatewaysOperations` + * 2020-03-01: :class:`NatGatewaysOperations` + * 2020-04-01: :class:`NatGatewaysOperations` + * 2020-05-01: :class:`NatGatewaysOperations` """ api_version = self._get_api_version('nat_gateways') if api_version == '2019-02-01': @@ -2381,6 +3077,16 @@ def nat_gateways(self): from .v2019_08_01.operations import NatGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NatGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NatGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2409,6 +3115,11 @@ def network_interface_ip_configurations(self): * 2019-07-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2019-08-01: :class:`NetworkInterfaceIPConfigurationsOperations` * 2019-09-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2019-11-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2019-12-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2020-03-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2020-04-01: :class:`NetworkInterfaceIPConfigurationsOperations` + * 2020-05-01: :class:`NetworkInterfaceIPConfigurationsOperations` """ api_version = self._get_api_version('network_interface_ip_configurations') if api_version == '2017-06-01': @@ -2451,6 +3162,16 @@ def network_interface_ip_configurations(self): from .v2019_08_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkInterfaceIPConfigurationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2479,6 +3200,11 @@ def network_interface_load_balancers(self): * 2019-07-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2019-08-01: :class:`NetworkInterfaceLoadBalancersOperations` * 2019-09-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2019-11-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2019-12-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2020-03-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2020-04-01: :class:`NetworkInterfaceLoadBalancersOperations` + * 2020-05-01: :class:`NetworkInterfaceLoadBalancersOperations` """ api_version = self._get_api_version('network_interface_load_balancers') if api_version == '2017-06-01': @@ -2521,6 +3247,16 @@ def network_interface_load_balancers(self): from .v2019_08_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkInterfaceLoadBalancersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2539,6 +3275,11 @@ def network_interface_tap_configurations(self): * 2019-07-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2019-08-01: :class:`NetworkInterfaceTapConfigurationsOperations` * 2019-09-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2019-11-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2019-12-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2020-03-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2020-04-01: :class:`NetworkInterfaceTapConfigurationsOperations` + * 2020-05-01: :class:`NetworkInterfaceTapConfigurationsOperations` """ api_version = self._get_api_version('network_interface_tap_configurations') if api_version == '2018-08-01': @@ -2561,6 +3302,16 @@ def network_interface_tap_configurations(self): from .v2019_08_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkInterfaceTapConfigurationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2593,6 +3344,11 @@ def network_interfaces(self): * 2019-07-01: :class:`NetworkInterfacesOperations` * 2019-08-01: :class:`NetworkInterfacesOperations` * 2019-09-01: :class:`NetworkInterfacesOperations` + * 2019-11-01: :class:`NetworkInterfacesOperations` + * 2019-12-01: :class:`NetworkInterfacesOperations` + * 2020-03-01: :class:`NetworkInterfacesOperations` + * 2020-04-01: :class:`NetworkInterfacesOperations` + * 2020-05-01: :class:`NetworkInterfacesOperations` """ api_version = self._get_api_version('network_interfaces') if api_version == '2015-06-15': @@ -2643,6 +3399,16 @@ def network_interfaces(self): from .v2019_08_01.operations import NetworkInterfacesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkInterfacesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkInterfacesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2661,6 +3427,11 @@ def network_profiles(self): * 2019-07-01: :class:`NetworkProfilesOperations` * 2019-08-01: :class:`NetworkProfilesOperations` * 2019-09-01: :class:`NetworkProfilesOperations` + * 2019-11-01: :class:`NetworkProfilesOperations` + * 2019-12-01: :class:`NetworkProfilesOperations` + * 2020-03-01: :class:`NetworkProfilesOperations` + * 2020-04-01: :class:`NetworkProfilesOperations` + * 2020-05-01: :class:`NetworkProfilesOperations` """ api_version = self._get_api_version('network_profiles') if api_version == '2018-08-01': @@ -2683,6 +3454,16 @@ def network_profiles(self): from .v2019_08_01.operations import NetworkProfilesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkProfilesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkProfilesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2715,6 +3496,11 @@ def network_security_groups(self): * 2019-07-01: :class:`NetworkSecurityGroupsOperations` * 2019-08-01: :class:`NetworkSecurityGroupsOperations` * 2019-09-01: :class:`NetworkSecurityGroupsOperations` + * 2019-11-01: :class:`NetworkSecurityGroupsOperations` + * 2019-12-01: :class:`NetworkSecurityGroupsOperations` + * 2020-03-01: :class:`NetworkSecurityGroupsOperations` + * 2020-04-01: :class:`NetworkSecurityGroupsOperations` + * 2020-05-01: :class:`NetworkSecurityGroupsOperations` """ api_version = self._get_api_version('network_security_groups') if api_version == '2015-06-15': @@ -2765,6 +3551,38 @@ def network_security_groups(self): from .v2019_08_01.operations import NetworkSecurityGroupsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkSecurityGroupsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkSecurityGroupsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def network_virtual_appliances(self): + """Instance depends on the API version: + + * 2019-12-01: :class:`NetworkVirtualAppliancesOperations` + * 2020-03-01: :class:`NetworkVirtualAppliancesOperations` + * 2020-04-01: :class:`NetworkVirtualAppliancesOperations` + * 2020-05-01: :class:`NetworkVirtualAppliancesOperations` + """ + api_version = self._get_api_version('network_virtual_appliances') + if api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkVirtualAppliancesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkVirtualAppliancesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2796,6 +3614,11 @@ def network_watchers(self): * 2019-07-01: :class:`NetworkWatchersOperations` * 2019-08-01: :class:`NetworkWatchersOperations` * 2019-09-01: :class:`NetworkWatchersOperations` + * 2019-11-01: :class:`NetworkWatchersOperations` + * 2019-12-01: :class:`NetworkWatchersOperations` + * 2020-03-01: :class:`NetworkWatchersOperations` + * 2020-04-01: :class:`NetworkWatchersOperations` + * 2020-05-01: :class:`NetworkWatchersOperations` """ api_version = self._get_api_version('network_watchers') if api_version == '2016-09-01': @@ -2844,6 +3667,16 @@ def network_watchers(self): from .v2019_08_01.operations import NetworkWatchersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkWatchersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkWatchersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2870,6 +3703,11 @@ def operations(self): * 2019-07-01: :class:`Operations` * 2019-08-01: :class:`Operations` * 2019-09-01: :class:`Operations` + * 2019-11-01: :class:`Operations` + * 2019-12-01: :class:`Operations` + * 2020-03-01: :class:`Operations` + * 2020-04-01: :class:`Operations` + * 2020-05-01: :class:`Operations` """ api_version = self._get_api_version('operations') if api_version == '2017-09-01': @@ -2908,6 +3746,16 @@ def operations(self): from .v2019_08_01.operations import Operations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import Operations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import Operations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import Operations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import Operations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import Operations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import Operations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -2926,6 +3774,11 @@ def p2s_vpn_gateways(self): * 2019-07-01: :class:`P2sVpnGatewaysOperations` * 2019-08-01: :class:`P2sVpnGatewaysOperations` * 2019-09-01: :class:`P2sVpnGatewaysOperations` + * 2019-11-01: :class:`P2sVpnGatewaysOperations` + * 2019-12-01: :class:`P2sVpnGatewaysOperations` + * 2020-03-01: :class:`P2sVpnGatewaysOperations` + * 2020-04-01: :class:`P2sVpnGatewaysOperations` + * 2020-05-01: :class:`P2sVpnGatewaysOperations` """ api_version = self._get_api_version('p2s_vpn_gateways') if api_version == '2018-08-01': @@ -2948,6 +3801,16 @@ def p2s_vpn_gateways(self): from .v2019_08_01.operations import P2sVpnGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import P2sVpnGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import P2sVpnGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import P2sVpnGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import P2sVpnGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import P2sVpnGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import P2sVpnGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3013,6 +3876,11 @@ def packet_captures(self): * 2019-07-01: :class:`PacketCapturesOperations` * 2019-08-01: :class:`PacketCapturesOperations` * 2019-09-01: :class:`PacketCapturesOperations` + * 2019-11-01: :class:`PacketCapturesOperations` + * 2019-12-01: :class:`PacketCapturesOperations` + * 2020-03-01: :class:`PacketCapturesOperations` + * 2020-04-01: :class:`PacketCapturesOperations` + * 2020-05-01: :class:`PacketCapturesOperations` """ api_version = self._get_api_version('packet_captures') if api_version == '2016-09-01': @@ -3061,6 +3929,16 @@ def packet_captures(self): from .v2019_08_01.operations import PacketCapturesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PacketCapturesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PacketCapturesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3076,6 +3954,11 @@ def peer_express_route_circuit_connections(self): * 2019-07-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2019-08-01: :class:`PeerExpressRouteCircuitConnectionsOperations` * 2019-09-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2019-11-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2019-12-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2020-03-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2020-04-01: :class:`PeerExpressRouteCircuitConnectionsOperations` + * 2020-05-01: :class:`PeerExpressRouteCircuitConnectionsOperations` """ api_version = self._get_api_version('peer_express_route_circuit_connections') if api_version == '2018-12-01': @@ -3092,6 +3975,35 @@ def peer_express_route_circuit_connections(self): from .v2019_08_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PeerExpressRouteCircuitConnectionsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def private_dns_zone_groups(self): + """Instance depends on the API version: + + * 2020-03-01: :class:`PrivateDnsZoneGroupsOperations` + * 2020-04-01: :class:`PrivateDnsZoneGroupsOperations` + * 2020-05-01: :class:`PrivateDnsZoneGroupsOperations` + """ + api_version = self._get_api_version('private_dns_zone_groups') + if api_version == '2020-03-01': + from .v2020_03_01.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PrivateDnsZoneGroupsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PrivateDnsZoneGroupsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3105,6 +4017,11 @@ def private_endpoints(self): * 2019-07-01: :class:`PrivateEndpointsOperations` * 2019-08-01: :class:`PrivateEndpointsOperations` * 2019-09-01: :class:`PrivateEndpointsOperations` + * 2019-11-01: :class:`PrivateEndpointsOperations` + * 2019-12-01: :class:`PrivateEndpointsOperations` + * 2020-03-01: :class:`PrivateEndpointsOperations` + * 2020-04-01: :class:`PrivateEndpointsOperations` + * 2020-05-01: :class:`PrivateEndpointsOperations` """ api_version = self._get_api_version('private_endpoints') if api_version == '2019-04-01': @@ -3117,6 +4034,16 @@ def private_endpoints(self): from .v2019_08_01.operations import PrivateEndpointsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PrivateEndpointsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PrivateEndpointsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3130,6 +4057,11 @@ def private_link_services(self): * 2019-07-01: :class:`PrivateLinkServicesOperations` * 2019-08-01: :class:`PrivateLinkServicesOperations` * 2019-09-01: :class:`PrivateLinkServicesOperations` + * 2019-11-01: :class:`PrivateLinkServicesOperations` + * 2019-12-01: :class:`PrivateLinkServicesOperations` + * 2020-03-01: :class:`PrivateLinkServicesOperations` + * 2020-04-01: :class:`PrivateLinkServicesOperations` + * 2020-05-01: :class:`PrivateLinkServicesOperations` """ api_version = self._get_api_version('private_link_services') if api_version == '2019-04-01': @@ -3142,6 +4074,16 @@ def private_link_services(self): from .v2019_08_01.operations import PrivateLinkServicesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PrivateLinkServicesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PrivateLinkServicesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3174,6 +4116,11 @@ def public_ip_addresses(self): * 2019-07-01: :class:`PublicIPAddressesOperations` * 2019-08-01: :class:`PublicIPAddressesOperations` * 2019-09-01: :class:`PublicIPAddressesOperations` + * 2019-11-01: :class:`PublicIPAddressesOperations` + * 2019-12-01: :class:`PublicIPAddressesOperations` + * 2020-03-01: :class:`PublicIPAddressesOperations` + * 2020-04-01: :class:`PublicIPAddressesOperations` + * 2020-05-01: :class:`PublicIPAddressesOperations` """ api_version = self._get_api_version('public_ip_addresses') if api_version == '2015-06-15': @@ -3224,6 +4171,16 @@ def public_ip_addresses(self): from .v2019_08_01.operations import PublicIPAddressesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PublicIPAddressesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PublicIPAddressesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3243,6 +4200,11 @@ def public_ip_prefixes(self): * 2019-07-01: :class:`PublicIPPrefixesOperations` * 2019-08-01: :class:`PublicIPPrefixesOperations` * 2019-09-01: :class:`PublicIPPrefixesOperations` + * 2019-11-01: :class:`PublicIPPrefixesOperations` + * 2019-12-01: :class:`PublicIPPrefixesOperations` + * 2020-03-01: :class:`PublicIPPrefixesOperations` + * 2020-04-01: :class:`PublicIPPrefixesOperations` + * 2020-05-01: :class:`PublicIPPrefixesOperations` """ api_version = self._get_api_version('public_ip_prefixes') if api_version == '2018-07-01': @@ -3267,6 +4229,16 @@ def public_ip_prefixes(self): from .v2019_08_01.operations import PublicIPPrefixesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import PublicIPPrefixesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import PublicIPPrefixesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3281,6 +4253,11 @@ def resource_navigation_links(self): * 2019-07-01: :class:`ResourceNavigationLinksOperations` * 2019-08-01: :class:`ResourceNavigationLinksOperations` * 2019-09-01: :class:`ResourceNavigationLinksOperations` + * 2019-11-01: :class:`ResourceNavigationLinksOperations` + * 2019-12-01: :class:`ResourceNavigationLinksOperations` + * 2020-03-01: :class:`ResourceNavigationLinksOperations` + * 2020-04-01: :class:`ResourceNavigationLinksOperations` + * 2020-05-01: :class:`ResourceNavigationLinksOperations` """ api_version = self._get_api_version('resource_navigation_links') if api_version == '2019-02-01': @@ -3295,6 +4272,16 @@ def resource_navigation_links(self): from .v2019_08_01.operations import ResourceNavigationLinksOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ResourceNavigationLinksOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ResourceNavigationLinksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3325,6 +4312,11 @@ def route_filter_rules(self): * 2019-07-01: :class:`RouteFilterRulesOperations` * 2019-08-01: :class:`RouteFilterRulesOperations` * 2019-09-01: :class:`RouteFilterRulesOperations` + * 2019-11-01: :class:`RouteFilterRulesOperations` + * 2019-12-01: :class:`RouteFilterRulesOperations` + * 2020-03-01: :class:`RouteFilterRulesOperations` + * 2020-04-01: :class:`RouteFilterRulesOperations` + * 2020-05-01: :class:`RouteFilterRulesOperations` """ api_version = self._get_api_version('route_filter_rules') if api_version == '2016-12-01': @@ -3371,6 +4363,16 @@ def route_filter_rules(self): from .v2019_08_01.operations import RouteFilterRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import RouteFilterRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import RouteFilterRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3401,6 +4403,11 @@ def route_filters(self): * 2019-07-01: :class:`RouteFiltersOperations` * 2019-08-01: :class:`RouteFiltersOperations` * 2019-09-01: :class:`RouteFiltersOperations` + * 2019-11-01: :class:`RouteFiltersOperations` + * 2019-12-01: :class:`RouteFiltersOperations` + * 2020-03-01: :class:`RouteFiltersOperations` + * 2020-04-01: :class:`RouteFiltersOperations` + * 2020-05-01: :class:`RouteFiltersOperations` """ api_version = self._get_api_version('route_filters') if api_version == '2016-12-01': @@ -3447,6 +4454,16 @@ def route_filters(self): from .v2019_08_01.operations import RouteFiltersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import RouteFiltersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import RouteFiltersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3479,6 +4496,11 @@ def route_tables(self): * 2019-07-01: :class:`RouteTablesOperations` * 2019-08-01: :class:`RouteTablesOperations` * 2019-09-01: :class:`RouteTablesOperations` + * 2019-11-01: :class:`RouteTablesOperations` + * 2019-12-01: :class:`RouteTablesOperations` + * 2020-03-01: :class:`RouteTablesOperations` + * 2020-04-01: :class:`RouteTablesOperations` + * 2020-05-01: :class:`RouteTablesOperations` """ api_version = self._get_api_version('route_tables') if api_version == '2015-06-15': @@ -3529,6 +4551,16 @@ def route_tables(self): from .v2019_08_01.operations import RouteTablesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import RouteTablesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import RouteTablesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3561,6 +4593,11 @@ def routes(self): * 2019-07-01: :class:`RoutesOperations` * 2019-08-01: :class:`RoutesOperations` * 2019-09-01: :class:`RoutesOperations` + * 2019-11-01: :class:`RoutesOperations` + * 2019-12-01: :class:`RoutesOperations` + * 2020-03-01: :class:`RoutesOperations` + * 2020-04-01: :class:`RoutesOperations` + * 2020-05-01: :class:`RoutesOperations` """ api_version = self._get_api_version('routes') if api_version == '2015-06-15': @@ -3611,6 +4648,35 @@ def routes(self): from .v2019_08_01.operations import RoutesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import RoutesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import RoutesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import RoutesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import RoutesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import RoutesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import RoutesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def security_partner_providers(self): + """Instance depends on the API version: + + * 2020-03-01: :class:`SecurityPartnerProvidersOperations` + * 2020-04-01: :class:`SecurityPartnerProvidersOperations` + * 2020-05-01: :class:`SecurityPartnerProvidersOperations` + """ + api_version = self._get_api_version('security_partner_providers') + if api_version == '2020-03-01': + from .v2020_03_01.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import SecurityPartnerProvidersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import SecurityPartnerProvidersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3643,6 +4709,11 @@ def security_rules(self): * 2019-07-01: :class:`SecurityRulesOperations` * 2019-08-01: :class:`SecurityRulesOperations` * 2019-09-01: :class:`SecurityRulesOperations` + * 2019-11-01: :class:`SecurityRulesOperations` + * 2019-12-01: :class:`SecurityRulesOperations` + * 2020-03-01: :class:`SecurityRulesOperations` + * 2020-04-01: :class:`SecurityRulesOperations` + * 2020-05-01: :class:`SecurityRulesOperations` """ api_version = self._get_api_version('security_rules') if api_version == '2015-06-15': @@ -3693,6 +4764,16 @@ def security_rules(self): from .v2019_08_01.operations import SecurityRulesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import SecurityRulesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import SecurityRulesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3707,6 +4788,11 @@ def service_association_links(self): * 2019-07-01: :class:`ServiceAssociationLinksOperations` * 2019-08-01: :class:`ServiceAssociationLinksOperations` * 2019-09-01: :class:`ServiceAssociationLinksOperations` + * 2019-11-01: :class:`ServiceAssociationLinksOperations` + * 2019-12-01: :class:`ServiceAssociationLinksOperations` + * 2020-03-01: :class:`ServiceAssociationLinksOperations` + * 2020-04-01: :class:`ServiceAssociationLinksOperations` + * 2020-05-01: :class:`ServiceAssociationLinksOperations` """ api_version = self._get_api_version('service_association_links') if api_version == '2019-02-01': @@ -3721,6 +4807,16 @@ def service_association_links(self): from .v2019_08_01.operations import ServiceAssociationLinksOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ServiceAssociationLinksOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ServiceAssociationLinksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3740,6 +4836,11 @@ def service_endpoint_policies(self): * 2019-07-01: :class:`ServiceEndpointPoliciesOperations` * 2019-08-01: :class:`ServiceEndpointPoliciesOperations` * 2019-09-01: :class:`ServiceEndpointPoliciesOperations` + * 2019-11-01: :class:`ServiceEndpointPoliciesOperations` + * 2019-12-01: :class:`ServiceEndpointPoliciesOperations` + * 2020-03-01: :class:`ServiceEndpointPoliciesOperations` + * 2020-04-01: :class:`ServiceEndpointPoliciesOperations` + * 2020-05-01: :class:`ServiceEndpointPoliciesOperations` """ api_version = self._get_api_version('service_endpoint_policies') if api_version == '2018-07-01': @@ -3764,6 +4865,16 @@ def service_endpoint_policies(self): from .v2019_08_01.operations import ServiceEndpointPoliciesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ServiceEndpointPoliciesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ServiceEndpointPoliciesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3783,6 +4894,11 @@ def service_endpoint_policy_definitions(self): * 2019-07-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2019-08-01: :class:`ServiceEndpointPolicyDefinitionsOperations` * 2019-09-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2019-11-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2019-12-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2020-03-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2020-04-01: :class:`ServiceEndpointPolicyDefinitionsOperations` + * 2020-05-01: :class:`ServiceEndpointPolicyDefinitionsOperations` """ api_version = self._get_api_version('service_endpoint_policy_definitions') if api_version == '2018-07-01': @@ -3807,6 +4923,16 @@ def service_endpoint_policy_definitions(self): from .v2019_08_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ServiceEndpointPolicyDefinitionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3820,6 +4946,11 @@ def service_tags(self): * 2019-07-01: :class:`ServiceTagsOperations` * 2019-08-01: :class:`ServiceTagsOperations` * 2019-09-01: :class:`ServiceTagsOperations` + * 2019-11-01: :class:`ServiceTagsOperations` + * 2019-12-01: :class:`ServiceTagsOperations` + * 2020-03-01: :class:`ServiceTagsOperations` + * 2020-04-01: :class:`ServiceTagsOperations` + * 2020-05-01: :class:`ServiceTagsOperations` """ api_version = self._get_api_version('service_tags') if api_version == '2019-04-01': @@ -3832,6 +4963,16 @@ def service_tags(self): from .v2019_08_01.operations import ServiceTagsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import ServiceTagsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import ServiceTagsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3864,6 +5005,11 @@ def subnets(self): * 2019-07-01: :class:`SubnetsOperations` * 2019-08-01: :class:`SubnetsOperations` * 2019-09-01: :class:`SubnetsOperations` + * 2019-11-01: :class:`SubnetsOperations` + * 2019-12-01: :class:`SubnetsOperations` + * 2020-03-01: :class:`SubnetsOperations` + * 2020-04-01: :class:`SubnetsOperations` + * 2020-05-01: :class:`SubnetsOperations` """ api_version = self._get_api_version('subnets') if api_version == '2015-06-15': @@ -3914,6 +5060,16 @@ def subnets(self): from .v2019_08_01.operations import SubnetsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import SubnetsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import SubnetsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import SubnetsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import SubnetsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import SubnetsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import SubnetsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -3946,6 +5102,11 @@ def usages(self): * 2019-07-01: :class:`UsagesOperations` * 2019-08-01: :class:`UsagesOperations` * 2019-09-01: :class:`UsagesOperations` + * 2019-11-01: :class:`UsagesOperations` + * 2019-12-01: :class:`UsagesOperations` + * 2020-03-01: :class:`UsagesOperations` + * 2020-04-01: :class:`UsagesOperations` + * 2020-05-01: :class:`UsagesOperations` """ api_version = self._get_api_version('usages') if api_version == '2015-06-15': @@ -3996,6 +5157,81 @@ def usages(self): from .v2019_08_01.operations import UsagesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import UsagesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import UsagesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import UsagesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import UsagesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import UsagesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import UsagesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def virtual_appliance_sites(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`VirtualApplianceSitesOperations` + """ + api_version = self._get_api_version('virtual_appliance_sites') + if api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualApplianceSitesOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def virtual_appliance_skus(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`VirtualApplianceSkusOperations` + """ + api_version = self._get_api_version('virtual_appliance_skus') + if api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualApplianceSkusOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def virtual_hub_bgp_connection(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`VirtualHubBgpConnectionOperations` + """ + api_version = self._get_api_version('virtual_hub_bgp_connection') + if api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualHubBgpConnectionOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def virtual_hub_bgp_connections(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`VirtualHubBgpConnectionsOperations` + """ + api_version = self._get_api_version('virtual_hub_bgp_connections') + if api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualHubBgpConnectionsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def virtual_hub_ip_configuration(self): + """Instance depends on the API version: + + * 2020-05-01: :class:`VirtualHubIpConfigurationOperations` + """ + api_version = self._get_api_version('virtual_hub_ip_configuration') + if api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualHubIpConfigurationOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4005,10 +5241,25 @@ def virtual_hub_route_table_v2s(self): """Instance depends on the API version: * 2019-09-01: :class:`VirtualHubRouteTableV2sOperations` + * 2019-11-01: :class:`VirtualHubRouteTableV2sOperations` + * 2019-12-01: :class:`VirtualHubRouteTableV2sOperations` + * 2020-03-01: :class:`VirtualHubRouteTableV2sOperations` + * 2020-04-01: :class:`VirtualHubRouteTableV2sOperations` + * 2020-05-01: :class:`VirtualHubRouteTableV2sOperations` """ api_version = self._get_api_version('virtual_hub_route_table_v2s') if api_version == '2019-09-01': from .v2019_09_01.operations import VirtualHubRouteTableV2sOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualHubRouteTableV2sOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualHubRouteTableV2sOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualHubRouteTableV2sOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualHubRouteTableV2sOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualHubRouteTableV2sOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4030,6 +5281,11 @@ def virtual_hubs(self): * 2019-07-01: :class:`VirtualHubsOperations` * 2019-08-01: :class:`VirtualHubsOperations` * 2019-09-01: :class:`VirtualHubsOperations` + * 2019-11-01: :class:`VirtualHubsOperations` + * 2019-12-01: :class:`VirtualHubsOperations` + * 2020-03-01: :class:`VirtualHubsOperations` + * 2020-04-01: :class:`VirtualHubsOperations` + * 2020-05-01: :class:`VirtualHubsOperations` """ api_version = self._get_api_version('virtual_hubs') if api_version == '2018-04-01': @@ -4058,6 +5314,16 @@ def virtual_hubs(self): from .v2019_08_01.operations import VirtualHubsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualHubsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualHubsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4090,6 +5356,11 @@ def virtual_network_gateway_connections(self): * 2019-07-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2019-08-01: :class:`VirtualNetworkGatewayConnectionsOperations` * 2019-09-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2019-11-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2019-12-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2020-03-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2020-04-01: :class:`VirtualNetworkGatewayConnectionsOperations` + * 2020-05-01: :class:`VirtualNetworkGatewayConnectionsOperations` """ api_version = self._get_api_version('virtual_network_gateway_connections') if api_version == '2015-06-15': @@ -4140,6 +5411,16 @@ def virtual_network_gateway_connections(self): from .v2019_08_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualNetworkGatewayConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4172,6 +5453,11 @@ def virtual_network_gateways(self): * 2019-07-01: :class:`VirtualNetworkGatewaysOperations` * 2019-08-01: :class:`VirtualNetworkGatewaysOperations` * 2019-09-01: :class:`VirtualNetworkGatewaysOperations` + * 2019-11-01: :class:`VirtualNetworkGatewaysOperations` + * 2019-12-01: :class:`VirtualNetworkGatewaysOperations` + * 2020-03-01: :class:`VirtualNetworkGatewaysOperations` + * 2020-04-01: :class:`VirtualNetworkGatewaysOperations` + * 2020-05-01: :class:`VirtualNetworkGatewaysOperations` """ api_version = self._get_api_version('virtual_network_gateways') if api_version == '2015-06-15': @@ -4222,6 +5508,16 @@ def virtual_network_gateways(self): from .v2019_08_01.operations import VirtualNetworkGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualNetworkGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualNetworkGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4253,6 +5549,11 @@ def virtual_network_peerings(self): * 2019-07-01: :class:`VirtualNetworkPeeringsOperations` * 2019-08-01: :class:`VirtualNetworkPeeringsOperations` * 2019-09-01: :class:`VirtualNetworkPeeringsOperations` + * 2019-11-01: :class:`VirtualNetworkPeeringsOperations` + * 2019-12-01: :class:`VirtualNetworkPeeringsOperations` + * 2020-03-01: :class:`VirtualNetworkPeeringsOperations` + * 2020-04-01: :class:`VirtualNetworkPeeringsOperations` + * 2020-05-01: :class:`VirtualNetworkPeeringsOperations` """ api_version = self._get_api_version('virtual_network_peerings') if api_version == '2016-09-01': @@ -4301,6 +5602,16 @@ def virtual_network_peerings(self): from .v2019_08_01.operations import VirtualNetworkPeeringsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualNetworkPeeringsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualNetworkPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4319,6 +5630,11 @@ def virtual_network_taps(self): * 2019-07-01: :class:`VirtualNetworkTapsOperations` * 2019-08-01: :class:`VirtualNetworkTapsOperations` * 2019-09-01: :class:`VirtualNetworkTapsOperations` + * 2019-11-01: :class:`VirtualNetworkTapsOperations` + * 2019-12-01: :class:`VirtualNetworkTapsOperations` + * 2020-03-01: :class:`VirtualNetworkTapsOperations` + * 2020-04-01: :class:`VirtualNetworkTapsOperations` + * 2020-05-01: :class:`VirtualNetworkTapsOperations` """ api_version = self._get_api_version('virtual_network_taps') if api_version == '2018-08-01': @@ -4341,6 +5657,16 @@ def virtual_network_taps(self): from .v2019_08_01.operations import VirtualNetworkTapsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualNetworkTapsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualNetworkTapsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4373,6 +5699,11 @@ def virtual_networks(self): * 2019-07-01: :class:`VirtualNetworksOperations` * 2019-08-01: :class:`VirtualNetworksOperations` * 2019-09-01: :class:`VirtualNetworksOperations` + * 2019-11-01: :class:`VirtualNetworksOperations` + * 2019-12-01: :class:`VirtualNetworksOperations` + * 2020-03-01: :class:`VirtualNetworksOperations` + * 2020-04-01: :class:`VirtualNetworksOperations` + * 2020-05-01: :class:`VirtualNetworksOperations` """ api_version = self._get_api_version('virtual_networks') if api_version == '2015-06-15': @@ -4423,6 +5754,16 @@ def virtual_networks(self): from .v2019_08_01.operations import VirtualNetworksOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualNetworksOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualNetworksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4434,6 +5775,11 @@ def virtual_router_peerings(self): * 2019-07-01: :class:`VirtualRouterPeeringsOperations` * 2019-08-01: :class:`VirtualRouterPeeringsOperations` * 2019-09-01: :class:`VirtualRouterPeeringsOperations` + * 2019-11-01: :class:`VirtualRouterPeeringsOperations` + * 2019-12-01: :class:`VirtualRouterPeeringsOperations` + * 2020-03-01: :class:`VirtualRouterPeeringsOperations` + * 2020-04-01: :class:`VirtualRouterPeeringsOperations` + * 2020-05-01: :class:`VirtualRouterPeeringsOperations` """ api_version = self._get_api_version('virtual_router_peerings') if api_version == '2019-07-01': @@ -4442,6 +5788,16 @@ def virtual_router_peerings(self): from .v2019_08_01.operations import VirtualRouterPeeringsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualRouterPeeringsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualRouterPeeringsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4453,6 +5809,11 @@ def virtual_routers(self): * 2019-07-01: :class:`VirtualRoutersOperations` * 2019-08-01: :class:`VirtualRoutersOperations` * 2019-09-01: :class:`VirtualRoutersOperations` + * 2019-11-01: :class:`VirtualRoutersOperations` + * 2019-12-01: :class:`VirtualRoutersOperations` + * 2020-03-01: :class:`VirtualRoutersOperations` + * 2020-04-01: :class:`VirtualRoutersOperations` + * 2020-05-01: :class:`VirtualRoutersOperations` """ api_version = self._get_api_version('virtual_routers') if api_version == '2019-07-01': @@ -4461,6 +5822,16 @@ def virtual_routers(self): from .v2019_08_01.operations import VirtualRoutersOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualRoutersOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualRoutersOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4498,6 +5869,11 @@ def virtual_wans(self): * 2019-07-01: :class:`VirtualWansOperations` * 2019-08-01: :class:`VirtualWansOperations` * 2019-09-01: :class:`VirtualWansOperations` + * 2019-11-01: :class:`VirtualWansOperations` + * 2019-12-01: :class:`VirtualWansOperations` + * 2020-03-01: :class:`VirtualWansOperations` + * 2020-04-01: :class:`VirtualWansOperations` + * 2020-05-01: :class:`VirtualWansOperations` """ api_version = self._get_api_version('virtual_wans') if api_version == '2018-08-01': @@ -4520,6 +5896,16 @@ def virtual_wans(self): from .v2019_08_01.operations import VirtualWansOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VirtualWansOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VirtualWansOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4541,6 +5927,11 @@ def vpn_connections(self): * 2019-07-01: :class:`VpnConnectionsOperations` * 2019-08-01: :class:`VpnConnectionsOperations` * 2019-09-01: :class:`VpnConnectionsOperations` + * 2019-11-01: :class:`VpnConnectionsOperations` + * 2019-12-01: :class:`VpnConnectionsOperations` + * 2020-03-01: :class:`VpnConnectionsOperations` + * 2020-04-01: :class:`VpnConnectionsOperations` + * 2020-05-01: :class:`VpnConnectionsOperations` """ api_version = self._get_api_version('vpn_connections') if api_version == '2018-04-01': @@ -4569,6 +5960,16 @@ def vpn_connections(self): from .v2019_08_01.operations import VpnConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4590,6 +5991,11 @@ def vpn_gateways(self): * 2019-07-01: :class:`VpnGatewaysOperations` * 2019-08-01: :class:`VpnGatewaysOperations` * 2019-09-01: :class:`VpnGatewaysOperations` + * 2019-11-01: :class:`VpnGatewaysOperations` + * 2019-12-01: :class:`VpnGatewaysOperations` + * 2020-03-01: :class:`VpnGatewaysOperations` + * 2020-04-01: :class:`VpnGatewaysOperations` + * 2020-05-01: :class:`VpnGatewaysOperations` """ api_version = self._get_api_version('vpn_gateways') if api_version == '2018-04-01': @@ -4618,6 +6024,16 @@ def vpn_gateways(self): from .v2019_08_01.operations import VpnGatewaysOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnGatewaysOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnGatewaysOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4630,6 +6046,11 @@ def vpn_link_connections(self): * 2019-07-01: :class:`VpnLinkConnectionsOperations` * 2019-08-01: :class:`VpnLinkConnectionsOperations` * 2019-09-01: :class:`VpnLinkConnectionsOperations` + * 2019-11-01: :class:`VpnLinkConnectionsOperations` + * 2019-12-01: :class:`VpnLinkConnectionsOperations` + * 2020-03-01: :class:`VpnLinkConnectionsOperations` + * 2020-04-01: :class:`VpnLinkConnectionsOperations` + * 2020-05-01: :class:`VpnLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_link_connections') if api_version == '2019-06-01': @@ -4640,6 +6061,16 @@ def vpn_link_connections(self): from .v2019_08_01.operations import VpnLinkConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnLinkConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnLinkConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4650,12 +6081,27 @@ def vpn_server_configurations(self): * 2019-08-01: :class:`VpnServerConfigurationsOperations` * 2019-09-01: :class:`VpnServerConfigurationsOperations` + * 2019-11-01: :class:`VpnServerConfigurationsOperations` + * 2019-12-01: :class:`VpnServerConfigurationsOperations` + * 2020-03-01: :class:`VpnServerConfigurationsOperations` + * 2020-04-01: :class:`VpnServerConfigurationsOperations` + * 2020-05-01: :class:`VpnServerConfigurationsOperations` """ api_version = self._get_api_version('vpn_server_configurations') if api_version == '2019-08-01': from .v2019_08_01.operations import VpnServerConfigurationsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnServerConfigurationsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnServerConfigurationsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4666,12 +6112,27 @@ def vpn_server_configurations_associated_with_virtual_wan(self): * 2019-08-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` * 2019-09-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2019-11-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2019-12-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2020-03-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2020-04-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` + * 2020-05-01: :class:`VpnServerConfigurationsAssociatedWithVirtualWanOperations` """ api_version = self._get_api_version('vpn_server_configurations_associated_with_virtual_wan') if api_version == '2019-08-01': from .v2019_08_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4684,6 +6145,11 @@ def vpn_site_link_connections(self): * 2019-07-01: :class:`VpnSiteLinkConnectionsOperations` * 2019-08-01: :class:`VpnSiteLinkConnectionsOperations` * 2019-09-01: :class:`VpnSiteLinkConnectionsOperations` + * 2019-11-01: :class:`VpnSiteLinkConnectionsOperations` + * 2019-12-01: :class:`VpnSiteLinkConnectionsOperations` + * 2020-03-01: :class:`VpnSiteLinkConnectionsOperations` + * 2020-04-01: :class:`VpnSiteLinkConnectionsOperations` + * 2020-05-01: :class:`VpnSiteLinkConnectionsOperations` """ api_version = self._get_api_version('vpn_site_link_connections') if api_version == '2019-06-01': @@ -4694,6 +6160,16 @@ def vpn_site_link_connections(self): from .v2019_08_01.operations import VpnSiteLinkConnectionsOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnSiteLinkConnectionsOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnSiteLinkConnectionsOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4706,6 +6182,11 @@ def vpn_site_links(self): * 2019-07-01: :class:`VpnSiteLinksOperations` * 2019-08-01: :class:`VpnSiteLinksOperations` * 2019-09-01: :class:`VpnSiteLinksOperations` + * 2019-11-01: :class:`VpnSiteLinksOperations` + * 2019-12-01: :class:`VpnSiteLinksOperations` + * 2020-03-01: :class:`VpnSiteLinksOperations` + * 2020-04-01: :class:`VpnSiteLinksOperations` + * 2020-05-01: :class:`VpnSiteLinksOperations` """ api_version = self._get_api_version('vpn_site_links') if api_version == '2019-06-01': @@ -4716,6 +6197,16 @@ def vpn_site_links(self): from .v2019_08_01.operations import VpnSiteLinksOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnSiteLinksOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnSiteLinksOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4737,6 +6228,11 @@ def vpn_sites(self): * 2019-07-01: :class:`VpnSitesOperations` * 2019-08-01: :class:`VpnSitesOperations` * 2019-09-01: :class:`VpnSitesOperations` + * 2019-11-01: :class:`VpnSitesOperations` + * 2019-12-01: :class:`VpnSitesOperations` + * 2020-03-01: :class:`VpnSitesOperations` + * 2020-04-01: :class:`VpnSitesOperations` + * 2020-05-01: :class:`VpnSitesOperations` """ api_version = self._get_api_version('vpn_sites') if api_version == '2018-04-01': @@ -4765,6 +6261,16 @@ def vpn_sites(self): from .v2019_08_01.operations import VpnSitesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnSitesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnSitesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4786,6 +6292,11 @@ def vpn_sites_configuration(self): * 2019-07-01: :class:`VpnSitesConfigurationOperations` * 2019-08-01: :class:`VpnSitesConfigurationOperations` * 2019-09-01: :class:`VpnSitesConfigurationOperations` + * 2019-11-01: :class:`VpnSitesConfigurationOperations` + * 2019-12-01: :class:`VpnSitesConfigurationOperations` + * 2020-03-01: :class:`VpnSitesConfigurationOperations` + * 2020-04-01: :class:`VpnSitesConfigurationOperations` + * 2020-05-01: :class:`VpnSitesConfigurationOperations` """ api_version = self._get_api_version('vpn_sites_configuration') if api_version == '2018-04-01': @@ -4814,6 +6325,16 @@ def vpn_sites_configuration(self): from .v2019_08_01.operations import VpnSitesConfigurationOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import VpnSitesConfigurationOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import VpnSitesConfigurationOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) @@ -4829,6 +6350,11 @@ def web_application_firewall_policies(self): * 2019-07-01: :class:`WebApplicationFirewallPoliciesOperations` * 2019-08-01: :class:`WebApplicationFirewallPoliciesOperations` * 2019-09-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2019-11-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2019-12-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2020-03-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2020-04-01: :class:`WebApplicationFirewallPoliciesOperations` + * 2020-05-01: :class:`WebApplicationFirewallPoliciesOperations` """ api_version = self._get_api_version('web_application_firewall_policies') if api_version == '2018-12-01': @@ -4845,6 +6371,16 @@ def web_application_firewall_policies(self): from .v2019_08_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass elif api_version == '2019-09-01': from .v2019_09_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import WebApplicationFirewallPoliciesOperations as OperationClass else: raise NotImplementedError("APIVersion {} is not available".format(api_version)) return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_operations_mixin.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_operations_mixin.py new file mode 100644 index 00000000000..e8a143240e6 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/_operations_mixin.py @@ -0,0 +1,451 @@ +# 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 msrest import Serializer, Deserializer + + +class NetworkManagementClientOperationsMixin(object): + + + def check_dns_name_availability(self, location, domain_name_label, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: DnsNameAvailabilityResult or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('check_dns_name_availability') + if api_version == '2015-06-15': + from .v2015_06_15.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2016-09-01': + from .v2016_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2016-12-01': + from .v2016_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-03-01': + from .v2017_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-06-01': + from .v2017_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-08-01': + from .v2017_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-09-01': + from .v2017_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-10-01': + from .v2017_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2017-11-01': + from .v2017_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-01-01': + from .v2018_01_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-02-01': + from .v2018_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-04-01': + from .v2018_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-06-01': + from .v2018_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-07-01': + from .v2018_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-08-01': + from .v2018_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-10-01': + from .v2018_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-11-01': + from .v2018_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-12-01': + from .v2018_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-02-01': + from .v2019_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-06-01': + from .v2019_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-07-01': + from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-08-01': + from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.check_dns_name_availability(location, domain_name_label, custom_headers, raw, **operation_config) + + def delete_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('delete_bastion_shareable_link') + if api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.delete_bastion_shareable_link(resource_group_name, bastion_host_name, vms, custom_headers, raw, polling, **operation_config) + + def disconnect_active_sessions(self, resource_group_name, bastion_host_name, session_ids=None, custom_headers=None, raw=False, **operation_config): + """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: List of session IDs. + :type session_ids: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BastionSessionState + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionState] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('disconnect_active_sessions') + if api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.disconnect_active_sessions(resource_group_name, bastion_host_name, session_ids, custom_headers, raw, **operation_config) + + def generatevirtualwanvpnserverconfigurationvpnprofile(self, resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id=None, authentication_method=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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_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.v2020_05_01.models.AuthenticationMethod + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns VpnProfileResponse or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('generatevirtualwanvpnserverconfigurationvpnprofile') + if api_version == '2019-08-01': + from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.generatevirtualwanvpnserverconfigurationvpnprofile(resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id, authentication_method, custom_headers, raw, polling, **operation_config) + + def get_active_sessions(self, resource_group_name, bastion_host_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + BastionActiveSessionListResult or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('get_active_sessions') + if api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.get_active_sessions(resource_group_name, bastion_host_name, custom_headers, raw, polling, **operation_config) + + def get_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BastionShareableLink + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('get_bastion_shareable_link') + if api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.get_bastion_shareable_link(resource_group_name, bastion_host_name, vms, custom_headers, raw, **operation_config) + + def put_bastion_shareable_link(self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + BastionShareableLinkListResult or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]] + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('put_bastion_shareable_link') + if api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.put_bastion_shareable_link(resource_group_name, bastion_host_name, vms, custom_headers, raw, polling, **operation_config) + + def supported_security_providers(self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualWanSecurityProviders or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + + """ + api_version = self._get_api_version('supported_security_providers') + if api_version == '2018-08-01': + from .v2018_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-10-01': + from .v2018_10_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-11-01': + from .v2018_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2018-12-01': + from .v2018_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-02-01': + from .v2019_02_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-04-01': + from .v2019_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-06-01': + from .v2019_06_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-07-01': + from .v2019_07_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-08-01': + from .v2019_08_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-09-01': + from .v2019_09_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-11-01': + from .v2019_11_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2019-12-01': + from .v2019_12_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-03-01': + from .v2020_03_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-04-01': + from .v2020_04_01.operations import NetworkManagementClientOperationsMixin as OperationClass + elif api_version == '2020-05-01': + from .v2020_05_01.operations import NetworkManagementClientOperationsMixin as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".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._deserialize = Deserializer(self._models_dict(api_version)) + mixin_instance.api_version = api_version + return mixin_instance.supported_security_providers(resource_group_name, virtual_wan_name, custom_headers, raw, **operation_config) diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/models.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/models.py similarity index 86% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/models.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/models.py index 8206be69af7..b8cb4a95989 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/models.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/models.py @@ -7,4 +7,5 @@ from .v2018_07_01.models import * from .v2019_02_01.models import * from .v2019_07_01.models import * -from .v2019_09_01.models import * +from .v2020_04_01.models import * +from .v2020_05_01.models import * diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/__init__.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/__init__.py similarity index 100% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/__init__.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/__init__.py diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/_configuration.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/_configuration.py similarity index 100% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/_configuration.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/_configuration.py diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/_network_management_client.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/_network_management_client.py similarity index 68% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/_network_management_client.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/_network_management_client.py index 7c25c2398da..5467858b520 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/_network_management_client.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/_network_management_client.py @@ -18,6 +18,7 @@ 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 BastionHostsOperations @@ -32,13 +33,13 @@ from .operations import ExpressRouteServiceProvidersOperations from .operations import ExpressRouteCrossConnectionsOperations from .operations import ExpressRouteCrossConnectionPeeringsOperations -from .operations import ExpressRouteGatewaysOperations -from .operations import ExpressRouteConnectionsOperations from .operations import ExpressRoutePortsLocationsOperations from .operations import ExpressRoutePortsOperations from .operations import ExpressRouteLinksOperations from .operations import FirewallPoliciesOperations -from .operations import FirewallPolicyRuleGroupsOperations +from .operations import FirewallPolicyRuleCollectionGroupsOperations +from .operations import IpAllocationsOperations +from .operations import IpGroupsOperations from .operations import LoadBalancersOperations from .operations import LoadBalancerBackendAddressPoolsOperations from .operations import LoadBalancerFrontendIPConfigurationsOperations @@ -56,12 +57,17 @@ 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 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 PublicIPAddressesOperations from .operations import PublicIPPrefixesOperations @@ -69,6 +75,7 @@ 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 @@ -89,14 +96,22 @@ 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 VpnConnectionsOperations from .operations import VpnSiteLinkConnectionsOperations from .operations import VpnLinkConnectionsOperations -from .operations import P2sVpnServerConfigurationsOperations 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 @@ -108,173 +123,203 @@ class NetworkManagementClient(NetworkManagementClientOperationsMixin, SDKClient) :vartype config: NetworkManagementClientConfiguration :ivar application_gateways: ApplicationGateways operations - :vartype application_gateways: azure.mgmt.network.v2019_07_01.operations.ApplicationGatewaysOperations + :vartype application_gateways: azure.mgmt.network.v2020_05_01.operations.ApplicationGatewaysOperations :ivar application_security_groups: ApplicationSecurityGroups operations - :vartype application_security_groups: azure.mgmt.network.v2019_07_01.operations.ApplicationSecurityGroupsOperations + :vartype application_security_groups: azure.mgmt.network.v2020_05_01.operations.ApplicationSecurityGroupsOperations :ivar available_delegations: AvailableDelegations operations - :vartype available_delegations: azure.mgmt.network.v2019_07_01.operations.AvailableDelegationsOperations + :vartype available_delegations: azure.mgmt.network.v2020_05_01.operations.AvailableDelegationsOperations :ivar available_resource_group_delegations: AvailableResourceGroupDelegations operations - :vartype available_resource_group_delegations: azure.mgmt.network.v2019_07_01.operations.AvailableResourceGroupDelegationsOperations + :vartype available_resource_group_delegations: azure.mgmt.network.v2020_05_01.operations.AvailableResourceGroupDelegationsOperations + :ivar available_service_aliases: AvailableServiceAliases operations + :vartype available_service_aliases: azure.mgmt.network.v2020_05_01.operations.AvailableServiceAliasesOperations :ivar azure_firewalls: AzureFirewalls operations - :vartype azure_firewalls: azure.mgmt.network.v2019_07_01.operations.AzureFirewallsOperations + :vartype azure_firewalls: azure.mgmt.network.v2020_05_01.operations.AzureFirewallsOperations :ivar azure_firewall_fqdn_tags: AzureFirewallFqdnTags operations - :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2019_07_01.operations.AzureFirewallFqdnTagsOperations + :vartype azure_firewall_fqdn_tags: azure.mgmt.network.v2020_05_01.operations.AzureFirewallFqdnTagsOperations :ivar bastion_hosts: BastionHosts operations - :vartype bastion_hosts: azure.mgmt.network.v2019_07_01.operations.BastionHostsOperations + :vartype bastion_hosts: azure.mgmt.network.v2020_05_01.operations.BastionHostsOperations :ivar ddos_custom_policies: DdosCustomPolicies operations - :vartype ddos_custom_policies: azure.mgmt.network.v2019_07_01.operations.DdosCustomPoliciesOperations + :vartype ddos_custom_policies: azure.mgmt.network.v2020_05_01.operations.DdosCustomPoliciesOperations :ivar ddos_protection_plans: DdosProtectionPlans operations - :vartype ddos_protection_plans: azure.mgmt.network.v2019_07_01.operations.DdosProtectionPlansOperations + :vartype ddos_protection_plans: azure.mgmt.network.v2020_05_01.operations.DdosProtectionPlansOperations :ivar available_endpoint_services: AvailableEndpointServices operations - :vartype available_endpoint_services: azure.mgmt.network.v2019_07_01.operations.AvailableEndpointServicesOperations + :vartype available_endpoint_services: azure.mgmt.network.v2020_05_01.operations.AvailableEndpointServicesOperations :ivar express_route_circuit_authorizations: ExpressRouteCircuitAuthorizations operations - :vartype express_route_circuit_authorizations: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCircuitAuthorizationsOperations + :vartype express_route_circuit_authorizations: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCircuitAuthorizationsOperations :ivar express_route_circuit_peerings: ExpressRouteCircuitPeerings operations - :vartype express_route_circuit_peerings: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCircuitPeeringsOperations + :vartype express_route_circuit_peerings: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCircuitPeeringsOperations :ivar express_route_circuit_connections: ExpressRouteCircuitConnections operations - :vartype express_route_circuit_connections: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCircuitConnectionsOperations + :vartype express_route_circuit_connections: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCircuitConnectionsOperations :ivar peer_express_route_circuit_connections: PeerExpressRouteCircuitConnections operations - :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2019_07_01.operations.PeerExpressRouteCircuitConnectionsOperations + :vartype peer_express_route_circuit_connections: azure.mgmt.network.v2020_05_01.operations.PeerExpressRouteCircuitConnectionsOperations :ivar express_route_circuits: ExpressRouteCircuits operations - :vartype express_route_circuits: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCircuitsOperations + :vartype express_route_circuits: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCircuitsOperations :ivar express_route_service_providers: ExpressRouteServiceProviders operations - :vartype express_route_service_providers: azure.mgmt.network.v2019_07_01.operations.ExpressRouteServiceProvidersOperations + :vartype express_route_service_providers: azure.mgmt.network.v2020_05_01.operations.ExpressRouteServiceProvidersOperations :ivar express_route_cross_connections: ExpressRouteCrossConnections operations - :vartype express_route_cross_connections: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCrossConnectionsOperations + :vartype express_route_cross_connections: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCrossConnectionsOperations :ivar express_route_cross_connection_peerings: ExpressRouteCrossConnectionPeerings operations - :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2019_07_01.operations.ExpressRouteCrossConnectionPeeringsOperations - :ivar express_route_gateways: ExpressRouteGateways operations - :vartype express_route_gateways: azure.mgmt.network.v2019_07_01.operations.ExpressRouteGatewaysOperations - :ivar express_route_connections: ExpressRouteConnections operations - :vartype express_route_connections: azure.mgmt.network.v2019_07_01.operations.ExpressRouteConnectionsOperations + :vartype express_route_cross_connection_peerings: azure.mgmt.network.v2020_05_01.operations.ExpressRouteCrossConnectionPeeringsOperations :ivar express_route_ports_locations: ExpressRoutePortsLocations operations - :vartype express_route_ports_locations: azure.mgmt.network.v2019_07_01.operations.ExpressRoutePortsLocationsOperations + :vartype express_route_ports_locations: azure.mgmt.network.v2020_05_01.operations.ExpressRoutePortsLocationsOperations :ivar express_route_ports: ExpressRoutePorts operations - :vartype express_route_ports: azure.mgmt.network.v2019_07_01.operations.ExpressRoutePortsOperations + :vartype express_route_ports: azure.mgmt.network.v2020_05_01.operations.ExpressRoutePortsOperations :ivar express_route_links: ExpressRouteLinks operations - :vartype express_route_links: azure.mgmt.network.v2019_07_01.operations.ExpressRouteLinksOperations + :vartype express_route_links: azure.mgmt.network.v2020_05_01.operations.ExpressRouteLinksOperations :ivar firewall_policies: FirewallPolicies operations - :vartype firewall_policies: azure.mgmt.network.v2019_07_01.operations.FirewallPoliciesOperations - :ivar firewall_policy_rule_groups: FirewallPolicyRuleGroups operations - :vartype firewall_policy_rule_groups: azure.mgmt.network.v2019_07_01.operations.FirewallPolicyRuleGroupsOperations + :vartype firewall_policies: azure.mgmt.network.v2020_05_01.operations.FirewallPoliciesOperations + :ivar firewall_policy_rule_collection_groups: FirewallPolicyRuleCollectionGroups operations + :vartype firewall_policy_rule_collection_groups: azure.mgmt.network.v2020_05_01.operations.FirewallPolicyRuleCollectionGroupsOperations + :ivar ip_allocations: IpAllocations operations + :vartype ip_allocations: azure.mgmt.network.v2020_05_01.operations.IpAllocationsOperations + :ivar ip_groups: IpGroups operations + :vartype ip_groups: azure.mgmt.network.v2020_05_01.operations.IpGroupsOperations :ivar load_balancers: LoadBalancers operations - :vartype load_balancers: azure.mgmt.network.v2019_07_01.operations.LoadBalancersOperations + :vartype load_balancers: azure.mgmt.network.v2020_05_01.operations.LoadBalancersOperations :ivar load_balancer_backend_address_pools: LoadBalancerBackendAddressPools operations - :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2019_07_01.operations.LoadBalancerBackendAddressPoolsOperations + :vartype load_balancer_backend_address_pools: azure.mgmt.network.v2020_05_01.operations.LoadBalancerBackendAddressPoolsOperations :ivar load_balancer_frontend_ip_configurations: LoadBalancerFrontendIPConfigurations operations - :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2019_07_01.operations.LoadBalancerFrontendIPConfigurationsOperations + :vartype load_balancer_frontend_ip_configurations: azure.mgmt.network.v2020_05_01.operations.LoadBalancerFrontendIPConfigurationsOperations :ivar inbound_nat_rules: InboundNatRules operations - :vartype inbound_nat_rules: azure.mgmt.network.v2019_07_01.operations.InboundNatRulesOperations + :vartype inbound_nat_rules: azure.mgmt.network.v2020_05_01.operations.InboundNatRulesOperations :ivar load_balancer_load_balancing_rules: LoadBalancerLoadBalancingRules operations - :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2019_07_01.operations.LoadBalancerLoadBalancingRulesOperations + :vartype load_balancer_load_balancing_rules: azure.mgmt.network.v2020_05_01.operations.LoadBalancerLoadBalancingRulesOperations :ivar load_balancer_outbound_rules: LoadBalancerOutboundRules operations - :vartype load_balancer_outbound_rules: azure.mgmt.network.v2019_07_01.operations.LoadBalancerOutboundRulesOperations + :vartype load_balancer_outbound_rules: azure.mgmt.network.v2020_05_01.operations.LoadBalancerOutboundRulesOperations :ivar load_balancer_network_interfaces: LoadBalancerNetworkInterfaces operations - :vartype load_balancer_network_interfaces: azure.mgmt.network.v2019_07_01.operations.LoadBalancerNetworkInterfacesOperations + :vartype load_balancer_network_interfaces: azure.mgmt.network.v2020_05_01.operations.LoadBalancerNetworkInterfacesOperations :ivar load_balancer_probes: LoadBalancerProbes operations - :vartype load_balancer_probes: azure.mgmt.network.v2019_07_01.operations.LoadBalancerProbesOperations + :vartype load_balancer_probes: azure.mgmt.network.v2020_05_01.operations.LoadBalancerProbesOperations :ivar nat_gateways: NatGateways operations - :vartype nat_gateways: azure.mgmt.network.v2019_07_01.operations.NatGatewaysOperations + :vartype nat_gateways: azure.mgmt.network.v2020_05_01.operations.NatGatewaysOperations :ivar network_interfaces: NetworkInterfaces operations - :vartype network_interfaces: azure.mgmt.network.v2019_07_01.operations.NetworkInterfacesOperations + :vartype network_interfaces: azure.mgmt.network.v2020_05_01.operations.NetworkInterfacesOperations :ivar network_interface_ip_configurations: NetworkInterfaceIPConfigurations operations - :vartype network_interface_ip_configurations: azure.mgmt.network.v2019_07_01.operations.NetworkInterfaceIPConfigurationsOperations + :vartype network_interface_ip_configurations: azure.mgmt.network.v2020_05_01.operations.NetworkInterfaceIPConfigurationsOperations :ivar network_interface_load_balancers: NetworkInterfaceLoadBalancers operations - :vartype network_interface_load_balancers: azure.mgmt.network.v2019_07_01.operations.NetworkInterfaceLoadBalancersOperations + :vartype network_interface_load_balancers: azure.mgmt.network.v2020_05_01.operations.NetworkInterfaceLoadBalancersOperations :ivar network_interface_tap_configurations: NetworkInterfaceTapConfigurations operations - :vartype network_interface_tap_configurations: azure.mgmt.network.v2019_07_01.operations.NetworkInterfaceTapConfigurationsOperations + :vartype network_interface_tap_configurations: azure.mgmt.network.v2020_05_01.operations.NetworkInterfaceTapConfigurationsOperations :ivar network_profiles: NetworkProfiles operations - :vartype network_profiles: azure.mgmt.network.v2019_07_01.operations.NetworkProfilesOperations + :vartype network_profiles: azure.mgmt.network.v2020_05_01.operations.NetworkProfilesOperations :ivar network_security_groups: NetworkSecurityGroups operations - :vartype network_security_groups: azure.mgmt.network.v2019_07_01.operations.NetworkSecurityGroupsOperations + :vartype network_security_groups: azure.mgmt.network.v2020_05_01.operations.NetworkSecurityGroupsOperations :ivar security_rules: SecurityRules operations - :vartype security_rules: azure.mgmt.network.v2019_07_01.operations.SecurityRulesOperations + :vartype security_rules: azure.mgmt.network.v2020_05_01.operations.SecurityRulesOperations :ivar default_security_rules: DefaultSecurityRules operations - :vartype default_security_rules: azure.mgmt.network.v2019_07_01.operations.DefaultSecurityRulesOperations + :vartype default_security_rules: azure.mgmt.network.v2020_05_01.operations.DefaultSecurityRulesOperations + :ivar network_virtual_appliances: NetworkVirtualAppliances operations + :vartype network_virtual_appliances: azure.mgmt.network.v2020_05_01.operations.NetworkVirtualAppliancesOperations + :ivar virtual_appliance_sites: VirtualApplianceSites operations + :vartype virtual_appliance_sites: azure.mgmt.network.v2020_05_01.operations.VirtualApplianceSitesOperations + :ivar virtual_appliance_skus: VirtualApplianceSkus operations + :vartype virtual_appliance_skus: azure.mgmt.network.v2020_05_01.operations.VirtualApplianceSkusOperations :ivar network_watchers: NetworkWatchers operations - :vartype network_watchers: azure.mgmt.network.v2019_07_01.operations.NetworkWatchersOperations + :vartype network_watchers: azure.mgmt.network.v2020_05_01.operations.NetworkWatchersOperations :ivar packet_captures: PacketCaptures operations - :vartype packet_captures: azure.mgmt.network.v2019_07_01.operations.PacketCapturesOperations + :vartype packet_captures: azure.mgmt.network.v2020_05_01.operations.PacketCapturesOperations :ivar connection_monitors: ConnectionMonitors operations - :vartype connection_monitors: azure.mgmt.network.v2019_07_01.operations.ConnectionMonitorsOperations + :vartype connection_monitors: azure.mgmt.network.v2020_05_01.operations.ConnectionMonitorsOperations + :ivar flow_logs: FlowLogs operations + :vartype flow_logs: azure.mgmt.network.v2020_05_01.operations.FlowLogsOperations :ivar operations: Operations operations - :vartype operations: azure.mgmt.network.v2019_07_01.operations.Operations + :vartype operations: azure.mgmt.network.v2020_05_01.operations.Operations :ivar private_endpoints: PrivateEndpoints operations - :vartype private_endpoints: azure.mgmt.network.v2019_07_01.operations.PrivateEndpointsOperations + :vartype private_endpoints: azure.mgmt.network.v2020_05_01.operations.PrivateEndpointsOperations :ivar available_private_endpoint_types: AvailablePrivateEndpointTypes operations - :vartype available_private_endpoint_types: azure.mgmt.network.v2019_07_01.operations.AvailablePrivateEndpointTypesOperations + :vartype available_private_endpoint_types: azure.mgmt.network.v2020_05_01.operations.AvailablePrivateEndpointTypesOperations + :ivar private_dns_zone_groups: PrivateDnsZoneGroups operations + :vartype private_dns_zone_groups: azure.mgmt.network.v2020_05_01.operations.PrivateDnsZoneGroupsOperations :ivar private_link_services: PrivateLinkServices operations - :vartype private_link_services: azure.mgmt.network.v2019_07_01.operations.PrivateLinkServicesOperations + :vartype private_link_services: azure.mgmt.network.v2020_05_01.operations.PrivateLinkServicesOperations :ivar public_ip_addresses: PublicIPAddresses operations - :vartype public_ip_addresses: azure.mgmt.network.v2019_07_01.operations.PublicIPAddressesOperations + :vartype public_ip_addresses: azure.mgmt.network.v2020_05_01.operations.PublicIPAddressesOperations :ivar public_ip_prefixes: PublicIPPrefixes operations - :vartype public_ip_prefixes: azure.mgmt.network.v2019_07_01.operations.PublicIPPrefixesOperations + :vartype public_ip_prefixes: azure.mgmt.network.v2020_05_01.operations.PublicIPPrefixesOperations :ivar route_filters: RouteFilters operations - :vartype route_filters: azure.mgmt.network.v2019_07_01.operations.RouteFiltersOperations + :vartype route_filters: azure.mgmt.network.v2020_05_01.operations.RouteFiltersOperations :ivar route_filter_rules: RouteFilterRules operations - :vartype route_filter_rules: azure.mgmt.network.v2019_07_01.operations.RouteFilterRulesOperations + :vartype route_filter_rules: azure.mgmt.network.v2020_05_01.operations.RouteFilterRulesOperations :ivar route_tables: RouteTables operations - :vartype route_tables: azure.mgmt.network.v2019_07_01.operations.RouteTablesOperations + :vartype route_tables: azure.mgmt.network.v2020_05_01.operations.RouteTablesOperations :ivar routes: Routes operations - :vartype routes: azure.mgmt.network.v2019_07_01.operations.RoutesOperations + :vartype routes: azure.mgmt.network.v2020_05_01.operations.RoutesOperations + :ivar security_partner_providers: SecurityPartnerProviders operations + :vartype security_partner_providers: azure.mgmt.network.v2020_05_01.operations.SecurityPartnerProvidersOperations :ivar bgp_service_communities: BgpServiceCommunities operations - :vartype bgp_service_communities: azure.mgmt.network.v2019_07_01.operations.BgpServiceCommunitiesOperations + :vartype bgp_service_communities: azure.mgmt.network.v2020_05_01.operations.BgpServiceCommunitiesOperations :ivar service_endpoint_policies: ServiceEndpointPolicies operations - :vartype service_endpoint_policies: azure.mgmt.network.v2019_07_01.operations.ServiceEndpointPoliciesOperations + :vartype service_endpoint_policies: azure.mgmt.network.v2020_05_01.operations.ServiceEndpointPoliciesOperations :ivar service_endpoint_policy_definitions: ServiceEndpointPolicyDefinitions operations - :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2019_07_01.operations.ServiceEndpointPolicyDefinitionsOperations + :vartype service_endpoint_policy_definitions: azure.mgmt.network.v2020_05_01.operations.ServiceEndpointPolicyDefinitionsOperations :ivar service_tags: ServiceTags operations - :vartype service_tags: azure.mgmt.network.v2019_07_01.operations.ServiceTagsOperations + :vartype service_tags: azure.mgmt.network.v2020_05_01.operations.ServiceTagsOperations :ivar usages: Usages operations - :vartype usages: azure.mgmt.network.v2019_07_01.operations.UsagesOperations + :vartype usages: azure.mgmt.network.v2020_05_01.operations.UsagesOperations :ivar virtual_networks: VirtualNetworks operations - :vartype virtual_networks: azure.mgmt.network.v2019_07_01.operations.VirtualNetworksOperations + :vartype virtual_networks: azure.mgmt.network.v2020_05_01.operations.VirtualNetworksOperations :ivar subnets: Subnets operations - :vartype subnets: azure.mgmt.network.v2019_07_01.operations.SubnetsOperations + :vartype subnets: azure.mgmt.network.v2020_05_01.operations.SubnetsOperations :ivar resource_navigation_links: ResourceNavigationLinks operations - :vartype resource_navigation_links: azure.mgmt.network.v2019_07_01.operations.ResourceNavigationLinksOperations + :vartype resource_navigation_links: azure.mgmt.network.v2020_05_01.operations.ResourceNavigationLinksOperations :ivar service_association_links: ServiceAssociationLinks operations - :vartype service_association_links: azure.mgmt.network.v2019_07_01.operations.ServiceAssociationLinksOperations + :vartype service_association_links: azure.mgmt.network.v2020_05_01.operations.ServiceAssociationLinksOperations :ivar virtual_network_peerings: VirtualNetworkPeerings operations - :vartype virtual_network_peerings: azure.mgmt.network.v2019_07_01.operations.VirtualNetworkPeeringsOperations + :vartype virtual_network_peerings: azure.mgmt.network.v2020_05_01.operations.VirtualNetworkPeeringsOperations :ivar virtual_network_gateways: VirtualNetworkGateways operations - :vartype virtual_network_gateways: azure.mgmt.network.v2019_07_01.operations.VirtualNetworkGatewaysOperations + :vartype virtual_network_gateways: azure.mgmt.network.v2020_05_01.operations.VirtualNetworkGatewaysOperations :ivar virtual_network_gateway_connections: VirtualNetworkGatewayConnections operations - :vartype virtual_network_gateway_connections: azure.mgmt.network.v2019_07_01.operations.VirtualNetworkGatewayConnectionsOperations + :vartype virtual_network_gateway_connections: azure.mgmt.network.v2020_05_01.operations.VirtualNetworkGatewayConnectionsOperations :ivar local_network_gateways: LocalNetworkGateways operations - :vartype local_network_gateways: azure.mgmt.network.v2019_07_01.operations.LocalNetworkGatewaysOperations + :vartype local_network_gateways: azure.mgmt.network.v2020_05_01.operations.LocalNetworkGatewaysOperations :ivar virtual_network_taps: VirtualNetworkTaps operations - :vartype virtual_network_taps: azure.mgmt.network.v2019_07_01.operations.VirtualNetworkTapsOperations + :vartype virtual_network_taps: azure.mgmt.network.v2020_05_01.operations.VirtualNetworkTapsOperations :ivar virtual_routers: VirtualRouters operations - :vartype virtual_routers: azure.mgmt.network.v2019_07_01.operations.VirtualRoutersOperations + :vartype virtual_routers: azure.mgmt.network.v2020_05_01.operations.VirtualRoutersOperations :ivar virtual_router_peerings: VirtualRouterPeerings operations - :vartype virtual_router_peerings: azure.mgmt.network.v2019_07_01.operations.VirtualRouterPeeringsOperations + :vartype virtual_router_peerings: azure.mgmt.network.v2020_05_01.operations.VirtualRouterPeeringsOperations :ivar virtual_wans: VirtualWans operations - :vartype virtual_wans: azure.mgmt.network.v2019_07_01.operations.VirtualWansOperations + :vartype virtual_wans: azure.mgmt.network.v2020_05_01.operations.VirtualWansOperations :ivar vpn_sites: VpnSites operations - :vartype vpn_sites: azure.mgmt.network.v2019_07_01.operations.VpnSitesOperations + :vartype vpn_sites: azure.mgmt.network.v2020_05_01.operations.VpnSitesOperations :ivar vpn_site_links: VpnSiteLinks operations - :vartype vpn_site_links: azure.mgmt.network.v2019_07_01.operations.VpnSiteLinksOperations + :vartype vpn_site_links: azure.mgmt.network.v2020_05_01.operations.VpnSiteLinksOperations :ivar vpn_sites_configuration: VpnSitesConfiguration operations - :vartype vpn_sites_configuration: azure.mgmt.network.v2019_07_01.operations.VpnSitesConfigurationOperations + :vartype vpn_sites_configuration: azure.mgmt.network.v2020_05_01.operations.VpnSitesConfigurationOperations + :ivar vpn_server_configurations: VpnServerConfigurations operations + :vartype vpn_server_configurations: azure.mgmt.network.v2020_05_01.operations.VpnServerConfigurationsOperations :ivar virtual_hubs: VirtualHubs operations - :vartype virtual_hubs: azure.mgmt.network.v2019_07_01.operations.VirtualHubsOperations + :vartype virtual_hubs: azure.mgmt.network.v2020_05_01.operations.VirtualHubsOperations :ivar hub_virtual_network_connections: HubVirtualNetworkConnections operations - :vartype hub_virtual_network_connections: azure.mgmt.network.v2019_07_01.operations.HubVirtualNetworkConnectionsOperations + :vartype hub_virtual_network_connections: azure.mgmt.network.v2020_05_01.operations.HubVirtualNetworkConnectionsOperations :ivar vpn_gateways: VpnGateways operations - :vartype vpn_gateways: azure.mgmt.network.v2019_07_01.operations.VpnGatewaysOperations + :vartype vpn_gateways: azure.mgmt.network.v2020_05_01.operations.VpnGatewaysOperations :ivar vpn_connections: VpnConnections operations - :vartype vpn_connections: azure.mgmt.network.v2019_07_01.operations.VpnConnectionsOperations + :vartype vpn_connections: azure.mgmt.network.v2020_05_01.operations.VpnConnectionsOperations :ivar vpn_site_link_connections: VpnSiteLinkConnections operations - :vartype vpn_site_link_connections: azure.mgmt.network.v2019_07_01.operations.VpnSiteLinkConnectionsOperations + :vartype vpn_site_link_connections: azure.mgmt.network.v2020_05_01.operations.VpnSiteLinkConnectionsOperations :ivar vpn_link_connections: VpnLinkConnections operations - :vartype vpn_link_connections: azure.mgmt.network.v2019_07_01.operations.VpnLinkConnectionsOperations - :ivar p2s_vpn_server_configurations: P2sVpnServerConfigurations operations - :vartype p2s_vpn_server_configurations: azure.mgmt.network.v2019_07_01.operations.P2sVpnServerConfigurationsOperations + :vartype vpn_link_connections: azure.mgmt.network.v2020_05_01.operations.VpnLinkConnectionsOperations :ivar p2s_vpn_gateways: P2sVpnGateways operations - :vartype p2s_vpn_gateways: azure.mgmt.network.v2019_07_01.operations.P2sVpnGatewaysOperations + :vartype p2s_vpn_gateways: azure.mgmt.network.v2020_05_01.operations.P2sVpnGatewaysOperations + :ivar vpn_server_configurations_associated_with_virtual_wan: VpnServerConfigurationsAssociatedWithVirtualWan operations + :vartype vpn_server_configurations_associated_with_virtual_wan: azure.mgmt.network.v2020_05_01.operations.VpnServerConfigurationsAssociatedWithVirtualWanOperations + :ivar virtual_hub_route_table_v2s: VirtualHubRouteTableV2s operations + :vartype virtual_hub_route_table_v2s: azure.mgmt.network.v2020_05_01.operations.VirtualHubRouteTableV2sOperations + :ivar express_route_gateways: ExpressRouteGateways operations + :vartype express_route_gateways: azure.mgmt.network.v2020_05_01.operations.ExpressRouteGatewaysOperations + :ivar express_route_connections: ExpressRouteConnections operations + :vartype express_route_connections: azure.mgmt.network.v2020_05_01.operations.ExpressRouteConnectionsOperations + :ivar virtual_hub_bgp_connection: VirtualHubBgpConnection operations + :vartype virtual_hub_bgp_connection: azure.mgmt.network.v2020_05_01.operations.VirtualHubBgpConnectionOperations + :ivar virtual_hub_bgp_connections: VirtualHubBgpConnections operations + :vartype virtual_hub_bgp_connections: azure.mgmt.network.v2020_05_01.operations.VirtualHubBgpConnectionsOperations + :ivar virtual_hub_ip_configuration: VirtualHubIpConfiguration operations + :vartype virtual_hub_ip_configuration: azure.mgmt.network.v2020_05_01.operations.VirtualHubIpConfigurationOperations + :ivar hub_route_tables: HubRouteTables operations + :vartype hub_route_tables: azure.mgmt.network.v2020_05_01.operations.HubRouteTablesOperations :ivar web_application_firewall_policies: WebApplicationFirewallPolicies operations - :vartype web_application_firewall_policies: azure.mgmt.network.v2019_07_01.operations.WebApplicationFirewallPoliciesOperations + :vartype web_application_firewall_policies: azure.mgmt.network.v2020_05_01.operations.WebApplicationFirewallPoliciesOperations :param credentials: Credentials needed for the client to connect to Azure. :type credentials: :mod:`A msrestazure Credentials @@ -304,6 +349,8 @@ def __init__( 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( @@ -332,10 +379,6 @@ def __init__( 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_gateways = ExpressRouteGatewaysOperations( - self._client, self.config, self._serialize, self._deserialize) - self.express_route_connections = ExpressRouteConnectionsOperations( - 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( @@ -344,7 +387,11 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.firewall_policies = FirewallPoliciesOperations( self._client, self.config, self._serialize, self._deserialize) - self.firewall_policy_rule_groups = FirewallPolicyRuleGroupsOperations( + 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) @@ -380,18 +427,28 @@ def __init__( 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.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_addresses = PublicIPAddressesOperations( @@ -406,6 +463,8 @@ def __init__( 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( @@ -446,6 +505,8 @@ def __init__( 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( @@ -458,9 +519,23 @@ def __init__( self._client, self.config, self._serialize, self._deserialize) self.vpn_link_connections = VpnLinkConnectionsOperations( self._client, self.config, self._serialize, self._deserialize) - self.p2s_vpn_server_configurations = P2sVpnServerConfigurationsOperations( - self._client, self.config, self._serialize, self._deserialize) self.p2s_vpn_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_v2s = 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) diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/__init__.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/__init__.py similarity index 78% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/__init__.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/__init__.py index 5e987dbe2fc..5f45d44f9b0 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/__init__.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/__init__.py @@ -10,6 +10,7 @@ # -------------------------------------------------------------------------- try: + from ._models_py3 import AadAuthenticationParameters from ._models_py3 import AddressSpace from ._models_py3 import ApplicationGateway from ._models_py3 import ApplicationGatewayAuthenticationCertificate @@ -51,9 +52,10 @@ from ._models_py3 import ApplicationGatewaySslPolicy from ._models_py3 import ApplicationGatewaySslPredefinedPolicy from ._models_py3 import ApplicationGatewayTrustedRootCertificate + from ._models_py3 import ApplicationGatewayUrlConfiguration from ._models_py3 import ApplicationGatewayUrlPathMap from ._models_py3 import ApplicationGatewayWebApplicationFirewallConfiguration - from ._models_py3 import ApplicationRuleCondition + from ._models_py3 import ApplicationRule from ._models_py3 import ApplicationSecurityGroup from ._models_py3 import AutoApprovedPrivateLinkService from ._models_py3 import Availability @@ -64,6 +66,7 @@ from ._models_py3 import AvailableProvidersListCountry from ._models_py3 import AvailableProvidersListParameters from ._models_py3 import AvailableProvidersListState + from ._models_py3 import AvailableServiceAlias from ._models_py3 import AzureAsyncOperationResult from ._models_py3 import AzureFirewall from ._models_py3 import AzureFirewallApplicationRule @@ -71,6 +74,7 @@ from ._models_py3 import AzureFirewallApplicationRuleProtocol from ._models_py3 import AzureFirewallFqdnTag from ._models_py3 import AzureFirewallIPConfiguration + from ._models_py3 import AzureFirewallIpGroups from ._models_py3 import AzureFirewallNatRCAction from ._models_py3 import AzureFirewallNatRule from ._models_py3 import AzureFirewallNatRuleCollection @@ -78,26 +82,46 @@ 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 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 BastionSessionState + from ._models_py3 import BastionShareableLink + from ._models_py3 import BastionShareableLinkListRequest + from ._models_py3 import BastionShareableLinkListResult from ._models_py3 import BGPCommunity + from ._models_py3 import BgpConnection from ._models_py3 import BgpPeerStatus from ._models_py3 import BgpPeerStatusListResult from ._models_py3 import BgpServiceCommunity from ._models_py3 import BgpSettings + from ._models_py3 import BreakOutCategoryPolicies from ._models_py3 import CheckPrivateLinkServiceVisibilityRequest 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 ConnectionMonitorHttpConfiguration + from ._models_py3 import ConnectionMonitorIcmpConfiguration + from ._models_py3 import ConnectionMonitorOutput from ._models_py3 import ConnectionMonitorParameters from ._models_py3 import ConnectionMonitorQueryResult from ._models_py3 import ConnectionMonitorResult 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 @@ -111,6 +135,7 @@ from ._models_py3 import ContainerNetworkInterface from ._models_py3 import ContainerNetworkInterfaceConfiguration from ._models_py3 import ContainerNetworkInterfaceIpConfiguration + from ._models_py3 import CustomDnsConfigPropertiesFormat from ._models_py3 import DdosCustomPolicy from ._models_py3 import DdosProtectionPlan from ._models_py3 import DdosSettings @@ -119,12 +144,14 @@ from ._models_py3 import DhcpOptions from ._models_py3 import Dimension from ._models_py3 import DnsNameAvailabilityResult + from ._models_py3 import DnsSettings 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 Error, ErrorException from ._models_py3 import ErrorDetails @@ -165,14 +192,19 @@ from ._models_py3 import ExpressRouteServiceProvider from ._models_py3 import ExpressRouteServiceProviderBandwidthsOffered from ._models_py3 import FirewallPolicy - from ._models_py3 import FirewallPolicyFilterRule - from ._models_py3 import FirewallPolicyFilterRuleAction - from ._models_py3 import FirewallPolicyNatRule - from ._models_py3 import FirewallPolicyNatRuleAction + from ._models_py3 import FirewallPolicyCertificateAuthority + from ._models_py3 import FirewallPolicyFilterRuleCollection + from ._models_py3 import FirewallPolicyFilterRuleCollectionAction + from ._models_py3 import FirewallPolicyNatRuleCollection + from ._models_py3 import FirewallPolicyNatRuleCollectionAction from ._models_py3 import FirewallPolicyRule - from ._models_py3 import FirewallPolicyRuleCondition - from ._models_py3 import FirewallPolicyRuleConditionApplicationProtocol - from ._models_py3 import FirewallPolicyRuleGroup + from ._models_py3 import FirewallPolicyRuleApplicationProtocol + from ._models_py3 import FirewallPolicyRuleCollection + from ._models_py3 import FirewallPolicyRuleCollectionGroup + from ._models_py3 import FirewallPolicyThreatIntelWhitelist + from ._models_py3 import FirewallPolicyTransportSecurity + from ._models_py3 import FirewallPolicyTrustedRootCertificate + from ._models_py3 import FlowLog from ._models_py3 import FlowLogFormatParameters from ._models_py3 import FlowLogInformation from ._models_py3 import FlowLogStatusParameters @@ -180,23 +212,37 @@ from ._models_py3 import GatewayRoute from ._models_py3 import GatewayRouteListResult from ._models_py3 import GetVpnSitesConfigurationRequest + from ._models_py3 import HopLink from ._models_py3 import HTTPConfiguration from ._models_py3 import HTTPHeader 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 InboundNatPool from ._models_py3 import InboundNatRule from ._models_py3 import IPAddressAvailabilityResult + from ._models_py3 import IpAllocation from ._models_py3 import IPConfiguration + from ._models_py3 import IPConfigurationBgpPeeringAddress from ._models_py3 import IPConfigurationProfile + from ._models_py3 import IpGroup from ._models_py3 import IpsecPolicy from ._models_py3 import IpTag + from ._models_py3 import Ipv6CircuitConnectionConfig from ._models_py3 import Ipv6ExpressRouteCircuitPeeringConfig from ._models_py3 import LoadBalancer + from ._models_py3 import LoadBalancerBackendAddress from ._models_py3 import LoadBalancerSku from ._models_py3 import LoadBalancingRule from ._models_py3 import LocalNetworkGateway from ._models_py3 import LogSpecification + from ._models_py3 import ManagedRuleGroupOverride + from ._models_py3 import ManagedRuleOverride + from ._models_py3 import ManagedRulesDefinition + from ._models_py3 import ManagedRuleSet from ._models_py3 import ManagedServiceIdentity from ._models_py3 import ManagedServiceIdentityUserAssignedIdentitiesValue from ._models_py3 import MatchCondition @@ -205,6 +251,7 @@ from ._models_py3 import MetricSpecification from ._models_py3 import NatGateway 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 @@ -218,24 +265,28 @@ from ._models_py3 import NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties from ._models_py3 import NetworkInterfaceTapConfiguration from ._models_py3 import NetworkProfile - from ._models_py3 import NetworkRuleCondition + from ._models_py3 import NetworkRule from ._models_py3 import NetworkSecurityGroup from ._models_py3 import NetworkSecurityGroupResult from ._models_py3 import NetworkSecurityRulesEvaluationResult + from ._models_py3 import NetworkVirtualAppliance + from ._models_py3 import NetworkVirtualApplianceSku + from ._models_py3 import NetworkVirtualApplianceSkuInstances from ._models_py3 import NetworkWatcher from ._models_py3 import NextHopParameters from ._models_py3 import NextHopResult + from ._models_py3 import Office365PolicyProperties from ._models_py3 import Operation from ._models_py3 import OperationDisplay 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 P2SVpnServerConfigRadiusClientRootCertificate - from ._models_py3 import P2SVpnServerConfigRadiusServerRootCertificate - from ._models_py3 import P2SVpnServerConfiguration - from ._models_py3 import P2SVpnServerConfigVpnClientRevokedCertificate - from ._models_py3 import P2SVpnServerConfigVpnClientRootCertificate from ._models_py3 import PacketCapture from ._models_py3 import PacketCaptureFilter from ._models_py3 import PacketCaptureParameters @@ -247,6 +298,8 @@ from ._models_py3 import PeerExpressRouteCircuitConnection from ._models_py3 import PolicySettings from ._models_py3 import PrepareNetworkPoliciesRequest + from ._models_py3 import PrivateDnsZoneConfig + from ._models_py3 import PrivateDnsZoneGroup from ._models_py3 import PrivateEndpoint from ._models_py3 import PrivateEndpointConnection from ._models_py3 import PrivateLinkService @@ -257,6 +310,7 @@ 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 @@ -265,6 +319,8 @@ from ._models_py3 import PublicIPPrefix from ._models_py3 import PublicIPPrefixSku 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 @@ -275,9 +331,11 @@ from ._models_py3 import RouteFilter from ._models_py3 import RouteFilterRule from ._models_py3 import RouteTable + 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 SecurityRule from ._models_py3 import SecurityRuleAssociations from ._models_py3 import ServiceAssociationLink @@ -288,6 +346,8 @@ from ._models_py3 import ServiceTagInformation from ._models_py3 import ServiceTagInformationPropertiesFormat from ._models_py3 import ServiceTagsListResult + from ._models_py3 import SessionIds + from ._models_py3 import StaticRoute from ._models_py3 import Subnet from ._models_py3 import SubnetAssociation from ._models_py3 import SubResource @@ -309,11 +369,19 @@ from ._models_py3 import UsageName 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 VirtualHubEffectiveRouteEffectiveRouteList 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 @@ -329,6 +397,9 @@ from ._models_py3 import VirtualWAN from ._models_py3 import VirtualWanSecurityProvider from ._models_py3 import VirtualWanSecurityProviders + from ._models_py3 import VirtualWanVpnProfileParameters + from ._models_py3 import VM + from ._models_py3 import VnetRoute from ._models_py3 import VpnClientConfiguration from ._models_py3 import VpnClientConnectionHealth from ._models_py3 import VpnClientConnectionHealthDetail @@ -345,6 +416,12 @@ 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 VpnServerConfiguration + from ._models_py3 import VpnServerConfigurationsResponse + from ._models_py3 import VpnServerConfigVpnClientRevokedCertificate + from ._models_py3 import VpnServerConfigVpnClientRootCertificate from ._models_py3 import VpnSite from ._models_py3 import VpnSiteId from ._models_py3 import VpnSiteLink @@ -352,6 +429,7 @@ from ._models_py3 import WebApplicationFirewallCustomRule from ._models_py3 import WebApplicationFirewallPolicy except (SyntaxError, ImportError): + from ._models import AadAuthenticationParameters from ._models import AddressSpace from ._models import ApplicationGateway from ._models import ApplicationGatewayAuthenticationCertificate @@ -393,9 +471,10 @@ from ._models import ApplicationGatewaySslPolicy from ._models import ApplicationGatewaySslPredefinedPolicy from ._models import ApplicationGatewayTrustedRootCertificate + from ._models import ApplicationGatewayUrlConfiguration from ._models import ApplicationGatewayUrlPathMap from ._models import ApplicationGatewayWebApplicationFirewallConfiguration - from ._models import ApplicationRuleCondition + from ._models import ApplicationRule from ._models import ApplicationSecurityGroup from ._models import AutoApprovedPrivateLinkService from ._models import Availability @@ -406,6 +485,7 @@ from ._models import AvailableProvidersListCountry from ._models import AvailableProvidersListParameters from ._models import AvailableProvidersListState + from ._models import AvailableServiceAlias from ._models import AzureAsyncOperationResult from ._models import AzureFirewall from ._models import AzureFirewallApplicationRule @@ -413,6 +493,7 @@ from ._models import AzureFirewallApplicationRuleProtocol from ._models import AzureFirewallFqdnTag from ._models import AzureFirewallIPConfiguration + from ._models import AzureFirewallIpGroups from ._models import AzureFirewallNatRCAction from ._models import AzureFirewallNatRule from ._models import AzureFirewallNatRuleCollection @@ -420,26 +501,46 @@ from ._models import AzureFirewallNetworkRuleCollection from ._models import AzureFirewallPublicIPAddress from ._models import AzureFirewallRCAction + from ._models import AzureFirewallSku from ._models import AzureReachabilityReport from ._models import AzureReachabilityReportItem from ._models import AzureReachabilityReportLatencyInfo from ._models import AzureReachabilityReportLocation from ._models import AzureReachabilityReportParameters from ._models import BackendAddressPool + from ._models import BastionActiveSession + from ._models import BastionActiveSessionListResult from ._models import BastionHost from ._models import BastionHostIPConfiguration + from ._models import BastionSessionState + from ._models import BastionShareableLink + from ._models import BastionShareableLinkListRequest + from ._models import BastionShareableLinkListResult from ._models import BGPCommunity + from ._models import BgpConnection from ._models import BgpPeerStatus from ._models import BgpPeerStatusListResult from ._models import BgpServiceCommunity from ._models import BgpSettings + from ._models import BreakOutCategoryPolicies from ._models import CheckPrivateLinkServiceVisibilityRequest from ._models import ConnectionMonitor from ._models import ConnectionMonitorDestination + from ._models import ConnectionMonitorEndpoint + from ._models import ConnectionMonitorEndpointFilter + from ._models import ConnectionMonitorEndpointFilterItem + from ._models import ConnectionMonitorHttpConfiguration + from ._models import ConnectionMonitorIcmpConfiguration + from ._models import ConnectionMonitorOutput from ._models import ConnectionMonitorParameters from ._models import ConnectionMonitorQueryResult from ._models import ConnectionMonitorResult from ._models import ConnectionMonitorSource + from ._models import ConnectionMonitorSuccessThreshold + from ._models import ConnectionMonitorTcpConfiguration + from ._models import ConnectionMonitorTestConfiguration + from ._models import ConnectionMonitorTestGroup + from ._models import ConnectionMonitorWorkspaceSettings from ._models import ConnectionResetSharedKey from ._models import ConnectionSharedKey from ._models import ConnectionStateSnapshot @@ -453,6 +554,7 @@ from ._models import ContainerNetworkInterface from ._models import ContainerNetworkInterfaceConfiguration from ._models import ContainerNetworkInterfaceIpConfiguration + from ._models import CustomDnsConfigPropertiesFormat from ._models import DdosCustomPolicy from ._models import DdosProtectionPlan from ._models import DdosSettings @@ -461,12 +563,14 @@ from ._models import DhcpOptions from ._models import Dimension from ._models import DnsNameAvailabilityResult + from ._models import DnsSettings from ._models import EffectiveNetworkSecurityGroup from ._models import EffectiveNetworkSecurityGroupAssociation from ._models import EffectiveNetworkSecurityGroupListResult from ._models import EffectiveNetworkSecurityRule from ._models import EffectiveRoute from ._models import EffectiveRouteListResult + from ._models import EffectiveRoutesParameters from ._models import EndpointServiceResult from ._models import Error, ErrorException from ._models import ErrorDetails @@ -507,14 +611,19 @@ from ._models import ExpressRouteServiceProvider from ._models import ExpressRouteServiceProviderBandwidthsOffered from ._models import FirewallPolicy - from ._models import FirewallPolicyFilterRule - from ._models import FirewallPolicyFilterRuleAction - from ._models import FirewallPolicyNatRule - from ._models import FirewallPolicyNatRuleAction + from ._models import FirewallPolicyCertificateAuthority + from ._models import FirewallPolicyFilterRuleCollection + from ._models import FirewallPolicyFilterRuleCollectionAction + from ._models import FirewallPolicyNatRuleCollection + from ._models import FirewallPolicyNatRuleCollectionAction from ._models import FirewallPolicyRule - from ._models import FirewallPolicyRuleCondition - from ._models import FirewallPolicyRuleConditionApplicationProtocol - from ._models import FirewallPolicyRuleGroup + from ._models import FirewallPolicyRuleApplicationProtocol + from ._models import FirewallPolicyRuleCollection + from ._models import FirewallPolicyRuleCollectionGroup + from ._models import FirewallPolicyThreatIntelWhitelist + from ._models import FirewallPolicyTransportSecurity + from ._models import FirewallPolicyTrustedRootCertificate + from ._models import FlowLog from ._models import FlowLogFormatParameters from ._models import FlowLogInformation from ._models import FlowLogStatusParameters @@ -522,23 +631,37 @@ from ._models import GatewayRoute from ._models import GatewayRouteListResult from ._models import GetVpnSitesConfigurationRequest + from ._models import HopLink from ._models import HTTPConfiguration from ._models import HTTPHeader from ._models import HubIPAddresses + from ._models import HubIpConfiguration + from ._models import HubPublicIPAddresses + from ._models import HubRoute + from ._models import HubRouteTable from ._models import HubVirtualNetworkConnection from ._models import InboundNatPool from ._models import InboundNatRule from ._models import IPAddressAvailabilityResult + from ._models import IpAllocation from ._models import IPConfiguration + from ._models import IPConfigurationBgpPeeringAddress from ._models import IPConfigurationProfile + from ._models import IpGroup from ._models import IpsecPolicy from ._models import IpTag + from ._models import Ipv6CircuitConnectionConfig from ._models import Ipv6ExpressRouteCircuitPeeringConfig from ._models import LoadBalancer + from ._models import LoadBalancerBackendAddress from ._models import LoadBalancerSku from ._models import LoadBalancingRule from ._models import LocalNetworkGateway from ._models import LogSpecification + from ._models import ManagedRuleGroupOverride + from ._models import ManagedRuleOverride + from ._models import ManagedRulesDefinition + from ._models import ManagedRuleSet from ._models import ManagedServiceIdentity from ._models import ManagedServiceIdentityUserAssignedIdentitiesValue from ._models import MatchCondition @@ -547,6 +670,7 @@ from ._models import MetricSpecification from ._models import NatGateway from ._models import NatGatewaySku + from ._models import NatRule from ._models import NetworkConfigurationDiagnosticParameters from ._models import NetworkConfigurationDiagnosticProfile from ._models import NetworkConfigurationDiagnosticResponse @@ -560,24 +684,28 @@ from ._models import NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties from ._models import NetworkInterfaceTapConfiguration from ._models import NetworkProfile - from ._models import NetworkRuleCondition + from ._models import NetworkRule from ._models import NetworkSecurityGroup from ._models import NetworkSecurityGroupResult from ._models import NetworkSecurityRulesEvaluationResult + from ._models import NetworkVirtualAppliance + from ._models import NetworkVirtualApplianceSku + from ._models import NetworkVirtualApplianceSkuInstances from ._models import NetworkWatcher from ._models import NextHopParameters from ._models import NextHopResult + from ._models import Office365PolicyProperties from ._models import Operation from ._models import OperationDisplay from ._models import OperationPropertiesFormatServiceSpecification from ._models import OutboundRule + from ._models import OwaspCrsExclusionEntry + from ._models import P2SConnectionConfiguration + from ._models import P2SVpnConnectionHealth + from ._models import P2SVpnConnectionHealthRequest + from ._models import P2SVpnConnectionRequest from ._models import P2SVpnGateway from ._models import P2SVpnProfileParameters - from ._models import P2SVpnServerConfigRadiusClientRootCertificate - from ._models import P2SVpnServerConfigRadiusServerRootCertificate - from ._models import P2SVpnServerConfiguration - from ._models import P2SVpnServerConfigVpnClientRevokedCertificate - from ._models import P2SVpnServerConfigVpnClientRootCertificate from ._models import PacketCapture from ._models import PacketCaptureFilter from ._models import PacketCaptureParameters @@ -589,6 +717,8 @@ from ._models import PeerExpressRouteCircuitConnection from ._models import PolicySettings from ._models import PrepareNetworkPoliciesRequest + from ._models import PrivateDnsZoneConfig + from ._models import PrivateDnsZoneGroup from ._models import PrivateEndpoint from ._models import PrivateEndpointConnection from ._models import PrivateLinkService @@ -599,6 +729,7 @@ from ._models import PrivateLinkServicePropertiesVisibility from ._models import PrivateLinkServiceVisibility from ._models import Probe + from ._models import PropagatedRouteTable from ._models import ProtocolConfiguration from ._models import ProtocolCustomSettingsFormat from ._models import PublicIPAddress @@ -607,6 +738,8 @@ from ._models import PublicIPPrefix from ._models import PublicIPPrefixSku from ._models import QueryTroubleshootingParameters + from ._models import RadiusServer + from ._models import RecordSet from ._models import ReferencedPublicIpAddress from ._models import Resource from ._models import ResourceNavigationLink @@ -617,9 +750,11 @@ from ._models import RouteFilter from ._models import RouteFilterRule from ._models import RouteTable + from ._models import RoutingConfiguration from ._models import SecurityGroupNetworkInterface from ._models import SecurityGroupViewParameters from ._models import SecurityGroupViewResult + from ._models import SecurityPartnerProvider from ._models import SecurityRule from ._models import SecurityRuleAssociations from ._models import ServiceAssociationLink @@ -630,6 +765,8 @@ from ._models import ServiceTagInformation from ._models import ServiceTagInformationPropertiesFormat from ._models import ServiceTagsListResult + from ._models import SessionIds + from ._models import StaticRoute from ._models import Subnet from ._models import SubnetAssociation from ._models import SubResource @@ -651,11 +788,19 @@ from ._models import UsageName from ._models import VerificationIPFlowParameters from ._models import VerificationIPFlowResult + from ._models import VirtualApplianceNicProperties + from ._models import VirtualApplianceSite + from ._models import VirtualApplianceSkuProperties from ._models import VirtualHub + from ._models import VirtualHubEffectiveRoute + from ._models import VirtualHubEffectiveRouteEffectiveRouteList from ._models import VirtualHubId from ._models import VirtualHubRoute from ._models import VirtualHubRouteTable + from ._models import VirtualHubRouteTableV2 + from ._models import VirtualHubRouteV2 from ._models import VirtualNetwork + from ._models import VirtualNetworkBgpCommunities from ._models import VirtualNetworkConnectionGatewayReference from ._models import VirtualNetworkGateway from ._models import VirtualNetworkGatewayConnection @@ -671,6 +816,9 @@ from ._models import VirtualWAN from ._models import VirtualWanSecurityProvider from ._models import VirtualWanSecurityProviders + from ._models import VirtualWanVpnProfileParameters + from ._models import VM + from ._models import VnetRoute from ._models import VpnClientConfiguration from ._models import VpnClientConnectionHealth from ._models import VpnClientConnectionHealthDetail @@ -687,6 +835,12 @@ from ._models import VpnPacketCaptureStartParameters from ._models import VpnPacketCaptureStopParameters from ._models import VpnProfileResponse + from ._models import VpnServerConfigRadiusClientRootCertificate + from ._models import VpnServerConfigRadiusServerRootCertificate + from ._models import VpnServerConfiguration + from ._models import VpnServerConfigurationsResponse + from ._models import VpnServerConfigVpnClientRevokedCertificate + from ._models import VpnServerConfigVpnClientRootCertificate from ._models import VpnSite from ._models import VpnSiteId from ._models import VpnSiteLink @@ -699,10 +853,14 @@ from ._paged_models import AutoApprovedPrivateLinkServicePaged from ._paged_models import AvailableDelegationPaged from ._paged_models import AvailablePrivateEndpointTypePaged +from ._paged_models import AvailableServiceAliasPaged from ._paged_models import AzureFirewallFqdnTagPaged from ._paged_models import AzureFirewallPaged from ._paged_models import BackendAddressPoolPaged from ._paged_models import BastionHostPaged +from ._paged_models import BastionSessionStatePaged +from ._paged_models import BastionShareableLinkPaged +from ._paged_models import BgpConnectionPaged from ._paged_models import BgpServiceCommunityPaged from ._paged_models import ConnectionMonitorResultPaged from ._paged_models import DdosProtectionPlanPaged @@ -718,10 +876,15 @@ from ._paged_models import ExpressRoutePortsLocationPaged from ._paged_models import ExpressRouteServiceProviderPaged from ._paged_models import FirewallPolicyPaged -from ._paged_models import FirewallPolicyRuleGroupPaged +from ._paged_models import FirewallPolicyRuleCollectionGroupPaged +from ._paged_models import FlowLogPaged from ._paged_models import FrontendIPConfigurationPaged +from ._paged_models import HubIpConfigurationPaged +from ._paged_models import HubRouteTablePaged from ._paged_models import HubVirtualNetworkConnectionPaged from ._paged_models import InboundNatRulePaged +from ._paged_models import IpAllocationPaged +from ._paged_models import IpGroupPaged from ._paged_models import LoadBalancerPaged from ._paged_models import LoadBalancingRulePaged from ._paged_models import LocalNetworkGatewayPaged @@ -731,13 +894,16 @@ from ._paged_models import NetworkInterfaceTapConfigurationPaged from ._paged_models import NetworkProfilePaged from ._paged_models import NetworkSecurityGroupPaged +from ._paged_models import NetworkVirtualAppliancePaged +from ._paged_models import NetworkVirtualApplianceSkuPaged from ._paged_models import NetworkWatcherPaged from ._paged_models import OperationPaged from ._paged_models import OutboundRulePaged from ._paged_models import P2SVpnGatewayPaged -from ._paged_models import P2SVpnServerConfigurationPaged from ._paged_models import PacketCaptureResultPaged from ._paged_models import PeerExpressRouteCircuitConnectionPaged +from ._paged_models import PrivateDnsZoneGroupPaged +from ._paged_models import PrivateEndpointConnectionPaged from ._paged_models import PrivateEndpointPaged from ._paged_models import PrivateLinkServicePaged from ._paged_models import ProbePaged @@ -747,12 +913,15 @@ from ._paged_models import RouteFilterRulePaged from ._paged_models import RoutePaged from ._paged_models import RouteTablePaged +from ._paged_models import SecurityPartnerProviderPaged from ._paged_models import SecurityRulePaged from ._paged_models import ServiceEndpointPolicyDefinitionPaged from ._paged_models import ServiceEndpointPolicyPaged from ._paged_models import SubnetPaged from ._paged_models import UsagePaged +from ._paged_models import VirtualApplianceSitePaged from ._paged_models import VirtualHubPaged +from ._paged_models import VirtualHubRouteTableV2Paged from ._paged_models import VirtualNetworkGatewayConnectionListEntityPaged from ._paged_models import VirtualNetworkGatewayConnectionPaged from ._paged_models import VirtualNetworkGatewayPaged @@ -765,6 +934,7 @@ from ._paged_models import VirtualWANPaged from ._paged_models import VpnConnectionPaged from ._paged_models import VpnGatewayPaged +from ._paged_models import VpnServerConfigurationPaged from ._paged_models import VpnSiteLinkConnectionPaged from ._paged_models import VpnSiteLinkPaged from ._paged_models import VpnSitePaged @@ -777,9 +947,11 @@ SecurityRuleProtocol, SecurityRuleAccess, SecurityRuleDirection, + FlowLogFormatType, RouteNextHopType, PublicIPAddressSkuName, DdosSettingsProtectionCoverage, + VirtualNetworkPeeringState, TransportProtocol, ApplicationGatewayCookieBasedAffinity, ApplicationGatewayBackendHealthServerHealth, @@ -800,6 +972,9 @@ AzureFirewallNatRCActionType, AzureFirewallNetworkRuleProtocol, AzureFirewallThreatIntelMode, + AzureFirewallSkuName, + AzureFirewallSkuTier, + BastionConnectProtocol, DdosCustomPolicyProtocol, DdosCustomPolicyTriggerSensitivityOverride, AuthorizationUseStatus, @@ -815,10 +990,12 @@ ExpressRouteLinkConnectorType, ExpressRouteLinkAdminState, ExpressRoutePortsEncapsulation, - FirewallPolicyNatRuleActionType, - FirewallPolicyFilterRuleActionType, - FirewallPolicyRuleConditionApplicationProtocolType, - FirewallPolicyRuleConditionNetworkProtocol, + FirewallPolicyIntrusionSystemMode, + FirewallPolicyNatRuleCollectionActionType, + FirewallPolicyFilterRuleCollectionActionType, + FirewallPolicyRuleApplicationProtocolType, + FirewallPolicyRuleNetworkProtocol, + IpAllocationType, LoadBalancerSkuName, LoadDistribution, ProbeProtocol, @@ -837,7 +1014,6 @@ PcProtocol, PcStatus, PcError, - FlowLogFormatType, Protocol, HTTPMethod, Origin, @@ -845,11 +1021,19 @@ IssueType, ConnectionStatus, VerbosityLevel, + ConnectionMonitorEndpointFilterType, + ConnectionMonitorEndpointFilterItemType, + ConnectionMonitorTestConfigurationProtocol, + PreferredIPVersion, + HTTPConfigurationMethod, + OutputType, ConnectionState, EvaluationState, + ConnectionMonitorType, ConnectionMonitorSourceStatus, PublicIPPrefixSkuName, - VirtualNetworkPeeringState, + SecurityProviderName, + SecurityPartnerProviderConnectionStatus, VirtualNetworkGatewayType, VpnType, VpnGatewayGeneration, @@ -868,11 +1052,14 @@ VirtualNetworkGatewayConnectionType, VirtualNetworkGatewayConnectionProtocol, OfficeTrafficCategory, - VpnGatewayTunnelingProtocol, + RoutingState, + HubBgpConnectionStatus, VpnConnectionStatus, VirtualWanSecurityProviderType, TunnelConnectionStatus, HubVirtualNetworkConnectionStatus, + VpnGatewayTunnelingProtocol, + VpnAuthenticationType, WebApplicationFirewallEnabledState, WebApplicationFirewallMode, WebApplicationFirewallRuleType, @@ -881,9 +1068,13 @@ WebApplicationFirewallTransform, WebApplicationFirewallAction, WebApplicationFirewallPolicyResourceState, + OwaspCrsExclusionEntryMatchVariable, + OwaspCrsExclusionEntrySelectorMatchOperator, + ManagedRuleEnabledState, ) __all__ = [ + 'AadAuthenticationParameters', 'AddressSpace', 'ApplicationGateway', 'ApplicationGatewayAuthenticationCertificate', @@ -925,9 +1116,10 @@ 'ApplicationGatewaySslPolicy', 'ApplicationGatewaySslPredefinedPolicy', 'ApplicationGatewayTrustedRootCertificate', + 'ApplicationGatewayUrlConfiguration', 'ApplicationGatewayUrlPathMap', 'ApplicationGatewayWebApplicationFirewallConfiguration', - 'ApplicationRuleCondition', + 'ApplicationRule', 'ApplicationSecurityGroup', 'AutoApprovedPrivateLinkService', 'Availability', @@ -938,6 +1130,7 @@ 'AvailableProvidersListCountry', 'AvailableProvidersListParameters', 'AvailableProvidersListState', + 'AvailableServiceAlias', 'AzureAsyncOperationResult', 'AzureFirewall', 'AzureFirewallApplicationRule', @@ -945,6 +1138,7 @@ 'AzureFirewallApplicationRuleProtocol', 'AzureFirewallFqdnTag', 'AzureFirewallIPConfiguration', + 'AzureFirewallIpGroups', 'AzureFirewallNatRCAction', 'AzureFirewallNatRule', 'AzureFirewallNatRuleCollection', @@ -952,26 +1146,46 @@ 'AzureFirewallNetworkRuleCollection', 'AzureFirewallPublicIPAddress', 'AzureFirewallRCAction', + 'AzureFirewallSku', 'AzureReachabilityReport', 'AzureReachabilityReportItem', 'AzureReachabilityReportLatencyInfo', 'AzureReachabilityReportLocation', 'AzureReachabilityReportParameters', 'BackendAddressPool', + 'BastionActiveSession', + 'BastionActiveSessionListResult', 'BastionHost', 'BastionHostIPConfiguration', + 'BastionSessionState', + 'BastionShareableLink', + 'BastionShareableLinkListRequest', + 'BastionShareableLinkListResult', 'BGPCommunity', + 'BgpConnection', 'BgpPeerStatus', 'BgpPeerStatusListResult', 'BgpServiceCommunity', 'BgpSettings', + 'BreakOutCategoryPolicies', 'CheckPrivateLinkServiceVisibilityRequest', 'ConnectionMonitor', 'ConnectionMonitorDestination', + 'ConnectionMonitorEndpoint', + 'ConnectionMonitorEndpointFilter', + 'ConnectionMonitorEndpointFilterItem', + 'ConnectionMonitorHttpConfiguration', + 'ConnectionMonitorIcmpConfiguration', + 'ConnectionMonitorOutput', 'ConnectionMonitorParameters', 'ConnectionMonitorQueryResult', 'ConnectionMonitorResult', 'ConnectionMonitorSource', + 'ConnectionMonitorSuccessThreshold', + 'ConnectionMonitorTcpConfiguration', + 'ConnectionMonitorTestConfiguration', + 'ConnectionMonitorTestGroup', + 'ConnectionMonitorWorkspaceSettings', 'ConnectionResetSharedKey', 'ConnectionSharedKey', 'ConnectionStateSnapshot', @@ -985,6 +1199,7 @@ 'ContainerNetworkInterface', 'ContainerNetworkInterfaceConfiguration', 'ContainerNetworkInterfaceIpConfiguration', + 'CustomDnsConfigPropertiesFormat', 'DdosCustomPolicy', 'DdosProtectionPlan', 'DdosSettings', @@ -993,12 +1208,14 @@ 'DhcpOptions', 'Dimension', 'DnsNameAvailabilityResult', + 'DnsSettings', 'EffectiveNetworkSecurityGroup', 'EffectiveNetworkSecurityGroupAssociation', 'EffectiveNetworkSecurityGroupListResult', 'EffectiveNetworkSecurityRule', 'EffectiveRoute', 'EffectiveRouteListResult', + 'EffectiveRoutesParameters', 'EndpointServiceResult', 'Error', 'ErrorException', 'ErrorDetails', @@ -1039,14 +1256,19 @@ 'ExpressRouteServiceProvider', 'ExpressRouteServiceProviderBandwidthsOffered', 'FirewallPolicy', - 'FirewallPolicyFilterRule', - 'FirewallPolicyFilterRuleAction', - 'FirewallPolicyNatRule', - 'FirewallPolicyNatRuleAction', + 'FirewallPolicyCertificateAuthority', + 'FirewallPolicyFilterRuleCollection', + 'FirewallPolicyFilterRuleCollectionAction', + 'FirewallPolicyNatRuleCollection', + 'FirewallPolicyNatRuleCollectionAction', 'FirewallPolicyRule', - 'FirewallPolicyRuleCondition', - 'FirewallPolicyRuleConditionApplicationProtocol', - 'FirewallPolicyRuleGroup', + 'FirewallPolicyRuleApplicationProtocol', + 'FirewallPolicyRuleCollection', + 'FirewallPolicyRuleCollectionGroup', + 'FirewallPolicyThreatIntelWhitelist', + 'FirewallPolicyTransportSecurity', + 'FirewallPolicyTrustedRootCertificate', + 'FlowLog', 'FlowLogFormatParameters', 'FlowLogInformation', 'FlowLogStatusParameters', @@ -1054,23 +1276,37 @@ 'GatewayRoute', 'GatewayRouteListResult', 'GetVpnSitesConfigurationRequest', + 'HopLink', 'HTTPConfiguration', 'HTTPHeader', 'HubIPAddresses', + 'HubIpConfiguration', + 'HubPublicIPAddresses', + 'HubRoute', + 'HubRouteTable', 'HubVirtualNetworkConnection', 'InboundNatPool', 'InboundNatRule', 'IPAddressAvailabilityResult', + 'IpAllocation', 'IPConfiguration', + 'IPConfigurationBgpPeeringAddress', 'IPConfigurationProfile', + 'IpGroup', 'IpsecPolicy', 'IpTag', + 'Ipv6CircuitConnectionConfig', 'Ipv6ExpressRouteCircuitPeeringConfig', 'LoadBalancer', + 'LoadBalancerBackendAddress', 'LoadBalancerSku', 'LoadBalancingRule', 'LocalNetworkGateway', 'LogSpecification', + 'ManagedRuleGroupOverride', + 'ManagedRuleOverride', + 'ManagedRulesDefinition', + 'ManagedRuleSet', 'ManagedServiceIdentity', 'ManagedServiceIdentityUserAssignedIdentitiesValue', 'MatchCondition', @@ -1079,6 +1315,7 @@ 'MetricSpecification', 'NatGateway', 'NatGatewaySku', + 'NatRule', 'NetworkConfigurationDiagnosticParameters', 'NetworkConfigurationDiagnosticProfile', 'NetworkConfigurationDiagnosticResponse', @@ -1092,24 +1329,28 @@ 'NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties', 'NetworkInterfaceTapConfiguration', 'NetworkProfile', - 'NetworkRuleCondition', + 'NetworkRule', 'NetworkSecurityGroup', 'NetworkSecurityGroupResult', 'NetworkSecurityRulesEvaluationResult', + 'NetworkVirtualAppliance', + 'NetworkVirtualApplianceSku', + 'NetworkVirtualApplianceSkuInstances', 'NetworkWatcher', 'NextHopParameters', 'NextHopResult', + 'Office365PolicyProperties', 'Operation', 'OperationDisplay', 'OperationPropertiesFormatServiceSpecification', 'OutboundRule', + 'OwaspCrsExclusionEntry', + 'P2SConnectionConfiguration', + 'P2SVpnConnectionHealth', + 'P2SVpnConnectionHealthRequest', + 'P2SVpnConnectionRequest', 'P2SVpnGateway', 'P2SVpnProfileParameters', - 'P2SVpnServerConfigRadiusClientRootCertificate', - 'P2SVpnServerConfigRadiusServerRootCertificate', - 'P2SVpnServerConfiguration', - 'P2SVpnServerConfigVpnClientRevokedCertificate', - 'P2SVpnServerConfigVpnClientRootCertificate', 'PacketCapture', 'PacketCaptureFilter', 'PacketCaptureParameters', @@ -1121,6 +1362,8 @@ 'PeerExpressRouteCircuitConnection', 'PolicySettings', 'PrepareNetworkPoliciesRequest', + 'PrivateDnsZoneConfig', + 'PrivateDnsZoneGroup', 'PrivateEndpoint', 'PrivateEndpointConnection', 'PrivateLinkService', @@ -1131,6 +1374,7 @@ 'PrivateLinkServicePropertiesVisibility', 'PrivateLinkServiceVisibility', 'Probe', + 'PropagatedRouteTable', 'ProtocolConfiguration', 'ProtocolCustomSettingsFormat', 'PublicIPAddress', @@ -1139,6 +1383,8 @@ 'PublicIPPrefix', 'PublicIPPrefixSku', 'QueryTroubleshootingParameters', + 'RadiusServer', + 'RecordSet', 'ReferencedPublicIpAddress', 'Resource', 'ResourceNavigationLink', @@ -1149,9 +1395,11 @@ 'RouteFilter', 'RouteFilterRule', 'RouteTable', + 'RoutingConfiguration', 'SecurityGroupNetworkInterface', 'SecurityGroupViewParameters', 'SecurityGroupViewResult', + 'SecurityPartnerProvider', 'SecurityRule', 'SecurityRuleAssociations', 'ServiceAssociationLink', @@ -1162,6 +1410,8 @@ 'ServiceTagInformation', 'ServiceTagInformationPropertiesFormat', 'ServiceTagsListResult', + 'SessionIds', + 'StaticRoute', 'Subnet', 'SubnetAssociation', 'SubResource', @@ -1183,11 +1433,19 @@ 'UsageName', 'VerificationIPFlowParameters', 'VerificationIPFlowResult', + 'VirtualApplianceNicProperties', + 'VirtualApplianceSite', + 'VirtualApplianceSkuProperties', 'VirtualHub', + 'VirtualHubEffectiveRoute', + 'VirtualHubEffectiveRouteEffectiveRouteList', 'VirtualHubId', 'VirtualHubRoute', 'VirtualHubRouteTable', + 'VirtualHubRouteTableV2', + 'VirtualHubRouteV2', 'VirtualNetwork', + 'VirtualNetworkBgpCommunities', 'VirtualNetworkConnectionGatewayReference', 'VirtualNetworkGateway', 'VirtualNetworkGatewayConnection', @@ -1203,6 +1461,9 @@ 'VirtualWAN', 'VirtualWanSecurityProvider', 'VirtualWanSecurityProviders', + 'VirtualWanVpnProfileParameters', + 'VM', + 'VnetRoute', 'VpnClientConfiguration', 'VpnClientConnectionHealth', 'VpnClientConnectionHealthDetail', @@ -1219,6 +1480,12 @@ 'VpnPacketCaptureStartParameters', 'VpnPacketCaptureStopParameters', 'VpnProfileResponse', + 'VpnServerConfigRadiusClientRootCertificate', + 'VpnServerConfigRadiusServerRootCertificate', + 'VpnServerConfiguration', + 'VpnServerConfigurationsResponse', + 'VpnServerConfigVpnClientRevokedCertificate', + 'VpnServerConfigVpnClientRootCertificate', 'VpnSite', 'VpnSiteId', 'VpnSiteLink', @@ -1229,9 +1496,12 @@ 'ApplicationGatewaySslPredefinedPolicyPaged', 'ApplicationSecurityGroupPaged', 'AvailableDelegationPaged', + 'AvailableServiceAliasPaged', 'AzureFirewallPaged', 'AzureFirewallFqdnTagPaged', 'BastionHostPaged', + 'BastionShareableLinkPaged', + 'BastionSessionStatePaged', 'DdosProtectionPlanPaged', 'EndpointServiceResultPaged', 'ExpressRouteCircuitAuthorizationPaged', @@ -1246,7 +1516,9 @@ 'ExpressRoutePortPaged', 'ExpressRouteLinkPaged', 'FirewallPolicyPaged', - 'FirewallPolicyRuleGroupPaged', + 'FirewallPolicyRuleCollectionGroupPaged', + 'IpAllocationPaged', + 'IpGroupPaged', 'LoadBalancerPaged', 'BackendAddressPoolPaged', 'FrontendIPConfigurationPaged', @@ -1261,13 +1533,19 @@ 'NetworkProfilePaged', 'NetworkSecurityGroupPaged', 'SecurityRulePaged', + 'NetworkVirtualAppliancePaged', + 'VirtualApplianceSitePaged', + 'NetworkVirtualApplianceSkuPaged', 'NetworkWatcherPaged', 'PacketCaptureResultPaged', 'ConnectionMonitorResultPaged', + 'FlowLogPaged', 'OperationPaged', 'PrivateEndpointPaged', 'AvailablePrivateEndpointTypePaged', + 'PrivateDnsZoneGroupPaged', 'PrivateLinkServicePaged', + 'PrivateEndpointConnectionPaged', 'AutoApprovedPrivateLinkServicePaged', 'PublicIPAddressPaged', 'PublicIPPrefixPaged', @@ -1275,6 +1553,7 @@ 'RouteFilterRulePaged', 'RouteTablePaged', 'RoutePaged', + 'SecurityPartnerProviderPaged', 'BgpServiceCommunityPaged', 'ServiceEndpointPolicyPaged', 'ServiceEndpointPolicyDefinitionPaged', @@ -1293,13 +1572,17 @@ 'VirtualWANPaged', 'VpnSitePaged', 'VpnSiteLinkPaged', + 'VpnServerConfigurationPaged', 'VirtualHubPaged', 'HubVirtualNetworkConnectionPaged', 'VpnGatewayPaged', 'VpnConnectionPaged', 'VpnSiteLinkConnectionPaged', - 'P2SVpnServerConfigurationPaged', 'P2SVpnGatewayPaged', + 'VirtualHubRouteTableV2Paged', + 'BgpConnectionPaged', + 'HubIpConfigurationPaged', + 'HubRouteTablePaged', 'WebApplicationFirewallPolicyPaged', 'ApplicationGatewayProtocol', 'ProvisioningState', @@ -1308,9 +1591,11 @@ 'SecurityRuleProtocol', 'SecurityRuleAccess', 'SecurityRuleDirection', + 'FlowLogFormatType', 'RouteNextHopType', 'PublicIPAddressSkuName', 'DdosSettingsProtectionCoverage', + 'VirtualNetworkPeeringState', 'TransportProtocol', 'ApplicationGatewayCookieBasedAffinity', 'ApplicationGatewayBackendHealthServerHealth', @@ -1331,6 +1616,9 @@ 'AzureFirewallNatRCActionType', 'AzureFirewallNetworkRuleProtocol', 'AzureFirewallThreatIntelMode', + 'AzureFirewallSkuName', + 'AzureFirewallSkuTier', + 'BastionConnectProtocol', 'DdosCustomPolicyProtocol', 'DdosCustomPolicyTriggerSensitivityOverride', 'AuthorizationUseStatus', @@ -1346,10 +1634,12 @@ 'ExpressRouteLinkConnectorType', 'ExpressRouteLinkAdminState', 'ExpressRoutePortsEncapsulation', - 'FirewallPolicyNatRuleActionType', - 'FirewallPolicyFilterRuleActionType', - 'FirewallPolicyRuleConditionApplicationProtocolType', - 'FirewallPolicyRuleConditionNetworkProtocol', + 'FirewallPolicyIntrusionSystemMode', + 'FirewallPolicyNatRuleCollectionActionType', + 'FirewallPolicyFilterRuleCollectionActionType', + 'FirewallPolicyRuleApplicationProtocolType', + 'FirewallPolicyRuleNetworkProtocol', + 'IpAllocationType', 'LoadBalancerSkuName', 'LoadDistribution', 'ProbeProtocol', @@ -1368,7 +1658,6 @@ 'PcProtocol', 'PcStatus', 'PcError', - 'FlowLogFormatType', 'Protocol', 'HTTPMethod', 'Origin', @@ -1376,11 +1665,19 @@ 'IssueType', 'ConnectionStatus', 'VerbosityLevel', + 'ConnectionMonitorEndpointFilterType', + 'ConnectionMonitorEndpointFilterItemType', + 'ConnectionMonitorTestConfigurationProtocol', + 'PreferredIPVersion', + 'HTTPConfigurationMethod', + 'OutputType', 'ConnectionState', 'EvaluationState', + 'ConnectionMonitorType', 'ConnectionMonitorSourceStatus', 'PublicIPPrefixSkuName', - 'VirtualNetworkPeeringState', + 'SecurityProviderName', + 'SecurityPartnerProviderConnectionStatus', 'VirtualNetworkGatewayType', 'VpnType', 'VpnGatewayGeneration', @@ -1399,11 +1696,14 @@ 'VirtualNetworkGatewayConnectionType', 'VirtualNetworkGatewayConnectionProtocol', 'OfficeTrafficCategory', - 'VpnGatewayTunnelingProtocol', + 'RoutingState', + 'HubBgpConnectionStatus', 'VpnConnectionStatus', 'VirtualWanSecurityProviderType', 'TunnelConnectionStatus', 'HubVirtualNetworkConnectionStatus', + 'VpnGatewayTunnelingProtocol', + 'VpnAuthenticationType', 'WebApplicationFirewallEnabledState', 'WebApplicationFirewallMode', 'WebApplicationFirewallRuleType', @@ -1412,4 +1712,7 @@ 'WebApplicationFirewallTransform', 'WebApplicationFirewallAction', 'WebApplicationFirewallPolicyResourceState', + 'OwaspCrsExclusionEntryMatchVariable', + 'OwaspCrsExclusionEntrySelectorMatchOperator', + 'ManagedRuleEnabledState', ] diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models.py similarity index 71% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models.py index 386ec4de942..d47d8e5708f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models.py @@ -13,6 +13,30 @@ from msrest.exceptions import HttpOperationError +class AadAuthenticationParameters(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(Model): """AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. @@ -88,87 +112,87 @@ class ApplicationGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: SKU of the application gateway resource. - :type sku: ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySku + :type sku: ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySku :param ssl_policy: SSL policy of the application gateway resource. :type ssl_policy: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPolicy + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewayOperationalState + ~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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type gateway_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayIPConfiguration] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type authentication_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAuthenticationCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type trusted_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayTrustedRootCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type ssl_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendIPConfiguration] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type frontend_ports: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendPort] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbe] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type backend_http_settings_collection: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type http_listeners: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHttpListener] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type url_path_maps: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayUrlPathMap] + 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: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRequestRoutingRule] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRequestRoutingRule] :param rewrite_rule_sets: Rewrite rules for the application gateway resource. :type rewrite_rule_sets: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleSet] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type redirect_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. :type web_application_firewall_configuration: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayWebApplicationFirewallConfiguration - :param firewall_policy: Reference of the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. :type enable_http2: bool @@ -177,34 +201,41 @@ class ApplicationGateway(Resource): :type enable_fips: bool :param autoscale_configuration: Autoscale Configuration. :type autoscale_configuration: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAutoscaleConfiguration - :param resource_guid: The resource GUID property of the application - gateway resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the application + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAutoscaleConfiguration + :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' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the application gateway resource. :type custom_error_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomError] - :param etag: A unique read-only string that changes whenever the resource + list[~azure.mgmt.network.v2020_05_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 + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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.v2019_07_01.models.ManagedServiceIdentity + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'operational_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -238,6 +269,7 @@ class ApplicationGateway(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, @@ -267,10 +299,11 @@ def __init__(self, **kwargs): 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.resource_guid = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.resource_guid = None + self.provisioning_state = None self.custom_error_configurations = kwargs.get('custom_error_configurations', None) - self.etag = kwargs.get('etag', None) + self.force_firewall_policy_association = kwargs.get('force_firewall_policy_association', None) + self.etag = None self.zones = kwargs.get('zones', None) self.identity = kwargs.get('identity', None) @@ -294,25 +327,34 @@ def __init__(self, **kwargs): 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 data: Certificate public data. :type data: str - :param provisioning_state: The provisioning state of the authentication + :ivar provisioning_state: The provisioning state of the authentication certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the authentication certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'data': {'key': 'properties.data', 'type': 'str'}, @@ -325,10 +367,10 @@ class ApplicationGatewayAuthenticationCertificate(SubResource): def __init__(self, **kwargs): super(ApplicationGatewayAuthenticationCertificate, self).__init__(**kwargs) self.data = kwargs.get('data', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayAutoscaleConfiguration(Model): @@ -378,19 +420,19 @@ class ApplicationGatewayAvailableSslOptions(Resource): :type tags: dict[str, str] :param predefined_policies: List of available Ssl predefined policy. :type predefined_policies: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslPolicyName :param available_cipher_suites: List of available Ssl cipher suites. :type available_cipher_suites: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslCipherSuite] :param available_protocols: List of available Ssl protocols. :type available_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol] """ _validation = { @@ -423,7 +465,7 @@ class ApplicationGatewayAvailableWafRuleSetsResult(Model): :param value: The list of application gateway rule sets. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRuleSet] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRuleSet] """ _attribute_map = { @@ -458,30 +500,40 @@ def __init__(self, **kwargs): 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 backend_ip_configurations: Collection of references to IPs defined + :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. - :type backend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] :param backend_addresses: Backend addresses. :type backend_addresses: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddress] - :param provisioning_state: The provisioning state of the backend address + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddress] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the backend address pool that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'backend_ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, @@ -494,12 +546,12 @@ class ApplicationGatewayBackendAddressPool(SubResource): def __init__(self, **kwargs): super(ApplicationGatewayBackendAddressPool, self).__init__(**kwargs) - self.backend_ip_configurations = kwargs.get('backend_ip_configurations', None) + self.backend_ip_configurations = None self.backend_addresses = kwargs.get('backend_addresses', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayBackendHealth(Model): @@ -508,7 +560,7 @@ class ApplicationGatewayBackendHealth(Model): :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. :type backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthPool] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthPool] """ _attribute_map = { @@ -523,13 +575,13 @@ def __init__(self, **kwargs): class ApplicationGatewayBackendHealthHttpSettings(Model): """Application gateway BackendHealthHttp settings. - :param backend_http_settings: Reference of an + :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHttpSettings :param servers: List of ApplicationGatewayBackendHealthServer resources. :type servers: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthServer] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthServer] """ _attribute_map = { @@ -546,14 +598,14 @@ def __init__(self, **kwargs): class ApplicationGatewayBackendHealthOnDemand(Model): """Result of on demand test probe. - :param backend_address_pool: Reference of an + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool :param backend_health_http_settings: Application gateway BackendHealthHttp settings. :type backend_health_http_settings: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthHttpSettings + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthHttpSettings """ _attribute_map = { @@ -570,14 +622,14 @@ def __init__(self, **kwargs): class ApplicationGatewayBackendHealthPool(Model): """Application gateway BackendHealth pool. - :param backend_address_pool: Reference of an + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings resources. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthHttpSettings] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthHttpSettings] """ _attribute_map = { @@ -596,13 +648,13 @@ class ApplicationGatewayBackendHealthServer(Model): :param address: IP address or FQDN of backend server. :type address: str - :param ip_configuration: Reference of IP configuration of backend server. + :param ip_configuration: Reference to IP configuration of backend server. :type ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration :param health: Health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining' :type health: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthServerHealth + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthServerHealth :param health_probe_log: Health Probe Log. :type health_probe_log: str """ @@ -625,6 +677,9 @@ def __init__(self, **kwargs): 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 port: The destination port on the backend. @@ -632,29 +687,29 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :param protocol: The protocol used to communicate with the backend. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProtocol :param cookie_based_affinity: Cookie based affinity. Possible values include: 'Enabled', 'Disabled' :type cookie_based_affinity: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCookieBasedAffinity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_05_01.models.SubResource :param authentication_certificates: Array of references to application gateway authentication certificates. :type authentication_certificates: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param trusted_root_certificates: Array of references to application gateway trusted root certificates. :type trusted_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param connection_draining: Connection draining of the backend http settings resource. :type connection_draining: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayConnectionDraining + ~azure.mgmt.network.v2020_05_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 @@ -669,21 +724,27 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :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 - :param provisioning_state: The provisioning state of the backend HTTP + :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the backend http settings that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'port': {'key': 'properties.port', 'type': 'int'}, @@ -720,10 +781,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayConnectionDraining(Model): @@ -762,7 +823,7 @@ class ApplicationGatewayCustomError(Model): :param status_code: Status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502' :type status_code: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomErrorStatusCode + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayCustomErrorStatusCode :param custom_error_page_url: Error page URL of the application gateway customer error. :type custom_error_page_url: str @@ -884,7 +945,7 @@ class ApplicationGatewayFirewallRuleGroup(Model): :param rules: Required. The rules of the web application firewall rule group. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRule] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRule] """ _validation = { @@ -923,11 +984,11 @@ class ApplicationGatewayFirewallRuleSet(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param provisioning_state: The provisioning state of the web application + :ivar provisioning_state: The provisioning state of the web application firewall rule set. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param rule_set_type: Required. The type of the web application firewall rule set. :type rule_set_type: str @@ -937,12 +998,13 @@ class ApplicationGatewayFirewallRuleSet(Resource): :param rule_groups: Required. The rule groups of the web application firewall rule set. :type rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRuleGroup] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRuleGroup] """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'rule_set_type': {'required': True}, 'rule_set_version': {'required': True}, 'rule_groups': {'required': True}, @@ -962,7 +1024,7 @@ class ApplicationGatewayFirewallRuleSet(Resource): def __init__(self, **kwargs): super(ApplicationGatewayFirewallRuleSet, self).__init__(**kwargs) - self.provisioning_state = kwargs.get('provisioning_state', None) + 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) @@ -971,6 +1033,9 @@ def __init__(self, **kwargs): 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 private_ip_address: PrivateIPAddress of the network interface IP @@ -979,27 +1044,33 @@ class ApplicationGatewayFrontendIPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: Reference of the PublicIP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the frontend IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the frontend IP configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, @@ -1018,34 +1089,43 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = 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 port: Frontend port. :type port: int - :param provisioning_state: The provisioning state of the frontend port + :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the frontend port that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'port': {'key': 'properties.port', 'type': 'int'}, @@ -1058,10 +1138,10 @@ class ApplicationGatewayFrontendPort(SubResource): def __init__(self, **kwargs): super(ApplicationGatewayFrontendPort, self).__init__(**kwargs) self.port = kwargs.get('port', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayHeaderConfiguration(Model): @@ -1087,45 +1167,59 @@ def __init__(self, **kwargs): 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 frontend_ip_configuration: Frontend IP configuration resource of an application gateway. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param frontend_port: Frontend port resource of an application gateway. - :type frontend_port: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type frontend_port: ~azure.mgmt.network.v2020_05_01.models.SubResource :param protocol: Protocol of the HTTP listener. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type ssl_certificate: ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the HTTP listener + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the HTTP listener. :type custom_error_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayCustomError] + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_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] :param name: Name of the HTTP listener that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, @@ -1136,6 +1230,8 @@ class ApplicationGatewayHttpListener(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]'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -1149,37 +1245,48 @@ def __init__(self, **kwargs): self.host_name = kwargs.get('host_name', None) self.ssl_certificate = kwargs.get('ssl_certificate', None) self.require_server_name_indication = kwargs.get('require_server_name_indication', None) - self.provisioning_state = kwargs.get('provisioning_state', 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) self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = 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 subnet: Reference of the subnet resource. A subnet from where + :param subnet: Reference to the subnet resource. A subnet from where application gateway gets its private address. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the application + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the application gateway IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the IP configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, @@ -1192,10 +1299,10 @@ class ApplicationGatewayIPConfiguration(SubResource): def __init__(self, **kwargs): super(ApplicationGatewayIPConfiguration, self).__init__(**kwargs) self.subnet = kwargs.get('subnet', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayOnDemandProbe(Model): @@ -1204,7 +1311,7 @@ class ApplicationGatewayOnDemandProbe(Model): :param protocol: The protocol used for the probe. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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 @@ -1219,15 +1326,15 @@ class ApplicationGatewayOnDemandProbe(Model): :type pick_host_name_from_backend_http_settings: bool :param match: Criterion for classifying a healthy probe response. :type match: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbeHealthResponseMatch - :param backend_address_pool: Reference of backend pool of application + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param backend_http_settings: Reference of backend http setting of + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -1256,6 +1363,9 @@ def __init__(self, **kwargs): 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 paths: Path rules of URL path map. @@ -1263,33 +1373,41 @@ class ApplicationGatewayPathRule(SubResource): :param backend_address_pool: Backend address pool resource of URL path map path rule. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param backend_http_settings: Backend http settings resource of URL path map path rule. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param redirect_configuration: Redirect configuration resource of URL path map path rule. :type redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. - :type rewrite_rule_set: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the path rule + :type rewrite_rule_set: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :param name: Name of the path rule that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'paths': {'key': 'properties.paths', 'type': '[str]'}, @@ -1298,6 +1416,7 @@ class ApplicationGatewayPathRule(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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -1310,21 +1429,25 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None + self.firewall_policy = kwargs.get('firewall_policy', None) self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = 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 protocol: The protocol used for the probe. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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 @@ -1350,11 +1473,11 @@ class ApplicationGatewayProbe(SubResource): :type min_servers: int :param match: Criterion for classifying a healthy probe response. :type match: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbeHealthResponseMatch - :param provisioning_state: The provisioning state of the probe resource. + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProbeHealthResponseMatch + :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -1363,15 +1486,18 @@ class ApplicationGatewayProbe(SubResource): :param name: Name of the probe that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'port': {'maximum': 65535, 'minimum': 1}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -1403,11 +1529,11 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.port = kwargs.get('port', None) self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayProbeHealthResponseMatch(Model): @@ -1435,15 +1561,18 @@ def __init__(self, **kwargs): 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 redirect_type: HTTP redirection type. Possible values include: 'Permanent', 'Found', 'SeeOther', 'Temporary' :type redirect_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectType + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectType :param target_listener: Reference to a listener to redirect the request to. - :type target_listener: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type target_listener: ~azure.mgmt.network.v2020_05_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. @@ -1453,23 +1582,28 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param request_routing_rules: Request routing specifying redirect configuration. :type request_routing_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param url_path_maps: Url path maps specifying default redirect configuration. :type url_path_maps: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param path_rules: Path rules specifying redirect configuration. - :type path_rules: list[~azure.mgmt.network.v2019_07_01.models.SubResource] + :type path_rules: list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param name: Name of the redirect configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'redirect_type': {'key': 'properties.redirectType', 'type': 'str'}, @@ -1496,57 +1630,63 @@ def __init__(self, **kwargs): self.url_path_maps = kwargs.get('url_path_maps', None) self.path_rules = kwargs.get('path_rules', None) self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = 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 rule_type: Rule type. Possible values include: 'Basic', 'PathBasedRouting' :type rule_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRequestRoutingRuleType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param backend_http_settings: Backend http settings resource of the application gateway. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param http_listener: Http listener resource of the application gateway. - :type http_listener: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type http_listener: ~azure.mgmt.network.v2020_05_01.models.SubResource :param url_path_map: URL path map resource of the application gateway. - :type url_path_map: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type url_path_map: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_05_01.models.SubResource :param redirect_configuration: Redirect configuration resource of the application gateway. :type redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the request routing + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the request routing rule that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ _validation = { 'priority': {'maximum': 20000, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -1575,10 +1715,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayRewriteRule(Model): @@ -1593,10 +1733,10 @@ class ApplicationGatewayRewriteRule(Model): :param conditions: Conditions based on which the action set execution will be evaluated. :type conditions: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleCondition] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleCondition] :param action_set: Set of actions to be done as part of the rewrite Rule. :type action_set: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleActionSet + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleActionSet """ _attribute_map = { @@ -1620,22 +1760,27 @@ class ApplicationGatewayRewriteRuleActionSet(Model): :param request_header_configurations: Request Header Actions in the Action Set. :type request_header_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHeaderConfiguration] :param response_header_configurations: Response Header Actions in the Action Set. :type response_header_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHeaderConfiguration] + :param url_configuration: Url Configuration Action in the Action Set. + :type url_configuration: + ~azure.mgmt.network.v2020_05_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(Model): @@ -1679,12 +1824,12 @@ class ApplicationGatewayRewriteRuleSet(SubResource): :type id: str :param rewrite_rules: Rewrite rules in the rewrite rule set. :type rewrite_rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRule] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the rewrite rule set that is unique within an Application Gateway. :type name: str @@ -1721,11 +1866,11 @@ class ApplicationGatewaySku(Model): 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySkuName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewayTier + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayTier :param capacity: Capacity (instance count) of an application gateway. :type capacity: int """ @@ -1746,6 +1891,9 @@ def __init__(self, **kwargs): 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 data: Base-64 encoded pfx certificate. Only applicable in PUT @@ -1754,30 +1902,37 @@ class ApplicationGatewaySslCertificate(SubResource): :param password: Password for the pfx file specified in data. Only applicable in PUT request. :type password: str - :param public_cert_data: Base-64 encoded Public cert data corresponding to + :ivar public_cert_data: Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. - :type public_cert_data: str + :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 - :param provisioning_state: The provisioning state of the SSL certificate + :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the SSL certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'data': {'key': 'properties.data', 'type': 'str'}, + _validation = { + 'public_cert_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, @@ -1791,12 +1946,12 @@ def __init__(self, **kwargs): super(ApplicationGatewaySslCertificate, self).__init__(**kwargs) self.data = kwargs.get('data', None) self.password = kwargs.get('password', None) - self.public_cert_data = kwargs.get('public_cert_data', None) + self.public_cert_data = None self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewaySslPolicy(Model): @@ -1805,25 +1960,25 @@ class ApplicationGatewaySslPolicy(Model): :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. :type disabled_ssl_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol] :param policy_type: Type of Ssl Policy. Possible values include: 'Predefined', 'Custom' :type policy_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPolicyType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -1853,12 +2008,12 @@ class ApplicationGatewaySslPredefinedPolicy(SubResource): :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.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -1878,6 +2033,9 @@ def __init__(self, **kwargs): 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 data: Certificate public data. @@ -1885,21 +2043,27 @@ class ApplicationGatewayTrustedRootCertificate(SubResource): :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 provisioning_state: The provisioning state of the trusted root + :ivar provisioning_state: The provisioning state of the trusted root certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the trusted root certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'data': {'key': 'properties.data', 'type': 'str'}, @@ -1914,52 +2078,90 @@ def __init__(self, **kwargs): super(ApplicationGatewayTrustedRootCertificate, self).__init__(**kwargs) self.data = kwargs.get('data', None) self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None + + +class ApplicationGatewayUrlConfiguration(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 default_backend_address_pool: Default backend address pool resource of URL path map. :type default_backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param default_redirect_configuration: Default redirect configuration resource of URL path map. :type default_redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param path_rules: Path rule of URL path map resource. :type path_rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayPathRule] - :param provisioning_state: The provisioning state of the URL path map + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPathRule] + :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the URL path map that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'default_backend_address_pool': {'key': 'properties.defaultBackendAddressPool', 'type': 'SubResource'}, @@ -1980,10 +2182,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = kwargs.get('type', None) + self.etag = None + self.type = None class ApplicationGatewayWebApplicationFirewallConfiguration(Model): @@ -1997,7 +2199,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :param firewall_mode: Required. Web application firewall mode. Possible values include: 'Detection', 'Prevention' :type firewall_mode: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallMode + ~azure.mgmt.network.v2020_05_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 @@ -2005,7 +2207,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :type rule_set_version: str :param disabled_rule_groups: The disabled rule groups. :type disabled_rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + list[~azure.mgmt.network.v2020_05_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. @@ -2017,7 +2219,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :type file_upload_limit_in_mb: int :param exclusions: The exclusion list. :type exclusions: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallExclusion] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallExclusion] """ _validation = { @@ -2057,54 +2259,54 @@ def __init__(self, **kwargs): self.exclusions = kwargs.get('exclusions', None) -class FirewallPolicyRuleCondition(Model): +class FirewallPolicyRule(Model): """Properties of a rule. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: ApplicationRuleCondition, NetworkRuleCondition + sub-classes are: ApplicationRule, NatRule, NetworkRule All required parameters must be populated in order to send to Azure. - :param name: Name of the rule condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str + :param rule_type: Required. Constant filled by server. + :type rule_type: str """ _validation = { - 'rule_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, } _subtype_map = { - 'rule_condition_type': {'ApplicationRuleCondition': 'ApplicationRuleCondition', 'NetworkRuleCondition': 'NetworkRuleCondition'} + 'rule_type': {'ApplicationRule': 'ApplicationRule', 'NatRule': 'NatRule', 'NetworkRule': 'NetworkRule'} } def __init__(self, **kwargs): - super(FirewallPolicyRuleCondition, self).__init__(**kwargs) + super(FirewallPolicyRule, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.description = kwargs.get('description', None) - self.rule_condition_type = None + self.rule_type = None -class ApplicationRuleCondition(FirewallPolicyRuleCondition): - """Rule condition of type application. +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 condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str + :param rule_type: Required. Constant filled by server. + :type rule_type: 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 or Service @@ -2112,36 +2314,48 @@ class ApplicationRuleCondition(FirewallPolicyRuleCondition): :type destination_addresses: list[str] :param protocols: Array of Application Protocols. :type protocols: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleConditionApplicationProtocol] - :param target_fqdns: List of FQDNs for this rule condition. + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleApplicationProtocol] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] + :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] - :param fqdn_tags: List of FQDN Tags for this rule condition. + :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 """ _validation = { - 'rule_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, - 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleConditionApplicationProtocol]'}, + 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, } def __init__(self, **kwargs): - super(ApplicationRuleCondition, self).__init__(**kwargs) + super(ApplicationRule, self).__init__(**kwargs) self.source_addresses = kwargs.get('source_addresses', None) self.destination_addresses = kwargs.get('destination_addresses', None) self.protocols = kwargs.get('protocols', None) + self.target_urls = kwargs.get('target_urls', None) self.target_fqdns = kwargs.get('target_fqdns', None) self.fqdn_tags = kwargs.get('fqdn_tags', None) - self.rule_condition_type = 'ApplicationRuleCondition' + self.source_ip_groups = kwargs.get('source_ip_groups', None) + self.terminate_tls = kwargs.get('terminate_tls', None) + self.rule_type = 'ApplicationRule' class ApplicationSecurityGroup(Resource): @@ -2169,7 +2383,7 @@ class ApplicationSecurityGroup(Resource): security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -2253,8 +2467,7 @@ class AvailableDelegation(Model): :type type: str :param service_name: The name of the service and resource. :type service_name: str - :param actions: Describes the actions permitted to the service upon - delegation. + :param actions: The actions permitted to the service upon delegation. :type actions: list[str] """ @@ -2311,7 +2524,7 @@ class AvailableProvidersList(Model): :param countries: Required. List of available countries. :type countries: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListCountry] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListCountry] """ _validation = { @@ -2356,7 +2569,7 @@ class AvailableProvidersListCountry(Model): :type providers: list[str] :param states: List of available states in the country. :type states: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListState] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListState] """ _attribute_map = { @@ -2410,7 +2623,7 @@ class AvailableProvidersListState(Model): :type providers: list[str] :param cities: List of available cities or towns in the state. :type cities: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListCity] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListCity] """ _attribute_map = { @@ -2426,6 +2639,34 @@ def __init__(self, **kwargs): self.cities = kwargs.get('cities', None) +class AvailableServiceAlias(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 AzureAsyncOperationResult(Model): """The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has @@ -2439,10 +2680,10 @@ class AzureAsyncOperationResult(Model): :param status: Status of the Azure async operation. Possible values include: 'InProgress', 'Succeeded', 'Failed' :type status: str or - ~azure.mgmt.network.v2019_07_01.models.NetworkOperationStatus + ~azure.mgmt.network.v2020_05_01.models.NetworkOperationStatus :param error: Details of the error occurred during specified asynchronous operation. - :type error: ~azure.mgmt.network.v2019_07_01.models.Error + :type error: ~azure.mgmt.network.v2020_05_01.models.Error """ _attribute_map = { @@ -2475,35 +2716,47 @@ class AzureFirewall(Resource): :param application_rule_collections: Collection of application rule collections used by Azure Firewall. :type application_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRuleCollection] :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. :type nat_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRuleCollection] :param network_rule_collections: Collection of network rule collections used by Azure Firewall. :type network_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNetworkRuleCollection] :param ip_configurations: IP configuration of the Azure Firewall resource. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallIPConfiguration] - :param provisioning_state: The provisioning state of the Azure firewall + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallIPConfiguration] + :param management_ip_configuration: IP configuration of the Azure Firewall + used for management traffic. + :type management_ip_configuration: + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallIPConfiguration + :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallThreatIntelMode :param virtual_hub: The virtualHub to which the firewall belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource :param firewall_policy: The firewallPolicy associated with this azure firewall. - :type firewall_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource - :ivar hub_ip_addresses: IP addresses associated with AzureFirewall. - :vartype hub_ip_addresses: - ~azure.mgmt.network.v2019_07_01.models.HubIPAddresses + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param hub_ip_addresses: IP addresses associated with AzureFirewall. + :type hub_ip_addresses: + ~azure.mgmt.network.v2020_05_01.models.HubIPAddresses + :ivar ip_groups: IpGroups associated with AzureFirewall. + :vartype ip_groups: + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallIpGroups] + :param sku: The Azure Firewall Resource SKU. + :type sku: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallSku + :param additional_properties: The additional properties used to further + config this azure firewall. + :type additional_properties: dict[str, str] :param zones: A list of availability zones denoting where the resource needs to come from. :type zones: list[str] @@ -2515,7 +2768,8 @@ class AzureFirewall(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'hub_ip_addresses': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_groups': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2529,11 +2783,15 @@ class AzureFirewall(Resource): '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}'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -2544,11 +2802,15 @@ def __init__(self, **kwargs): 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.provisioning_state = kwargs.get('provisioning_state', 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 = 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) self.zones = kwargs.get('zones', None) self.etag = None @@ -2564,11 +2826,13 @@ class AzureFirewallApplicationRule(Model): :type source_addresses: list[str] :param protocols: Array of ApplicationRuleProtocols. :type protocols: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleProtocol] + list[~azure.mgmt.network.v2020_05_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 = { @@ -2578,6 +2842,7 @@ class AzureFirewallApplicationRule(Model): '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): @@ -2588,6 +2853,7 @@ def __init__(self, **kwargs): 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): @@ -2601,15 +2867,15 @@ class AzureFirewallApplicationRuleCollection(SubResource): :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.v2019_07_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a application rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRule] - :param provisioning_state: The provisioning state of the application rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRule] + :ivar provisioning_state: The provisioning state of the application rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2620,6 +2886,7 @@ class AzureFirewallApplicationRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2638,7 +2905,7 @@ def __init__(self, **kwargs): self.priority = kwargs.get('priority', None) self.action = kwargs.get('action', None) self.rules = kwargs.get('rules', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None @@ -2649,7 +2916,7 @@ class AzureFirewallApplicationRuleProtocol(Model): :param protocol_type: Protocol type. Possible values include: 'Http', 'Https', 'Mssql' :type protocol_type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleProtocolType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRuleProtocolType :param port: Port number for the protocol, cannot be greater than 64000. This field is optional. :type port: int @@ -2690,7 +2957,7 @@ class AzureFirewallFqdnTag(Resource): FQDN tag resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar fqdn_tag_name: The name of this FQDN Tag. :vartype fqdn_tag_name: str :ivar etag: A unique read-only string that changes whenever the resource @@ -2735,29 +3002,33 @@ class AzureFirewallIPConfiguration(SubResource): :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 of the subnet resource. This resource must be - named 'AzureFirewallSubnet'. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: Reference of the PublicIP resource. This field + :param subnet: Reference to the subnet resource. This resource must be + named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the Azure firewall IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 """ _validation = { 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -2768,6 +3039,7 @@ class AzureFirewallIPConfiguration(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, } def __init__(self, **kwargs): @@ -2775,9 +3047,38 @@ def __init__(self, **kwargs): self.private_ip_address = None self.subnet = kwargs.get('subnet', None) self.public_ip_address = kwargs.get('public_ip_address', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None + self.type = None + + +class AzureFirewallIpGroups(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 AzureFirewallNatRCAction(Model): @@ -2785,7 +3086,7 @@ class AzureFirewallNatRCAction(Model): :param type: The type of action. Possible values include: 'Snat', 'Dnat' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRCActionType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRCActionType """ _attribute_map = { @@ -2814,11 +3115,15 @@ class AzureFirewallNatRule(Model): :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. :type protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_05_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 = { @@ -2830,6 +3135,8 @@ class AzureFirewallNatRule(Model): '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): @@ -2842,6 +3149,8 @@ def __init__(self, **kwargs): 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): @@ -2856,15 +3165,15 @@ class AzureFirewallNatRuleCollection(SubResource): :type priority: int :param action: The action type of a NAT rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRCAction + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRCAction :param rules: Collection of rules used by a NAT rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRule] - :param provisioning_state: The provisioning state of the NAT rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRule] + :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2875,6 +3184,7 @@ class AzureFirewallNatRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2893,7 +3203,7 @@ def __init__(self, **kwargs): self.priority = kwargs.get('priority', None) self.action = kwargs.get('action', None) self.rules = kwargs.get('rules', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None @@ -2907,13 +3217,19 @@ class AzureFirewallNetworkRule(Model): :type description: str :param protocols: Array of AzureFirewallNetworkRuleProtocols. :type protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_05_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 = { @@ -2923,6 +3239,9 @@ class AzureFirewallNetworkRule(Model): '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): @@ -2933,6 +3252,9 @@ def __init__(self, **kwargs): 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): @@ -2946,15 +3268,15 @@ class AzureFirewallNetworkRuleCollection(SubResource): :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.v2019_07_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a network rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRule] - :param provisioning_state: The provisioning state of the network rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNetworkRule] + :ivar provisioning_state: The provisioning state of the network rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2965,6 +3287,7 @@ class AzureFirewallNetworkRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2983,7 +3306,7 @@ def __init__(self, **kwargs): self.priority = kwargs.get('priority', None) self.action = kwargs.get('action', None) self.rules = kwargs.get('rules', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None @@ -3009,7 +3332,7 @@ class AzureFirewallRCAction(Model): :param type: The type of action. Possible values include: 'Allow', 'Deny' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallRCActionType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCActionType """ _attribute_map = { @@ -3021,6 +3344,30 @@ def __init__(self, **kwargs): self.type = kwargs.get('type', None) +class AzureFirewallSku(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.v2020_05_01.models.AzureFirewallSkuName + :param tier: Tier of an Azure Firewall. Possible values include: + 'Standard', 'Premium' + :type tier: str or + ~azure.mgmt.network.v2020_05_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(Model): """Azure reachability report details. @@ -3032,11 +3379,11 @@ class AzureReachabilityReport(Model): :param provider_location: Required. Parameters that define a geographic location. :type provider_location: - ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLocation + ~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportLocation :param reachability_report: Required. List of Azure reachability report items. :type reachability_report: - list[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportItem] + list[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportItem] """ _validation = { @@ -3067,7 +3414,7 @@ class AzureReachabilityReportItem(Model): :type azure_location: str :param latencies: List of latency details for each of the time series. :type latencies: - list[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLatencyInfo] + list[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportLatencyInfo] """ _attribute_map = { @@ -3146,7 +3493,7 @@ class AzureReachabilityReportParameters(Model): :param provider_location: Required. Parameters that define a geographic location. :type provider_location: - ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLocation + ~azure.mgmt.network.v2020_05_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. @@ -3192,30 +3539,33 @@ class BackendAddressPool(SubResource): :ivar backend_ip_configurations: An array of references to IP addresses defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] + :param load_balancer_backend_addresses: An array of backend addresses. + :type load_balancer_backend_addresses: + list[~azure.mgmt.network.v2020_05_01.models.LoadBalancerBackendAddress] :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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. - :vartype outbound_rule: ~azure.mgmt.network.v2019_07_01.models.SubResource + :vartype outbound_rule: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] - :param provisioning_state: The provisioning state of the backend address + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -3225,12 +3575,15 @@ class BackendAddressPool(SubResource): 'load_balancing_rules': {'readonly': True}, 'outbound_rule': {'readonly': True}, 'outbound_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'load_balancer_backend_addresses': {'key': 'properties.loadBalancerBackendAddresses', 'type': '[LoadBalancerBackendAddress]'}, 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, 'outbound_rule': {'key': 'properties.outboundRule', 'type': 'SubResource'}, 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, @@ -3243,15 +3596,114 @@ class BackendAddressPool(SubResource): def __init__(self, **kwargs): super(BackendAddressPool, self).__init__(**kwargs) self.backend_ip_configurations = None + self.load_balancer_backend_addresses = kwargs.get('load_balancer_backend_addresses', None) self.load_balancing_rules = None self.outbound_rule = None self.outbound_rules = None - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None +class BastionActiveSession(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: object + :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.v2020_05_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': 'object'}, + '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(Model): + """Response for GetActiveSessions. + + :param value: List of active sessions on the bastion. + :type value: + list[~azure.mgmt.network.v2020_05_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. @@ -3270,15 +3722,15 @@ class BastionHost(Resource): :type tags: dict[str, str] :param ip_configurations: IP configuration of the Bastion Host resource. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.BastionHostIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.BastionHostIPConfiguration] :param dns_name: FQDN for the endpoint on which bastion host is accessible. :type dns_name: str - :param provisioning_state: The provisioning state of the bastion host + :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -3287,6 +3739,7 @@ class BastionHost(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -3306,7 +3759,7 @@ def __init__(self, **kwargs): super(BastionHost, self).__init__(**kwargs) self.ip_configurations = kwargs.get('ip_configurations', None) self.dns_name = kwargs.get('dns_name', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.etag = None @@ -3321,19 +3774,19 @@ class BastionHostIPConfiguration(SubResource): :param id: Resource ID. :type id: str :param subnet: Required. Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param public_ip_address: Required. Reference of the PublicIP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the bastion host IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod :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 @@ -3347,6 +3800,7 @@ class BastionHostIPConfiguration(SubResource): _validation = { 'subnet': {'required': True}, 'public_ip_address': {'required': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -3366,72 +3820,244 @@ def __init__(self, **kwargs): super(BastionHostIPConfiguration, self).__init__(**kwargs) self.subnet = kwargs.get('subnet', None) self.public_ip_address = kwargs.get('public_ip_address', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.private_ip_allocation_method = kwargs.get('private_ip_allocation_method', None) self.name = kwargs.get('name', None) self.etag = None self.type = None -class BGPCommunity(Model): - """Contains bgp community information offered in Service Community resources. +class BastionSessionState(Model): + """The session state detail for a target. - :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 + 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 = { - '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'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'state': {'key': 'state', '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) + super(BastionSessionState, self).__init__(**kwargs) + self.session_id = None + self.message = None + self.state = None -class BgpPeerStatus(Model): - """BGP peer status details. +class BastionShareableLink(Model): + """Bastion Shareable Link. 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: int - :ivar state: The BGP peer state. Possible values include: 'Unknown', - 'Stopped', 'Idle', 'Connecting', 'Connected' - :vartype state: str or ~azure.mgmt.network.v2019_07_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 + 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.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.get('vm', None) + self.bsl = None + self.created_at = None + self.message = None + + +class BastionShareableLinkListRequest(Model): + """Post request for all the Bastion Shareable Link endpoints. + + :param vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_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(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.v2020_05_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(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 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.v2020_05_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.v2020_05_01.models.HubBgpConnectionStatus + :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 + """ + + _validation = { + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + 'connection_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(BgpConnection, self).__init__(**kwargs) + self.peer_asn = kwargs.get('peer_asn', None) + self.peer_ip = kwargs.get('peer_ip', None) + self.provisioning_state = None + self.connection_state = None + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + + +class BgpPeerStatus(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.v2020_05_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. @@ -3441,7 +4067,7 @@ class BgpPeerStatus(Model): _validation = { 'local_address': {'readonly': True}, 'neighbor': {'readonly': True}, - 'asn': {'readonly': True}, + 'asn': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, 'state': {'readonly': True}, 'connected_duration': {'readonly': True}, 'routes_received': {'readonly': True}, @@ -3452,7 +4078,7 @@ class BgpPeerStatus(Model): _attribute_map = { 'local_address': {'key': 'localAddress', 'type': 'str'}, 'neighbor': {'key': 'neighbor', 'type': 'str'}, - 'asn': {'key': 'asn', 'type': 'int'}, + 'asn': {'key': 'asn', 'type': 'long'}, 'state': {'key': 'state', 'type': 'str'}, 'connected_duration': {'key': 'connectedDuration', 'type': 'str'}, 'routes_received': {'key': 'routesReceived', 'type': 'long'}, @@ -3476,7 +4102,7 @@ class BgpPeerStatusListResult(Model): """Response for list BGP peer status API service call. :param value: List of BGP peers. - :type value: list[~azure.mgmt.network.v2019_07_01.models.BgpPeerStatus] + :type value: list[~azure.mgmt.network.v2020_05_01.models.BgpPeerStatus] """ _attribute_map = { @@ -3508,7 +4134,7 @@ class BgpServiceCommunity(Resource): :type service_name: str :param bgp_communities: A list of bgp communities. :type bgp_communities: - list[~azure.mgmt.network.v2019_07_01.models.BGPCommunity] + list[~azure.mgmt.network.v2020_05_01.models.BGPCommunity] """ _validation = { @@ -3543,12 +4169,21 @@ class BgpSettings(Model): :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.v2020_05_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): @@ -3556,6 +4191,31 @@ def __init__(self, **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(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(Model): @@ -3575,10 +4235,10 @@ def __init__(self, **kwargs): class CloudError(Model): - """An error response from the Batch service. + """An error response from the service. :param error: Cloud error body. - :type error: ~azure.mgmt.network.v2019_07_01.models.CloudErrorBody + :type error: ~azure.mgmt.network.v2020_05_01.models.CloudErrorBody """ _attribute_map = { @@ -3603,7 +4263,7 @@ def __init__(self, deserialize, response, *args): class CloudErrorBody(Model): - """An error response from the Batch service. + """An error response from the service. :param code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. @@ -3615,7 +4275,7 @@ class CloudErrorBody(Model): of the property in error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.network.v2019_07_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.network.v2020_05_01.models.CloudErrorBody] """ _attribute_map = { @@ -3636,32 +4296,39 @@ def __init__(self, **kwargs): class ConnectionMonitor(Model): """Parameters that define the operation to create a connection monitor. - All required parameters must be populated in order to send to Azure. - :param location: Connection monitor location. :type location: str :param tags: Connection monitor tags. :type tags: dict[str, str] - :param source: Required. Describes the source of connection monitor. + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str """ - _validation = { - 'source': {'required': True}, - 'destination': {'required': True}, - } - _attribute_map = { 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -3669,6 +4336,11 @@ class ConnectionMonitor(Model): '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): @@ -3679,6 +4351,11 @@ def __init__(self, **kwargs): 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(Model): @@ -3707,36 +4384,210 @@ def __init__(self, **kwargs): self.port = kwargs.get('port', None) -class ConnectionMonitorParameters(Model): - """Parameters that define the operation to create a connection monitor. +class ConnectionMonitorEndpoint(Model): + """Describes the connection monitor endpoint. All required parameters must be populated in order to send to Azure. - :param source: Required. Describes the source of connection monitor. + :param name: Required. The name of the connection monitor endpoint. + :type name: str + :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.v2020_05_01.models.ConnectionMonitorEndpointFilter + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'filter': {'key': 'filter', 'type': 'ConnectionMonitorEndpointFilter'}, + } + + def __init__(self, **kwargs): + super(ConnectionMonitorEndpoint, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.resource_id = kwargs.get('resource_id', None) + self.address = kwargs.get('address', None) + self.filter = kwargs.get('filter', None) + + +class ConnectionMonitorEndpointFilter(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.v2020_05_01.models.ConnectionMonitorEndpointFilterType + :param items: List of items in the filter. + :type items: + list[~azure.mgmt.network.v2020_05_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(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.v2020_05_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 ConnectionMonitorHttpConfiguration(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.v2020_05_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.v2020_05_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 + """ + + _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(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 ConnectionMonitorOutput(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.v2020_05_01.models.OutputType + :param workspace_settings: Describes the settings for producing output + into a log analytics workspace. + :type workspace_settings: + ~azure.mgmt.network.v2020_05_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(Model): + """Parameters that define the operation to create a connection monitor. + + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str """ - _validation = { - 'source': {'required': True}, - 'destination': {'required': 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'}, } def __init__(self, **kwargs): @@ -3745,6 +4596,11 @@ def __init__(self, **kwargs): 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(Model): @@ -3753,10 +4609,10 @@ class ConnectionMonitorQueryResult(Model): :param source_status: Status of connection monitor source. Possible values include: 'Unknown', 'Active', 'Inactive' :type source_status: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSourceStatus + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSourceStatus :param states: Information about connection states. :type states: - list[~azure.mgmt.network.v2019_07_01.models.ConnectionStateSnapshot] + list[~azure.mgmt.network.v2020_05_01.models.ConnectionStateSnapshot] """ _attribute_map = { @@ -3776,53 +4632,71 @@ class ConnectionMonitorResult(Model): 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 name: Name of the connection monitor. :vartype name: str :ivar id: ID of the connection monitor. :vartype id: str - :param etag: A unique read-only string that changes whenever the resource - is updated. Default value: "A unique read-only string that changes - whenever the resource is updated." . - :type etag: 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: Connection monitor tags. :type tags: dict[str, str] - :param source: Required. Describes the source of connection monitor. + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int - :param provisioning_state: The provisioning state of the connection + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_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' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param start_time: The date and time when the connection monitor was + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. - :type start_time: datetime - :param monitoring_status: The monitoring status of the connection monitor. - :type monitoring_status: str + :vartype start_time: 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.v2020_05_01.models.ConnectionMonitorType """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'required': True}, - 'destination': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, } _attribute_map = { @@ -3836,16 +4710,22 @@ class ConnectionMonitorResult(Model): '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 = kwargs.get('etag', "A unique read-only string that changes whenever the resource is updated.") + self.etag = None self.type = None self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) @@ -3853,9 +4733,15 @@ def __init__(self, **kwargs): 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.provisioning_state = kwargs.get('provisioning_state', None) - self.start_time = kwargs.get('start_time', None) - self.monitoring_status = kwargs.get('monitoring_status', None) + 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 ConnectionMonitorSource(Model): @@ -3880,9 +4766,173 @@ class ConnectionMonitorSource(Model): } def __init__(self, **kwargs): - super(ConnectionMonitorSource, self).__init__(**kwargs) - self.resource_id = kwargs.get('resource_id', None) - self.port = kwargs.get('port', None) + super(ConnectionMonitorSource, self).__init__(**kwargs) + self.resource_id = kwargs.get('resource_id', None) + self.port = kwargs.get('port', None) + + +class ConnectionMonitorSuccessThreshold(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(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 + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + } + + 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) + + +class ConnectionMonitorTestConfiguration(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.v2020_05_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.v2020_05_01.models.PreferredIPVersion + :param http_configuration: The parameters used to perform test evaluation + over HTTP. + :type http_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorHttpConfiguration + :param tcp_configuration: The parameters used to perform test evaluation + over TCP. + :type tcp_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTcpConfiguration + :param icmp_configuration: The parameters used to perform test evaluation + over ICMP. + :type icmp_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorIcmpConfiguration + :param success_threshold: The threshold for declaring a test successful. + :type success_threshold: + ~azure.mgmt.network.v2020_05_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.get('name', None) + self.test_frequency_sec = kwargs.get('test_frequency_sec', None) + self.protocol = kwargs.get('protocol', None) + 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(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.get('name', None) + self.disable = kwargs.get('disable', None) + self.test_configurations = kwargs.get('test_configurations', None) + self.sources = kwargs.get('sources', None) + self.destinations = kwargs.get('destinations', None) + + +class ConnectionMonitorWorkspaceSettings(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(Model): @@ -3942,7 +4992,7 @@ class ConnectionStateSnapshot(Model): :param connection_state: The connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown' :type connection_state: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionState + ~azure.mgmt.network.v2020_05_01.models.ConnectionState :param start_time: The start time of the connection snapshot. :type start_time: datetime :param end_time: The end time of the connection snapshot. @@ -3950,7 +5000,7 @@ class ConnectionStateSnapshot(Model): :param evaluation_state: Connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed' :type evaluation_state: str or - ~azure.mgmt.network.v2019_07_01.models.EvaluationState + ~azure.mgmt.network.v2020_05_01.models.EvaluationState :param avg_latency_in_ms: Average latency in ms. :type avg_latency_in_ms: int :param min_latency_in_ms: Minimum latency in ms. @@ -3963,7 +5013,7 @@ class ConnectionStateSnapshot(Model): :type probes_failed: int :ivar hops: List of hops between the source and the destination. :vartype hops: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityHop] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityHop] """ _validation = { @@ -4039,9 +5089,16 @@ class ConnectivityHop(Model): :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.v2020_05_01.models.HopLink] + :ivar previous_links: List of previous hop links. + :vartype previous_links: + list[~azure.mgmt.network.v2020_05_01.models.HopLink] :ivar issues: List of issues. :vartype issues: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityIssue] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityIssue] """ _validation = { @@ -4050,6 +5107,9 @@ class ConnectivityHop(Model): '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}, } @@ -4059,6 +5119,9 @@ class ConnectivityHop(Model): '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]'}, } @@ -4069,6 +5132,9 @@ def __init__(self, **kwargs): 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 @@ -4080,11 +5146,11 @@ class ConnectivityInformation(Model): :ivar hops: List of hops between the source and the destination. :vartype hops: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityHop] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityHop] :ivar connection_status: The connection status. Possible values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionStatus + ~azure.mgmt.network.v2020_05_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. @@ -4137,14 +5203,14 @@ class ConnectivityIssue(Model): :ivar origin: The origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound' - :vartype origin: str or ~azure.mgmt.network.v2019_07_01.models.Origin + :vartype origin: str or ~azure.mgmt.network.v2020_05_01.models.Origin :ivar severity: The severity of the issue. Possible values include: 'Error', 'Warning' - :vartype severity: str or ~azure.mgmt.network.v2019_07_01.models.Severity + :vartype severity: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IssueType + :vartype type: str or ~azure.mgmt.network.v2020_05_01.models.IssueType :ivar context: Provides additional context on the issue. :vartype context: list[dict[str, str]] """ @@ -4176,17 +5242,21 @@ class ConnectivityParameters(Model): All required parameters must be populated in order to send to Azure. - :param source: Required. Describes the source of the connection. - :type source: ~azure.mgmt.network.v2019_07_01.models.ConnectivitySource - :param destination: Required. Describes the destination of connection. + :param source: Required. The source of the connection. + :type source: ~azure.mgmt.network.v2020_05_01.models.ConnectivitySource + :param destination: Required. The destination of connection. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectivityDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectivityDestination :param protocol: Network protocol. Possible values include: 'Tcp', 'Http', 'Https', 'Icmp' - :type protocol: str or ~azure.mgmt.network.v2019_07_01.models.Protocol + :type protocol: str or ~azure.mgmt.network.v2020_05_01.models.Protocol :param protocol_configuration: Configuration of the protocol. :type protocol_configuration: - ~azure.mgmt.network.v2019_07_01.models.ProtocolConfiguration + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.IPVersion """ _validation = { @@ -4199,6 +5269,7 @@ class ConnectivityParameters(Model): '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): @@ -4207,6 +5278,7 @@ def __init__(self, **kwargs): self.destination = kwargs.get('destination', None) 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(Model): @@ -4260,36 +5332,39 @@ class ContainerNetworkInterface(SubResource): :param id: Resource ID. :type id: str - :param container_network_interface_configuration: Container network + :ivar container_network_interface_configuration: Container network interface configuration from which this container network interface is created. - :type container_network_interface_configuration: - ~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration + :vartype container_network_interface_configuration: + ~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.v2019_07_01.models.Container - :param ip_configurations: Reference to the ip configuration on this + :type container: ~azure.mgmt.network.v2020_05_01.models.Container + :ivar ip_configurations: Reference to the ip configuration on this container nic. - :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceIpConfiguration] + :vartype ip_configurations: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'container_network_interface_configuration': {'readonly': True}, + 'ip_configurations': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4305,13 +5380,13 @@ class ContainerNetworkInterface(SubResource): def __init__(self, **kwargs): super(ContainerNetworkInterface, self).__init__(**kwargs) - self.container_network_interface_configuration = kwargs.get('container_network_interface_configuration', None) + self.container_network_interface_configuration = None self.container = kwargs.get('container', None) - self.ip_configurations = kwargs.get('ip_configurations', None) + self.ip_configurations = None self.provisioning_state = None self.name = kwargs.get('name', None) self.type = None - self.etag = kwargs.get('etag', None) + self.etag = None class ContainerNetworkInterfaceConfiguration(SubResource): @@ -4325,29 +5400,30 @@ class ContainerNetworkInterfaceConfiguration(SubResource): :param ip_configurations: A list of ip configurations of the container network interface configuration. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.IPConfigurationProfile] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4367,7 +5443,7 @@ def __init__(self, **kwargs): self.provisioning_state = None self.name = kwargs.get('name', None) self.type = None - self.etag = kwargs.get('etag', None) + self.etag = None class ContainerNetworkInterfaceIpConfiguration(Model): @@ -4380,20 +5456,21 @@ class ContainerNetworkInterfaceIpConfiguration(Model): interface IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4408,7 +5485,28 @@ def __init__(self, **kwargs): self.provisioning_state = None self.name = kwargs.get('name', None) self.type = None - self.etag = kwargs.get('etag', None) + self.etag = None + + +class CustomDnsConfigPropertiesFormat(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 DdosCustomPolicy(Resource): @@ -4435,15 +5533,15 @@ class DdosCustomPolicy(Resource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. :type protocol_custom_settings: - list[~azure.mgmt.network.v2019_07_01.models.ProtocolCustomSettingsFormat] + list[~azure.mgmt.network.v2020_05_01.models.ProtocolCustomSettingsFormat] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -4505,11 +5603,11 @@ class DdosProtectionPlan(Model): plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -4556,23 +5654,27 @@ class DdosSettings(Model): :param ddos_custom_policy: The DDoS custom policy associated with the public IP. :type ddos_custom_policy: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DdosSettingsProtectionCoverage + ~azure.mgmt.network.v2020_05_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): @@ -4586,24 +5688,25 @@ class Delegation(SubResource): :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str - :param actions: Describes the actions permitted to the service upon - delegation. - :type actions: list[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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'actions': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4618,10 +5721,10 @@ class Delegation(SubResource): def __init__(self, **kwargs): super(Delegation, self).__init__(**kwargs) self.service_name = kwargs.get('service_name', None) - self.actions = kwargs.get('actions', None) + self.actions = None self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class DeviceProperties(Model): @@ -4706,19 +5809,45 @@ def __init__(self, **kwargs): self.available = kwargs.get('available', None) +class DnsSettings(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 EffectiveNetworkSecurityGroup(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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param association: Associated resources. :type association: - ~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroupAssociation + ~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroupAssociation :param effective_security_rules: A collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityRule] :param tag_map: Mapping of tags to list of IP Addresses included within the tag. :type tag_map: dict[str, list[str]] @@ -4743,10 +5872,10 @@ class EffectiveNetworkSecurityGroupAssociation(Model): """The effective network security group association. :param subnet: The ID of the subnet if assigned. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param network_interface: The ID of the network interface if assigned. :type network_interface: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -4768,7 +5897,7 @@ class EffectiveNetworkSecurityGroupListResult(Model): :param value: A list of effective network security groups. :type value: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroup] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -4797,7 +5926,7 @@ class EffectiveNetworkSecurityRule(Model): :param protocol: The network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'All' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveSecurityRuleProtocol + ~azure.mgmt.network.v2020_05_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. @@ -4830,13 +5959,13 @@ class EffectiveNetworkSecurityRule(Model): :param access: Whether network traffic is allowed or denied. Possible values include: 'Allow', 'Deny' :type access: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SecurityRuleDirection + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleDirection """ _attribute_map = { @@ -4887,11 +6016,11 @@ class EffectiveRoute(Model): :param source: Who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default' :type source: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveRouteSource + ~azure.mgmt.network.v2020_05_01.models.EffectiveRouteSource :param state: The value of effective route. Possible values include: 'Active', 'Invalid' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveRouteState + ~azure.mgmt.network.v2020_05_01.models.EffectiveRouteState :param address_prefix: The address prefixes of the effective routes in CIDR notation. :type address_prefix: list[str] @@ -4902,7 +6031,7 @@ class EffectiveRoute(Model): Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.RouteNextHopType + ~azure.mgmt.network.v2020_05_01.models.RouteNextHopType """ _attribute_map = { @@ -4933,7 +6062,7 @@ class EffectiveRouteListResult(Model): sending a request. :param value: A list of effective routes. - :type value: list[~azure.mgmt.network.v2019_07_01.models.EffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_05_01.models.EffectiveRoute] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -4953,6 +6082,30 @@ def __init__(self, **kwargs): self.next_link = None +class EffectiveRoutesParameters(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: ~azure.mgmt.network.v2020_05_01.models.Resource + :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': 'Resource'}, + '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. @@ -4994,7 +6147,7 @@ class Error(Model): :param target: Error target. :type target: str :param details: Error details. - :type details: list[~azure.mgmt.network.v2019_07_01.models.ErrorDetails] + :type details: list[~azure.mgmt.network.v2020_05_01.models.ErrorDetails] :param inner_error: Inner error message. :type inner_error: str """ @@ -5056,7 +6209,7 @@ class ErrorResponse(Model): """The error object. :param error: Error. The error details object. - :type error: ~azure.mgmt.network.v2019_07_01.models.ErrorDetails + :type error: ~azure.mgmt.network.v2020_05_01.models.ErrorDetails """ _attribute_map = { @@ -5092,11 +6245,11 @@ class EvaluatedNetworkSecurityGroup(Model): group is applied. :type applied_to: str :param matched_rule: Matched network security rule. - :type matched_rule: ~azure.mgmt.network.v2019_07_01.models.MatchedRule + :type matched_rule: ~azure.mgmt.network.v2020_05_01.models.MatchedRule :ivar rules_evaluation_result: List of network security rules evaluation results. :vartype rules_evaluation_result: - list[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityRulesEvaluationResult] + list[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityRulesEvaluationResult] """ _validation = { @@ -5135,7 +6288,7 @@ class ExpressRouteCircuit(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSku :param allow_classic_operations: Allow classic operations. :type allow_classic_operations: bool :param circuit_provisioning_state: The CircuitProvisioningState state of @@ -5145,38 +6298,38 @@ class ExpressRouteCircuit(Resource): ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning' :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ServiceProviderProvisioningState :param authorizations: The list of authorizations. :type authorizations: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization] :param peerings: The list of peerings. :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ExpressRouteCircuitServiceProviderProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the express route + :ivar provisioning_state: The provisioning state of the express route circuit resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param global_reach_enabled: Flag denoting Global reach status. + :param global_reach_enabled: Flag denoting global reach status. :type global_reach_enabled: bool :ivar etag: A unique read-only string that changes whenever the resource is updated. @@ -5187,6 +6340,7 @@ class ExpressRouteCircuit(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'stag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -5228,7 +6382,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', 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) self.etag = None @@ -5275,12 +6429,12 @@ class ExpressRouteCircuitAuthorization(SubResource): :param authorization_use_status: The authorization use status. Possible values include: 'Available', 'InUse' :type authorization_use_status: str or - ~azure.mgmt.network.v2019_07_01.models.AuthorizationUseStatus - :param provisioning_state: The provisioning state of the authorization + ~azure.mgmt.network.v2020_05_01.models.AuthorizationUseStatus + :ivar provisioning_state: The provisioning state of the authorization resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -5292,6 +6446,7 @@ class ExpressRouteCircuitAuthorization(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -5310,7 +6465,7 @@ def __init__(self, **kwargs): super(ExpressRouteCircuitAuthorization, self).__init__(**kwargs) self.authorization_key = kwargs.get('authorization_key', None) self.authorization_use_status = kwargs.get('authorization_use_status', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None self.type = None @@ -5327,25 +6482,29 @@ class ExpressRouteCircuitConnection(SubResource): :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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.Ipv6CircuitConnectionConfig :param circuit_connection_status: Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected' :type circuit_connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -5368,6 +6527,7 @@ class ExpressRouteCircuitConnection(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'}, 'name': {'key': 'name', 'type': 'str'}, @@ -5381,6 +6541,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('circuit_connection_status', None) self.provisioning_state = None self.name = kwargs.get('name', None) @@ -5399,11 +6560,11 @@ class ExpressRouteCircuitPeering(SubResource): :param peering_type: The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering' :type peering_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringType + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringState :param azure_asn: The Azure ASN. :type azure_asn: int :param peer_asn: The peer ASN. @@ -5422,35 +6583,35 @@ class ExpressRouteCircuitPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringConfig :param stats: The peering stats of express route circuit. :type stats: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitStats - :param provisioning_state: The provisioning state of the express route + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitStats + :ivar provisioning_state: The provisioning state of the express route circuit peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param last_modified_by: Who was the last to modify the peering. - :type last_modified_by: str - :param route_filter: The reference of the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2019_07_01.models.SubResource + :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.v2020_05_01.models.SubResource :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2019_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.Ipv6ExpressRouteCircuitPeeringConfig :param express_route_connection: The ExpressRoute connection. :type express_route_connection: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnectionId + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnectionId :param connections: The list of circuit connections associated with Azure Private Peering for this circuit. :type connections: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PeerExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_05_01.models.PeerExpressRouteCircuitConnection] :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 @@ -5463,6 +6624,8 @@ class ExpressRouteCircuitPeering(SubResource): _validation = { 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, 'peered_connections': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, @@ -5509,9 +6672,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.gateway_manager_etag = kwargs.get('gateway_manager_etag', None) - self.last_modified_by = kwargs.get('last_modified_by', 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) @@ -5525,17 +6688,20 @@ def __init__(self, **kwargs): class ExpressRouteCircuitPeeringConfig(Model): """Specifies the peering configuration. - :param advertised_public_prefixes: The reference of + 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] - :param advertised_public_prefixes_state: The advertised public prefix - state of the Peering resource. Possible values include: 'NotConfigured', + :ivar advertised_public_prefixes_state: The advertised public prefix state + of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded' - :type advertised_public_prefixes_state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + :vartype advertised_public_prefixes_state: str or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState :param legacy_mode: The legacy mode of the peering. :type legacy_mode: int :param customer_asn: The CustomerASN of the peering. @@ -5545,6 +6711,10 @@ class ExpressRouteCircuitPeeringConfig(Model): :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]'}, @@ -5558,7 +6728,7 @@ 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 = kwargs.get('advertised_public_prefixes_state', 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) @@ -5668,7 +6838,7 @@ class ExpressRouteCircuitsArpTableListResult(Model): :param value: A list of the ARP tables. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitArpTable] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitArpTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5716,11 +6886,11 @@ class ExpressRouteCircuitSku(Model): :param tier: The tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local' :type tier: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSkuTier + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSkuTier :param family: The family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData' :type family: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSkuFamily + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSkuFamily """ _attribute_map = { @@ -5742,7 +6912,7 @@ class ExpressRouteCircuitsRoutesTableListResult(Model): :param value: The list of routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitRoutesTable] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitRoutesTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5764,7 +6934,7 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult(Model): :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitRoutesTableSummary] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitRoutesTableSummary] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5811,28 +6981,38 @@ def __init__(self, **kwargs): 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 provisioning_state: The provisioning state of the express route + :ivar provisioning_state: The provisioning state of the express route connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_circuit_peering: Required. The ExpressRoute circuit peering. :type express_route_circuit_peering: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringId + ~azure.mgmt.network.v2020_05_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 routing_configuration: The Routing Configuration indicating the + associated and propagated route tables on this connection. + :type routing_configuration: + ~azure.mgmt.network.v2020_05_01.models.RoutingConfiguration :param name: Required. The name of the resource. :type name: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'express_route_circuit_peering': {'required': True}, 'name': {'required': True}, } @@ -5843,15 +7023,19 @@ class ExpressRouteConnection(SubResource): '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'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, 'name': {'key': 'name', 'type': 'str'}, } def __init__(self, **kwargs): super(ExpressRouteConnection, self).__init__(**kwargs) - self.provisioning_state = kwargs.get('provisioning_state', None) + 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.routing_configuration = kwargs.get('routing_configuration', None) self.name = kwargs.get('name', None) @@ -5883,7 +7067,7 @@ class ExpressRouteConnectionList(Model): :param value: The list of ExpressRoute connections. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection] """ _attribute_map = { @@ -5923,12 +7107,12 @@ class ExpressRouteCrossConnection(Resource): :type bandwidth_in_mbps: int :param express_route_circuit: The ExpressRouteCircuit. :type express_route_circuit: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitReference + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ServiceProviderProvisioningState :param service_provider_notes: Additional read only notes set by the connectivity provider. :type service_provider_notes: str @@ -5936,10 +7120,10 @@ class ExpressRouteCrossConnection(Resource): cross connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param peerings: The list of peerings. :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -6000,11 +7184,11 @@ class ExpressRouteCrossConnectionPeering(SubResource): :param peering_type: The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering' :type peering_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringType + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringState :ivar azure_asn: The Azure ASN. :vartype azure_asn: int :param peer_asn: The peer ASN. @@ -6023,19 +7207,19 @@ class ExpressRouteCrossConnectionPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param last_modified_by: Who was the last to modify the peering. - :type last_modified_by: 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.v2019_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.Ipv6ExpressRouteCircuitPeeringConfig :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 @@ -6050,6 +7234,7 @@ class ExpressRouteCrossConnectionPeering(SubResource): 'primary_azure_port': {'readonly': True}, 'secondary_azure_port': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, 'etag': {'readonly': True}, } @@ -6089,7 +7274,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('last_modified_by', None) + self.last_modified_by = None self.ipv6_peering_config = kwargs.get('ipv6_peering_config', None) self.name = kwargs.get('name', None) self.etag = None @@ -6135,7 +7320,7 @@ class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(Model): :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionRoutesTableSummary] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -6175,19 +7360,19 @@ class ExpressRouteGateway(Resource): :type tags: dict[str, str] :param auto_scale_configuration: Configuration for auto scaling. :type auto_scale_configuration: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. :vartype express_route_connections: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection] - :param provisioning_state: The provisioning state of the express route + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection] + :ivar provisioning_state: The provisioning state of the express route gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param virtual_hub: Required. The Virtual Hub where the ExpressRoute gateway is or will be deployed. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.VirtualHubId + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.VirtualHubId :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -6197,6 +7382,7 @@ class ExpressRouteGateway(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'express_route_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'virtual_hub': {'required': True}, 'etag': {'readonly': True}, } @@ -6218,7 +7404,7 @@ def __init__(self, **kwargs): super(ExpressRouteGateway, self).__init__(**kwargs) self.auto_scale_configuration = kwargs.get('auto_scale_configuration', None) self.express_route_connections = None - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.virtual_hub = kwargs.get('virtual_hub', None) self.etag = None @@ -6228,7 +7414,7 @@ class ExpressRouteGatewayList(Model): :param value: List of ExpressRoute gateways. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway] """ _attribute_map = { @@ -6245,7 +7431,7 @@ class ExpressRouteGatewayPropertiesAutoScaleConfiguration(Model): :param bounds: Minimum and maximum number of scale units to deploy. :type bounds: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds """ _attribute_map = { @@ -6300,19 +7486,19 @@ class ExpressRouteLink(SubResource): :ivar connector_type: Physical fiber port type. Possible values include: 'LC', 'SC' :vartype connector_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkConnectorType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ExpressRouteLinkAdminState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param mac_sec_config: MacSec configuration. :type mac_sec_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkMacSecConfig + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecConfig :param name: Name of child port resource that is unique among child port resources of the parent. :type name: str @@ -6373,7 +7559,7 @@ class ExpressRouteLinkMacSecConfig(Model): :param cipher: Mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256' :type cipher: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkMacSecCipher + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecCipher """ _attribute_map = { @@ -6420,7 +7606,7 @@ class ExpressRoutePort(Resource): :param encapsulation: Encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ' :type encapsulation: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsEncapsulation + ~azure.mgmt.network.v2020_05_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 @@ -6428,25 +7614,25 @@ class ExpressRoutePort(Resource): :vartype allocation_date: str :param links: ExpressRouteLink Sub-Resources. The set of physical links of the ExpressRoutePort resource. - :type links: list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteLink] + :type links: list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteLink] :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. :vartype circuits: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :param resource_guid: The resource GUID property of the express route port + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the express route port resource. - :type resource_guid: str + :vartype resource_guid: 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.v2019_07_01.models.ManagedServiceIdentity + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity """ _validation = { @@ -6458,6 +7644,7 @@ class ExpressRoutePort(Resource): 'allocation_date': {'readonly': True}, 'circuits': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'etag': {'readonly': True}, } @@ -6494,7 +7681,7 @@ def __init__(self, **kwargs): self.links = kwargs.get('links', None) self.circuits = None self.provisioning_state = None - self.resource_guid = kwargs.get('resource_guid', None) + self.resource_guid = None self.etag = None self.identity = kwargs.get('identity', None) @@ -6524,12 +7711,12 @@ class ExpressRoutePortsLocation(Resource): :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. :type available_bandwidths: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsLocationBandwidths] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { @@ -6610,17 +7797,18 @@ class ExpressRouteServiceProvider(Resource): :type peering_locations: list[str] :param bandwidths_offered: A list of bandwidths offered. :type bandwidths_offered: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteServiceProviderBandwidthsOffered] - :param provisioning_state: The provisioning state of the express route + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteServiceProviderBandwidthsOffered] + :ivar provisioning_state: The provisioning state of the express route service provider resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -6638,7 +7826,7 @@ 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None class ExpressRouteServiceProviderBandwidthsOffered(Model): @@ -6677,37 +7865,54 @@ class FirewallPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :ivar rule_groups: List of references to FirewallPolicyRuleGroups. - :vartype rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param provisioning_state: The provisioning state of the firewall policy + :ivar rule_collection_groups: List of references to + FirewallPolicyRuleCollectionGroups. + :vartype rule_collection_groups: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param base_policy: The parent firewall policy from which rules are inherited. - :type base_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type base_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated with. :vartype firewalls: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar child_policies: List of references to Child Firewall Policies. :vartype child_policies: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallThreatIntelMode + :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. + :type threat_intel_whitelist: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyThreatIntelWhitelist + :param intrusion_system_mode: The operation mode for Intrusion system. + Possible values include: 'Enabled', 'Disabled' + :type intrusion_system_mode: str or + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyIntrusionSystemMode + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyTransportSecurity + :param dns_settings: DNS Proxy Settings definition. + :type dns_settings: ~azure.mgmt.network.v2020_05_01.models.DnsSettings :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.v2020_05_01.models.ManagedServiceIdentity """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'rule_groups': {'readonly': True}, + 'rule_collection_groups': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'firewalls': {'readonly': True}, 'child_policies': {'readonly': True}, 'etag': {'readonly': True}, @@ -6719,110 +7924,141 @@ class FirewallPolicy(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, - 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[SubResource]'}, + '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'}, + 'intrusion_system_mode': {'key': 'properties.intrusionSystemMode', 'type': 'str'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, } def __init__(self, **kwargs): super(FirewallPolicy, self).__init__(**kwargs) - self.rule_groups = None - self.provisioning_state = kwargs.get('provisioning_state', 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.intrusion_system_mode = kwargs.get('intrusion_system_mode', None) + self.transport_security = kwargs.get('transport_security', None) + self.dns_settings = kwargs.get('dns_settings', None) self.etag = None + self.identity = kwargs.get('identity', None) -class FirewallPolicyRule(Model): - """Properties of the rule. +class FirewallPolicyCertificateAuthority(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': 'properties.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(Model): + """Properties of the rule collection. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: FirewallPolicyNatRule, FirewallPolicyFilterRule + sub-classes are: FirewallPolicyNatRuleCollection, + FirewallPolicyFilterRuleCollection All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, } _subtype_map = { - 'rule_type': {'FirewallPolicyNatRule': 'FirewallPolicyNatRule', 'FirewallPolicyFilterRule': 'FirewallPolicyFilterRule'} + 'rule_collection_type': {'FirewallPolicyNatRuleCollection': 'FirewallPolicyNatRuleCollection', 'FirewallPolicyFilterRuleCollection': 'FirewallPolicyFilterRuleCollection'} } def __init__(self, **kwargs): - super(FirewallPolicyRule, self).__init__(**kwargs) + super(FirewallPolicyRuleCollection, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.priority = kwargs.get('priority', None) - self.rule_type = None + self.rule_collection_type = None -class FirewallPolicyFilterRule(FirewallPolicyRule): - """Firewall Policy Filter Rule. +class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy Filter Rule Collection. All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str - :param action: The action type of a Filter rule. + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str + :param action: The action type of a Filter rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyFilterRuleAction - :param rule_conditions: Collection of rule conditions used by a rule. - :type rule_conditions: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleCondition] + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyFilterRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRule] """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleAction'}, - 'rule_conditions': {'key': 'ruleConditions', 'type': '[FirewallPolicyRuleCondition]'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, } def __init__(self, **kwargs): - super(FirewallPolicyFilterRule, self).__init__(**kwargs) + super(FirewallPolicyFilterRuleCollection, self).__init__(**kwargs) self.action = kwargs.get('action', None) - self.rule_conditions = kwargs.get('rule_conditions', None) - self.rule_type = 'FirewallPolicyFilterRule' + self.rules = kwargs.get('rules', None) + self.rule_collection_type = 'FirewallPolicyFilterRuleCollection' -class FirewallPolicyFilterRuleAction(Model): - """Properties of the FirewallPolicyFilterRuleAction. +class FirewallPolicyFilterRuleCollectionAction(Model): + """Properties of the FirewallPolicyFilterRuleCollectionAction. - :param type: The type of action. Possible values include: 'Allow', 'Deny', - 'Alert ' + :param type: The type of action. Possible values include: 'Allow', 'Deny' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyFilterRuleActionType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyFilterRuleCollectionActionType """ _attribute_map = { @@ -6830,63 +8066,55 @@ class FirewallPolicyFilterRuleAction(Model): } def __init__(self, **kwargs): - super(FirewallPolicyFilterRuleAction, self).__init__(**kwargs) + super(FirewallPolicyFilterRuleCollectionAction, self).__init__(**kwargs) self.type = kwargs.get('type', None) -class FirewallPolicyNatRule(FirewallPolicyRule): - """Firewall Policy NAT Rule. +class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy NAT Rule Collection. All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str - :param action: The action type of a Nat rule. + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str + :param action: The action type of a Nat rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyNatRuleAction - :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 rule_condition: The match conditions for incoming traffic. - :type rule_condition: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleCondition + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyNatRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRule] """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleAction'}, - 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, - 'translated_port': {'key': 'translatedPort', 'type': 'str'}, - 'rule_condition': {'key': 'ruleCondition', 'type': 'FirewallPolicyRuleCondition'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, } def __init__(self, **kwargs): - super(FirewallPolicyNatRule, self).__init__(**kwargs) + super(FirewallPolicyNatRuleCollection, self).__init__(**kwargs) self.action = kwargs.get('action', None) - self.translated_address = kwargs.get('translated_address', None) - self.translated_port = kwargs.get('translated_port', None) - self.rule_condition = kwargs.get('rule_condition', None) - self.rule_type = 'FirewallPolicyNatRule' + self.rules = kwargs.get('rules', None) + self.rule_collection_type = 'FirewallPolicyNatRuleCollection' -class FirewallPolicyNatRuleAction(Model): - """Properties of the FirewallPolicyNatRuleAction. +class FirewallPolicyNatRuleCollectionAction(Model): + """Properties of the FirewallPolicyNatRuleCollectionAction. - :param type: The type of action. Possible values include: 'DNAT', 'SNAT' + :param type: The type of action. Possible values include: 'DNAT' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyNatRuleActionType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyNatRuleCollectionActionType """ _attribute_map = { @@ -6894,17 +8122,17 @@ class FirewallPolicyNatRuleAction(Model): } def __init__(self, **kwargs): - super(FirewallPolicyNatRuleAction, self).__init__(**kwargs) + super(FirewallPolicyNatRuleCollectionAction, self).__init__(**kwargs) self.type = kwargs.get('type', None) -class FirewallPolicyRuleConditionApplicationProtocol(Model): +class FirewallPolicyRuleApplicationProtocol(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.v2019_07_01.models.FirewallPolicyRuleConditionApplicationProtocolType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleApplicationProtocolType :param port: Port number for the protocol, cannot be greater than 64000. :type port: int """ @@ -6919,29 +8147,30 @@ class FirewallPolicyRuleConditionApplicationProtocol(Model): } def __init__(self, **kwargs): - super(FirewallPolicyRuleConditionApplicationProtocol, self).__init__(**kwargs) + super(FirewallPolicyRuleApplicationProtocol, self).__init__(**kwargs) self.protocol_type = kwargs.get('protocol_type', None) self.port = kwargs.get('port', None) -class FirewallPolicyRuleGroup(SubResource): - """Rule Group resource. +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 priority: Priority of the Firewall Policy Rule Group resource. + :param priority: Priority of the Firewall Policy Rule Collection Group + resource. :type priority: int - :param rules: Group of Firewall Policy rules. - :type rules: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRule] - :param provisioning_state: The provisioning state of the firewall policy - rule group resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :param rule_collections: Group of Firewall Policy rule collections. + :type rule_collections: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState :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 @@ -6954,28 +8183,188 @@ class FirewallPolicyRuleGroup(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'priority': {'key': 'properties.priority', 'type': 'int'}, - 'rules': {'key': 'properties.rules', 'type': '[FirewallPolicyRule]'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'priority': {'key': 'properties.priority', 'type': 'int'}, + 'rule_collections': {'key': 'properties.ruleCollections', 'type': '[FirewallPolicyRuleCollection]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(FirewallPolicyRuleCollectionGroup, self).__init__(**kwargs) + self.priority = kwargs.get('priority', None) + self.rule_collections = kwargs.get('rule_collections', None) + self.provisioning_state = None + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + + +class FirewallPolicyThreatIntelWhitelist(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(Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyCertificateAuthority + :param excluded_domains: List of domains which are excluded from TLS + termination. + :type excluded_domains: list[str] + :param trusted_root_certificates: Certificates which are to be trusted by + the firewall. + :type trusted_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyTrustedRootCertificate] + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + 'excluded_domains': {'key': 'excludedDomains', 'type': '[str]'}, + 'trusted_root_certificates': {'key': 'trustedRootCertificates', 'type': '[FirewallPolicyTrustedRootCertificate]'}, + } + + def __init__(self, **kwargs): + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = kwargs.get('certificate_authority', None) + self.excluded_domains = kwargs.get('excluded_domains', None) + self.trusted_root_certificates = kwargs.get('trusted_root_certificates', None) + + +class FirewallPolicyTrustedRootCertificate(Model): + """Trusted Root certificates of a firewall policy. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) + the public certificate data stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the trusted root certificate that is unique within a + firewall policy. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(FirewallPolicyTrustedRootCertificate, self).__init__(**kwargs) + self.key_vault_secret_id = kwargs.get('key_vault_secret_id', None) + self.name = kwargs.get('name', None) + + +class FlowLog(Resource): + """A flow log 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 + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param target_resource_id: Required. 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: Required. 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.v2020_05_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: + ~azure.mgmt.network.v2020_05_01.models.FlowLogFormatParameters + :param flow_analytics_configuration: Parameters that define the + configuration of traffic analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'target_resource_id': {'required': True}, + 'target_resource_guid': {'readonly': True}, + 'storage_id': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'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': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', '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'}, + 'etag': {'key': 'etag', 'type': 'str'}, } def __init__(self, **kwargs): - super(FirewallPolicyRuleGroup, self).__init__(**kwargs) - self.priority = kwargs.get('priority', None) - self.rules = kwargs.get('rules', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.name = kwargs.get('name', None) + super(FlowLog, self).__init__(**kwargs) + 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 self.etag = None - self.type = None class FlowLogFormatParameters(Model): @@ -6983,7 +8372,7 @@ class FlowLogFormatParameters(Model): :param type: The file type of flow log. Possible values include: 'JSON' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FlowLogFormatType + ~azure.mgmt.network.v2020_05_01.models.FlowLogFormatType :param version: The version (revision) of the flow log. Default value: 0 . :type version: int """ @@ -7016,14 +8405,14 @@ class FlowLogInformation(Model): :param retention_policy: Parameters that define the retention policy for flow log. :type retention_policy: - ~azure.mgmt.network.v2019_07_01.models.RetentionPolicyParameters + ~azure.mgmt.network.v2020_05_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. :type format: - ~azure.mgmt.network.v2019_07_01.models.FlowLogFormatParameters + ~azure.mgmt.network.v2020_05_01.models.FlowLogFormatParameters :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2019_07_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_05_01.models.TrafficAnalyticsProperties """ _validation = { @@ -7086,49 +8475,49 @@ class FrontendIPConfiguration(SubResource): :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. :vartype inbound_nat_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet - :param public_ip_address: The reference of the Public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPVersion + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the Public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress - :param public_ip_prefix: The reference of the Public IP Prefix resource. - :type public_ip_prefix: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the frontend IP + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress + :param public_ip_prefix: The reference to the Public IP Prefix resource. + :type public_ip_prefix: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str :param zones: A list of availability zones denoting the IP allocated for @@ -7141,6 +8530,8 @@ class FrontendIPConfiguration(SubResource): 'inbound_nat_pools': {'readonly': True}, 'outbound_rules': {'readonly': True}, 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7175,9 +8566,9 @@ def __init__(self, **kwargs): 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.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None self.zones = kwargs.get('zones', None) @@ -7239,7 +8630,7 @@ class GatewayRouteListResult(Model): """List of virtual network gateway routes. :param value: List of gateway routes. - :type value: list[~azure.mgmt.network.v2019_07_01.models.GatewayRoute] + :type value: list[~azure.mgmt.network.v2020_05_01.models.GatewayRoute] """ _attribute_map = { @@ -7279,13 +8670,72 @@ def __init__(self, **kwargs): self.output_blob_sas_url = kwargs.get('output_blob_sas_url', None) +class HopLink(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 round_trip_time_min: Minimum roundtrip time in milliseconds. + :vartype round_trip_time_min: int + :ivar round_trip_time_avg: Average roundtrip time in milliseconds. + :vartype round_trip_time_avg: int + :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. + :vartype round_trip_time_max: int + :ivar issues: List of issues. + :vartype issues: + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityIssue] + :ivar context: Provides additional context on the issue. + :vartype context: list[dict[str, str]] + :ivar resource_id: Resource ID. + :vartype resource_id: str + """ + + _validation = { + 'next_hop_id': {'readonly': True}, + 'link_type': {'readonly': True}, + 'round_trip_time_min': {'readonly': True}, + 'round_trip_time_avg': {'readonly': True}, + 'round_trip_time_max': {'readonly': True}, + 'issues': {'readonly': True}, + 'context': {'readonly': True}, + 'resource_id': {'readonly': True}, + } + + _attribute_map = { + 'next_hop_id': {'key': 'nextHopId', 'type': 'str'}, + 'link_type': {'key': 'linkType', 'type': 'str'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'int'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'int'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'int'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + 'context': {'key': 'context', 'type': '[{str}]'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(HopLink, self).__init__(**kwargs) + self.next_hop_id = None + self.link_type = None + self.round_trip_time_min = None + self.round_trip_time_avg = None + self.round_trip_time_max = None + self.issues = None + self.context = None + self.resource_id = None + + class HTTPConfiguration(Model): """HTTP configuration of the connectivity check. :param method: HTTP method. Possible values include: 'Get' - :type method: str or ~azure.mgmt.network.v2019_07_01.models.HTTPMethod + :type method: str or ~azure.mgmt.network.v2020_05_01.models.HTTPMethod :param headers: List of HTTP headers. - :type headers: list[~azure.mgmt.network.v2019_07_01.models.HTTPHeader] + :type headers: list[~azure.mgmt.network.v2020_05_01.models.HTTPHeader] :param valid_status_codes: Valid status codes. :type valid_status_codes: list[int] """ @@ -7304,7 +8754,7 @@ def __init__(self, **kwargs): class HTTPHeader(Model): - """Describes the HTTP header. + """The HTTP header. :param name: The name in HTTP header. :type name: str @@ -7326,24 +8776,219 @@ def __init__(self, **kwargs): class HubIPAddresses(Model): """IP addresses associated with azure firewall. - :param public_ip_addresses: List of Public IP addresses associated with - azure firewall. - :type public_ip_addresses: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallPublicIPAddress] + :param public_ips: Public IP addresses associated with azure firewall. + :type public_ips: + ~azure.mgmt.network.v2020_05_01.models.HubPublicIPAddresses :param private_ip_address: Private IP Address associated with azure firewall. :type private_ip_address: str """ _attribute_map = { - 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[AzureFirewallPublicIPAddress]'}, + 'public_ips': {'key': 'publicIPs', 'type': 'HubPublicIPAddresses'}, 'private_ip_address': {'key': 'privateIPAddress', 'type': 'str'}, } def __init__(self, **kwargs): super(HubIPAddresses, self).__init__(**kwargs) - self.public_ip_addresses = kwargs.get('public_ip_addresses', None) + self.public_ips = kwargs.get('public_ips', 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 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.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(HubIpConfiguration, self).__init__(**kwargs) 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 + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + + +class HubPublicIPAddresses(Model): + """Public IP addresses associated with azure firewall. + + :param addresses: The number of Public IP addresses associated with azure + firewall. + :type addresses: + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallPublicIPAddress] + :param count: Private IP Address 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(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.get('name', None) + 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_hop = kwargs.get('next_hop', None) + + +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 routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2020_05_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[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar propagating_connections: List of all connections that advertise to + this route table. + :vartype propagating_connections: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'associated_connections': {'readonly': True}, + 'propagating_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, + 'labels': {'key': 'properties.labels', 'type': '[str]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[SubResource]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(HubRouteTable, self).__init__(**kwargs) + self.routes = kwargs.get('routes', None) + self.labels = kwargs.get('labels', None) + self.associated_connections = None + self.propagating_connections = None + self.provisioning_state = None + self.name = kwargs.get('name', None) + self.etag = None + self.type = None class HubVirtualNetworkConnection(SubResource): @@ -7356,20 +9001,24 @@ class HubVirtualNetworkConnection(SubResource): :type id: str :param remote_virtual_network: Reference to the remote virtual network. :type remote_virtual_network: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param allow_hub_to_remote_vnet_transit: VirtualHub to RemoteVnet transit - to enabled or not. + ~azure.mgmt.network.v2020_05_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: Allow RemoteVnet to use - Virtual Hub's gateways. + :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 provisioning_state: The provisioning state of the hub virtual + :param routing_configuration: The Routing Configuration indicating the + associated and propagated route tables on this connection. + :type routing_configuration: + ~azure.mgmt.network.v2020_05_01.models.RoutingConfiguration + :ivar provisioning_state: The provisioning state of the hub virtual network connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -7379,6 +9028,7 @@ class HubVirtualNetworkConnection(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -7388,6 +9038,7 @@ class HubVirtualNetworkConnection(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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -7399,7 +9050,8 @@ def __init__(self, **kwargs): 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.provisioning_state = kwargs.get('provisioning_state', None) + self.routing_configuration = kwargs.get('routing_configuration', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None @@ -7416,11 +9068,11 @@ class InboundNatPool(SubResource): :type id: str :param frontend_ip_configuration: A reference to frontend IP addresses. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param protocol: Required. 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.v2019_07_01.models.TransportProtocol + ~azure.mgmt.network.v2020_05_01.models.TransportProtocol :param frontend_port_range_start: Required. 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 @@ -7448,18 +9100,18 @@ class InboundNatPool(SubResource): timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool - :param provisioning_state: The provisioning state of the inbound NAT pool + :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -7469,6 +9121,8 @@ class InboundNatPool(SubResource): 'frontend_port_range_start': {'required': True}, 'frontend_port_range_end': {'required': True}, 'backend_port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7498,9 +9152,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None @@ -7514,16 +9168,16 @@ class InboundNatRule(SubResource): :type id: str :param frontend_ip_configuration: A reference to frontend IP addresses. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TransportProtocol + ~azure.mgmt.network.v2020_05_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. @@ -7545,24 +9199,26 @@ class InboundNatRule(SubResource): timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool - :param provisioning_state: The provisioning state of the inbound NAT rule + :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ _validation = { 'backend_ip_configuration': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7592,9 +9248,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None @@ -7619,9 +9275,94 @@ def __init__(self, **kwargs): self.available_ip_addresses = kwargs.get('available_ip_addresses', 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: Resource tags. + :type tags: dict[str, str] + :ivar subnet: The Subnet that using the prefix of this IpAllocation + resource. + :vartype subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar virtual_network: The VirtualNetwork that using the prefix of this + IpAllocation resource. + :vartype virtual_network: + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param ip_allocation_type: The type for the IpAllocation. Possible values + include: 'Undefined', 'Hypernet' + :type ip_allocation_type: str or + ~azure.mgmt.network.v2020_05_01.models.IpAllocationType + :param prefix: The address prefix for the IpAllocation. + :type prefix: str + :param prefix_length: The address prefix length for the IpAllocation. + Default value: 0 . + :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.v2020_05_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] + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'subnet': {'readonly': True}, + 'virtual_network': {'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}'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'ip_allocation_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}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IpAllocation, self).__init__(**kwargs) + self.subnet = None + self.virtual_network = None + self.ip_allocation_type = kwargs.get('ip_allocation_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) + self.etag = 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 private_ip_address: The private IP address of the IP configuration. @@ -7629,25 +9370,30 @@ class IPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet - :param public_ip_address: The reference of the public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress - :param provisioning_state: The provisioning state of the IP configuration + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, @@ -7665,9 +9411,49 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None + + +class IPConfigurationBgpPeeringAddress(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): @@ -7678,27 +9464,28 @@ class IPConfigurationProfile(SubResource): :param id: Resource ID. :type id: str - :param subnet: The reference of the subnet resource to create a container + :param subnet: The reference to the subnet resource to create a container network interface ip configuration. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -7716,7 +9503,67 @@ def __init__(self, **kwargs): self.provisioning_state = None self.name = kwargs.get('name', None) self.type = None - self.etag = kwargs.get('etag', None) + self.etag = 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: Resource tags. + :type tags: dict[str, 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.v2020_05_01.models.ProvisioningState + :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups + resource. + :type ip_addresses: list[str] + :ivar firewalls: List of references to Azure resources that this IpGroups + is associated with. + :vartype firewalls: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'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}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(IpGroup, self).__init__(**kwargs) + self.provisioning_state = None + self.ip_addresses = kwargs.get('ip_addresses', None) + self.firewalls = None + self.etag = None class IpsecPolicy(Model): @@ -7736,30 +9583,30 @@ class IpsecPolicy(Model): phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256' :type ipsec_encryption: str or - ~azure.mgmt.network.v2019_07_01.models.IpsecEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_05_01.models.PfsGroup """ _validation = { @@ -7817,6 +9664,36 @@ def __init__(self, **kwargs): self.tag = kwargs.get('tag', None) +class Ipv6CircuitConnectionConfig(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.v2020_05_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(Model): """Contains IPv6 peering config. @@ -7826,13 +9703,13 @@ class Ipv6ExpressRouteCircuitPeeringConfig(Model): :type secondary_peer_address_prefix: str :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringConfig - :param route_filter: The reference of the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringConfig + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2020_05_01.models.SubResource :param state: The state of peering. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringState """ _attribute_map = { @@ -7869,21 +9746,21 @@ class LoadBalancer(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The load balancer SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.LoadBalancerSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.LoadBalancerSku :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.LoadBalancingRule] + list[~azure.mgmt.network.v2020_05_01.models.LoadBalancingRule] :param probes: Collection of probe objects used in the load balancer. - :type probes: list[~azure.mgmt.network.v2019_07_01.models.Probe] + :type probes: list[~azure.mgmt.network.v2020_05_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 @@ -7891,7 +9768,7 @@ class LoadBalancer(Resource): 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.v2019_07_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_05_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 @@ -7901,26 +9778,29 @@ class LoadBalancer(Resource): 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.v2019_07_01.models.InboundNatPool] + list[~azure.mgmt.network.v2020_05_01.models.InboundNatPool] :param outbound_rules: The outbound rules. :type outbound_rules: - list[~azure.mgmt.network.v2019_07_01.models.OutboundRule] - :param resource_guid: The resource GUID property of the load balancer + list[~azure.mgmt.network.v2020_05_01.models.OutboundRule] + :ivar resource_guid: The resource GUID property of the load balancer resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the load balancer + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -7952,9 +9832,40 @@ def __init__(self, **kwargs): 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 = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + self.resource_guid = None + self.provisioning_state = None + self.etag = None + + +class LoadBalancerBackendAddress(Model): + """Load balancer backend addresses. + + :param virtual_network: Reference to an existing virtual network. + :type virtual_network: + ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork + :param ip_address: IP Address belonging to the referenced virtual network. + :type ip_address: str + :param network_interface_ip_configuration: Reference to IP address defined + in network interfaces. + :type network_interface_ip_configuration: + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration + :param name: Name of the backend address. + :type name: str + """ + + _attribute_map = { + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'VirtualNetwork'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(LoadBalancerBackendAddress, self).__init__(**kwargs) + self.virtual_network = kwargs.get('virtual_network', None) + self.ip_address = kwargs.get('ip_address', None) + self.network_interface_ip_configuration = kwargs.get('network_interface_ip_configuration', None) + self.name = kwargs.get('name', None) class LoadBalancerSku(Model): @@ -7963,7 +9874,7 @@ class LoadBalancerSku(Model): :param name: Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerSkuName + ~azure.mgmt.network.v2020_05_01.models.LoadBalancerSkuName """ _attribute_map = { @@ -7987,22 +9898,22 @@ class LoadBalancingRule(SubResource): :type id: str :param frontend_ip_configuration: A reference to frontend IP addresses. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param probe: The reference of the load balancer probe used by the load + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param probe: The reference to the load balancer probe used by the load balancing rule. - :type probe: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_05_01.models.SubResource :param protocol: Required. 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.v2019_07_01.models.TransportProtocol + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.LoadDistribution + ~azure.mgmt.network.v2020_05_01.models.LoadDistribution :param frontend_port: Required. 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". @@ -8029,18 +9940,18 @@ class LoadBalancingRule(SubResource): pool to use the publicIP address specified in the frontend of the load balancing rule. :type disable_outbound_snat: bool - :param provisioning_state: The provisioning state of the load balancing + :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -8048,6 +9959,8 @@ class LoadBalancingRule(SubResource): _validation = { 'protocol': {'required': True}, 'frontend_port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -8083,9 +9996,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None @@ -8107,28 +10020,32 @@ class LocalNetworkGateway(Resource): :type tags: dict[str, str] :param local_network_address_space: Local network site address space. :type local_network_address_space: - ~azure.mgmt.network.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.BgpSettings - :param resource_guid: The resource GUID property of the local network + :type bgp_settings: ~azure.mgmt.network.v2020_05_01.models.BgpSettings + :ivar resource_guid: The resource GUID property of the local network gateway resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8139,6 +10056,7 @@ class LocalNetworkGateway(Resource): 'tags': {'key': 'tags', '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'}, @@ -8149,10 +10067,11 @@ def __init__(self, **kwargs): super(LocalNetworkGateway, self).__init__(**kwargs) 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 = kwargs.get('resource_guid', None) + self.resource_guid = None self.provisioning_state = None - self.etag = kwargs.get('etag', None) + self.etag = None class LogSpecification(Model): @@ -8179,6 +10098,125 @@ def __init__(self, **kwargs): self.blob_duration = kwargs.get('blob_duration', None) +class ManagedRuleGroupOverride(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.v2020_05_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.get('rule_group_name', None) + self.rules = kwargs.get('rules', None) + + +class ManagedRuleOverride(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.v2020_05_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.get('rule_id', None) + self.state = kwargs.get('state', None) + + +class ManagedRulesDefinition(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.v2020_05_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.v2020_05_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.get('managed_rule_sets', None) + + +class ManagedRuleSet(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.v2020_05_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.get('rule_set_type', None) + self.rule_set_version = kwargs.get('rule_set_version', None) + self.rule_group_overrides = kwargs.get('rule_group_overrides', None) + + class ManagedServiceIdentity(Model): """Identity for the resource. @@ -8197,13 +10235,13 @@ class ManagedServiceIdentity(Model): remove any identities from the virtual machine. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.ResourceIdentityType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] """ _validation = { @@ -8261,19 +10299,20 @@ class MatchCondition(Model): :param match_variables: Required. List of match variables. :type match_variables: - list[~azure.mgmt.network.v2019_07_01.models.MatchVariable] - :param operator: Required. Describes operator to be matched. Possible - values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', - 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex' + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.WebApplicationFirewallOperator - :param negation_conditon: Describes if this is negate condition or not. + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.WebApplicationFirewallTransform] + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallTransform] """ _validation = { @@ -8329,8 +10368,8 @@ class MatchVariable(Model): 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies' :type variable_name: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallMatchVariable - :param selector: Describes field of the matchVariable collection. + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMatchVariable + :param selector: The selector of match variable. :type selector: str """ @@ -8364,7 +10403,7 @@ class MetricSpecification(Model): :type aggregation_type: str :param availabilities: List of availability. :type availabilities: - list[~azure.mgmt.network.v2019_07_01.models.Availability] + list[~azure.mgmt.network.v2020_05_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. @@ -8372,7 +10411,7 @@ class MetricSpecification(Model): :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.v2019_07_01.models.Dimension] + :type dimensions: list[~azure.mgmt.network.v2020_05_01.models.Dimension] :param is_internal: Whether the metric is internal. :type is_internal: bool :param source_mdm_account: The source MDM account. @@ -8436,40 +10475,43 @@ class NatGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The nat gateway SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.NatGatewaySku + :type sku: ~azure.mgmt.network.v2020_05_01.models.NatGatewaySku :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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar subnets: An array of references to the subnets using this nat gateway resource. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param resource_guid: The resource GUID property of the NAT gateway + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the NAT gateway resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the NAT gateway + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param zones: A list of availability zones denoting the zone in which Nat Gateway should be deployed. :type zones: list[str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8496,10 +10538,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.resource_guid = None + self.provisioning_state = None self.zones = kwargs.get('zones', None) - self.etag = kwargs.get('etag', None) + self.etag = None class NatGatewaySku(Model): @@ -8507,16 +10549,74 @@ class NatGatewaySku(Model): :param name: Name of Nat Gateway SKU. Possible values include: 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.NatGatewaySkuName + ~azure.mgmt.network.v2020_05_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. Constant filled by server. + :type rule_type: str + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2020_05_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] """ + _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]'}, } def __init__(self, **kwargs): - super(NatGatewaySku, self).__init__(**kwargs) - self.name = kwargs.get('name', None) + super(NatRule, self).__init__(**kwargs) + 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.rule_type = 'NatRule' class NetworkConfigurationDiagnosticParameters(Model): @@ -8531,11 +10631,11 @@ class NetworkConfigurationDiagnosticParameters(Model): :param verbosity_level: Verbosity level. Possible values include: 'Normal', 'Minimum', 'Full' :type verbosity_level: str or - ~azure.mgmt.network.v2019_07_01.models.VerbosityLevel + ~azure.mgmt.network.v2020_05_01.models.VerbosityLevel :param profiles: Required. List of network configuration diagnostic profiles. :type profiles: - list[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticProfile] + list[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticProfile] """ _validation = { @@ -8563,7 +10663,7 @@ class NetworkConfigurationDiagnosticProfile(Model): :param direction: Required. The direction of the traffic. Possible values include: 'Inbound', 'Outbound' - :type direction: str or ~azure.mgmt.network.v2019_07_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_05_01.models.Direction :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. :type protocol: str @@ -8574,8 +10674,7 @@ class NetworkConfigurationDiagnosticProfile(Model): '*', IP Address/CIDR, Service Tag. :type destination: str :param destination_port: Required. Traffic destination port. Accepted - values are '*', port (for example, 3389) and port range (for example, - 80-100). + values are '*' and a single port in the range (0 - 65535). :type destination_port: str """ @@ -8612,7 +10711,7 @@ class NetworkConfigurationDiagnosticResponse(Model): :ivar results: List of network configuration diagnostic results. :vartype results: - list[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticResult] + list[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticResult] """ _validation = { @@ -8634,10 +10733,10 @@ class NetworkConfigurationDiagnosticResult(Model): :param profile: Network configuration diagnostic profile. :type profile: - ~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticProfile + ~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticProfile :param network_security_group_result: Network security group result. :type network_security_group_result: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroupResult + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroupResult """ _attribute_map = { @@ -8667,14 +10766,15 @@ class NetworkIntentPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8688,7 +10788,7 @@ class NetworkIntentPolicy(Resource): def __init__(self, **kwargs): super(NetworkIntentPolicy, self).__init__(**kwargs) - self.etag = kwargs.get('etag', None) + self.etag = None class NetworkIntentPolicyConfiguration(Model): @@ -8700,7 +10800,7 @@ class NetworkIntentPolicyConfiguration(Model): :type network_intent_policy_name: str :param source_network_intent_policy: Source network intent policy. :type source_network_intent_policy: - ~azure.mgmt.network.v2019_07_01.models.NetworkIntentPolicy + ~azure.mgmt.network.v2020_05_01.models.NetworkIntentPolicy """ _attribute_map = { @@ -8730,33 +10830,33 @@ class NetworkInterface(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :ivar virtual_machine: The reference of a virtual machine. + :ivar virtual_machine: The reference to a virtual machine. :vartype virtual_machine: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param network_security_group: The reference of the NetworkSecurityGroup + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param network_security_group: The reference to the NetworkSecurityGroup resource. :type network_security_group: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateEndpoint + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint :param ip_configurations: A list of IPConfigurations of the network interface. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] - :param tap_configurations: A list of TapConfigurations of the network + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] + :ivar tap_configurations: A list of TapConfigurations of the network interface. - :type tap_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration] + :vartype tap_configurations: + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. :type dns_settings: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceDnsSettings - :param mac_address: The MAC address of the network interface. - :type mac_address: str - :param primary: Whether this is a primary network interface on a virtual + ~azure.mgmt.network.v2020_05_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. - :type primary: bool + :vartype primary: bool :param enable_accelerated_networking: If the network interface is accelerated networking enabled. :type enable_accelerated_networking: bool @@ -8766,17 +10866,17 @@ class NetworkInterface(Resource): :ivar hosted_workloads: A list of references to linked BareMetal resources. :vartype hosted_workloads: list[str] - :param resource_guid: The resource GUID property of the network interface + :ivar resource_guid: The resource GUID property of the network interface resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the network interface + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -8784,7 +10884,13 @@ class NetworkInterface(Resource): 'type': {'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}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8815,16 +10921,16 @@ def __init__(self, **kwargs): 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 = kwargs.get('tap_configurations', None) + self.tap_configurations = None self.dns_settings = kwargs.get('dns_settings', None) - self.mac_address = kwargs.get('mac_address', None) - self.primary = kwargs.get('primary', 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.resource_guid = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + self.resource_guid = None + self.provisioning_state = None + self.etag = None class NetworkInterfaceAssociation(Model): @@ -8837,7 +10943,7 @@ class NetworkInterfaceAssociation(Model): :vartype id: str :param security_rules: Collection of custom security rules. :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] """ _validation = { @@ -8858,29 +10964,38 @@ def __init__(self, **kwargs): class NetworkInterfaceDnsSettings(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] - :param applied_dns_servers: If the VM that uses this NIC is part of an + :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. - :type applied_dns_servers: list[str] + :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 - :param internal_fqdn: Fully qualified DNS name supporting internal + :ivar internal_fqdn: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. - :type internal_fqdn: str - :param internal_domain_name_suffix: Even if internalDnsNameLabel is not + :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. - :type internal_domain_name_suffix: str + :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]'}, @@ -8892,10 +11007,10 @@ class NetworkInterfaceDnsSettings(Model): def __init__(self, **kwargs): super(NetworkInterfaceDnsSettings, self).__init__(**kwargs) self.dns_servers = kwargs.get('dns_servers', None) - self.applied_dns_servers = kwargs.get('applied_dns_servers', None) + self.applied_dns_servers = None self.internal_dns_name_label = kwargs.get('internal_dns_name_label', None) - self.internal_fqdn = kwargs.get('internal_fqdn', None) - self.internal_domain_name_suffix = kwargs.get('internal_domain_name_suffix', None) + self.internal_fqdn = None + self.internal_domain_name_suffix = None class NetworkInterfaceIPConfiguration(SubResource): @@ -8908,60 +11023,62 @@ class NetworkInterfaceIPConfiguration(SubResource): :type id: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] - :param application_gateway_backend_address_pools: The reference of + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap] + :param application_gateway_backend_address_pools: The reference to ApplicationGatewayBackendAddressPool resource. :type application_gateway_backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] - :param load_balancer_backend_address_pools: The reference of + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool] + :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool resource. :type load_balancer_backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :param subnet: Subnet bound to the IP configuration. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PublicIPAddress + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationSecurityGroup] - :param provisioning_state: The provisioning state of the network interface + list[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup] + :ivar provisioning_state: The provisioning state of the network interface IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar private_link_connection_properties: PrivateLinkConnection properties for the network interface. :vartype private_link_connection_properties: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'private_link_connection_properties': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8996,10 +11113,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.private_link_connection_properties = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(Model): @@ -9044,27 +11161,28 @@ class NetworkInterfaceTapConfiguration(SubResource): :param id: Resource ID. :type id: str - :param virtual_network_tap: The reference of the Virtual Network Tap + :param virtual_network_tap: The reference to the Virtual Network Tap resource. :type virtual_network_tap: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Sub Resource type. :vartype type: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -9082,7 +11200,7 @@ def __init__(self, **kwargs): self.virtual_network_tap = kwargs.get('virtual_network_tap', None) self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None @@ -9102,14 +11220,14 @@ class NetworkProfile(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param container_network_interfaces: List of child container network + :ivar container_network_interfaces: List of child container network interfaces. - :type container_network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterface] + :vartype container_network_interfaces: + list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterface] :param container_network_interface_configurations: List of chid container network interface configurations. :type container_network_interface_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceConfiguration] :ivar resource_guid: The resource GUID property of the network profile resource. :vartype resource_guid: str @@ -9117,17 +11235,19 @@ class NetworkProfile(Resource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'container_network_interfaces': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -9145,27 +11265,27 @@ class NetworkProfile(Resource): def __init__(self, **kwargs): super(NetworkProfile, self).__init__(**kwargs) - self.container_network_interfaces = kwargs.get('container_network_interfaces', 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 - self.etag = kwargs.get('etag', None) + self.etag = None -class NetworkRuleCondition(FirewallPolicyRuleCondition): - """Rule condition of type network. +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 condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str - :param ip_protocols: Array of FirewallPolicyRuleConditionNetworkProtocols. + :param rule_type: Required. Constant filled by server. + :type rule_type: str + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleConditionNetworkProtocol] + ~azure.mgmt.network.v2020_05_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 @@ -9173,33 +11293,300 @@ class NetworkRuleCondition(FirewallPolicyRuleCondition): :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_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', '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.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) + self.rule_type = 'NetworkRule' + + +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: Resource tags. + :type tags: dict[str, str] + :param security_rules: A collection of security rules of the network + security group. + :type security_rules: + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] + :ivar default_security_rules: The default security rules of network + security group. + :vartype default_security_rules: + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] + :ivar network_interfaces: A collection of references to network + interfaces. + :vartype network_interfaces: + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] + :ivar subnets: A collection of references to subnets. + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] + :ivar flow_logs: A collection of references to flow log resources. + :vartype flow_logs: list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'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}, + '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}'}, + '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'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(NetworkSecurityGroup, self).__init__(**kwargs) + 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 + self.etag = None + + +class NetworkSecurityGroupResult(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.v2020_05_01.models.SecurityRuleAccess + :ivar evaluated_network_security_groups: List of results network security + groups diagnostic. + :vartype evaluated_network_security_groups: + list[~azure.mgmt.network.v2020_05_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(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: Resource tags. + :type tags: dict[str, 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.v2020_05_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.v2020_05_01.models.VirtualApplianceNicProperties] + :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. + :vartype virtual_appliance_sites: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :param identity: The service principal that has read access to cloud-init + and config blob. + :type identity: + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity + :param sku: Network Virtual Appliance SKU. + :type sku: + ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSkuProperties + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'virtual_appliance_asn': {'maximum': 4294967295, 'minimum': 0}, + 'virtual_appliance_nics': {'readonly': True}, + 'virtual_appliance_sites': {'readonly': True}, + 'provisioning_state': {'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}'}, + '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]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'sku': {'key': 'sku', 'type': 'VirtualApplianceSkuProperties'}, + 'etag': {'key': 'etag', 'type': 'str'}, } def __init__(self, **kwargs): - super(NetworkRuleCondition, self).__init__(**kwargs) - 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.rule_condition_type = 'NetworkRuleCondition' + super(NetworkVirtualAppliance, self).__init__(**kwargs) + 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.provisioning_state = None + self.identity = kwargs.get('identity', None) + self.sku = kwargs.get('sku', None) + self.etag = None -class NetworkSecurityGroup(Resource): - """NetworkSecurityGroup resource. +class NetworkVirtualApplianceSku(Resource): + """Available NetworkVirtualApplianceSkus. + + Definition of the NetworkVirtualApplianceSkus resource. Variables are only populated by the server, and will be ignored when sending a request. @@ -9214,38 +11601,24 @@ class NetworkSecurityGroup(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param security_rules: A collection of security rules of the network - security group. - :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] - :param default_security_rules: The default security rules of network - security group. - :type default_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] - :ivar network_interfaces: A collection of references to network - interfaces. - :vartype network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] - :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] - :param resource_guid: The resource GUID property of the network security - group resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the network security - group resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :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.v2020_05_01.models.NetworkVirtualApplianceSkuInstances] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'network_interfaces': {'readonly': True}, - 'subnets': {'readonly': True}, + 'vendor': {'readonly': True}, + 'available_versions': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -9254,95 +11627,48 @@ class NetworkSecurityGroup(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', '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]'}, - 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'vendor': {'key': 'properties.vendor', 'type': 'str'}, + 'available_versions': {'key': 'properties.availableVersions', 'type': '[str]'}, + 'available_scale_units': {'key': 'properties.availableScaleUnits', 'type': '[NetworkVirtualApplianceSkuInstances]'}, 'etag': {'key': 'etag', 'type': 'str'}, } def __init__(self, **kwargs): - super(NetworkSecurityGroup, self).__init__(**kwargs) - self.security_rules = kwargs.get('security_rules', None) - self.default_security_rules = kwargs.get('default_security_rules', None) - self.network_interfaces = None - self.subnets = None - self.resource_guid = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + super(NetworkVirtualApplianceSku, self).__init__(**kwargs) + self.vendor = None + self.available_versions = None + self.available_scale_units = kwargs.get('available_scale_units', None) + self.etag = None -class NetworkSecurityGroupResult(Model): - """Network configuration diagnostic result corresponded provided traffic - query. +class NetworkVirtualApplianceSkuInstances(Model): + """Network Virtual Appliance Sku Instances. + + List of available Sku and instances. 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.v2019_07_01.models.SecurityRuleAccess - :ivar evaluated_network_security_groups: List of results network security - groups diagnostic. - :vartype evaluated_network_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.EvaluatedNetworkSecurityGroup] + :ivar scale_unit: Scale Unit. + :vartype scale_unit: str + :ivar instance_count: Instance Count. + :vartype instance_count: int """ _validation = { - 'evaluated_network_security_groups': {'readonly': True}, + 'scale_unit': {'readonly': True}, + 'instance_count': {'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(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'}, + 'scale_unit': {'key': 'scaleUnit', 'type': 'str'}, + 'instance_count': {'key': 'instanceCount', 'type': 'int'}, } 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) + super(NetworkVirtualApplianceSkuInstances, self).__init__(**kwargs) + self.scale_unit = None + self.instance_count = None class NetworkWatcher(Resource): @@ -9361,19 +11687,21 @@ class NetworkWatcher(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param provisioning_state: The provisioning state of the network watcher + :vartype etag: str + :ivar provisioning_state: The provisioning state of the network watcher resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -9388,8 +11716,8 @@ class NetworkWatcher(Resource): def __init__(self, **kwargs): super(NetworkWatcher, self).__init__(**kwargs) - self.etag = kwargs.get('etag', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.etag = None + self.provisioning_state = None class NextHopParameters(Model): @@ -9438,7 +11766,7 @@ class NextHopResult(Model): 'VirtualAppliance', 'VirtualNetworkGateway', 'VnetLocal', 'HyperNetGateway', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.NextHopType + ~azure.mgmt.network.v2020_05_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 @@ -9461,18 +11789,35 @@ def __init__(self, **kwargs): self.route_table_id = kwargs.get('route_table_id', None) +class Office365PolicyProperties(Model): + """Network Virtual Appliance Sku Properties. + + :param break_out_categories: Office 365 breakout categories. + :type break_out_categories: + ~azure.mgmt.network.v2020_05_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(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.v2019_07_01.models.OperationDisplay + :type display: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.OperationPropertiesFormatServiceSpecification + ~azure.mgmt.network.v2020_05_01.models.OperationPropertiesFormatServiceSpecification """ _attribute_map = { @@ -9523,10 +11868,10 @@ class OperationPropertiesFormatServiceSpecification(Model): :param metric_specifications: Operation service specification. :type metric_specifications: - list[~azure.mgmt.network.v2019_07_01.models.MetricSpecification] + list[~azure.mgmt.network.v2020_05_01.models.MetricSpecification] :param log_specifications: Operation log specification. :type log_specifications: - list[~azure.mgmt.network.v2019_07_01.models.LogSpecification] + list[~azure.mgmt.network.v2020_05_01.models.LogSpecification] """ _attribute_map = { @@ -9556,20 +11901,20 @@ class OutboundRule(SubResource): :param frontend_ip_configurations: Required. The Frontend IP addresses of the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param backend_address_pool: Required. 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.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the outbound rule + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param protocol: Required. The protocol for the outbound rule in load balancer. Possible values include: 'Tcp', 'Udp', 'All' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerOutboundRuleProtocol + ~azure.mgmt.network.v2020_05_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. @@ -9580,9 +11925,9 @@ class OutboundRule(SubResource): outbound rules used by the load balancer. This name can be used to access the resource. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -9590,7 +11935,9 @@ class OutboundRule(SubResource): _validation = { 'frontend_ip_configurations': {'required': True}, 'backend_address_pool': {'required': True}, + 'provisioning_state': {'readonly': True}, 'protocol': {'required': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -9613,256 +11960,77 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', 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) self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - self.type = 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: Resource tags. - :type tags: dict[str, str] - :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the P2S VPN gateway - resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', - 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. - :type vpn_gateway_scale_unit: int - :param p2_svpn_server_configuration: The P2SVpnServerConfiguration to - which the p2sVpnGateway is attached to. - :type p2_svpn_server_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param vpn_client_address_pool: The reference of the address space - resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: - ~azure.mgmt.network.v2019_07_01.models.AddressSpace - :param custom_routes: The reference of the address space resource which - represents the custom routes specified by the customer for P2SVpnGateway - and P2S VpnClient. - :type custom_routes: ~azure.mgmt.network.v2019_07_01.models.AddressSpace - :ivar vpn_client_connection_health: All P2S VPN clients' connection health - status. - :vartype vpn_client_connection_health: - ~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealth - :ivar etag: A unique read-only string that changes whenever the resource - is updated. - :vartype etag: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'vpn_client_connection_health': {'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}'}, - 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, - 'p2_svpn_server_configuration': {'key': 'properties.p2SVpnServerConfiguration', 'type': 'SubResource'}, - 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, - 'custom_routes': {'key': 'properties.customRoutes', 'type': 'AddressSpace'}, - 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(P2SVpnGateway, self).__init__(**kwargs) - self.virtual_hub = kwargs.get('virtual_hub', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None) - self.p2_svpn_server_configuration = kwargs.get('p2_svpn_server_configuration', None) - self.vpn_client_address_pool = kwargs.get('vpn_client_address_pool', None) - self.custom_routes = kwargs.get('custom_routes', None) - self.vpn_client_connection_health = None self.etag = None - - -class P2SVpnProfileParameters(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.v2019_07_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 P2SVpnServerConfigRadiusClientRootCertificate(SubResource): - """Radius client root certificate of P2SVpnServerConfiguration. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: Resource ID. - :type id: str - :param thumbprint: The Radius client root certificate thumbprint. - :type thumbprint: str - :ivar provisioning_state: The provisioning state of the radius client root - certificate resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: str - """ - - _validation = { - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, **kwargs): - super(P2SVpnServerConfigRadiusClientRootCertificate, self).__init__(**kwargs) - self.thumbprint = kwargs.get('thumbprint', None) - self.provisioning_state = None - self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) - - -class P2SVpnServerConfigRadiusServerRootCertificate(SubResource): - """Radius Server root certificate of P2SVpnServerConfiguration. - - 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 public_cert_data: Required. The certificate public data. - :type public_cert_data: str - :ivar provisioning_state: The provisioning state of the radius server root - certificate resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: str + self.type = None + + +class OwaspCrsExclusionEntry(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.v2020_05_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.v2020_05_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 = { - 'public_cert_data': {'required': True}, - 'provisioning_state': {'readonly': True}, + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, } def __init__(self, **kwargs): - super(P2SVpnServerConfigRadiusServerRootCertificate, self).__init__(**kwargs) - self.public_cert_data = kwargs.get('public_cert_data', None) - self.provisioning_state = None - self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + super(OwaspCrsExclusionEntry, self).__init__(**kwargs) + self.match_variable = kwargs.get('match_variable', None) + self.selector_match_operator = kwargs.get('selector_match_operator', None) + self.selector = kwargs.get('selector', None) -class P2SVpnServerConfiguration(SubResource): - """P2SVpnServerConfiguration Resource. +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 p2_svpn_server_configuration_properties_name: The name of the - P2SVpnServerConfiguration that is unique within a VirtualWan in a resource - group. This name can be used to access the resource along with Paren - VirtualWan resource name. - :type p2_svpn_server_configuration_properties_name: str - :param vpn_protocols: VPN protocols for the P2SVpnServerConfiguration. - :type vpn_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.VpnGatewayTunnelingProtocol] - :param p2_svpn_server_config_vpn_client_root_certificates: VPN client root - certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_vpn_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigVpnClientRootCertificate] - :param p2_svpn_server_config_vpn_client_revoked_certificates: VPN client - revoked certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigVpnClientRevokedCertificate] - :param p2_svpn_server_config_radius_server_root_certificates: Radius - Server root certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_radius_server_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigRadiusServerRootCertificate] - :param p2_svpn_server_config_radius_client_root_certificates: Radius - client root certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_radius_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigRadiusClientRootCertificate] - :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for - P2SVpnServerConfiguration. - :type vpn_client_ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] - :param radius_server_address: The radius server address property of the - P2SVpnServerConfiguration resource for point to site client connection. - :type radius_server_address: str - :param radius_server_secret: The radius secret property of the - P2SVpnServerConfiguration resource for point to site client connection. - :type radius_server_secret: str - :ivar provisioning_state: The provisioning state of the P2S VPN server - configuration resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' + :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.v2020_05_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.v2020_05_01.models.RoutingConfiguration + :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.v2019_07_01.models.ProvisioningState - :ivar p2_svpn_gateways: List of references to P2SVpnGateways. - :vartype p2_svpn_gateways: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param p2_svpn_server_configuration_properties_etag: A unique read-only - string that changes whenever the resource is updated. - :type p2_svpn_server_configuration_properties_etag: str + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -9873,133 +12041,179 @@ class P2SVpnServerConfiguration(SubResource): _validation = { 'provisioning_state': {'readonly': True}, - 'p2_svpn_gateways': {'readonly': True}, 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'p2_svpn_server_configuration_properties_name': {'key': 'properties.name', 'type': 'str'}, - 'vpn_protocols': {'key': 'properties.vpnProtocols', 'type': '[str]'}, - 'p2_svpn_server_config_vpn_client_root_certificates': {'key': 'properties.p2SVpnServerConfigVpnClientRootCertificates', 'type': '[P2SVpnServerConfigVpnClientRootCertificate]'}, - 'p2_svpn_server_config_vpn_client_revoked_certificates': {'key': 'properties.p2SVpnServerConfigVpnClientRevokedCertificates', 'type': '[P2SVpnServerConfigVpnClientRevokedCertificate]'}, - 'p2_svpn_server_config_radius_server_root_certificates': {'key': 'properties.p2SVpnServerConfigRadiusServerRootCertificates', 'type': '[P2SVpnServerConfigRadiusServerRootCertificate]'}, - 'p2_svpn_server_config_radius_client_root_certificates': {'key': 'properties.p2SVpnServerConfigRadiusClientRootCertificates', 'type': '[P2SVpnServerConfigRadiusClientRootCertificate]'}, - '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'}, + 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'p2_svpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[SubResource]'}, - 'p2_svpn_server_configuration_properties_etag': {'key': 'properties.etag', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } def __init__(self, **kwargs): - super(P2SVpnServerConfiguration, self).__init__(**kwargs) - self.p2_svpn_server_configuration_properties_name = kwargs.get('p2_svpn_server_configuration_properties_name', None) - self.vpn_protocols = kwargs.get('vpn_protocols', None) - self.p2_svpn_server_config_vpn_client_root_certificates = kwargs.get('p2_svpn_server_config_vpn_client_root_certificates', None) - self.p2_svpn_server_config_vpn_client_revoked_certificates = kwargs.get('p2_svpn_server_config_vpn_client_revoked_certificates', None) - self.p2_svpn_server_config_radius_server_root_certificates = kwargs.get('p2_svpn_server_config_radius_server_root_certificates', None) - self.p2_svpn_server_config_radius_client_root_certificates = kwargs.get('p2_svpn_server_config_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) + super(P2SConnectionConfiguration, self).__init__(**kwargs) + self.vpn_client_address_pool = kwargs.get('vpn_client_address_pool', None) + self.routing_configuration = kwargs.get('routing_configuration', None) self.provisioning_state = None - self.p2_svpn_gateways = None - self.p2_svpn_server_configuration_properties_etag = kwargs.get('p2_svpn_server_configuration_properties_etag', None) self.name = kwargs.get('name', None) self.etag = None -class P2SVpnServerConfigVpnClientRevokedCertificate(SubResource): - """VPN client revoked certificate of P2SVpnServerConfiguration. +class P2SVpnConnectionHealth(Model): + """P2S Vpn connection detailed health written to sas url. - Variables are only populated by the server, and will be ignored when - sending a request. + :param sas_url: Returned sas url of the blob to which the p2s vpn + connection detailed health will be written. + :type sas_url: str + """ - :param id: Resource ID. - :type id: 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.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: 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(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 """ - _validation = { - 'provisioning_state': {'readonly': True}, + _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(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 = { - 'id': {'key': 'id', 'type': 'str'}, - 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, + 'vpn_connection_ids': {'key': 'vpnConnectionIds', 'type': '[str]'}, } def __init__(self, **kwargs): - super(P2SVpnServerConfigVpnClientRevokedCertificate, self).__init__(**kwargs) - self.thumbprint = kwargs.get('thumbprint', None) - self.provisioning_state = None - self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + super(P2SVpnConnectionRequest, self).__init__(**kwargs) + self.vpn_connection_ids = kwargs.get('vpn_connection_ids', None) -class P2SVpnServerConfigVpnClientRootCertificate(SubResource): - """VPN client root certificate of P2SVpnServerConfiguration. +class P2SVpnGateway(Resource): + """P2SVpnGateway 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 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' + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param p2_sconnection_configurations: List of all p2s connection + configurations of the gateway. + :type p2_sconnection_configurations: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.SubResource + :ivar vpn_client_connection_health: All P2S VPN clients' connection health + status. + :vartype vpn_client_connection_health: + ~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealth + :param custom_dns_servers: List of all customer specified DNS servers IP + addresses. + :type custom_dns_servers: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { - 'public_cert_data': {'required': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'vpn_client_connection_health': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'p2_sconnection_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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } def __init__(self, **kwargs): - super(P2SVpnServerConfigVpnClientRootCertificate, self).__init__(**kwargs) - self.public_cert_data = kwargs.get('public_cert_data', None) + super(P2SVpnGateway, self).__init__(**kwargs) + self.virtual_hub = kwargs.get('virtual_hub', None) + self.p2_sconnection_configurations = kwargs.get('p2_sconnection_configurations', None) self.provisioning_state = None - self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', 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.etag = None + + +class P2SVpnProfileParameters(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.v2020_05_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(Model): @@ -10019,13 +12233,13 @@ class PacketCapture(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] """ _validation = { @@ -10058,7 +12272,7 @@ class PacketCaptureFilter(Model): :param protocol: Protocol to be filtered on. Possible values include: 'TCP', 'UDP', 'Any'. Default value: "Any" . - :type protocol: str or ~azure.mgmt.network.v2019_07_01.models.PcProtocol + :type protocol: str or ~azure.mgmt.network.v2020_05_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 @@ -10117,13 +12331,13 @@ class PacketCaptureParameters(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] """ _validation = { @@ -10163,13 +12377,13 @@ class PacketCaptureQueryStatusResult(Model): Possible values include: 'NotStarted', 'Running', 'Stopped', 'Error', 'Unknown' :type packet_capture_status: str or - ~azure.mgmt.network.v2019_07_01.models.PcStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PcError] + ~azure.mgmt.network.v2020_05_01.models.PcError] """ _attribute_map = { @@ -10203,10 +12417,9 @@ class PacketCaptureResult(Model): :vartype name: str :ivar id: ID of the packet capture operation. :vartype id: str - :param etag: A unique read-only string that changes whenever the resource - is updated. Default value: "A unique read-only string that changes - whenever the resource is updated." . - :type etag: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str :param target: Required. The ID of the targeted resource, only VM is currently supported. :type target: str @@ -10219,25 +12432,27 @@ class PacketCaptureResult(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] - :param provisioning_state: The provisioning state of the packet capture + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, + 'etag': {'readonly': True}, 'target': {'required': True}, 'storage_location': {'required': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -10257,18 +12472,18 @@ def __init__(self, **kwargs): super(PacketCaptureResult, self).__init__(**kwargs) self.name = None self.id = None - self.etag = kwargs.get('etag', "A unique read-only string that changes whenever the resource is updated.") + 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None class PacketCaptureStorageLocation(Model): - """Describes the storage location for a packet capture session. + """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. @@ -10307,20 +12522,20 @@ class PatchRouteFilter(SubResource): :type id: str :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] - :param peerings: A collection of references to express route circuit + :type rules: list[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. - :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] - :param ipv6_peerings: A collection of references to express route circuit + :vartype peerings: + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :type ipv6_peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10334,6 +12549,8 @@ class PatchRouteFilter(SubResource): """ _validation = { + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'name': {'readonly': True}, 'etag': {'readonly': True}, @@ -10355,8 +12572,8 @@ class PatchRouteFilter(SubResource): def __init__(self, **kwargs): super(PatchRouteFilter, self).__init__(**kwargs) self.rules = kwargs.get('rules', None) - self.peerings = kwargs.get('peerings', None) - self.ipv6_peerings = kwargs.get('ipv6_peerings', None) + self.peerings = None + self.ipv6_peerings = None self.provisioning_state = None self.name = None self.etag = None @@ -10376,7 +12593,7 @@ class PatchRouteFilterRule(SubResource): :type id: str :param access: Required. The access type of the rule. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_01.models.Access :ivar route_filter_rule_type: Required. The rule type of the rule. Default value: "Community" . :vartype route_filter_rule_type: str @@ -10387,7 +12604,7 @@ class PatchRouteFilterRule(SubResource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10438,18 +12655,18 @@ class PeerExpressRouteCircuitConnection(SubResource): :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit. :type express_route_circuit_peering: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :param circuit_connection_status: Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected' :type circuit_connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.CircuitConnectionStatus :param connection_name: The name of the express route circuit connection resource. :type connection_name: str @@ -10460,7 +12677,7 @@ class PeerExpressRouteCircuitConnection(SubResource): circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10508,25 +12725,43 @@ def __init__(self, **kwargs): class PolicySettings(Model): """Defines contents of a web application firewall global configuration. - :param enabled_state: Describes if the policy is in enabled state or - disabled state. Possible values include: 'Disabled', 'Enabled' - :type enabled_state: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallEnabledState - :param mode: Describes if it is in detection mode or prevention mode at - policy level. Possible values include: 'Prevention', 'Detection' + :param state: The state of the policy. Possible values include: + 'Disabled', 'Enabled' + :type state: str or + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallEnabledState + :param mode: The mode of the policy. Possible values include: + 'Prevention', 'Detection' :type mode: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallMode + ~azure.mgmt.network.v2020_05_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': {'maximum': 128, 'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + _attribute_map = { - 'enabled_state': {'key': 'enabledState', 'type': 'str'}, + '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.enabled_state = kwargs.get('enabled_state', None) + 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(Model): @@ -10538,7 +12773,7 @@ class PrepareNetworkPoliciesRequest(Model): :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. :type network_intent_policy_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkIntentPolicyConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkIntentPolicyConfiguration] """ _attribute_map = { @@ -10552,6 +12787,86 @@ def __init__(self, **kwargs): self.network_intent_policy_configurations = kwargs.get('network_intent_policy_configurations', None) +class PrivateDnsZoneConfig(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.v2020_05_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.v2020_05_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.v2020_05_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 PrivateEndpoint(Resource): """Private endpoint resource. @@ -10570,34 +12885,39 @@ class PrivateEndpoint(Resource): :type tags: dict[str, str] :param subnet: The ID of the subnet from which the private IP will be allocated. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterface] - :param provisioning_state: The provisioning state of the private endpoint + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnection] - :param etag: A unique read-only string that changes whenever the resource + list[~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnection] + :param custom_dns_configs: An array of custom dns configurations. + :type custom_dns_configs: + list[~azure.mgmt.network.v2020_05_01.models.CustomDnsConfigPropertiesFormat] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -10611,6 +12931,7 @@ class PrivateEndpoint(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -10618,10 +12939,11 @@ def __init__(self, **kwargs): super(PrivateEndpoint, self).__init__(**kwargs) self.subnet = kwargs.get('subnet', None) self.network_interfaces = None - self.provisioning_state = kwargs.get('provisioning_state', 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.etag = kwargs.get('etag', None) + self.custom_dns_configs = kwargs.get('custom_dns_configs', None) + self.etag = None class PrivateEndpointConnection(SubResource): @@ -10632,18 +12954,20 @@ class PrivateEndpointConnection(SubResource): :param id: Resource ID. :type id: str - :param private_endpoint: The resource of private end point. - :type private_endpoint: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnectionState - :param provisioning_state: The provisioning state of the private endpoint + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: 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 @@ -10655,6 +12979,9 @@ class PrivateEndpointConnection(SubResource): """ _validation = { + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } @@ -10664,6 +12991,7 @@ class PrivateEndpointConnection(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -10671,9 +12999,10 @@ class PrivateEndpointConnection(SubResource): def __init__(self, **kwargs): super(PrivateEndpointConnection, self).__init__(**kwargs) - self.private_endpoint = kwargs.get('private_endpoint', None) + self.private_endpoint = None self.private_link_service_connection_state = kwargs.get('private_link_service_connection_state', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None + self.link_identifier = None self.name = kwargs.get('name', None) self.type = None self.etag = None @@ -10698,44 +13027,50 @@ class PrivateLinkService(Resource): :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.v2019_07_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration] :param ip_configurations: An array of private link service IP configurations. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.PrivateLinkServiceIpConfiguration] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterface] - :param provisioning_state: The provisioning state of the private link + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param private_endpoint_connections: An array of list about connections to + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar private_endpoint_connections: An array of list about connections to the private endpoint. - :type private_endpoint_connections: - list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection] + :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.v2019_07_01.models.PrivateLinkServicePropertiesVisibility + ~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.v2019_07_01.models.PrivateLinkServicePropertiesAutoApproval + ~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. :vartype alias: str - :param etag: A unique read-only string that changes whenever the resource + :param enable_proxy_protocol: Whether the private link service is enabled + for proxy protocol or not. + :type enable_proxy_protocol: bool + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, 'alias': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -10753,6 +13088,7 @@ class PrivateLinkService(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -10761,13 +13097,14 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) - self.private_endpoint_connections = kwargs.get('private_endpoint_connections', 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.etag = kwargs.get('etag', None) + self.enable_proxy_protocol = kwargs.get('enable_proxy_protocol', None) + self.etag = None class PrivateLinkServiceConnection(SubResource): @@ -10778,11 +13115,11 @@ class PrivateLinkServiceConnection(SubResource): :param id: Resource ID. :type id: str - :param provisioning_state: The provisioning state of the private link + :ivar provisioning_state: The provisioning state of the private link service connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -10794,7 +13131,7 @@ class PrivateLinkServiceConnection(SubResource): :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.v2019_07_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnectionState :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 @@ -10806,6 +13143,7 @@ class PrivateLinkServiceConnection(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } @@ -10824,7 +13162,7 @@ class PrivateLinkServiceConnection(SubResource): def __init__(self, **kwargs): super(PrivateLinkServiceConnection, self).__init__(**kwargs) - self.provisioning_state = kwargs.get('provisioning_state', 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) @@ -10843,22 +13181,22 @@ class PrivateLinkServiceConnectionState(Model): :type status: str :param description: The reason for approval/rejection of the connection. :type description: str - :param action_required: A message indicating if changes on the service + :param actions_required: A message indicating if changes on the service provider require any updates on the consumer. - :type action_required: str + :type actions_required: str """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'action_required': {'key': 'actionRequired', '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.action_required = kwargs.get('action_required', None) + self.actions_required = kwargs.get('actions_required', None) class PrivateLinkServiceIpConfiguration(SubResource): @@ -10874,20 +13212,20 @@ class PrivateLinkServiceIpConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet :param primary: Whether the ip configuration is primary or not. :type primary: bool - :param provisioning_state: The provisioning state of the private link + :ivar provisioning_state: The provisioning state of the private link service IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :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 @@ -10898,6 +13236,7 @@ class PrivateLinkServiceIpConfiguration(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -10921,7 +13260,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.private_ip_address_version = kwargs.get('private_ip_address_version', None) self.name = kwargs.get('name', None) self.etag = None @@ -11002,14 +13341,14 @@ class Probe(SubResource): :type id: str :ivar load_balancing_rules: The load balancer rules that use this probe. :vartype load_balancing_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param protocol: Required. 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.v2019_07_01.models.ProbeProtocol + ~azure.mgmt.network.v2020_05_01.models.ProbeProtocol :param port: Required. The port for communicating the probe. Possible values range from 1 to 65535, inclusive. :type port: int @@ -11028,17 +13367,17 @@ class Probe(SubResource): 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 - :param provisioning_state: The provisioning state of the probe resource. + :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -11047,6 +13386,8 @@ class Probe(SubResource): 'load_balancing_rules': {'readonly': True}, 'protocol': {'required': True}, 'port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -11072,18 +13413,38 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None self.type = None +class PropagatedRouteTable(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.v2020_05_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(Model): """Configuration of the protocol. :param http_configuration: HTTP configuration of the connectivity check. :type http_configuration: - ~azure.mgmt.network.v2019_07_01.models.HTTPConfiguration + ~azure.mgmt.network.v2020_05_01.models.HTTPConfiguration """ _attribute_map = { @@ -11101,7 +13462,7 @@ class ProtocolCustomSettingsFormat(Model): :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.v2019_07_01.models.DdosCustomPolicyProtocol + ~azure.mgmt.network.v2020_05_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. @@ -11114,7 +13475,7 @@ class ProtocolCustomSettingsFormat(Model): sensitivity w.r.t. normal traffic. Possible values include: 'Relaxed', 'Low', 'Default', 'High' :type trigger_sensitivity_override: str or - ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicyTriggerSensitivityOverride + ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicyTriggerSensitivityOverride """ _attribute_map = { @@ -11149,47 +13510,47 @@ class PublicIPAddress(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The public IP address SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressSku :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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :ivar ip_configuration: The IP configuration associated with the public IP address. :vartype ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.IPConfiguration + ~azure.mgmt.network.v2020_05_01.models.IPConfiguration :param dns_settings: The FQDN of the DNS record associated with the public IP address. :type dns_settings: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressDnsSettings + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressDnsSettings :param ddos_settings: The DDoS protection custom policy associated with the public IP address. - :type ddos_settings: ~azure.mgmt.network.v2019_07_01.models.DdosSettings + :type ddos_settings: ~azure.mgmt.network.v2020_05_01.models.DdosSettings :param ip_tags: The list of tags associated with the public IP address. - :type ip_tags: list[~azure.mgmt.network.v2019_07_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_05_01.models.SubResource :param idle_timeout_in_minutes: The idle timeout of the public IP address. :type idle_timeout_in_minutes: int - :param resource_guid: The resource GUID property of the public IP address + :ivar resource_guid: The resource GUID property of the public IP address resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the public IP address + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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] @@ -11199,6 +13560,9 @@ class PublicIPAddress(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11235,9 +13599,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + self.resource_guid = None + self.provisioning_state = None + self.etag = None self.zones = kwargs.get('zones', None) @@ -11280,7 +13644,7 @@ class PublicIPAddressSku(Model): :param name: Name of a public IP address SKU. Possible values include: 'Basic', 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressSkuName + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressSkuName """ _attribute_map = { @@ -11309,35 +13673,35 @@ class PublicIPPrefix(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The public IP prefix SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixSku :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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :param ip_tags: The list of tags associated with the public IP prefix. - :type ip_tags: list[~azure.mgmt.network.v2019_07_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_05_01.models.IpTag] :param prefix_length: The Length of the Public IP Prefix. :type prefix_length: int - :param ip_prefix: The allocated Prefix. - :type ip_prefix: str - :param public_ip_addresses: The list of all referenced PublicIPAddresses. - :type public_ip_addresses: - list[~azure.mgmt.network.v2019_07_01.models.ReferencedPublicIpAddress] + :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.v2020_05_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.v2019_07_01.models.SubResource - :param resource_guid: The resource GUID property of the public IP prefix + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar resource_guid: The resource GUID property of the public IP prefix resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the public IP prefix + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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] @@ -11346,7 +13710,12 @@ class PublicIPPrefix(Resource): _validation = { 'name': {'readonly': True}, 'type': {'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}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11374,12 +13743,12 @@ def __init__(self, **kwargs): 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 = kwargs.get('ip_prefix', None) - self.public_ip_addresses = kwargs.get('public_ip_addresses', None) + self.ip_prefix = None + self.public_ip_addresses = None self.load_balancer_frontend_ip_configuration = None - self.resource_guid = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + self.resource_guid = None + self.provisioning_state = None + self.etag = None self.zones = kwargs.get('zones', None) @@ -11389,7 +13758,7 @@ class PublicIPPrefixSku(Model): :param name: Name of a public IP prefix SKU. Possible values include: 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixSkuName + ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixSkuName """ _attribute_map = { @@ -11424,6 +13793,82 @@ def __init__(self, **kwargs): self.target_resource_id = kwargs.get('target_resource_id', None) +class RadiusServer(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.get('radius_server_address', None) + self.radius_server_score = kwargs.get('radius_server_score', None) + self.radius_server_secret = kwargs.get('radius_server_secret', None) + + +class RecordSet(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.v2020_05_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(Model): """Reference to a public IP address. @@ -11456,7 +13901,7 @@ class ResourceNavigationLink(SubResource): navigation link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -11501,7 +13946,7 @@ class ResourceNavigationLinksListResult(Model): :param value: The resource navigation links in a subnet. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ResourceNavigationLink] + list[~azure.mgmt.network.v2020_05_01.models.ResourceNavigationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11544,6 +13989,9 @@ def __init__(self, **kwargs): class Route(SubResource): """Route 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. @@ -11554,25 +14002,27 @@ class Route(SubResource): sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.RouteNextHopType + ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the route resource. + :ivar provisioning_state: The provisioning state of the route resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'next_hop_type': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11590,9 +14040,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class RouteFilter(Resource): @@ -11613,20 +14063,20 @@ class RouteFilter(Resource): :type tags: dict[str, str] :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] - :param peerings: A collection of references to express route circuit + :type rules: list[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. - :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] - :param ipv6_peerings: A collection of references to express route circuit + :vartype peerings: + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :type ipv6_peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -11635,6 +14085,8 @@ class RouteFilter(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -11655,8 +14107,8 @@ class RouteFilter(Resource): def __init__(self, **kwargs): super(RouteFilter, self).__init__(**kwargs) self.rules = kwargs.get('rules', None) - self.peerings = kwargs.get('peerings', None) - self.ipv6_peerings = kwargs.get('ipv6_peerings', None) + self.peerings = None + self.ipv6_peerings = None self.provisioning_state = None self.etag = None @@ -11673,7 +14125,7 @@ class RouteFilterRule(SubResource): :type id: str :param access: Required. The access type of the rule. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_01.models.Access :ivar route_filter_rule_type: Required. The rule type of the rule. Default value: "Community" . :vartype route_filter_rule_type: str @@ -11684,7 +14136,7 @@ class RouteFilterRule(SubResource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -11743,26 +14195,28 @@ class RouteTable(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param routes: Collection of routes contained within a route table. - :type routes: list[~azure.mgmt.network.v2019_07_01.models.Route] + :type routes: list[~azure.mgmt.network.v2020_05_01.models.Route] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the route table + :ivar provisioning_state: The provisioning state of the route table resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'subnets': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11783,8 +14237,38 @@ def __init__(self, **kwargs): self.routes = kwargs.get('routes', None) self.subnets = None self.disable_bgp_route_propagation = kwargs.get('disable_bgp_route_propagation', None) - self.provisioning_state = kwargs.get('provisioning_state', None) - self.etag = kwargs.get('etag', None) + self.provisioning_state = None + self.etag = None + + +class RoutingConfiguration(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.v2020_05_01.models.SubResource + :param propagated_route_tables: The list of RouteTables to advertise the + routes to. + :type propagated_route_tables: + ~azure.mgmt.network.v2020_05_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.v2020_05_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(Model): @@ -11795,7 +14279,7 @@ class SecurityGroupNetworkInterface(Model): :param security_rule_associations: All security rules associated with the network interface. :type security_rule_associations: - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAssociations + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleAssociations """ _attribute_map = { @@ -11836,7 +14320,7 @@ class SecurityGroupViewResult(Model): :param network_interfaces: List of network interfaces on the specified VM. :type network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.SecurityGroupNetworkInterface] + list[~azure.mgmt.network.v2020_05_01.models.SecurityGroupNetworkInterface] """ _attribute_map = { @@ -11848,9 +14332,80 @@ def __init__(self, **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: Resource tags. + :type tags: dict[str, 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.v2020_05_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.v2020_05_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.v2020_05_01.models.SecurityPartnerProviderConnectionStatus + :param virtual_hub: The virtualHub to which the Security Partner Provider + belongs. + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'connection_status': {'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}'}, + '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'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(SecurityPartnerProvider, self).__init__(**kwargs) + 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) + self.etag = None + + class SecurityRule(SubResource): """Network security 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 id: Resource ID. @@ -11858,9 +14413,9 @@ class SecurityRule(SubResource): :param description: A description for this rule. Restricted to 140 chars. :type description: str :param protocol: Required. Network protocol this rule applies to. Possible - values include: 'Tcp', 'Udp', 'Icmp', 'Esp', '*' + values include: 'Tcp', 'Udp', 'Icmp', 'Esp', '*', 'Ah' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleProtocol + ~azure.mgmt.network.v2020_05_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 @@ -11878,7 +14433,7 @@ class SecurityRule(SubResource): :param source_application_security_groups: The application security group specified as source. :type source_application_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_05_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 @@ -11890,7 +14445,7 @@ class SecurityRule(SubResource): :param destination_application_security_groups: The application security group specified as destination. :type destination_application_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_05_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. @@ -11898,7 +14453,7 @@ class SecurityRule(SubResource): :param access: Required. The network traffic is allowed or denied. Possible values include: 'Allow', 'Deny' :type access: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_05_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 @@ -11908,24 +14463,26 @@ class SecurityRule(SubResource): specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: 'Inbound', 'Outbound' :type direction: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleDirection - :param provisioning_state: The provisioning state of the security rule + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleDirection + :ivar provisioning_state: The provisioning state of the security rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'protocol': {'required': True}, 'access': {'required': True}, 'direction': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11967,9 +14524,9 @@ def __init__(self, **kwargs): self.access = kwargs.get('access', None) self.priority = kwargs.get('priority', None) self.direction = kwargs.get('direction', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class SecurityRuleAssociations(Model): @@ -11978,17 +14535,17 @@ class SecurityRuleAssociations(Model): :param network_interface_association: Network interface and it's custom security rules. :type network_interface_association: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceAssociation + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceAssociation :param subnet_association: Subnet and it's custom security rules. :type subnet_association: - ~azure.mgmt.network.v2019_07_01.models.SubnetAssociation + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] :param effective_security_rules: Collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityRule] """ _attribute_map = { @@ -12022,7 +14579,7 @@ class ServiceAssociationLink(SubResource): association link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param allow_delete: If true, the resource can be deleted. :type allow_delete: bool :param locations: A list of locations. @@ -12033,13 +14590,14 @@ class ServiceAssociationLink(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str - :param type: Resource type. - :type type: str + :ivar type: Resource type. + :vartype type: str """ _validation = { 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -12063,7 +14621,7 @@ def __init__(self, **kwargs): self.locations = kwargs.get('locations', None) self.name = kwargs.get('name', None) self.etag = None - self.type = kwargs.get('type', None) + self.type = None class ServiceAssociationLinksListResult(Model): @@ -12074,7 +14632,7 @@ class ServiceAssociationLinksListResult(Model): :param value: The service association links in a subnet. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ServiceAssociationLink] + list[~azure.mgmt.network.v2020_05_01.models.ServiceAssociationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -12113,9 +14671,9 @@ class ServiceEndpointPolicy(Resource): :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.v2019_07_01.models.ServiceEndpointPolicyDefinition] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] :ivar resource_guid: The resource GUID property of the service endpoint policy resource. :vartype resource_guid: str @@ -12123,10 +14681,10 @@ class ServiceEndpointPolicy(Resource): policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -12135,6 +14693,7 @@ class ServiceEndpointPolicy(Resource): 'subnets': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12156,7 +14715,7 @@ def __init__(self, **kwargs): self.subnets = None self.resource_guid = None self.provisioning_state = None - self.etag = kwargs.get('etag', None) + self.etag = None class ServiceEndpointPolicyDefinition(SubResource): @@ -12177,17 +14736,18 @@ class ServiceEndpointPolicyDefinition(SubResource): policy definition resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12207,23 +14767,30 @@ def __init__(self, **kwargs): self.service_resources = kwargs.get('service_resources', None) self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class ServiceEndpointPropertiesFormat(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] - :param provisioning_state: The provisioning state of the service endpoint + :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ + _validation = { + 'provisioning_state': {'readonly': True}, + } + _attribute_map = { 'service': {'key': 'service', 'type': 'str'}, 'locations': {'key': 'locations', 'type': '[str]'}, @@ -12234,7 +14801,7 @@ def __init__(self, **kwargs): super(ServiceEndpointPropertiesFormat, self).__init__(**kwargs) self.service = kwargs.get('service', None) self.locations = kwargs.get('locations', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None class ServiceTagInformation(Model): @@ -12245,7 +14812,7 @@ class ServiceTagInformation(Model): :ivar properties: Properties of the service tag information. :vartype properties: - ~azure.mgmt.network.v2019_07_01.models.ServiceTagInformationPropertiesFormat + ~azure.mgmt.network.v2020_05_01.models.ServiceTagInformationPropertiesFormat :ivar name: The name of service tag. :vartype name: str :ivar id: The ID of service tag. @@ -12327,7 +14894,7 @@ class ServiceTagsListResult(Model): :vartype cloud: str :ivar values: The list of service tag information resources. :vartype values: - list[~azure.mgmt.network.v2019_07_01.models.ServiceTagInformation] + list[~azure.mgmt.network.v2020_05_01.models.ServiceTagInformation] """ _validation = { @@ -12358,6 +14925,47 @@ def __init__(self, **kwargs): self.values = None +class SessionIds(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 StaticRoute(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. @@ -12370,49 +14978,52 @@ class Subnet(SubResource): :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 of the NetworkSecurityGroup + :param network_security_group: The reference to the NetworkSecurityGroup resource. :type network_security_group: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup - :param route_table: The reference of the RouteTable resource. - :type route_table: ~azure.mgmt.network.v2019_07_01.models.RouteTable + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup + :param route_table: The reference to the RouteTable resource. + :type route_table: ~azure.mgmt.network.v2020_05_01.models.RouteTable :param nat_gateway: Nat gateway associated with this subnet. - :type nat_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type nat_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param service_endpoints: An array of service endpoints. :type service_endpoints: - list[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPropertiesFormat] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPropertiesFormat] :param service_endpoint_policies: An array of service endpoint policies. :type service_endpoint_policies: - list[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy] :ivar private_endpoints: An array of references to private endpoints. :vartype private_endpoints: - list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.IPConfiguration] :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this subnet. :vartype ip_configuration_profiles: - list[~azure.mgmt.network.v2019_07_01.models.IPConfigurationProfile] - :param resource_navigation_links: An array of references to the external + list[~azure.mgmt.network.v2020_05_01.models.IPConfigurationProfile] + :param ip_allocations: Array of IpAllocation which reference this subnet. + :type ip_allocations: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar resource_navigation_links: An array of references to the external resources using subnet. - :type resource_navigation_links: - list[~azure.mgmt.network.v2019_07_01.models.ResourceNavigationLink] - :param service_association_links: An array of references to services + :vartype resource_navigation_links: + list[~azure.mgmt.network.v2020_05_01.models.ResourceNavigationLink] + :ivar service_association_links: An array of references to services injecting into this subnet. - :type service_association_links: - list[~azure.mgmt.network.v2019_07_01.models.ServiceAssociationLink] + :vartype service_association_links: + list[~azure.mgmt.network.v2020_05_01.models.ServiceAssociationLink] :param delegations: An array of references to the delegations on the subnet. - :type delegations: list[~azure.mgmt.network.v2019_07_01.models.Delegation] + :type delegations: list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the subnet resource. + :ivar provisioning_state: The provisioning state of the subnet resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -12422,16 +15033,20 @@ class Subnet(SubResource): :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { '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}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12446,6 +15061,7 @@ class Subnet(SubResource): '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]'}, @@ -12469,15 +15085,16 @@ def __init__(self, **kwargs): self.private_endpoints = None self.ip_configurations = None self.ip_configuration_profiles = None - self.resource_navigation_links = kwargs.get('resource_navigation_links', None) - self.service_association_links = kwargs.get('service_association_links', 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 = kwargs.get('provisioning_state', 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.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class SubnetAssociation(Model): @@ -12490,7 +15107,7 @@ class SubnetAssociation(Model): :vartype id: str :param security_rules: Collection of custom security rules. :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] """ _validation = { @@ -12539,7 +15156,7 @@ class Topology(Model): :vartype last_modified: datetime :param resources: A list of topology resources. :type resources: - list[~azure.mgmt.network.v2019_07_01.models.TopologyResource] + list[~azure.mgmt.network.v2020_05_01.models.TopologyResource] """ _validation = { @@ -12575,7 +15192,7 @@ class TopologyAssociation(Model): :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.v2019_07_01.models.AssociationType + ~azure.mgmt.network.v2020_05_01.models.AssociationType """ _attribute_map = { @@ -12597,12 +15214,12 @@ class TopologyParameters(Model): :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 of the Virtual Network + :param target_virtual_network: The reference to the Virtual Network resource. :type target_virtual_network: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param target_subnet: The reference of the Subnet resource. - :type target_subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param target_subnet: The reference to the Subnet resource. + :type target_subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -12630,7 +15247,7 @@ class TopologyResource(Model): :param associations: Holds the associations the resource has with other resources in the resource group. :type associations: - list[~azure.mgmt.network.v2019_07_01.models.TopologyAssociation] + list[~azure.mgmt.network.v2020_05_01.models.TopologyAssociation] """ _attribute_map = { @@ -12651,9 +15268,7 @@ def __init__(self, **kwargs): class TrafficAnalyticsConfigurationProperties(Model): """Parameters that define the configuration of traffic analytics. - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Flag to enable/disable 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 @@ -12666,10 +15281,6 @@ class TrafficAnalyticsConfigurationProperties(Model): :type traffic_analytics_interval: int """ - _validation = { - 'enabled': {'required': True}, - } - _attribute_map = { 'enabled': {'key': 'enabled', 'type': 'bool'}, 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, @@ -12690,18 +15301,12 @@ def __init__(self, **kwargs): class TrafficAnalyticsProperties(Model): """Parameters that define the configuration of traffic analytics. - All required parameters must be populated in order to send to Azure. - - :param network_watcher_flow_analytics_configuration: Required. 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.v2019_07_01.models.TrafficAnalyticsConfigurationProperties + ~azure.mgmt.network.v2020_05_01.models.TrafficAnalyticsConfigurationProperties """ - _validation = { - 'network_watcher_flow_analytics_configuration': {'required': True}, - } - _attribute_map = { 'network_watcher_flow_analytics_configuration': {'key': 'networkWatcherFlowAnalyticsConfiguration', 'type': 'TrafficAnalyticsConfigurationProperties'}, } @@ -12717,10 +15322,10 @@ class TrafficSelectorPolicy(Model): 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 + spaces in CIDR format. :type local_address_ranges: list[str] :param remote_address_ranges: Required. A collection of remote address - spaces in CIDR format + spaces in CIDR format. :type remote_address_ranges: list[str] """ @@ -12753,7 +15358,7 @@ class TroubleshootingDetails(Model): :type detail: str :param recommended_actions: List of recommended actions. :type recommended_actions: - list[~azure.mgmt.network.v2019_07_01.models.TroubleshootingRecommendedActions] + list[~azure.mgmt.network.v2020_05_01.models.TroubleshootingRecommendedActions] """ _attribute_map = { @@ -12848,7 +15453,7 @@ class TroubleshootingResult(Model): :type code: str :param results: Information from troubleshooting. :type results: - list[~azure.mgmt.network.v2019_07_01.models.TroubleshootingDetails] + list[~azure.mgmt.network.v2020_05_01.models.TroubleshootingDetails] """ _attribute_map = { @@ -12878,7 +15483,7 @@ class TunnelConnectionHealth(Model): Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. :vartype ingress_bytes_transferred: long @@ -12933,7 +15538,7 @@ def __init__(self, **kwargs): class Usage(Model): - """Describes network resource usage. + """The network resource usage. Variables are only populated by the server, and will be ignored when sending a request. @@ -12950,7 +15555,7 @@ class Usage(Model): :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.v2019_07_01.models.UsageName + :type name: ~azure.mgmt.network.v2020_05_01.models.UsageName """ _validation = { @@ -13009,11 +15614,11 @@ class VerificationIPFlowParameters(Model): :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.v2019_07_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_05_01.models.Direction :param protocol: Required. Protocol to be verified on. Possible values include: 'TCP', 'UDP' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.IpFlowProtocol + ~azure.mgmt.network.v2020_05_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. @@ -13072,7 +15677,7 @@ class VerificationIPFlowResult(Model): :param access: Indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_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 @@ -13089,6 +15694,115 @@ def __init__(self, **kwargs): self.rule_name = kwargs.get('rule_name', None) +class VirtualApplianceNicProperties(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 address_prefix: Address Prefix. + :type address_prefix: str + :param o365_policy: Office 365 Policy. + :type o365_policy: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'Office365PolicyProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(VirtualApplianceSite, self).__init__(**kwargs) + self.address_prefix = kwargs.get('address_prefix', None) + self.o365_policy = kwargs.get('o365_policy', None) + self.provisioning_state = None + self.name = kwargs.get('name', None) + self.etag = None + self.type = None + + +class VirtualApplianceSkuProperties(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. @@ -13106,29 +15820,53 @@ class VirtualHub(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. - :type virtual_wan: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_05_01.models.SubResource :param vpn_gateway: The VpnGateway associated with this VirtualHub. - :type vpn_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type vpn_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param p2_svpn_gateway: The P2SVpnGateway associated with this VirtualHub. - :type p2_svpn_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type p2_svpn_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. :type express_route_gateway: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param virtual_network_connections: List of all vnet connections with this - VirtualHub. - :type virtual_network_connections: - list[~azure.mgmt.network.v2019_07_01.models.HubVirtualNetworkConnection] + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param azure_firewall: The azureFirewall associated with this VirtualHub. + :type azure_firewall: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param security_partner_provider: The securityPartnerProvider associated + with this VirtualHub. + :type security_partner_provider: + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualHubRouteTable - :param provisioning_state: The provisioning state of the virtual hub + ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTable + :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param security_provider_name: The Security Provider name. + :type security_provider_name: str + :param virtual_hub_route_table_v2s: List of all virtual hub route table + v2s associated with this VirtualHub. + :type virtual_hub_route_table_v2s: + list[~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2] + :param sku: The sku of this VirtualHub. + :type sku: str + :param routing_state: The routing state. Possible values include: 'None', + 'Provisioned', 'Provisioning', 'Failed' + :type routing_state: str or + ~azure.mgmt.network.v2020_05_01.models.RoutingState + :ivar bgp_connections: List of references to Bgp Connections. + :vartype bgp_connections: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar ip_configurations: List of references to IpConfigurations. + :vartype ip_configurations: + list[~azure.mgmt.network.v2020_05_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] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -13137,6 +15875,10 @@ class VirtualHub(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'bgp_connections': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, 'etag': {'readonly': True}, } @@ -13150,10 +15892,19 @@ class VirtualHub(Resource): 'vpn_gateway': {'key': 'properties.vpnGateway', 'type': 'SubResource'}, 'p2_svpn_gateway': {'key': 'properties.p2SVpnGateway', 'type': 'SubResource'}, 'express_route_gateway': {'key': 'properties.expressRouteGateway', 'type': 'SubResource'}, - 'virtual_network_connections': {'key': 'properties.virtualNetworkConnections', 'type': '[HubVirtualNetworkConnection]'}, + '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_v2s': {'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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -13163,13 +15914,72 @@ def __init__(self, **kwargs): self.vpn_gateway = kwargs.get('vpn_gateway', None) self.p2_svpn_gateway = kwargs.get('p2_svpn_gateway', None) self.express_route_gateway = kwargs.get('express_route_gateway', None) - self.virtual_network_connections = kwargs.get('virtual_network_connections', 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None + self.security_provider_name = kwargs.get('security_provider_name', None) + self.virtual_hub_route_table_v2s = kwargs.get('virtual_hub_route_table_v2s', None) + self.sku = kwargs.get('sku', None) + self.routing_state = kwargs.get('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.etag = None +class VirtualHubEffectiveRoute(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 VirtualHubEffectiveRouteEffectiveRouteList(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.v2020_05_01.models.VirtualHubEffectiveRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubEffectiveRoute]'}, + } + + def __init__(self, **kwargs): + super(VirtualHubEffectiveRouteEffectiveRouteList, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + + class VirtualHubId(Model): """Virtual Hub identifier. @@ -13212,7 +16022,7 @@ class VirtualHubRouteTable(Model): """VirtualHub route table. :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2019_07_01.models.VirtualHubRoute] + :type routes: list[~azure.mgmt.network.v2020_05_01.models.VirtualHubRoute] """ _attribute_map = { @@ -13224,6 +16034,84 @@ def __init__(self, **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 routes: List of all routes. + :type routes: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[VirtualHubRouteV2]'}, + 'attached_connections': {'key': 'properties.attachedConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(VirtualHubRouteTableV2, self).__init__(**kwargs) + self.routes = kwargs.get('routes', None) + self.attached_connections = kwargs.get('attached_connections', None) + self.provisioning_state = None + self.name = kwargs.get('name', None) + self.etag = None + + +class VirtualHubRouteV2(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. @@ -13242,23 +16130,23 @@ class VirtualNetwork(Resource): :type tags: dict[str, 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.v2019_07_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhcpOptions + :type dhcp_options: ~azure.mgmt.network.v2020_05_01.models.DhcpOptions :param subnets: A list of subnets in a Virtual Network. - :type subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :type subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] :param virtual_network_peerings: A list of peerings in a Virtual Network. :type virtual_network_peerings: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering] - :param resource_guid: The resourceGuid property of the Virtual Network + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering] + :ivar resource_guid: The resourceGuid property of the Virtual Network resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the virtual network + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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. Default value: False . @@ -13269,15 +16157,25 @@ class VirtualNetwork(Resource): :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. :type ddos_protection_plan: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.VirtualNetworkBgpCommunities + :param ip_allocations: Array of IpAllocation which reference this VNET. + :type ip_allocations: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13295,6 +16193,8 @@ class VirtualNetwork(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -13304,12 +16204,47 @@ def __init__(self, **kwargs): self.dhcp_options = kwargs.get('dhcp_options', None) self.subnets = kwargs.get('subnets', None) self.virtual_network_peerings = kwargs.get('virtual_network_peerings', None) - self.resource_guid = kwargs.get('resource_guid', None) - self.provisioning_state = kwargs.get('provisioning_state', 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.etag = kwargs.get('etag', None) + self.bgp_communities = kwargs.get('bgp_communities', None) + self.ip_allocations = kwargs.get('ip_allocations', None) + self.etag = None + + +class VirtualNetworkBgpCommunities(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.get('virtual_network_community', None) + self.regional_community = None class VirtualNetworkConnectionGatewayReference(Model): @@ -13353,60 +16288,71 @@ class VirtualNetworkGateway(Resource): :type tags: dict[str, str] :param ip_configurations: IP configurations for virtual network gateway. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayIPConfiguration] :param gateway_type: The type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute' :type gateway_type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnType + :type vpn_type: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnGatewayGeneration + ~azure.mgmt.network.v2020_05_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_active: ActiveActive flag. :type active_active: bool - :param gateway_default_site: The reference of the LocalNetworkGateway + :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.v2019_07_01.models.SubResource - :param sku: The reference of the VirtualNetworkGatewaySku resource which + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewaySku - :param vpn_client_configuration: The reference of the + :type sku: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnClientConfiguration + ~azure.mgmt.network.v2020_05_01.models.VpnClientConfiguration :param bgp_settings: Virtual network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param custom_routes: The reference of the address space resource which + :type bgp_settings: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AddressSpace - :param resource_guid: The resource GUID property of the virtual network + :type custom_routes: ~azure.mgmt.network.v2020_05_01.models.AddressSpace + :ivar resource_guid: The resource GUID property of the virtual network gateway resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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 + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'inbound_dns_forwarding_endpoint': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13420,6 +16366,7 @@ class VirtualNetworkGateway(Resource): '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_active': {'key': 'properties.activeActive', 'type': 'bool'}, 'gateway_default_site': {'key': 'properties.gatewayDefaultSite', 'type': 'SubResource'}, 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, @@ -13428,6 +16375,8 @@ class VirtualNetworkGateway(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -13438,15 +16387,18 @@ def __init__(self, **kwargs): 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_active = kwargs.get('active_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 = kwargs.get('resource_guid', None) + self.resource_guid = None self.provisioning_state = None - self.etag = kwargs.get('etag', None) + self.enable_dns_forwarding = kwargs.get('enable_dns_forwarding', None) + self.inbound_dns_forwarding_endpoint = None + self.etag = None class VirtualNetworkGatewayConnection(Resource): @@ -13472,36 +16424,39 @@ class VirtualNetworkGatewayConnection(Resource): :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway :param connection_type: Required. Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' :type connection_type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_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 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.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2019_07_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_05_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long @@ -13509,34 +16464,37 @@ class VirtualNetworkGatewayConnection(Resource): connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TrafficSelectorPolicy] - :param resource_guid: The resource GUID property of the virtual network + list[~azure.mgmt.network.v2020_05_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13548,7 +16506,9 @@ class VirtualNetworkGatewayConnection(Resource): 'tunnel_connection_status': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13564,6 +16524,7 @@ class VirtualNetworkGatewayConnection(Resource): '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'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, @@ -13571,6 +16532,7 @@ class VirtualNetworkGatewayConnection(Resource): '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]'}, @@ -13589,6 +16551,7 @@ def __init__(self, **kwargs): self.connection_type = kwargs.get('connection_type', None) 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.shared_key = kwargs.get('shared_key', None) self.connection_status = None self.tunnel_connection_status = None @@ -13596,13 +16559,14 @@ def __init__(self, **kwargs): 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 = kwargs.get('resource_guid', None) + self.resource_guid = None self.provisioning_state = None self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VirtualNetworkGatewayConnectionListEntity(Resource): @@ -13628,23 +16592,23 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkConnectionGatewayReference :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkConnectionGatewayReference :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param shared_key: The IPSec shared key. @@ -13653,11 +16617,11 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2019_07_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_05_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long @@ -13665,7 +16629,7 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_05_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_policy_based_traffic_selectors: Enable policy-based traffic @@ -13674,25 +16638,25 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TrafficSelectorPolicy] - :param resource_guid: The resource GUID property of the virtual network + list[~azure.mgmt.network.v2020_05_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13704,7 +16668,9 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): 'tunnel_connection_status': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13755,10 +16721,10 @@ def __init__(self, **kwargs): 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 = kwargs.get('resource_guid', None) + self.resource_guid = None self.provisioning_state = None self.express_route_gateway_bypass = kwargs.get('express_route_gateway_bypass', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VirtualNetworkGatewayIPConfiguration(SubResource): @@ -13772,27 +16738,31 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: The reference of the public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param public_ip_address: The reference to the public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'private_ip_address': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13800,6 +16770,7 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -13810,30 +16781,38 @@ def __init__(self, **kwargs): 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 self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VirtualNetworkGatewaySku(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.v2019_07_01.models.VirtualNetworkGatewaySkuName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewaySkuTier - :param capacity: The capacity. - :type capacity: int + ~azure.mgmt.network.v2020_05_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'}, @@ -13844,12 +16823,15 @@ def __init__(self, **kwargs): super(VirtualNetworkGatewaySku, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.tier = kwargs.get('tier', None) - self.capacity = kwargs.get('capacity', None) + self.capacity = 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 allow_virtual_network_access: Whether the VMs in the local virtual @@ -13869,33 +16851,38 @@ class VirtualNetworkPeering(SubResource): 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 of the remote virtual + :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.v2019_07_01.models.SubResource - :param remote_address_space: The reference of the 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.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param peering_state: The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', 'Disconnected' :type peering_state: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeeringState - :param provisioning_state: The provisioning state of the virtual network + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeeringState + :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, @@ -13919,9 +16906,9 @@ def __init__(self, **kwargs): self.remote_virtual_network = kwargs.get('remote_virtual_network', None) self.remote_address_space = kwargs.get('remote_address_space', None) self.peering_state = kwargs.get('peering_state', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VirtualNetworkTap(Resource): @@ -13943,7 +16930,7 @@ class VirtualNetworkTap(Resource): :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.v2019_07_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] :ivar resource_guid: The resource GUID property of the virtual network tap resource. :vartype resource_guid: str @@ -13951,22 +16938,22 @@ class VirtualNetworkTap(Resource): tap resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.FrontendIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration :param destination_port: The VXLAN destination port that will receive the tapped traffic. :type destination_port: int - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13975,6 +16962,7 @@ class VirtualNetworkTap(Resource): 'network_interface_tap_configurations': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -14000,7 +16988,7 @@ def __init__(self, **kwargs): 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) - self.etag = kwargs.get('etag', None) + self.etag = None class VirtualNetworkUsage(Model): @@ -14017,7 +17005,7 @@ class VirtualNetworkUsage(Model): :vartype limit: float :ivar name: The name containing common and localized value for usage. :vartype name: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkUsageName + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkUsageName :ivar unit: Usage units. Returns 'Count'. :vartype unit: str """ @@ -14093,28 +17081,28 @@ class VirtualRouter(Resource): :type tags: dict[str, str] :param virtual_router_asn: VirtualRouter ASN. :type virtual_router_asn: long - :param virtual_router_ips: VirtualRouter IPs + :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.v2019_07_01.models.SubResource + :type hosted_subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param hosted_gateway: The Gateway on which VirtualRouter is hosted. - :type hosted_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource - :ivar peerings: List of references to VirtualRouterPeerings + :type hosted_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar peerings: List of references to VirtualRouterPeerings. :vartype peerings: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :ivar etag: Gets a unique read-only string that changes whenever the - resource is updated. + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource + is updated. :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 1}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, 'peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, @@ -14161,19 +17149,19 @@ class VirtualRouterPeering(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.v2019_07_01.models.ProvisioningState - :param name: Gets name of the peering unique to VirtualRouter. This name - can be used to access the resource. + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param name: Name of the virtual router peering that is unique within a + virtual router. :type name: str - :ivar etag: Gets a unique read-only string that changes whenever the - resource is updated. + :ivar etag: A unique read-only string that changes whenever the resource + is updated. :vartype etag: str :ivar type: Peering type. :vartype type: str """ _validation = { - 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, @@ -14219,12 +17207,10 @@ class VirtualWAN(Resource): :type disable_vpn_encryption: bool :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. :vartype virtual_hubs: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar vpn_sites: List of VpnSites in the VirtualWAN. :vartype vpn_sites: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param security_provider_name: The Security Provider name. - :type security_provider_name: str + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. :type allow_branch_to_branch_traffic: bool @@ -14235,16 +17221,14 @@ class VirtualWAN(Resource): category. Possible values include: 'Optimize', 'OptimizeAndAllow', 'All', 'None' :type office365_local_breakout_category: str or - ~azure.mgmt.network.v2019_07_01.models.OfficeTrafficCategory - :param p2_svpn_server_configurations: List of all - P2SVpnServerConfigurations associated with the virtual wan. - :type p2_svpn_server_configurations: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration] - :param provisioning_state: The provisioning state of the virtual WAN + ~azure.mgmt.network.v2020_05_01.models.OfficeTrafficCategory + :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param virtual_wan_type: The type of the VirtualWAN. + :type virtual_wan_type: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -14255,6 +17239,7 @@ class VirtualWAN(Resource): 'type': {'readonly': True}, 'virtual_hubs': {'readonly': True}, 'vpn_sites': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14267,12 +17252,11 @@ class VirtualWAN(Resource): 'disable_vpn_encryption': {'key': 'properties.disableVpnEncryption', 'type': 'bool'}, 'virtual_hubs': {'key': 'properties.virtualHubs', 'type': '[SubResource]'}, 'vpn_sites': {'key': 'properties.vpnSites', 'type': '[SubResource]'}, - 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, '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'}, - 'p2_svpn_server_configurations': {'key': 'properties.p2SVpnServerConfigurations', 'type': '[P2SVpnServerConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_wan_type': {'key': 'properties.type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -14281,12 +17265,11 @@ def __init__(self, **kwargs): self.disable_vpn_encryption = kwargs.get('disable_vpn_encryption', None) self.virtual_hubs = None self.vpn_sites = None - self.security_provider_name = kwargs.get('security_provider_name', 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 = kwargs.get('office365_local_breakout_category', None) - self.p2_svpn_server_configurations = kwargs.get('p2_svpn_server_configurations', None) - self.provisioning_state = kwargs.get('provisioning_state', None) + self.provisioning_state = None + self.virtual_wan_type = kwargs.get('virtual_wan_type', None) self.etag = None @@ -14300,7 +17283,7 @@ class VirtualWanSecurityProvider(Model): :param type: Name of the security provider. Possible values include: 'External', 'Native' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviderType + ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviderType """ _attribute_map = { @@ -14321,7 +17304,7 @@ class VirtualWanSecurityProviders(Model): :param supported_providers: List of VirtualWAN security providers. :type supported_providers: - list[~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProvider] + list[~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProvider] """ _attribute_map = { @@ -14333,35 +17316,115 @@ def __init__(self, **kwargs): self.supported_providers = kwargs.get('supported_providers', None) +class VirtualWanVpnProfileParameters(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.v2020_05_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: 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(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.v2020_05_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(Model): """VpnClientConfiguration for P2S client. - :param vpn_client_address_pool: The reference of the address space + :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.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientRootCertificate] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientRootCertificate] :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network gateway. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientRevokedCertificate] :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. :type vpn_client_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.VpnClientProtocol] + ~azure.mgmt.network.v2020_05_01.models.VpnClientProtocol] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S client. :type vpn_client_ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2020_05_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 @@ -14381,6 +17444,7 @@ class VpnClientConfiguration(Model): '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'}, @@ -14395,6 +17459,7 @@ def __init__(self, **kwargs): 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) @@ -14525,7 +17590,7 @@ class VpnClientConnectionHealthDetailListResult(Model): :param value: List of vpn client connection health. :type value: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealthDetail] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealthDetail] """ _attribute_map = { @@ -14552,30 +17617,30 @@ class VpnClientIPsecParameters(Model): phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256' :type ipsec_encryption: str or - ~azure.mgmt.network.v2019_07_01.models.IpsecEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_05_01.models.PfsGroup """ _validation = { @@ -14618,11 +17683,11 @@ class VpnClientParameters(Model): :param processor_architecture: VPN client Processor Architecture. Possible values include: 'Amd64', 'X86' :type processor_architecture: str or - ~azure.mgmt.network.v2019_07_01.models.ProcessorArchitecture + ~azure.mgmt.network.v2020_05_01.models.ProcessorArchitecture :param authentication_method: VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2' :type authentication_method: str or - ~azure.mgmt.network.v2019_07_01.models.AuthenticationMethod + ~azure.mgmt.network.v2020_05_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 @@ -14663,17 +17728,18 @@ class VpnClientRevokedCertificate(SubResource): certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -14689,7 +17755,7 @@ def __init__(self, **kwargs): self.thumbprint = kwargs.get('thumbprint', None) self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VpnClientRootCertificate(SubResource): @@ -14708,18 +17774,19 @@ class VpnClientRootCertificate(SubResource): certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'public_cert_data': {'required': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -14735,7 +17802,7 @@ def __init__(self, **kwargs): self.public_cert_data = kwargs.get('public_cert_data', None) self.provisioning_state = None self.name = kwargs.get('name', None) - self.etag = kwargs.get('etag', None) + self.etag = None class VpnConnection(SubResource): @@ -14747,17 +17814,20 @@ class VpnConnection(SubResource): :param id: Resource ID. :type id: str :param remote_vpn_site: Id of the connected vpn site. - :type remote_vpn_site: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type remote_vpn_site: ~azure.mgmt.network.v2020_05_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int + :param dpd_timeout_seconds: The dead peer detection timeout for a vpn + connection in seconds. + :type dpd_timeout_seconds: int :param connection_status: The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :type connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VpnConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -14774,7 +17844,7 @@ class VpnConnection(SubResource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security. @@ -14782,15 +17852,19 @@ class VpnConnection(SubResource): :param use_local_azure_ip_address: Use local azure ip to initiate connection. :type use_local_azure_ip_address: bool - :param provisioning_state: The provisioning state of the VPN connection + :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnSiteLinkConnection] + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.RoutingConfiguration :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 @@ -14802,6 +17876,7 @@ class VpnConnection(SubResource): _validation = { 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14809,6 +17884,7 @@ class VpnConnection(SubResource): 'id': {'key': 'id', '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'}, @@ -14823,6 +17899,7 @@ class VpnConnection(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -14831,6 +17908,7 @@ def __init__(self, **kwargs): super(VpnConnection, self).__init__(**kwargs) 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 = kwargs.get('connection_status', None) self.vpn_connection_protocol_type = kwargs.get('vpn_connection_protocol_type', None) self.ingress_bytes_transferred = None @@ -14843,8 +17921,9 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.vpn_link_connections = kwargs.get('vpn_link_connections', None) + self.routing_configuration = kwargs.get('routing_configuration', None) self.name = kwargs.get('name', None) self.etag = None @@ -14890,17 +17969,17 @@ class VpnGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource :param connections: List of all vpn connections to the gateway. :type connections: - list[~azure.mgmt.network.v2019_07_01.models.VpnConnection] + list[~azure.mgmt.network.v2020_05_01.models.VpnConnection] :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param provisioning_state: The provisioning state of the VPN gateway + :type bgp_settings: ~azure.mgmt.network.v2020_05_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. :type vpn_gateway_scale_unit: int :ivar etag: A unique read-only string that changes whenever the resource @@ -14911,6 +17990,7 @@ class VpnGateway(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14933,7 +18013,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.vpn_gateway_scale_unit = kwargs.get('vpn_gateway_scale_unit', None) self.etag = None @@ -15027,6 +18107,231 @@ def __init__(self, **kwargs): self.profile_url = kwargs.get('profile_url', None) +class VpnServerConfigRadiusClientRootCertificate(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(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: Resource tags. + :type tags: dict[str, str] + :param vpn_server_configuration_name: The name of the + VpnServerConfiguration that is unique within a resource group. + :type vpn_server_configuration_name: str + :param vpn_protocols: VPN protocols for the VpnServerConfiguration. + :type vpn_protocols: list[str or + ~azure.mgmt.network.v2020_05_01.models.VpnGatewayTunnelingProtocol] + :param vpn_authentication_types: VPN authentication types for the + VpnServerConfiguration. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2020_05_01.models.VpnAuthenticationType] + :param vpn_client_root_certificates: VPN client root certificate of + VpnServerConfiguration. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigVpnClientRootCertificate] + :param vpn_client_revoked_certificates: VPN client revoked certificate of + VpnServerConfiguration. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigVpnClientRevokedCertificate] + :param radius_server_root_certificates: Radius Server root certificate of + VpnServerConfiguration. + :type radius_server_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigRadiusServerRootCertificate] + :param radius_client_root_certificates: Radius client root certificate of + VpnServerConfiguration. + :type radius_client_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigRadiusClientRootCertificate] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for + VpnServerConfiguration. + :type vpn_client_ipsec_policies: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.RadiusServer] + :param aad_authentication_parameters: The set of aad vpn authentication + parameters. + :type aad_authentication_parameters: + ~azure.mgmt.network.v2020_05_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_svpn_gateways: List of references to P2SVpnGateways. + :vartype p2_svpn_gateways: + list[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] + :ivar vpn_server_configuration_properties_etag: A unique read-only string + that changes whenever the resource is updated. + :vartype vpn_server_configuration_properties_etag: 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}, + 'provisioning_state': {'readonly': True}, + 'p2_svpn_gateways': {'readonly': True}, + 'vpn_server_configuration_properties_etag': {'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}'}, + 'vpn_server_configuration_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_svpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[P2SVpnGateway]'}, + 'vpn_server_configuration_properties_etag': {'key': 'properties.etag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(VpnServerConfiguration, self).__init__(**kwargs) + self.vpn_server_configuration_name = kwargs.get('vpn_server_configuration_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_svpn_gateways = None + self.vpn_server_configuration_properties_etag = None + self.etag = None + + +class VpnServerConfigurationsResponse(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(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(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. @@ -15044,29 +18349,28 @@ class VpnSite(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_wan: The VirtualWAN to which the vpnSite belongs. - :type virtual_wan: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_05_01.models.SubResource :param device_properties: The device properties. :type device_properties: - ~azure.mgmt.network.v2019_07_01.models.DeviceProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param provisioning_state: The provisioning state of the VPN site - resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', - 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :type bgp_properties: ~azure.mgmt.network.v2020_05_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.v2020_05_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.v2019_07_01.models.VpnSiteLink] + list[~azure.mgmt.network.v2020_05_01.models.VpnSiteLink] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -15075,6 +18379,7 @@ class VpnSite(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -15104,7 +18409,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', 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.etag = None @@ -15144,17 +18449,19 @@ class VpnSiteLink(SubResource): :type id: str :param link_properties: The link provider properties. :type link_properties: - ~azure.mgmt.network.v2019_07_01.models.VpnLinkProviderProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnLinkBgpSettings - :param provisioning_state: The provisioning state of the VPN site link + ~azure.mgmt.network.v2020_05_01.models.VpnLinkBgpSettings + :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -15166,6 +18473,7 @@ class VpnSiteLink(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -15174,6 +18482,7 @@ class VpnSiteLink(SubResource): 'id': {'key': 'id', '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'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -15185,8 +18494,9 @@ def __init__(self, **kwargs): super(VpnSiteLink, self).__init__(**kwargs) 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.etag = None self.name = kwargs.get('name', None) self.type = None @@ -15201,17 +18511,17 @@ class VpnSiteLinkConnection(SubResource): :param id: Resource ID. :type id: str :param vpn_site_link: Id of the connected vpn site link. - :type vpn_site_link: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type vpn_site_link: ~azure.mgmt.network.v2020_05_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :param connection_status: The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :type connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VpnConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -15228,17 +18538,17 @@ class VpnSiteLinkConnection(SubResource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the VPN site link + :ivar provisioning_state: The provisioning state of the VPN site link connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -15252,6 +18562,7 @@ class VpnSiteLinkConnection(SubResource): _validation = { 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -15292,7 +18603,7 @@ def __init__(self, **kwargs): 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 = kwargs.get('provisioning_state', None) + self.provisioning_state = None self.name = kwargs.get('name', None) self.etag = None self.type = None @@ -15312,20 +18623,20 @@ class WebApplicationFirewallCustomRule(Model): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str - :param priority: Required. Describes priority of the rule. Rules with a - lower value will be evaluated before rules with a higher value. + :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. Describes type of rule. Possible values - include: 'MatchRule', 'Invalid' + :param rule_type: Required. The rule type. Possible values include: + 'MatchRule', 'Invalid' :type rule_type: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallRuleType + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallRuleType :param match_conditions: Required. List of match conditions. :type match_conditions: - list[~azure.mgmt.network.v2019_07_01.models.MatchCondition] + list[~azure.mgmt.network.v2020_05_01.models.MatchCondition] :param action: Required. Type of Actions. Possible values include: 'Allow', 'Block', 'Log' :type action: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallAction + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallAction """ _validation = { @@ -15362,6 +18673,8 @@ class WebApplicationFirewallPolicy(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 :ivar name: Resource name. @@ -15372,29 +18685,40 @@ class WebApplicationFirewallPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param policy_settings: Describes policySettings for policy. + :param policy_settings: The PolicySettings for policy. :type policy_settings: - ~azure.mgmt.network.v2019_07_01.models.PolicySettings - :param custom_rules: Describes custom rules inside the policy. + ~azure.mgmt.network.v2020_05_01.models.PolicySettings + :param custom_rules: The custom rules inside the policy. :type custom_rules: - list[~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallCustomRule] + list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallCustomRule] :ivar application_gateways: A collection of references to application gateways. :vartype application_gateways: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar resource_state: Resource status of the policy. Resource status of the policy. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' :vartype resource_state: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicyResourceState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyResourceState + :param managed_rules: Required. Describes the managedRules structure. + :type managed_rules: + ~azure.mgmt.network.v2020_05_01.models.ManagedRulesDefinition + :ivar http_listeners: A collection of references to application gateway + http listeners. + :vartype http_listeners: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar path_based_rules: A collection of references to application gateway + path rules. + :vartype path_based_rules: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -15403,6 +18727,10 @@ class WebApplicationFirewallPolicy(Resource): 'application_gateways': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'resource_state': {'readonly': True}, + 'managed_rules': {'required': True}, + 'http_listeners': {'readonly': True}, + 'path_based_rules': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -15416,6 +18744,9 @@ class WebApplicationFirewallPolicy(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } @@ -15426,4 +18757,7 @@ def __init__(self, **kwargs): self.application_gateways = None self.provisioning_state = None self.resource_state = None - self.etag = kwargs.get('etag', None) + self.managed_rules = kwargs.get('managed_rules', None) + self.http_listeners = None + self.path_based_rules = None + self.etag = None diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models_py3.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models_py3.py similarity index 70% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models_py3.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models_py3.py index 1870d94ee73..dbbaf10ea34 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_models_py3.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_models_py3.py @@ -13,6 +13,30 @@ from msrest.exceptions import HttpOperationError +class AadAuthenticationParameters(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: str=None, aad_audience: str=None, aad_issuer: str=None, **kwargs) -> None: + super(AadAuthenticationParameters, self).__init__(**kwargs) + self.aad_tenant = aad_tenant + self.aad_audience = aad_audience + self.aad_issuer = aad_issuer + + class AddressSpace(Model): """AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network. @@ -88,87 +112,87 @@ class ApplicationGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: SKU of the application gateway resource. - :type sku: ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySku + :type sku: ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySku :param ssl_policy: SSL policy of the application gateway resource. :type ssl_policy: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPolicy + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewayOperationalState + ~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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type gateway_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayIPConfiguration] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type authentication_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAuthenticationCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type trusted_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayTrustedRootCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type ssl_certificates: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCertificate] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendIPConfiguration] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type frontend_ports: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFrontendPort] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFrontendPort] :param probes: Probes of the application gateway resource. :type probes: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbe] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type backend_http_settings_collection: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type http_listeners: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHttpListener] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type url_path_maps: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayUrlPathMap] + 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: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRequestRoutingRule] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRequestRoutingRule] :param rewrite_rule_sets: Rewrite rules for the application gateway resource. :type rewrite_rule_sets: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleSet] + 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](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). :type redirect_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectConfiguration] :param web_application_firewall_configuration: Web application firewall configuration. :type web_application_firewall_configuration: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayWebApplicationFirewallConfiguration - :param firewall_policy: Reference of the FirewallPolicy resource. - :type firewall_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayWebApplicationFirewallConfiguration + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :param enable_http2: Whether HTTP2 is enabled on the application gateway resource. :type enable_http2: bool @@ -177,34 +201,41 @@ class ApplicationGateway(Resource): :type enable_fips: bool :param autoscale_configuration: Autoscale Configuration. :type autoscale_configuration: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAutoscaleConfiguration - :param resource_guid: The resource GUID property of the application - gateway resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the application + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAutoscaleConfiguration + :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' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the application gateway resource. :type custom_error_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomError] - :param etag: A unique read-only string that changes whenever the resource + list[~azure.mgmt.network.v2020_05_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 + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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.v2019_07_01.models.ManagedServiceIdentity + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'operational_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -238,12 +269,13 @@ class ApplicationGateway(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, trusted_root_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, rewrite_rule_sets=None, redirect_configurations=None, web_application_firewall_configuration=None, firewall_policy=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, resource_guid: str=None, provisioning_state=None, custom_error_configurations=None, etag: str=None, zones=None, identity=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl_policy=None, gateway_ip_configurations=None, authentication_certificates=None, trusted_root_certificates=None, ssl_certificates=None, frontend_ip_configurations=None, frontend_ports=None, probes=None, backend_address_pools=None, backend_http_settings_collection=None, http_listeners=None, url_path_maps=None, request_routing_rules=None, rewrite_rule_sets=None, redirect_configurations=None, web_application_firewall_configuration=None, firewall_policy=None, enable_http2: bool=None, enable_fips: bool=None, autoscale_configuration=None, custom_error_configurations=None, force_firewall_policy_association: bool=None, zones=None, identity=None, **kwargs) -> None: super(ApplicationGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.ssl_policy = ssl_policy @@ -267,10 +299,11 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, ssl self.enable_http2 = enable_http2 self.enable_fips = enable_fips self.autoscale_configuration = autoscale_configuration - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state + self.resource_guid = None + self.provisioning_state = None self.custom_error_configurations = custom_error_configurations - self.etag = etag + self.force_firewall_policy_association = force_firewall_policy_association + self.etag = None self.zones = zones self.identity = identity @@ -294,25 +327,34 @@ def __init__(self, *, id: str=None, **kwargs) -> 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 data: Certificate public data. :type data: str - :param provisioning_state: The provisioning state of the authentication + :ivar provisioning_state: The provisioning state of the authentication certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the authentication certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'data': {'key': 'properties.data', 'type': 'str'}, @@ -322,13 +364,13 @@ class ApplicationGatewayAuthenticationCertificate(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, data: str=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, data: str=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayAuthenticationCertificate, self).__init__(id=id, **kwargs) self.data = data - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayAutoscaleConfiguration(Model): @@ -378,19 +420,19 @@ class ApplicationGatewayAvailableSslOptions(Resource): :type tags: dict[str, str] :param predefined_policies: List of available Ssl predefined policy. :type predefined_policies: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslPolicyName :param available_cipher_suites: List of available Ssl cipher suites. :type available_cipher_suites: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslCipherSuite] :param available_protocols: List of available Ssl protocols. :type available_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol] """ _validation = { @@ -423,7 +465,7 @@ class ApplicationGatewayAvailableWafRuleSetsResult(Model): :param value: The list of application gateway rule sets. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRuleSet] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRuleSet] """ _attribute_map = { @@ -458,30 +500,40 @@ def __init__(self, *, fqdn: str=None, ip_address: str=None, **kwargs) -> 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 backend_ip_configurations: Collection of references to IPs defined + :ivar backend_ip_configurations: Collection of references to IPs defined in network interfaces. - :type backend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + :vartype backend_ip_configurations: + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] :param backend_addresses: Backend addresses. :type backend_addresses: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddress] - :param provisioning_state: The provisioning state of the backend address + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddress] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the backend address pool that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'backend_ip_configurations': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, @@ -492,14 +544,14 @@ class ApplicationGatewayBackendAddressPool(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, backend_ip_configurations=None, backend_addresses=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, backend_addresses=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayBackendAddressPool, self).__init__(id=id, **kwargs) - self.backend_ip_configurations = backend_ip_configurations + self.backend_ip_configurations = None self.backend_addresses = backend_addresses - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayBackendHealth(Model): @@ -508,7 +560,7 @@ class ApplicationGatewayBackendHealth(Model): :param backend_address_pools: A list of ApplicationGatewayBackendHealthPool resources. :type backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthPool] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthPool] """ _attribute_map = { @@ -523,13 +575,13 @@ def __init__(self, *, backend_address_pools=None, **kwargs) -> None: class ApplicationGatewayBackendHealthHttpSettings(Model): """Application gateway BackendHealthHttp settings. - :param backend_http_settings: Reference of an + :param backend_http_settings: Reference to an ApplicationGatewayBackendHttpSettings resource. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHttpSettings + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHttpSettings :param servers: List of ApplicationGatewayBackendHealthServer resources. :type servers: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthServer] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthServer] """ _attribute_map = { @@ -546,14 +598,14 @@ def __init__(self, *, backend_http_settings=None, servers=None, **kwargs) -> Non class ApplicationGatewayBackendHealthOnDemand(Model): """Result of on demand test probe. - :param backend_address_pool: Reference of an + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool :param backend_health_http_settings: Application gateway BackendHealthHttp settings. :type backend_health_http_settings: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthHttpSettings + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthHttpSettings """ _attribute_map = { @@ -570,14 +622,14 @@ def __init__(self, *, backend_address_pool=None, backend_health_http_settings=No class ApplicationGatewayBackendHealthPool(Model): """Application gateway BackendHealth pool. - :param backend_address_pool: Reference of an + :param backend_address_pool: Reference to an ApplicationGatewayBackendAddressPool resource. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool :param backend_http_settings_collection: List of ApplicationGatewayBackendHealthHttpSettings resources. :type backend_http_settings_collection: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthHttpSettings] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthHttpSettings] """ _attribute_map = { @@ -596,13 +648,13 @@ class ApplicationGatewayBackendHealthServer(Model): :param address: IP address or FQDN of backend server. :type address: str - :param ip_configuration: Reference of IP configuration of backend server. + :param ip_configuration: Reference to IP configuration of backend server. :type ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration :param health: Health of backend server. Possible values include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining' :type health: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthServerHealth + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthServerHealth :param health_probe_log: Health Probe Log. :type health_probe_log: str """ @@ -625,6 +677,9 @@ def __init__(self, *, address: str=None, ip_configuration=None, health=None, hea 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 port: The destination port on the backend. @@ -632,29 +687,29 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :param protocol: The protocol used to communicate with the backend. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProtocol :param cookie_based_affinity: Cookie based affinity. Possible values include: 'Enabled', 'Disabled' :type cookie_based_affinity: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCookieBasedAffinity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_05_01.models.SubResource :param authentication_certificates: Array of references to application gateway authentication certificates. :type authentication_certificates: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param trusted_root_certificates: Array of references to application gateway trusted root certificates. :type trusted_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param connection_draining: Connection draining of the backend http settings resource. :type connection_draining: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayConnectionDraining + ~azure.mgmt.network.v2020_05_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 @@ -669,21 +724,27 @@ class ApplicationGatewayBackendHttpSettings(SubResource): :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 - :param provisioning_state: The provisioning state of the backend HTTP + :ivar provisioning_state: The provisioning state of the backend HTTP settings resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the backend http settings that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'port': {'key': 'properties.port', 'type': 'int'}, @@ -705,7 +766,7 @@ class ApplicationGatewayBackendHttpSettings(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, port: int=None, protocol=None, cookie_based_affinity=None, request_timeout: int=None, probe=None, authentication_certificates=None, trusted_root_certificates=None, connection_draining=None, host_name: str=None, pick_host_name_from_backend_address: bool=None, affinity_cookie_name: str=None, probe_enabled: bool=None, path: str=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, port: int=None, protocol=None, cookie_based_affinity=None, request_timeout: int=None, probe=None, authentication_certificates=None, trusted_root_certificates=None, connection_draining=None, host_name: str=None, pick_host_name_from_backend_address: bool=None, affinity_cookie_name: str=None, probe_enabled: bool=None, path: str=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayBackendHttpSettings, self).__init__(id=id, **kwargs) self.port = port self.protocol = protocol @@ -720,10 +781,10 @@ def __init__(self, *, id: str=None, port: int=None, protocol=None, cookie_based_ self.affinity_cookie_name = affinity_cookie_name self.probe_enabled = probe_enabled self.path = path - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayConnectionDraining(Model): @@ -762,7 +823,7 @@ class ApplicationGatewayCustomError(Model): :param status_code: Status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502' :type status_code: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomErrorStatusCode + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayCustomErrorStatusCode :param custom_error_page_url: Error page URL of the application gateway customer error. :type custom_error_page_url: str @@ -884,7 +945,7 @@ class ApplicationGatewayFirewallRuleGroup(Model): :param rules: Required. The rules of the web application firewall rule group. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRule] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRule] """ _validation = { @@ -923,11 +984,11 @@ class ApplicationGatewayFirewallRuleSet(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param provisioning_state: The provisioning state of the web application + :ivar provisioning_state: The provisioning state of the web application firewall rule set. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param rule_set_type: Required. The type of the web application firewall rule set. :type rule_set_type: str @@ -937,12 +998,13 @@ class ApplicationGatewayFirewallRuleSet(Resource): :param rule_groups: Required. The rule groups of the web application firewall rule set. :type rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallRuleGroup] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallRuleGroup] """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'rule_set_type': {'required': True}, 'rule_set_version': {'required': True}, 'rule_groups': {'required': True}, @@ -960,9 +1022,9 @@ class ApplicationGatewayFirewallRuleSet(Resource): 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[ApplicationGatewayFirewallRuleGroup]'}, } - def __init__(self, *, rule_set_type: str, rule_set_version: str, rule_groups, id: str=None, location: str=None, tags=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, rule_set_type: str, rule_set_version: str, rule_groups, id: str=None, location: str=None, tags=None, **kwargs) -> None: super(ApplicationGatewayFirewallRuleSet, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.provisioning_state = provisioning_state + self.provisioning_state = None self.rule_set_type = rule_set_type self.rule_set_version = rule_set_version self.rule_groups = rule_groups @@ -971,6 +1033,9 @@ def __init__(self, *, rule_set_type: str, rule_set_version: str, rule_groups, id 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 private_ip_address: PrivateIPAddress of the network interface IP @@ -979,27 +1044,33 @@ class ApplicationGatewayFrontendIPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: Reference of the PublicIP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: Reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param public_ip_address: Reference to the PublicIP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the frontend IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the frontend IP configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, @@ -1012,40 +1083,49 @@ class ApplicationGatewayFrontendIPConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayFrontendIPConfiguration, self).__init__(id=id, **kwargs) 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 = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = 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 port: Frontend port. :type port: int - :param provisioning_state: The provisioning state of the frontend port + :ivar provisioning_state: The provisioning state of the frontend port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the frontend port that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'port': {'key': 'properties.port', 'type': 'int'}, @@ -1055,13 +1135,13 @@ class ApplicationGatewayFrontendPort(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, port: int=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, port: int=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayFrontendPort, self).__init__(id=id, **kwargs) self.port = port - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayHeaderConfiguration(Model): @@ -1087,45 +1167,59 @@ def __init__(self, *, header_name: str=None, header_value: str=None, **kwargs) - 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 frontend_ip_configuration: Frontend IP configuration resource of an application gateway. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param frontend_port: Frontend port resource of an application gateway. - :type frontend_port: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type frontend_port: ~azure.mgmt.network.v2020_05_01.models.SubResource :param protocol: Protocol of the HTTP listener. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type ssl_certificate: ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the HTTP listener + :ivar provisioning_state: The provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param custom_error_configurations: Custom error configurations of the HTTP listener. :type custom_error_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayCustomError] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayCustomError] + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_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] :param name: Name of the HTTP listener that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'frontend_ip_configuration': {'key': 'properties.frontendIPConfiguration', 'type': 'SubResource'}, @@ -1136,12 +1230,14 @@ class ApplicationGatewayHttpListener(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]'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_port=None, protocol=None, host_name: str=None, ssl_certificate=None, require_server_name_indication: bool=None, provisioning_state=None, custom_error_configurations=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_port=None, protocol=None, host_name: str=None, ssl_certificate=None, require_server_name_indication: bool=None, custom_error_configurations=None, firewall_policy=None, host_names=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayHttpListener, self).__init__(id=id, **kwargs) self.frontend_ip_configuration = frontend_ip_configuration self.frontend_port = frontend_port @@ -1149,37 +1245,48 @@ def __init__(self, *, id: str=None, frontend_ip_configuration=None, frontend_por self.host_name = host_name self.ssl_certificate = ssl_certificate self.require_server_name_indication = require_server_name_indication - self.provisioning_state = provisioning_state + self.provisioning_state = None self.custom_error_configurations = custom_error_configurations + self.firewall_policy = firewall_policy + self.host_names = host_names self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = 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 subnet: Reference of the subnet resource. A subnet from where + :param subnet: Reference to the subnet resource. A subnet from where application gateway gets its private address. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the application + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the application gateway IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the IP configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, @@ -1189,13 +1296,13 @@ class ApplicationGatewayIPConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, subnet=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, subnet=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayIPConfiguration, self).__init__(id=id, **kwargs) self.subnet = subnet - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayOnDemandProbe(Model): @@ -1204,7 +1311,7 @@ class ApplicationGatewayOnDemandProbe(Model): :param protocol: The protocol used for the probe. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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 @@ -1219,15 +1326,15 @@ class ApplicationGatewayOnDemandProbe(Model): :type pick_host_name_from_backend_http_settings: bool :param match: Criterion for classifying a healthy probe response. :type match: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbeHealthResponseMatch - :param backend_address_pool: Reference of backend pool of application + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param backend_http_settings: Reference of backend http setting of + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -1256,6 +1363,9 @@ def __init__(self, *, protocol=None, host: str=None, path: str=None, timeout: in 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 paths: Path rules of URL path map. @@ -1263,33 +1373,41 @@ class ApplicationGatewayPathRule(SubResource): :param backend_address_pool: Backend address pool resource of URL path map path rule. :type backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param backend_http_settings: Backend http settings resource of URL path map path rule. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param redirect_configuration: Redirect configuration resource of URL path map path rule. :type redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param rewrite_rule_set: Rewrite rule set resource of URL path map path rule. - :type rewrite_rule_set: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the path rule + :type rewrite_rule_set: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param firewall_policy: Reference to the FirewallPolicy resource. + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :param name: Name of the path rule that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'paths': {'key': 'properties.paths', 'type': '[str]'}, @@ -1298,33 +1416,38 @@ class ApplicationGatewayPathRule(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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, paths=None, backend_address_pool=None, backend_http_settings=None, redirect_configuration=None, rewrite_rule_set=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, paths=None, backend_address_pool=None, backend_http_settings=None, redirect_configuration=None, rewrite_rule_set=None, firewall_policy=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayPathRule, self).__init__(id=id, **kwargs) 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 = provisioning_state + self.provisioning_state = None + self.firewall_policy = firewall_policy self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = 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 protocol: The protocol used for the probe. Possible values include: 'Http', 'Https' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProtocol + ~azure.mgmt.network.v2020_05_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 @@ -1350,11 +1473,11 @@ class ApplicationGatewayProbe(SubResource): :type min_servers: int :param match: Criterion for classifying a healthy probe response. :type match: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayProbeHealthResponseMatch - :param provisioning_state: The provisioning state of the probe resource. + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayProbeHealthResponseMatch + :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -1363,15 +1486,18 @@ class ApplicationGatewayProbe(SubResource): :param name: Name of the probe that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'port': {'maximum': 65535, 'minimum': 1}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -1392,7 +1518,7 @@ class ApplicationGatewayProbe(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, protocol=None, host: str=None, path: str=None, interval: int=None, timeout: int=None, unhealthy_threshold: int=None, pick_host_name_from_backend_http_settings: bool=None, min_servers: int=None, match=None, provisioning_state=None, port: int=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, protocol=None, host: str=None, path: str=None, interval: int=None, timeout: int=None, unhealthy_threshold: int=None, pick_host_name_from_backend_http_settings: bool=None, min_servers: int=None, match=None, port: int=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayProbe, self).__init__(id=id, **kwargs) self.protocol = protocol self.host = host @@ -1403,11 +1529,11 @@ def __init__(self, *, id: str=None, protocol=None, host: str=None, path: str=Non 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 = provisioning_state + self.provisioning_state = None self.port = port self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayProbeHealthResponseMatch(Model): @@ -1435,15 +1561,18 @@ def __init__(self, *, body: str=None, status_codes=None, **kwargs) -> 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 redirect_type: HTTP redirection type. Possible values include: 'Permanent', 'Found', 'SeeOther', 'Temporary' :type redirect_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRedirectType + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRedirectType :param target_listener: Reference to a listener to redirect the request to. - :type target_listener: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type target_listener: ~azure.mgmt.network.v2020_05_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. @@ -1453,23 +1582,28 @@ class ApplicationGatewayRedirectConfiguration(SubResource): :param request_routing_rules: Request routing specifying redirect configuration. :type request_routing_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param url_path_maps: Url path maps specifying default redirect configuration. :type url_path_maps: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param path_rules: Path rules specifying redirect configuration. - :type path_rules: list[~azure.mgmt.network.v2019_07_01.models.SubResource] + :type path_rules: list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param name: Name of the redirect configuration that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'redirect_type': {'key': 'properties.redirectType', 'type': 'str'}, @@ -1485,7 +1619,7 @@ class ApplicationGatewayRedirectConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, redirect_type=None, target_listener=None, target_url: str=None, include_path: bool=None, include_query_string: bool=None, request_routing_rules=None, url_path_maps=None, path_rules=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, redirect_type=None, target_listener=None, target_url: str=None, include_path: bool=None, include_query_string: bool=None, request_routing_rules=None, url_path_maps=None, path_rules=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayRedirectConfiguration, self).__init__(id=id, **kwargs) self.redirect_type = redirect_type self.target_listener = target_listener @@ -1496,57 +1630,63 @@ def __init__(self, *, id: str=None, redirect_type=None, target_listener=None, ta self.url_path_maps = url_path_maps self.path_rules = path_rules self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = 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 rule_type: Rule type. Possible values include: 'Basic', 'PathBasedRouting' :type rule_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRequestRoutingRuleType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param backend_http_settings: Backend http settings resource of the application gateway. :type backend_http_settings: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param http_listener: Http listener resource of the application gateway. - :type http_listener: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type http_listener: ~azure.mgmt.network.v2020_05_01.models.SubResource :param url_path_map: URL path map resource of the application gateway. - :type url_path_map: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type url_path_map: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type rewrite_rule_set: ~azure.mgmt.network.v2020_05_01.models.SubResource :param redirect_configuration: Redirect configuration resource of the application gateway. :type redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the request routing + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the request routing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the request routing rule that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ _validation = { 'priority': {'maximum': 20000, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -1565,7 +1705,7 @@ class ApplicationGatewayRequestRoutingRule(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, rule_type=None, priority: int=None, backend_address_pool=None, backend_http_settings=None, http_listener=None, url_path_map=None, rewrite_rule_set=None, redirect_configuration=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, rule_type=None, priority: int=None, backend_address_pool=None, backend_http_settings=None, http_listener=None, url_path_map=None, rewrite_rule_set=None, redirect_configuration=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayRequestRoutingRule, self).__init__(id=id, **kwargs) self.rule_type = rule_type self.priority = priority @@ -1575,10 +1715,10 @@ def __init__(self, *, id: str=None, rule_type=None, priority: int=None, backend_ self.url_path_map = url_path_map self.rewrite_rule_set = rewrite_rule_set self.redirect_configuration = redirect_configuration - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayRewriteRule(Model): @@ -1593,10 +1733,10 @@ class ApplicationGatewayRewriteRule(Model): :param conditions: Conditions based on which the action set execution will be evaluated. :type conditions: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleCondition] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleCondition] :param action_set: Set of actions to be done as part of the rewrite Rule. :type action_set: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRuleActionSet + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayRewriteRuleActionSet """ _attribute_map = { @@ -1620,22 +1760,27 @@ class ApplicationGatewayRewriteRuleActionSet(Model): :param request_header_configurations: Request Header Actions in the Action Set. :type request_header_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHeaderConfiguration] :param response_header_configurations: Response Header Actions in the Action Set. :type response_header_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayHeaderConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayHeaderConfiguration] + :param url_configuration: Url Configuration Action in the Action Set. + :type url_configuration: + ~azure.mgmt.network.v2020_05_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=None, response_header_configurations=None, **kwargs) -> None: + def __init__(self, *, request_header_configurations=None, response_header_configurations=None, url_configuration=None, **kwargs) -> None: 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(Model): @@ -1679,12 +1824,12 @@ class ApplicationGatewayRewriteRuleSet(SubResource): :type id: str :param rewrite_rules: Rewrite rules in the rewrite rule set. :type rewrite_rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayRewriteRule] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the rewrite rule set that is unique within an Application Gateway. :type name: str @@ -1721,11 +1866,11 @@ class ApplicationGatewaySku(Model): 'Standard_Small', 'Standard_Medium', 'Standard_Large', 'WAF_Medium', 'WAF_Large', 'Standard_v2', 'WAF_v2' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySkuName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewayTier + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayTier :param capacity: Capacity (instance count) of an application gateway. :type capacity: int """ @@ -1746,6 +1891,9 @@ def __init__(self, *, name=None, tier=None, capacity: int=None, **kwargs) -> Non 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 data: Base-64 encoded pfx certificate. Only applicable in PUT @@ -1754,31 +1902,38 @@ class ApplicationGatewaySslCertificate(SubResource): :param password: Password for the pfx file specified in data. Only applicable in PUT request. :type password: str - :param public_cert_data: Base-64 encoded Public cert data corresponding to + :ivar public_cert_data: Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. - :type public_cert_data: str + :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 - :param provisioning_state: The provisioning state of the SSL certificate + :ivar provisioning_state: The provisioning state of the SSL certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the SSL certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'data': {'key': 'properties.data', 'type': 'str'}, - 'password': {'key': 'properties.password', 'type': 'str'}, + _validation = { + 'public_cert_data': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, @@ -1787,16 +1942,16 @@ class ApplicationGatewaySslCertificate(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, data: str=None, password: str=None, public_cert_data: str=None, key_vault_secret_id: str=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, data: str=None, password: str=None, key_vault_secret_id: str=None, name: str=None, **kwargs) -> None: super(ApplicationGatewaySslCertificate, self).__init__(id=id, **kwargs) self.data = data self.password = password - self.public_cert_data = public_cert_data + self.public_cert_data = None self.key_vault_secret_id = key_vault_secret_id - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewaySslPolicy(Model): @@ -1805,25 +1960,25 @@ class ApplicationGatewaySslPolicy(Model): :param disabled_ssl_protocols: Ssl protocols to be disabled on application gateway. :type disabled_ssl_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslProtocol] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol] :param policy_type: Type of Ssl Policy. Possible values include: 'Predefined', 'Custom' :type policy_type: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPolicyType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslPolicyName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -1853,12 +2008,12 @@ class ApplicationGatewaySslPredefinedPolicy(SubResource): :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.v2019_07_01.models.ApplicationGatewaySslCipherSuite] + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationGatewaySslProtocol + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslProtocol """ _attribute_map = { @@ -1878,6 +2033,9 @@ def __init__(self, *, id: str=None, name: str=None, cipher_suites=None, min_prot 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 data: Certificate public data. @@ -1885,21 +2043,27 @@ class ApplicationGatewayTrustedRootCertificate(SubResource): :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 provisioning_state: The provisioning state of the trusted root + :ivar provisioning_state: The provisioning state of the trusted root certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the trusted root certificate that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'data': {'key': 'properties.data', 'type': 'str'}, @@ -1910,56 +2074,94 @@ class ApplicationGatewayTrustedRootCertificate(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, data: str=None, key_vault_secret_id: str=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, data: str=None, key_vault_secret_id: str=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayTrustedRootCertificate, self).__init__(id=id, **kwargs) self.data = data self.key_vault_secret_id = key_vault_secret_id - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None + + +class ApplicationGatewayUrlConfiguration(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: str=None, modified_query_string: str=None, reroute: bool=None, **kwargs) -> None: + 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 default_backend_address_pool: Default backend address pool resource of URL path map. :type default_backend_address_pool: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param default_redirect_configuration: Default redirect configuration resource of URL path map. :type default_redirect_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param path_rules: Path rule of URL path map resource. :type path_rules: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayPathRule] - :param provisioning_state: The provisioning state of the URL path map + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPathRule] + :ivar provisioning_state: The provisioning state of the URL path map resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param name: Name of the URL path map that is unique within an Application Gateway. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param type: Type of the resource. - :type type: str + :vartype etag: str + :ivar type: Type of the resource. + :vartype type: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'default_backend_address_pool': {'key': 'properties.defaultBackendAddressPool', 'type': 'SubResource'}, @@ -1973,17 +2175,17 @@ class ApplicationGatewayUrlPathMap(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, default_backend_address_pool=None, default_backend_http_settings=None, default_rewrite_rule_set=None, default_redirect_configuration=None, path_rules=None, provisioning_state=None, name: str=None, etag: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, default_backend_address_pool=None, default_backend_http_settings=None, default_rewrite_rule_set=None, default_redirect_configuration=None, path_rules=None, name: str=None, **kwargs) -> None: super(ApplicationGatewayUrlPathMap, self).__init__(id=id, **kwargs) 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 = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag - self.type = type + self.etag = None + self.type = None class ApplicationGatewayWebApplicationFirewallConfiguration(Model): @@ -1997,7 +2199,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :param firewall_mode: Required. Web application firewall mode. Possible values include: 'Detection', 'Prevention' :type firewall_mode: str or - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallMode + ~azure.mgmt.network.v2020_05_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 @@ -2005,7 +2207,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :type rule_set_version: str :param disabled_rule_groups: The disabled rule groups. :type disabled_rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallDisabledRuleGroup] + list[~azure.mgmt.network.v2020_05_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. @@ -2017,7 +2219,7 @@ class ApplicationGatewayWebApplicationFirewallConfiguration(Model): :type file_upload_limit_in_mb: int :param exclusions: The exclusion list. :type exclusions: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayFirewallExclusion] + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayFirewallExclusion] """ _validation = { @@ -2057,54 +2259,54 @@ def __init__(self, *, enabled: bool, firewall_mode, rule_set_type: str, rule_set self.exclusions = exclusions -class FirewallPolicyRuleCondition(Model): +class FirewallPolicyRule(Model): """Properties of a rule. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: ApplicationRuleCondition, NetworkRuleCondition + sub-classes are: ApplicationRule, NatRule, NetworkRule All required parameters must be populated in order to send to Azure. - :param name: Name of the rule condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str + :param rule_type: Required. Constant filled by server. + :type rule_type: str """ _validation = { - 'rule_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, } _subtype_map = { - 'rule_condition_type': {'ApplicationRuleCondition': 'ApplicationRuleCondition', 'NetworkRuleCondition': 'NetworkRuleCondition'} + 'rule_type': {'ApplicationRule': 'ApplicationRule', 'NatRule': 'NatRule', 'NetworkRule': 'NetworkRule'} } def __init__(self, *, name: str=None, description: str=None, **kwargs) -> None: - super(FirewallPolicyRuleCondition, self).__init__(**kwargs) + super(FirewallPolicyRule, self).__init__(**kwargs) self.name = name self.description = description - self.rule_condition_type = None + self.rule_type = None -class ApplicationRuleCondition(FirewallPolicyRuleCondition): - """Rule condition of type application. +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 condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str + :param rule_type: Required. Constant filled by server. + :type rule_type: 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 or Service @@ -2112,36 +2314,48 @@ class ApplicationRuleCondition(FirewallPolicyRuleCondition): :type destination_addresses: list[str] :param protocols: Array of Application Protocols. :type protocols: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleConditionApplicationProtocol] - :param target_fqdns: List of FQDNs for this rule condition. + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleApplicationProtocol] + :param target_urls: List of Urls for this rule condition. + :type target_urls: list[str] + :param target_fqdns: List of FQDNs for this rule. :type target_fqdns: list[str] - :param fqdn_tags: List of FQDN Tags for this rule condition. + :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 """ _validation = { - 'rule_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', 'type': 'str'}, + 'rule_type': {'key': 'ruleType', 'type': 'str'}, 'source_addresses': {'key': 'sourceAddresses', 'type': '[str]'}, 'destination_addresses': {'key': 'destinationAddresses', 'type': '[str]'}, - 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleConditionApplicationProtocol]'}, + 'protocols': {'key': 'protocols', 'type': '[FirewallPolicyRuleApplicationProtocol]'}, + 'target_urls': {'key': 'targetUrls', 'type': '[str]'}, 'target_fqdns': {'key': 'targetFqdns', 'type': '[str]'}, 'fqdn_tags': {'key': 'fqdnTags', 'type': '[str]'}, + 'source_ip_groups': {'key': 'sourceIpGroups', 'type': '[str]'}, + 'terminate_tls': {'key': 'terminateTLS', 'type': 'bool'}, } - def __init__(self, *, name: str=None, description: str=None, source_addresses=None, destination_addresses=None, protocols=None, target_fqdns=None, fqdn_tags=None, **kwargs) -> None: - super(ApplicationRuleCondition, self).__init__(name=name, description=description, **kwargs) + def __init__(self, *, name: str=None, description: str=None, source_addresses=None, destination_addresses=None, protocols=None, target_urls=None, target_fqdns=None, fqdn_tags=None, source_ip_groups=None, terminate_tls: bool=None, **kwargs) -> None: + super(ApplicationRule, self).__init__(name=name, description=description, **kwargs) self.source_addresses = source_addresses self.destination_addresses = destination_addresses self.protocols = protocols + self.target_urls = target_urls self.target_fqdns = target_fqdns self.fqdn_tags = fqdn_tags - self.rule_condition_type = 'ApplicationRuleCondition' + self.source_ip_groups = source_ip_groups + self.terminate_tls = terminate_tls + self.rule_type = 'ApplicationRule' class ApplicationSecurityGroup(Resource): @@ -2169,7 +2383,7 @@ class ApplicationSecurityGroup(Resource): security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -2253,8 +2467,7 @@ class AvailableDelegation(Model): :type type: str :param service_name: The name of the service and resource. :type service_name: str - :param actions: Describes the actions permitted to the service upon - delegation. + :param actions: The actions permitted to the service upon delegation. :type actions: list[str] """ @@ -2311,7 +2524,7 @@ class AvailableProvidersList(Model): :param countries: Required. List of available countries. :type countries: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListCountry] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListCountry] """ _validation = { @@ -2356,7 +2569,7 @@ class AvailableProvidersListCountry(Model): :type providers: list[str] :param states: List of available states in the country. :type states: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListState] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListState] """ _attribute_map = { @@ -2410,7 +2623,7 @@ class AvailableProvidersListState(Model): :type providers: list[str] :param cities: List of available cities or towns in the state. :type cities: - list[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListCity] + list[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListCity] """ _attribute_map = { @@ -2426,6 +2639,34 @@ def __init__(self, *, state_name: str=None, providers=None, cities=None, **kwarg self.cities = cities +class AvailableServiceAlias(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: str=None, id: str=None, type: str=None, resource_name: str=None, **kwargs) -> None: + super(AvailableServiceAlias, self).__init__(**kwargs) + self.name = name + self.id = id + self.type = type + self.resource_name = resource_name + + class AzureAsyncOperationResult(Model): """The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has @@ -2439,10 +2680,10 @@ class AzureAsyncOperationResult(Model): :param status: Status of the Azure async operation. Possible values include: 'InProgress', 'Succeeded', 'Failed' :type status: str or - ~azure.mgmt.network.v2019_07_01.models.NetworkOperationStatus + ~azure.mgmt.network.v2020_05_01.models.NetworkOperationStatus :param error: Details of the error occurred during specified asynchronous operation. - :type error: ~azure.mgmt.network.v2019_07_01.models.Error + :type error: ~azure.mgmt.network.v2020_05_01.models.Error """ _attribute_map = { @@ -2475,35 +2716,47 @@ class AzureFirewall(Resource): :param application_rule_collections: Collection of application rule collections used by Azure Firewall. :type application_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRuleCollection] :param nat_rule_collections: Collection of NAT rule collections used by Azure Firewall. :type nat_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRuleCollection] :param network_rule_collections: Collection of network rule collections used by Azure Firewall. :type network_rule_collections: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleCollection] + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNetworkRuleCollection] :param ip_configurations: IP configuration of the Azure Firewall resource. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallIPConfiguration] - :param provisioning_state: The provisioning state of the Azure firewall + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallIPConfiguration] + :param management_ip_configuration: IP configuration of the Azure Firewall + used for management traffic. + :type management_ip_configuration: + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallIPConfiguration + :ivar provisioning_state: The provisioning state of the Azure firewall resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallThreatIntelMode :param virtual_hub: The virtualHub to which the firewall belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource :param firewall_policy: The firewallPolicy associated with this azure firewall. - :type firewall_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource - :ivar hub_ip_addresses: IP addresses associated with AzureFirewall. - :vartype hub_ip_addresses: - ~azure.mgmt.network.v2019_07_01.models.HubIPAddresses + :type firewall_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param hub_ip_addresses: IP addresses associated with AzureFirewall. + :type hub_ip_addresses: + ~azure.mgmt.network.v2020_05_01.models.HubIPAddresses + :ivar ip_groups: IpGroups associated with AzureFirewall. + :vartype ip_groups: + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallIpGroups] + :param sku: The Azure Firewall Resource SKU. + :type sku: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallSku + :param additional_properties: The additional properties used to further + config this azure firewall. + :type additional_properties: dict[str, str] :param zones: A list of availability zones denoting where the resource needs to come from. :type zones: list[str] @@ -2515,7 +2768,8 @@ class AzureFirewall(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'hub_ip_addresses': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'ip_groups': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2529,26 +2783,34 @@ class AzureFirewall(Resource): '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}'}, 'zones': {'key': 'zones', 'type': '[str]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, application_rule_collections=None, nat_rule_collections=None, network_rule_collections=None, ip_configurations=None, provisioning_state=None, threat_intel_mode=None, virtual_hub=None, firewall_policy=None, zones=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, application_rule_collections=None, nat_rule_collections=None, network_rule_collections=None, ip_configurations=None, management_ip_configuration=None, threat_intel_mode=None, virtual_hub=None, firewall_policy=None, hub_ip_addresses=None, sku=None, additional_properties=None, zones=None, **kwargs) -> None: super(AzureFirewall, self).__init__(id=id, location=location, tags=tags, **kwargs) 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.provisioning_state = provisioning_state + 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 = None + self.hub_ip_addresses = hub_ip_addresses + self.ip_groups = None + self.sku = sku + self.additional_properties = additional_properties self.zones = zones self.etag = None @@ -2564,11 +2826,13 @@ class AzureFirewallApplicationRule(Model): :type source_addresses: list[str] :param protocols: Array of ApplicationRuleProtocols. :type protocols: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleProtocol] + list[~azure.mgmt.network.v2020_05_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 = { @@ -2578,9 +2842,10 @@ class AzureFirewallApplicationRule(Model): '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: str=None, description: str=None, source_addresses=None, protocols=None, target_fqdns=None, fqdn_tags=None, **kwargs) -> None: + def __init__(self, *, name: str=None, description: str=None, source_addresses=None, protocols=None, target_fqdns=None, fqdn_tags=None, source_ip_groups=None, **kwargs) -> None: super(AzureFirewallApplicationRule, self).__init__(**kwargs) self.name = name self.description = description @@ -2588,6 +2853,7 @@ def __init__(self, *, name: str=None, description: str=None, source_addresses=No self.protocols = protocols self.target_fqdns = target_fqdns self.fqdn_tags = fqdn_tags + self.source_ip_groups = source_ip_groups class AzureFirewallApplicationRuleCollection(SubResource): @@ -2601,15 +2867,15 @@ class AzureFirewallApplicationRuleCollection(SubResource): :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.v2019_07_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a application rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRule] - :param provisioning_state: The provisioning state of the application rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRule] + :ivar provisioning_state: The provisioning state of the application rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2620,6 +2886,7 @@ class AzureFirewallApplicationRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2633,12 +2900,12 @@ class AzureFirewallApplicationRuleCollection(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, name: str=None, **kwargs) -> None: super(AzureFirewallApplicationRuleCollection, self).__init__(id=id, **kwargs) self.priority = priority self.action = action self.rules = rules - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name self.etag = None @@ -2649,7 +2916,7 @@ class AzureFirewallApplicationRuleProtocol(Model): :param protocol_type: Protocol type. Possible values include: 'Http', 'Https', 'Mssql' :type protocol_type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallApplicationRuleProtocolType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallApplicationRuleProtocolType :param port: Port number for the protocol, cannot be greater than 64000. This field is optional. :type port: int @@ -2690,7 +2957,7 @@ class AzureFirewallFqdnTag(Resource): FQDN tag resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar fqdn_tag_name: The name of this FQDN Tag. :vartype fqdn_tag_name: str :ivar etag: A unique read-only string that changes whenever the resource @@ -2735,29 +3002,33 @@ class AzureFirewallIPConfiguration(SubResource): :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 of the subnet resource. This resource must be - named 'AzureFirewallSubnet'. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: Reference of the PublicIP resource. This field + :param subnet: Reference to the subnet resource. This resource must be + named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the Azure firewall IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the Azure firewall IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 """ _validation = { 'private_ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -2768,16 +3039,46 @@ class AzureFirewallIPConfiguration(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, subnet=None, public_ip_address=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, subnet=None, public_ip_address=None, name: str=None, **kwargs) -> None: super(AzureFirewallIPConfiguration, self).__init__(id=id, **kwargs) self.private_ip_address = None self.subnet = subnet self.public_ip_address = public_ip_address - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name self.etag = None + self.type = None + + +class AzureFirewallIpGroups(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) -> None: + super(AzureFirewallIpGroups, self).__init__(**kwargs) + self.id = None + self.change_number = None class AzureFirewallNatRCAction(Model): @@ -2785,7 +3086,7 @@ class AzureFirewallNatRCAction(Model): :param type: The type of action. Possible values include: 'Snat', 'Dnat' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRCActionType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRCActionType """ _attribute_map = { @@ -2814,11 +3115,15 @@ class AzureFirewallNatRule(Model): :param protocols: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule. :type protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_05_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 = { @@ -2830,9 +3135,11 @@ class AzureFirewallNatRule(Model): '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: str=None, description: str=None, source_addresses=None, destination_addresses=None, destination_ports=None, protocols=None, translated_address: str=None, translated_port: str=None, **kwargs) -> None: + def __init__(self, *, name: str=None, description: str=None, source_addresses=None, destination_addresses=None, destination_ports=None, protocols=None, translated_address: str=None, translated_port: str=None, translated_fqdn: str=None, source_ip_groups=None, **kwargs) -> None: super(AzureFirewallNatRule, self).__init__(**kwargs) self.name = name self.description = description @@ -2842,6 +3149,8 @@ def __init__(self, *, name: str=None, description: str=None, source_addresses=No 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): @@ -2856,15 +3165,15 @@ class AzureFirewallNatRuleCollection(SubResource): :type priority: int :param action: The action type of a NAT rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRCAction + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRCAction :param rules: Collection of rules used by a NAT rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNatRule] - :param provisioning_state: The provisioning state of the NAT rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNatRule] + :ivar provisioning_state: The provisioning state of the NAT rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2875,6 +3184,7 @@ class AzureFirewallNatRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2888,12 +3198,12 @@ class AzureFirewallNatRuleCollection(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, name: str=None, **kwargs) -> None: super(AzureFirewallNatRuleCollection, self).__init__(id=id, **kwargs) self.priority = priority self.action = action self.rules = rules - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name self.etag = None @@ -2907,13 +3217,19 @@ class AzureFirewallNetworkRule(Model): :type description: str :param protocols: Array of AzureFirewallNetworkRuleProtocols. :type protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRuleProtocol] + ~azure.mgmt.network.v2020_05_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 = { @@ -2923,9 +3239,12 @@ class AzureFirewallNetworkRule(Model): '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: str=None, description: str=None, protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, **kwargs) -> None: + def __init__(self, *, name: str=None, description: str=None, protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, destination_fqdns=None, source_ip_groups=None, destination_ip_groups=None, **kwargs) -> None: super(AzureFirewallNetworkRule, self).__init__(**kwargs) self.name = name self.description = description @@ -2933,6 +3252,9 @@ def __init__(self, *, name: str=None, description: str=None, protocols=None, sou 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): @@ -2946,15 +3268,15 @@ class AzureFirewallNetworkRuleCollection(SubResource): :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.v2019_07_01.models.AzureFirewallRCAction + :type action: ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCAction :param rules: Collection of rules used by a network rule collection. :type rules: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallNetworkRule] - :param provisioning_state: The provisioning state of the network rule + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallNetworkRule] + :ivar provisioning_state: The provisioning state of the network rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -2965,6 +3287,7 @@ class AzureFirewallNetworkRuleCollection(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -2978,12 +3301,12 @@ class AzureFirewallNetworkRuleCollection(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, priority: int=None, action=None, rules=None, name: str=None, **kwargs) -> None: super(AzureFirewallNetworkRuleCollection, self).__init__(id=id, **kwargs) self.priority = priority self.action = action self.rules = rules - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name self.etag = None @@ -3009,7 +3332,7 @@ class AzureFirewallRCAction(Model): :param type: The type of action. Possible values include: 'Allow', 'Deny' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallRCActionType + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallRCActionType """ _attribute_map = { @@ -3021,6 +3344,30 @@ def __init__(self, *, type=None, **kwargs) -> None: self.type = type +class AzureFirewallSku(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.v2020_05_01.models.AzureFirewallSkuName + :param tier: Tier of an Azure Firewall. Possible values include: + 'Standard', 'Premium' + :type tier: str or + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallSkuTier + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + } + + def __init__(self, *, name=None, tier=None, **kwargs) -> None: + super(AzureFirewallSku, self).__init__(**kwargs) + self.name = name + self.tier = tier + + class AzureReachabilityReport(Model): """Azure reachability report details. @@ -3032,11 +3379,11 @@ class AzureReachabilityReport(Model): :param provider_location: Required. Parameters that define a geographic location. :type provider_location: - ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLocation + ~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportLocation :param reachability_report: Required. List of Azure reachability report items. :type reachability_report: - list[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportItem] + list[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportItem] """ _validation = { @@ -3067,7 +3414,7 @@ class AzureReachabilityReportItem(Model): :type azure_location: str :param latencies: List of latency details for each of the time series. :type latencies: - list[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLatencyInfo] + list[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportLatencyInfo] """ _attribute_map = { @@ -3146,7 +3493,7 @@ class AzureReachabilityReportParameters(Model): :param provider_location: Required. Parameters that define a geographic location. :type provider_location: - ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportLocation + ~azure.mgmt.network.v2020_05_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. @@ -3192,30 +3539,33 @@ class BackendAddressPool(SubResource): :ivar backend_ip_configurations: An array of references to IP addresses defined in network interfaces. :vartype backend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] + :param load_balancer_backend_addresses: An array of backend addresses. + :type load_balancer_backend_addresses: + list[~azure.mgmt.network.v2020_05_01.models.LoadBalancerBackendAddress] :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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar outbound_rule: A reference to an outbound rule that uses this backend address pool. - :vartype outbound_rule: ~azure.mgmt.network.v2019_07_01.models.SubResource + :vartype outbound_rule: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] - :param provisioning_state: The provisioning state of the backend address + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the backend address pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -3225,12 +3575,15 @@ class BackendAddressPool(SubResource): 'load_balancing_rules': {'readonly': True}, 'outbound_rule': {'readonly': True}, 'outbound_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'backend_ip_configurations': {'key': 'properties.backendIPConfigurations', 'type': '[NetworkInterfaceIPConfiguration]'}, + 'load_balancer_backend_addresses': {'key': 'properties.loadBalancerBackendAddresses', 'type': '[LoadBalancerBackendAddress]'}, 'load_balancing_rules': {'key': 'properties.loadBalancingRules', 'type': '[SubResource]'}, 'outbound_rule': {'key': 'properties.outboundRule', 'type': 'SubResource'}, 'outbound_rules': {'key': 'properties.outboundRules', 'type': '[SubResource]'}, @@ -3240,18 +3593,117 @@ class BackendAddressPool(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, load_balancer_backend_addresses=None, name: str=None, **kwargs) -> None: super(BackendAddressPool, self).__init__(id=id, **kwargs) self.backend_ip_configurations = None + self.load_balancer_backend_addresses = load_balancer_backend_addresses self.load_balancing_rules = None self.outbound_rule = None self.outbound_rules = None - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None +class BastionActiveSession(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: object + :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.v2020_05_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': 'object'}, + '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) -> None: + 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(Model): + """Response for GetActiveSessions. + + :param value: List of active sessions on the bastion. + :type value: + list[~azure.mgmt.network.v2020_05_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=None, next_link: str=None, **kwargs) -> None: + super(BastionActiveSessionListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + class BastionHost(Resource): """Bastion Host resource. @@ -3270,15 +3722,15 @@ class BastionHost(Resource): :type tags: dict[str, str] :param ip_configurations: IP configuration of the Bastion Host resource. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.BastionHostIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.BastionHostIPConfiguration] :param dns_name: FQDN for the endpoint on which bastion host is accessible. :type dns_name: str - :param provisioning_state: The provisioning state of the bastion host + :ivar provisioning_state: The provisioning state of the bastion host resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -3287,6 +3739,7 @@ class BastionHost(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -3302,11 +3755,11 @@ class BastionHost(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, ip_configurations=None, dns_name: str=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, ip_configurations=None, dns_name: str=None, **kwargs) -> None: super(BastionHost, self).__init__(id=id, location=location, tags=tags, **kwargs) self.ip_configurations = ip_configurations self.dns_name = dns_name - self.provisioning_state = provisioning_state + self.provisioning_state = None self.etag = None @@ -3321,19 +3774,19 @@ class BastionHostIPConfiguration(SubResource): :param id: Resource ID. :type id: str :param subnet: Required. Reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param public_ip_address: Required. Reference of the PublicIP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the bastion host IP + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the bastion host IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod :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 @@ -3347,6 +3800,7 @@ class BastionHostIPConfiguration(SubResource): _validation = { 'subnet': {'required': True}, 'public_ip_address': {'required': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -3362,78 +3816,250 @@ class BastionHostIPConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, subnet, public_ip_address, id: str=None, provisioning_state=None, private_ip_allocation_method=None, name: str=None, **kwargs) -> None: + def __init__(self, *, subnet, public_ip_address, id: str=None, private_ip_allocation_method=None, name: str=None, **kwargs) -> None: super(BastionHostIPConfiguration, self).__init__(id=id, **kwargs) self.subnet = subnet self.public_ip_address = public_ip_address - self.provisioning_state = provisioning_state + self.provisioning_state = None self.private_ip_allocation_method = private_ip_allocation_method self.name = name self.etag = None self.type = None -class BGPCommunity(Model): - """Contains bgp community information offered in Service Community resources. +class BastionSessionState(Model): + """The session state detail for a target. - :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 + 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 = { - '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'}, + 'session_id': {'key': 'sessionId', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + 'state': {'key': 'state', 'type': 'str'}, } - def __init__(self, *, service_supported_region: str=None, community_name: str=None, community_value: str=None, community_prefixes=None, is_authorized_to_use: bool=None, service_group: str=None, **kwargs) -> None: - 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 + def __init__(self, **kwargs) -> None: + super(BastionSessionState, self).__init__(**kwargs) + self.session_id = None + self.message = None + self.state = None -class BgpPeerStatus(Model): - """BGP peer status details. +class BastionShareableLink(Model): + """Bastion Shareable Link. 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: int - :ivar state: The BGP peer state. Possible values include: 'Unknown', - 'Stopped', 'Idle', 'Connecting', 'Connected' - :vartype state: str or ~azure.mgmt.network.v2019_07_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 + 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.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, **kwargs) -> None: + super(BastionShareableLink, self).__init__(**kwargs) + self.vm = vm + self.bsl = None + self.created_at = None + self.message = None + + +class BastionShareableLinkListRequest(Model): + """Post request for all the Bastion Shareable Link endpoints. + + :param vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + """ + + _attribute_map = { + 'vms': {'key': 'vms', 'type': '[BastionShareableLink]'}, + } + + def __init__(self, *, vms=None, **kwargs) -> None: + super(BastionShareableLinkListRequest, self).__init__(**kwargs) + self.vms = vms + + +class BastionShareableLinkListResult(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.v2020_05_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=None, next_link: str=None, **kwargs) -> None: + super(BastionShareableLinkListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class BGPCommunity(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: str=None, community_name: str=None, community_value: str=None, community_prefixes=None, is_authorized_to_use: bool=None, service_group: str=None, **kwargs) -> None: + 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 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.v2020_05_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.v2020_05_01.models.HubBgpConnectionStatus + :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 + """ + + _validation = { + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, + 'provisioning_state': {'readonly': True}, + 'connection_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, peer_asn: int=None, peer_ip: str=None, name: str=None, **kwargs) -> None: + super(BgpConnection, self).__init__(id=id, **kwargs) + self.peer_asn = peer_asn + self.peer_ip = peer_ip + self.provisioning_state = None + self.connection_state = None + self.name = name + self.etag = None + self.type = None + + +class BgpPeerStatus(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.v2020_05_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 """ @@ -3441,7 +4067,7 @@ class BgpPeerStatus(Model): _validation = { 'local_address': {'readonly': True}, 'neighbor': {'readonly': True}, - 'asn': {'readonly': True}, + 'asn': {'readonly': True, 'maximum': 4294967295, 'minimum': 0}, 'state': {'readonly': True}, 'connected_duration': {'readonly': True}, 'routes_received': {'readonly': True}, @@ -3452,7 +4078,7 @@ class BgpPeerStatus(Model): _attribute_map = { 'local_address': {'key': 'localAddress', 'type': 'str'}, 'neighbor': {'key': 'neighbor', 'type': 'str'}, - 'asn': {'key': 'asn', 'type': 'int'}, + 'asn': {'key': 'asn', 'type': 'long'}, 'state': {'key': 'state', 'type': 'str'}, 'connected_duration': {'key': 'connectedDuration', 'type': 'str'}, 'routes_received': {'key': 'routesReceived', 'type': 'long'}, @@ -3476,7 +4102,7 @@ class BgpPeerStatusListResult(Model): """Response for list BGP peer status API service call. :param value: List of BGP peers. - :type value: list[~azure.mgmt.network.v2019_07_01.models.BgpPeerStatus] + :type value: list[~azure.mgmt.network.v2020_05_01.models.BgpPeerStatus] """ _attribute_map = { @@ -3508,7 +4134,7 @@ class BgpServiceCommunity(Resource): :type service_name: str :param bgp_communities: A list of bgp communities. :type bgp_communities: - list[~azure.mgmt.network.v2019_07_01.models.BGPCommunity] + list[~azure.mgmt.network.v2020_05_01.models.BGPCommunity] """ _validation = { @@ -3543,19 +4169,53 @@ class BgpSettings(Model): :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.v2020_05_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: int=None, bgp_peering_address: str=None, peer_weight: int=None, **kwargs) -> None: + def __init__(self, *, asn: int=None, bgp_peering_address: str=None, peer_weight: int=None, bgp_peering_addresses=None, **kwargs) -> None: 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(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: bool=None, optimize: bool=None, default: bool=None, **kwargs) -> None: + super(BreakOutCategoryPolicies, self).__init__(**kwargs) + self.allow = allow + self.optimize = optimize + self.default = default class CheckPrivateLinkServiceVisibilityRequest(Model): @@ -3575,10 +4235,10 @@ def __init__(self, *, private_link_service_alias: str=None, **kwargs) -> None: class CloudError(Model): - """An error response from the Batch service. + """An error response from the service. :param error: Cloud error body. - :type error: ~azure.mgmt.network.v2019_07_01.models.CloudErrorBody + :type error: ~azure.mgmt.network.v2020_05_01.models.CloudErrorBody """ _attribute_map = { @@ -3603,7 +4263,7 @@ def __init__(self, deserialize, response, *args): class CloudErrorBody(Model): - """An error response from the Batch service. + """An error response from the service. :param code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically. @@ -3615,7 +4275,7 @@ class CloudErrorBody(Model): of the property in error. :type target: str :param details: A list of additional details about the error. - :type details: list[~azure.mgmt.network.v2019_07_01.models.CloudErrorBody] + :type details: list[~azure.mgmt.network.v2020_05_01.models.CloudErrorBody] """ _attribute_map = { @@ -3636,32 +4296,39 @@ def __init__(self, *, code: str=None, message: str=None, target: str=None, detai class ConnectionMonitor(Model): """Parameters that define the operation to create a connection monitor. - All required parameters must be populated in order to send to Azure. - :param location: Connection monitor location. :type location: str :param tags: Connection monitor tags. :type tags: dict[str, str] - :param source: Required. Describes the source of connection monitor. + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str """ - _validation = { - 'source': {'required': True}, - 'destination': {'required': True}, - } - _attribute_map = { 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, @@ -3669,9 +4336,14 @@ class ConnectionMonitor(Model): '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, *, source, destination, location: str=None, tags=None, auto_start: bool=True, monitoring_interval_in_seconds: int=60, **kwargs) -> None: + def __init__(self, *, location: str=None, tags=None, source=None, destination=None, auto_start: bool=True, monitoring_interval_in_seconds: int=60, endpoints=None, test_configurations=None, test_groups=None, outputs=None, notes: str=None, **kwargs) -> None: super(ConnectionMonitor, self).__init__(**kwargs) self.location = location self.tags = tags @@ -3679,6 +4351,11 @@ def __init__(self, *, source, destination, location: str=None, tags=None, auto_s 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(Model): @@ -3707,44 +4384,223 @@ def __init__(self, *, resource_id: str=None, address: str=None, port: int=None, self.port = port -class ConnectionMonitorParameters(Model): - """Parameters that define the operation to create a connection monitor. +class ConnectionMonitorEndpoint(Model): + """Describes the connection monitor endpoint. All required parameters must be populated in order to send to Azure. - :param source: Required. Describes the source of connection monitor. + :param name: Required. The name of the connection monitor endpoint. + :type name: str + :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.v2020_05_01.models.ConnectionMonitorEndpointFilter + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'address': {'key': 'address', 'type': 'str'}, + 'filter': {'key': 'filter', 'type': 'ConnectionMonitorEndpointFilter'}, + } + + def __init__(self, *, name: str, resource_id: str=None, address: str=None, filter=None, **kwargs) -> None: + super(ConnectionMonitorEndpoint, self).__init__(**kwargs) + self.name = name + self.resource_id = resource_id + self.address = address + self.filter = filter + + +class ConnectionMonitorEndpointFilter(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.v2020_05_01.models.ConnectionMonitorEndpointFilterType + :param items: List of items in the filter. + :type items: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpointFilterItem] + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'items': {'key': 'items', 'type': '[ConnectionMonitorEndpointFilterItem]'}, + } + + def __init__(self, *, type=None, items=None, **kwargs) -> None: + super(ConnectionMonitorEndpointFilter, self).__init__(**kwargs) + self.type = type + self.items = items + + +class ConnectionMonitorEndpointFilterItem(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.v2020_05_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=None, address: str=None, **kwargs) -> None: + super(ConnectionMonitorEndpointFilterItem, self).__init__(**kwargs) + self.type = type + self.address = address + + +class ConnectionMonitorHttpConfiguration(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.v2020_05_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.v2020_05_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 + """ + + _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: int=None, method=None, path: str=None, request_headers=None, valid_status_code_ranges=None, prefer_https: bool=None, **kwargs) -> None: + 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(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: bool=None, **kwargs) -> None: + super(ConnectionMonitorIcmpConfiguration, self).__init__(**kwargs) + self.disable_trace_route = disable_trace_route + + +class ConnectionMonitorOutput(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.v2020_05_01.models.OutputType + :param workspace_settings: Describes the settings for producing output + into a log analytics workspace. + :type workspace_settings: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorWorkspaceSettings + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'workspace_settings': {'key': 'workspaceSettings', 'type': 'ConnectionMonitorWorkspaceSettings'}, + } + + def __init__(self, *, type=None, workspace_settings=None, **kwargs) -> None: + super(ConnectionMonitorOutput, self).__init__(**kwargs) + self.type = type + self.workspace_settings = workspace_settings + + +class ConnectionMonitorParameters(Model): + """Parameters that define the operation to create a connection monitor. + + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorOutput] + :param notes: Optional notes to be associated with the connection monitor. + :type notes: str """ - _validation = { - 'source': {'required': True}, - 'destination': {'required': 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'}, } - def __init__(self, *, source, destination, auto_start: bool=True, monitoring_interval_in_seconds: int=60, **kwargs) -> None: + def __init__(self, *, source=None, destination=None, auto_start: bool=True, monitoring_interval_in_seconds: int=60, endpoints=None, test_configurations=None, test_groups=None, outputs=None, notes: str=None, **kwargs) -> None: 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(Model): @@ -3753,10 +4609,10 @@ class ConnectionMonitorQueryResult(Model): :param source_status: Status of connection monitor source. Possible values include: 'Unknown', 'Active', 'Inactive' :type source_status: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSourceStatus + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSourceStatus :param states: Information about connection states. :type states: - list[~azure.mgmt.network.v2019_07_01.models.ConnectionStateSnapshot] + list[~azure.mgmt.network.v2020_05_01.models.ConnectionStateSnapshot] """ _attribute_map = { @@ -3776,53 +4632,71 @@ class ConnectionMonitorResult(Model): 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 name: Name of the connection monitor. :vartype name: str :ivar id: ID of the connection monitor. :vartype id: str - :param etag: A unique read-only string that changes whenever the resource - is updated. Default value: "A unique read-only string that changes - whenever the resource is updated." . - :type etag: str - :ivar type: Connection monitor type. + :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: Connection monitor tags. :type tags: dict[str, str] - :param source: Required. Describes the source of connection monitor. + :param source: Describes the source of connection monitor. :type source: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorSource - :param destination: Required. Describes the destination of connection - monitor. + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorSource + :param destination: Describes the destination of connection monitor. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorDestination :param auto_start: Determines if the connection monitor will start automatically once created. Default value: True . :type auto_start: bool :param monitoring_interval_in_seconds: Monitoring interval in seconds. Default value: 60 . :type monitoring_interval_in_seconds: int - :param provisioning_state: The provisioning state of the connection + :param endpoints: List of connection monitor endpoints. + :type endpoints: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorEndpoint] + :param test_configurations: List of connection monitor test + configurations. + :type test_configurations: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestConfiguration] + :param test_groups: List of connection monitor test groups. + :type test_groups: + list[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTestGroup] + :param outputs: List of connection monitor outputs. + :type outputs: + list[~azure.mgmt.network.v2020_05_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' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param start_time: The date and time when the connection monitor was + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar start_time: The date and time when the connection monitor was started. - :type start_time: datetime - :param monitoring_status: The monitoring status of the connection monitor. - :type monitoring_status: str + :vartype start_time: 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.v2020_05_01.models.ConnectionMonitorType """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, - 'source': {'required': True}, - 'destination': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'start_time': {'readonly': True}, + 'monitoring_status': {'readonly': True}, + 'connection_monitor_type': {'readonly': True}, } _attribute_map = { @@ -3836,16 +4710,22 @@ class ConnectionMonitorResult(Model): '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, *, source, destination, etag: str="A unique read-only string that changes whenever the resource is updated.", location: str=None, tags=None, auto_start: bool=True, monitoring_interval_in_seconds: int=60, provisioning_state=None, start_time=None, monitoring_status: str=None, **kwargs) -> None: + def __init__(self, *, location: str=None, tags=None, source=None, destination=None, auto_start: bool=True, monitoring_interval_in_seconds: int=60, endpoints=None, test_configurations=None, test_groups=None, outputs=None, notes: str=None, **kwargs) -> None: super(ConnectionMonitorResult, self).__init__(**kwargs) self.name = None self.id = None - self.etag = etag + self.etag = None self.type = None self.location = location self.tags = tags @@ -3853,9 +4733,15 @@ def __init__(self, *, source, destination, etag: str="A unique read-only string self.destination = destination self.auto_start = auto_start self.monitoring_interval_in_seconds = monitoring_interval_in_seconds - self.provisioning_state = provisioning_state - self.start_time = start_time - self.monitoring_status = monitoring_status + 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 ConnectionMonitorSource(Model): @@ -3885,6 +4771,170 @@ def __init__(self, *, resource_id: str, port: int=None, **kwargs) -> None: self.port = port +class ConnectionMonitorSuccessThreshold(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: int=None, round_trip_time_ms: float=None, **kwargs) -> None: + super(ConnectionMonitorSuccessThreshold, self).__init__(**kwargs) + self.checks_failed_percent = checks_failed_percent + self.round_trip_time_ms = round_trip_time_ms + + +class ConnectionMonitorTcpConfiguration(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 + """ + + _attribute_map = { + 'port': {'key': 'port', 'type': 'int'}, + 'disable_trace_route': {'key': 'disableTraceRoute', 'type': 'bool'}, + } + + def __init__(self, *, port: int=None, disable_trace_route: bool=None, **kwargs) -> None: + super(ConnectionMonitorTcpConfiguration, self).__init__(**kwargs) + self.port = port + self.disable_trace_route = disable_trace_route + + +class ConnectionMonitorTestConfiguration(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.v2020_05_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.v2020_05_01.models.PreferredIPVersion + :param http_configuration: The parameters used to perform test evaluation + over HTTP. + :type http_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorHttpConfiguration + :param tcp_configuration: The parameters used to perform test evaluation + over TCP. + :type tcp_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorTcpConfiguration + :param icmp_configuration: The parameters used to perform test evaluation + over ICMP. + :type icmp_configuration: + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorIcmpConfiguration + :param success_threshold: The threshold for declaring a test successful. + :type success_threshold: + ~azure.mgmt.network.v2020_05_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, test_frequency_sec: int=None, preferred_ip_version=None, http_configuration=None, tcp_configuration=None, icmp_configuration=None, success_threshold=None, **kwargs) -> None: + 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(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, sources, destinations, disable: bool=None, **kwargs) -> None: + super(ConnectionMonitorTestGroup, self).__init__(**kwargs) + self.name = name + self.disable = disable + self.test_configurations = test_configurations + self.sources = sources + self.destinations = destinations + + +class ConnectionMonitorWorkspaceSettings(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: str=None, **kwargs) -> None: + super(ConnectionMonitorWorkspaceSettings, self).__init__(**kwargs) + self.workspace_resource_id = workspace_resource_id + + class ConnectionResetSharedKey(Model): """The virtual network connection reset shared key. @@ -3942,7 +4992,7 @@ class ConnectionStateSnapshot(Model): :param connection_state: The connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown' :type connection_state: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionState + ~azure.mgmt.network.v2020_05_01.models.ConnectionState :param start_time: The start time of the connection snapshot. :type start_time: datetime :param end_time: The end time of the connection snapshot. @@ -3950,7 +5000,7 @@ class ConnectionStateSnapshot(Model): :param evaluation_state: Connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed' :type evaluation_state: str or - ~azure.mgmt.network.v2019_07_01.models.EvaluationState + ~azure.mgmt.network.v2020_05_01.models.EvaluationState :param avg_latency_in_ms: Average latency in ms. :type avg_latency_in_ms: int :param min_latency_in_ms: Minimum latency in ms. @@ -3963,7 +5013,7 @@ class ConnectionStateSnapshot(Model): :type probes_failed: int :ivar hops: List of hops between the source and the destination. :vartype hops: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityHop] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityHop] """ _validation = { @@ -4039,9 +5089,16 @@ class ConnectivityHop(Model): :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.v2020_05_01.models.HopLink] + :ivar previous_links: List of previous hop links. + :vartype previous_links: + list[~azure.mgmt.network.v2020_05_01.models.HopLink] :ivar issues: List of issues. :vartype issues: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityIssue] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityIssue] """ _validation = { @@ -4050,6 +5107,9 @@ class ConnectivityHop(Model): '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}, } @@ -4059,6 +5119,9 @@ class ConnectivityHop(Model): '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]'}, } @@ -4069,6 +5132,9 @@ def __init__(self, **kwargs) -> 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 @@ -4080,11 +5146,11 @@ class ConnectivityInformation(Model): :ivar hops: List of hops between the source and the destination. :vartype hops: - list[~azure.mgmt.network.v2019_07_01.models.ConnectivityHop] + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityHop] :ivar connection_status: The connection status. Possible values include: 'Unknown', 'Connected', 'Disconnected', 'Degraded' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.ConnectionStatus + ~azure.mgmt.network.v2020_05_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. @@ -4137,14 +5203,14 @@ class ConnectivityIssue(Model): :ivar origin: The origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound' - :vartype origin: str or ~azure.mgmt.network.v2019_07_01.models.Origin + :vartype origin: str or ~azure.mgmt.network.v2020_05_01.models.Origin :ivar severity: The severity of the issue. Possible values include: 'Error', 'Warning' - :vartype severity: str or ~azure.mgmt.network.v2019_07_01.models.Severity + :vartype severity: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IssueType + :vartype type: str or ~azure.mgmt.network.v2020_05_01.models.IssueType :ivar context: Provides additional context on the issue. :vartype context: list[dict[str, str]] """ @@ -4176,17 +5242,21 @@ class ConnectivityParameters(Model): All required parameters must be populated in order to send to Azure. - :param source: Required. Describes the source of the connection. - :type source: ~azure.mgmt.network.v2019_07_01.models.ConnectivitySource - :param destination: Required. Describes the destination of connection. + :param source: Required. The source of the connection. + :type source: ~azure.mgmt.network.v2020_05_01.models.ConnectivitySource + :param destination: Required. The destination of connection. :type destination: - ~azure.mgmt.network.v2019_07_01.models.ConnectivityDestination + ~azure.mgmt.network.v2020_05_01.models.ConnectivityDestination :param protocol: Network protocol. Possible values include: 'Tcp', 'Http', 'Https', 'Icmp' - :type protocol: str or ~azure.mgmt.network.v2019_07_01.models.Protocol + :type protocol: str or ~azure.mgmt.network.v2020_05_01.models.Protocol :param protocol_configuration: Configuration of the protocol. :type protocol_configuration: - ~azure.mgmt.network.v2019_07_01.models.ProtocolConfiguration + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.IPVersion """ _validation = { @@ -4199,14 +5269,16 @@ class ConnectivityParameters(Model): '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, destination, protocol=None, protocol_configuration=None, **kwargs) -> None: + def __init__(self, *, source, destination, protocol=None, protocol_configuration=None, preferred_ip_version=None, **kwargs) -> None: 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(Model): @@ -4260,36 +5332,39 @@ class ContainerNetworkInterface(SubResource): :param id: Resource ID. :type id: str - :param container_network_interface_configuration: Container network + :ivar container_network_interface_configuration: Container network interface configuration from which this container network interface is created. - :type container_network_interface_configuration: - ~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration + :vartype container_network_interface_configuration: + ~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.v2019_07_01.models.Container - :param ip_configurations: Reference to the ip configuration on this + :type container: ~azure.mgmt.network.v2020_05_01.models.Container + :ivar ip_configurations: Reference to the ip configuration on this container nic. - :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceIpConfiguration] + :vartype ip_configurations: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'container_network_interface_configuration': {'readonly': True}, + 'ip_configurations': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4303,15 +5378,15 @@ class ContainerNetworkInterface(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, container_network_interface_configuration=None, container=None, ip_configurations=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, container=None, name: str=None, **kwargs) -> None: super(ContainerNetworkInterface, self).__init__(id=id, **kwargs) - self.container_network_interface_configuration = container_network_interface_configuration + self.container_network_interface_configuration = None self.container = container - self.ip_configurations = ip_configurations + self.ip_configurations = None self.provisioning_state = None self.name = name self.type = None - self.etag = etag + self.etag = None class ContainerNetworkInterfaceConfiguration(SubResource): @@ -4325,29 +5400,30 @@ class ContainerNetworkInterfaceConfiguration(SubResource): :param ip_configurations: A list of ip configurations of the container network interface configuration. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.IPConfigurationProfile] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4360,14 +5436,14 @@ class ContainerNetworkInterfaceConfiguration(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, ip_configurations=None, container_network_interfaces=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, ip_configurations=None, container_network_interfaces=None, name: str=None, **kwargs) -> None: super(ContainerNetworkInterfaceConfiguration, self).__init__(id=id, **kwargs) self.ip_configurations = ip_configurations self.container_network_interfaces = container_network_interfaces self.provisioning_state = None self.name = name self.type = None - self.etag = etag + self.etag = None class ContainerNetworkInterfaceIpConfiguration(Model): @@ -4380,20 +5456,21 @@ class ContainerNetworkInterfaceIpConfiguration(Model): interface IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4403,12 +5480,33 @@ class ContainerNetworkInterfaceIpConfiguration(Model): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, name: str=None, **kwargs) -> None: super(ContainerNetworkInterfaceIpConfiguration, self).__init__(**kwargs) self.provisioning_state = None self.name = name self.type = None - self.etag = etag + self.etag = None + + +class CustomDnsConfigPropertiesFormat(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: str=None, ip_addresses=None, **kwargs) -> None: + super(CustomDnsConfigPropertiesFormat, self).__init__(**kwargs) + self.fqdn = fqdn + self.ip_addresses = ip_addresses class DdosCustomPolicy(Resource): @@ -4435,15 +5533,15 @@ class DdosCustomPolicy(Resource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param protocol_custom_settings: The protocol-specific DDoS policy customization parameters. :type protocol_custom_settings: - list[~azure.mgmt.network.v2019_07_01.models.ProtocolCustomSettingsFormat] + list[~azure.mgmt.network.v2020_05_01.models.ProtocolCustomSettingsFormat] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -4505,11 +5603,11 @@ class DdosProtectionPlan(Model): plan resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -4556,23 +5654,27 @@ class DdosSettings(Model): :param ddos_custom_policy: The DDoS custom policy associated with the public IP. :type ddos_custom_policy: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DdosSettingsProtectionCoverage + ~azure.mgmt.network.v2020_05_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=None, protection_coverage=None, **kwargs) -> None: + def __init__(self, *, ddos_custom_policy=None, protection_coverage=None, protected_ip: bool=None, **kwargs) -> None: 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): @@ -4586,24 +5688,25 @@ class Delegation(SubResource): :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str - :param actions: Describes the actions permitted to the service upon - delegation. - :type actions: list[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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'actions': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -4615,13 +5718,13 @@ class Delegation(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, service_name: str=None, actions=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, service_name: str=None, name: str=None, **kwargs) -> None: super(Delegation, self).__init__(id=id, **kwargs) self.service_name = service_name - self.actions = actions + self.actions = None self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class DeviceProperties(Model): @@ -4706,19 +5809,45 @@ def __init__(self, *, available: bool=None, **kwargs) -> None: self.available = available +class DnsSettings(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=None, enable_proxy: bool=None, require_proxy_for_network_rules: bool=None, **kwargs) -> None: + 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 EffectiveNetworkSecurityGroup(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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param association: Associated resources. :type association: - ~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroupAssociation + ~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroupAssociation :param effective_security_rules: A collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityRule] :param tag_map: Mapping of tags to list of IP Addresses included within the tag. :type tag_map: dict[str, list[str]] @@ -4743,10 +5872,10 @@ class EffectiveNetworkSecurityGroupAssociation(Model): """The effective network security group association. :param subnet: The ID of the subnet if assigned. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param network_interface: The ID of the network interface if assigned. :type network_interface: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -4768,7 +5897,7 @@ class EffectiveNetworkSecurityGroupListResult(Model): :param value: A list of effective network security groups. :type value: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroup] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroup] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -4797,7 +5926,7 @@ class EffectiveNetworkSecurityRule(Model): :param protocol: The network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'All' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveSecurityRuleProtocol + ~azure.mgmt.network.v2020_05_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. @@ -4830,13 +5959,13 @@ class EffectiveNetworkSecurityRule(Model): :param access: Whether network traffic is allowed or denied. Possible values include: 'Allow', 'Deny' :type access: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SecurityRuleDirection + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleDirection """ _attribute_map = { @@ -4887,11 +6016,11 @@ class EffectiveRoute(Model): :param source: Who created the route. Possible values include: 'Unknown', 'User', 'VirtualNetworkGateway', 'Default' :type source: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveRouteSource + ~azure.mgmt.network.v2020_05_01.models.EffectiveRouteSource :param state: The value of effective route. Possible values include: 'Active', 'Invalid' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.EffectiveRouteState + ~azure.mgmt.network.v2020_05_01.models.EffectiveRouteState :param address_prefix: The address prefixes of the effective routes in CIDR notation. :type address_prefix: list[str] @@ -4902,7 +6031,7 @@ class EffectiveRoute(Model): Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.RouteNextHopType + ~azure.mgmt.network.v2020_05_01.models.RouteNextHopType """ _attribute_map = { @@ -4933,7 +6062,7 @@ class EffectiveRouteListResult(Model): sending a request. :param value: A list of effective routes. - :type value: list[~azure.mgmt.network.v2019_07_01.models.EffectiveRoute] + :type value: list[~azure.mgmt.network.v2020_05_01.models.EffectiveRoute] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -4953,6 +6082,30 @@ def __init__(self, *, value=None, **kwargs) -> None: self.next_link = None +class EffectiveRoutesParameters(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: ~azure.mgmt.network.v2020_05_01.models.Resource + :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': 'Resource'}, + 'virtual_wan_resource_type': {'key': 'virtualWanResourceType', 'type': 'str'}, + } + + def __init__(self, *, resource_id=None, virtual_wan_resource_type: str=None, **kwargs) -> None: + super(EffectiveRoutesParameters, self).__init__(**kwargs) + self.resource_id = resource_id + self.virtual_wan_resource_type = virtual_wan_resource_type + + class EndpointServiceResult(SubResource): """Endpoint service. @@ -4994,7 +6147,7 @@ class Error(Model): :param target: Error target. :type target: str :param details: Error details. - :type details: list[~azure.mgmt.network.v2019_07_01.models.ErrorDetails] + :type details: list[~azure.mgmt.network.v2020_05_01.models.ErrorDetails] :param inner_error: Inner error message. :type inner_error: str """ @@ -5056,7 +6209,7 @@ class ErrorResponse(Model): """The error object. :param error: Error. The error details object. - :type error: ~azure.mgmt.network.v2019_07_01.models.ErrorDetails + :type error: ~azure.mgmt.network.v2020_05_01.models.ErrorDetails """ _attribute_map = { @@ -5092,11 +6245,11 @@ class EvaluatedNetworkSecurityGroup(Model): group is applied. :type applied_to: str :param matched_rule: Matched network security rule. - :type matched_rule: ~azure.mgmt.network.v2019_07_01.models.MatchedRule + :type matched_rule: ~azure.mgmt.network.v2020_05_01.models.MatchedRule :ivar rules_evaluation_result: List of network security rules evaluation results. :vartype rules_evaluation_result: - list[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityRulesEvaluationResult] + list[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityRulesEvaluationResult] """ _validation = { @@ -5135,7 +6288,7 @@ class ExpressRouteCircuit(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSku :param allow_classic_operations: Allow classic operations. :type allow_classic_operations: bool :param circuit_provisioning_state: The CircuitProvisioningState state of @@ -5145,38 +6298,38 @@ class ExpressRouteCircuit(Resource): ServiceProviderProvisioningState state of the resource. Possible values include: 'NotProvisioned', 'Provisioning', 'Provisioned', 'Deprovisioning' :type service_provider_provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ServiceProviderProvisioningState :param authorizations: The list of authorizations. :type authorizations: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization] :param peerings: The list of peerings. :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ExpressRouteCircuitServiceProviderProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the express route + :ivar provisioning_state: The provisioning state of the express route circuit resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param global_reach_enabled: Flag denoting Global reach status. + :param global_reach_enabled: Flag denoting global reach status. :type global_reach_enabled: bool :ivar etag: A unique read-only string that changes whenever the resource is updated. @@ -5187,6 +6340,7 @@ class ExpressRouteCircuit(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'stag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -5214,7 +6368,7 @@ class ExpressRouteCircuit(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, allow_classic_operations: bool=None, circuit_provisioning_state: str=None, service_provider_provisioning_state=None, authorizations=None, peerings=None, service_key: str=None, service_provider_notes: str=None, service_provider_properties=None, express_route_port=None, bandwidth_in_gbps: float=None, provisioning_state=None, gateway_manager_etag: str=None, global_reach_enabled: bool=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, allow_classic_operations: bool=None, circuit_provisioning_state: str=None, service_provider_provisioning_state=None, authorizations=None, peerings=None, service_key: str=None, service_provider_notes: str=None, service_provider_properties=None, express_route_port=None, bandwidth_in_gbps: float=None, gateway_manager_etag: str=None, global_reach_enabled: bool=None, **kwargs) -> None: super(ExpressRouteCircuit, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.allow_classic_operations = allow_classic_operations @@ -5228,7 +6382,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, all self.express_route_port = express_route_port self.bandwidth_in_gbps = bandwidth_in_gbps self.stag = None - self.provisioning_state = provisioning_state + self.provisioning_state = None self.gateway_manager_etag = gateway_manager_etag self.global_reach_enabled = global_reach_enabled self.etag = None @@ -5275,12 +6429,12 @@ class ExpressRouteCircuitAuthorization(SubResource): :param authorization_use_status: The authorization use status. Possible values include: 'Available', 'InUse' :type authorization_use_status: str or - ~azure.mgmt.network.v2019_07_01.models.AuthorizationUseStatus - :param provisioning_state: The provisioning state of the authorization + ~azure.mgmt.network.v2020_05_01.models.AuthorizationUseStatus + :ivar provisioning_state: The provisioning state of the authorization resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -5292,6 +6446,7 @@ class ExpressRouteCircuitAuthorization(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -5306,11 +6461,11 @@ class ExpressRouteCircuitAuthorization(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, authorization_key: str=None, authorization_use_status=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, authorization_key: str=None, authorization_use_status=None, name: str=None, **kwargs) -> None: super(ExpressRouteCircuitAuthorization, self).__init__(id=id, **kwargs) self.authorization_key = authorization_key self.authorization_use_status = authorization_use_status - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name self.etag = None self.type = None @@ -5327,25 +6482,29 @@ class ExpressRouteCircuitConnection(SubResource): :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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.Ipv6CircuitConnectionConfig :param circuit_connection_status: Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected' :type circuit_connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -5368,6 +6527,7 @@ class ExpressRouteCircuitConnection(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'}, 'name': {'key': 'name', 'type': 'str'}, @@ -5375,12 +6535,13 @@ class ExpressRouteCircuitConnection(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, express_route_circuit_peering=None, peer_express_route_circuit_peering=None, address_prefix: str=None, authorization_key: str=None, circuit_connection_status=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, express_route_circuit_peering=None, peer_express_route_circuit_peering=None, address_prefix: str=None, authorization_key: str=None, ipv6_circuit_connection_config=None, circuit_connection_status=None, name: str=None, **kwargs) -> None: super(ExpressRouteCircuitConnection, self).__init__(id=id, **kwargs) 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 = circuit_connection_status self.provisioning_state = None self.name = name @@ -5399,11 +6560,11 @@ class ExpressRouteCircuitPeering(SubResource): :param peering_type: The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering' :type peering_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringType + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringState :param azure_asn: The Azure ASN. :type azure_asn: int :param peer_asn: The peer ASN. @@ -5422,35 +6583,35 @@ class ExpressRouteCircuitPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringConfig :param stats: The peering stats of express route circuit. :type stats: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitStats - :param provisioning_state: The provisioning state of the express route + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitStats + :ivar provisioning_state: The provisioning state of the express route circuit peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param last_modified_by: Who was the last to modify the peering. - :type last_modified_by: str - :param route_filter: The reference of the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2019_07_01.models.SubResource + :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.v2020_05_01.models.SubResource :param ipv6_peering_config: The IPv6 peering configuration. :type ipv6_peering_config: - ~azure.mgmt.network.v2019_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.Ipv6ExpressRouteCircuitPeeringConfig :param express_route_connection: The ExpressRoute connection. :type express_route_connection: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnectionId + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnectionId :param connections: The list of circuit connections associated with Azure Private Peering for this circuit. :type connections: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PeerExpressRouteCircuitConnection] + list[~azure.mgmt.network.v2020_05_01.models.PeerExpressRouteCircuitConnection] :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 @@ -5463,6 +6624,8 @@ class ExpressRouteCircuitPeering(SubResource): _validation = { 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, 'peered_connections': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, @@ -5495,7 +6658,7 @@ class ExpressRouteCircuitPeering(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, peering_type=None, state=None, azure_asn: int=None, peer_asn: int=None, primary_peer_address_prefix: str=None, secondary_peer_address_prefix: str=None, primary_azure_port: str=None, secondary_azure_port: str=None, shared_key: str=None, vlan_id: int=None, microsoft_peering_config=None, stats=None, provisioning_state=None, gateway_manager_etag: str=None, last_modified_by: str=None, route_filter=None, ipv6_peering_config=None, express_route_connection=None, connections=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, peering_type=None, state=None, azure_asn: int=None, peer_asn: int=None, primary_peer_address_prefix: str=None, secondary_peer_address_prefix: str=None, primary_azure_port: str=None, secondary_azure_port: str=None, shared_key: str=None, vlan_id: int=None, microsoft_peering_config=None, stats=None, gateway_manager_etag: str=None, route_filter=None, ipv6_peering_config=None, express_route_connection=None, connections=None, name: str=None, **kwargs) -> None: super(ExpressRouteCircuitPeering, self).__init__(id=id, **kwargs) self.peering_type = peering_type self.state = state @@ -5509,9 +6672,9 @@ def __init__(self, *, id: str=None, peering_type=None, state=None, azure_asn: in self.vlan_id = vlan_id self.microsoft_peering_config = microsoft_peering_config self.stats = stats - self.provisioning_state = provisioning_state + self.provisioning_state = None self.gateway_manager_etag = gateway_manager_etag - self.last_modified_by = last_modified_by + self.last_modified_by = None self.route_filter = route_filter self.ipv6_peering_config = ipv6_peering_config self.express_route_connection = express_route_connection @@ -5525,17 +6688,20 @@ def __init__(self, *, id: str=None, peering_type=None, state=None, azure_asn: in class ExpressRouteCircuitPeeringConfig(Model): """Specifies the peering configuration. - :param advertised_public_prefixes: The reference of + 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] - :param advertised_public_prefixes_state: The advertised public prefix - state of the Peering resource. Possible values include: 'NotConfigured', + :ivar advertised_public_prefixes_state: The advertised public prefix state + of the Peering resource. Possible values include: 'NotConfigured', 'Configuring', 'Configured', 'ValidationNeeded' - :type advertised_public_prefixes_state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState + :vartype advertised_public_prefixes_state: str or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState :param legacy_mode: The legacy mode of the peering. :type legacy_mode: int :param customer_asn: The CustomerASN of the peering. @@ -5545,6 +6711,10 @@ class ExpressRouteCircuitPeeringConfig(Model): :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]'}, @@ -5554,11 +6724,11 @@ class ExpressRouteCircuitPeeringConfig(Model): 'routing_registry_name': {'key': 'routingRegistryName', 'type': 'str'}, } - def __init__(self, *, advertised_public_prefixes=None, advertised_communities=None, advertised_public_prefixes_state=None, legacy_mode: int=None, customer_asn: int=None, routing_registry_name: str=None, **kwargs) -> None: + def __init__(self, *, advertised_public_prefixes=None, advertised_communities=None, legacy_mode: int=None, customer_asn: int=None, routing_registry_name: str=None, **kwargs) -> None: super(ExpressRouteCircuitPeeringConfig, self).__init__(**kwargs) self.advertised_public_prefixes = advertised_public_prefixes self.advertised_communities = advertised_communities - self.advertised_public_prefixes_state = advertised_public_prefixes_state + self.advertised_public_prefixes_state = None self.legacy_mode = legacy_mode self.customer_asn = customer_asn self.routing_registry_name = routing_registry_name @@ -5668,7 +6838,7 @@ class ExpressRouteCircuitsArpTableListResult(Model): :param value: A list of the ARP tables. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitArpTable] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitArpTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5716,11 +6886,11 @@ class ExpressRouteCircuitSku(Model): :param tier: The tier of the SKU. Possible values include: 'Standard', 'Premium', 'Basic', 'Local' :type tier: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSkuTier + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSkuTier :param family: The family of the SKU. Possible values include: 'UnlimitedData', 'MeteredData' :type family: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitSkuFamily + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitSkuFamily """ _attribute_map = { @@ -5742,7 +6912,7 @@ class ExpressRouteCircuitsRoutesTableListResult(Model): :param value: The list of routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitRoutesTable] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitRoutesTable] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5764,7 +6934,7 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult(Model): :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitRoutesTableSummary] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitRoutesTableSummary] :param next_link: The URL to get the next set of results. :type next_link: str """ @@ -5811,28 +6981,38 @@ def __init__(self, *, primarybytes_in: int=None, primarybytes_out: int=None, sec 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 provisioning_state: The provisioning state of the express route + :ivar provisioning_state: The provisioning state of the express route connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_circuit_peering: Required. The ExpressRoute circuit peering. :type express_route_circuit_peering: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringId + ~azure.mgmt.network.v2020_05_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 routing_configuration: The Routing Configuration indicating the + associated and propagated route tables on this connection. + :type routing_configuration: + ~azure.mgmt.network.v2020_05_01.models.RoutingConfiguration :param name: Required. The name of the resource. :type name: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'express_route_circuit_peering': {'required': True}, 'name': {'required': True}, } @@ -5843,15 +7023,19 @@ class ExpressRouteConnection(SubResource): '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'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, 'name': {'key': 'name', 'type': 'str'}, } - def __init__(self, *, express_route_circuit_peering, name: str, id: str=None, provisioning_state=None, authorization_key: str=None, routing_weight: int=None, **kwargs) -> None: + def __init__(self, *, express_route_circuit_peering, name: str, id: str=None, authorization_key: str=None, routing_weight: int=None, enable_internet_security: bool=None, routing_configuration=None, **kwargs) -> None: super(ExpressRouteConnection, self).__init__(id=id, **kwargs) - self.provisioning_state = provisioning_state + 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.routing_configuration = routing_configuration self.name = name @@ -5883,7 +7067,7 @@ class ExpressRouteConnectionList(Model): :param value: The list of ExpressRoute connections. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection] """ _attribute_map = { @@ -5923,12 +7107,12 @@ class ExpressRouteCrossConnection(Resource): :type bandwidth_in_mbps: int :param express_route_circuit: The ExpressRouteCircuit. :type express_route_circuit: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitReference + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ServiceProviderProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ServiceProviderProvisioningState :param service_provider_notes: Additional read only notes set by the connectivity provider. :type service_provider_notes: str @@ -5936,10 +7120,10 @@ class ExpressRouteCrossConnection(Resource): cross connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param peerings: The list of peerings. :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -6000,11 +7184,11 @@ class ExpressRouteCrossConnectionPeering(SubResource): :param peering_type: The peering type. Possible values include: 'AzurePublicPeering', 'AzurePrivatePeering', 'MicrosoftPeering' :type peering_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringType + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringType :param state: The peering state. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePeeringState :ivar azure_asn: The Azure ASN. :vartype azure_asn: int :param peer_asn: The peer ASN. @@ -6023,19 +7207,19 @@ class ExpressRouteCrossConnectionPeering(SubResource): :type vlan_id: int :param microsoft_peering_config: The Microsoft peering configuration. :type microsoft_peering_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param gateway_manager_etag: The GatewayManager Etag. :type gateway_manager_etag: str - :param last_modified_by: Who was the last to modify the peering. - :type last_modified_by: 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.v2019_07_01.models.Ipv6ExpressRouteCircuitPeeringConfig + ~azure.mgmt.network.v2020_05_01.models.Ipv6ExpressRouteCircuitPeeringConfig :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 @@ -6050,6 +7234,7 @@ class ExpressRouteCrossConnectionPeering(SubResource): 'primary_azure_port': {'readonly': True}, 'secondary_azure_port': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'last_modified_by': {'readonly': True}, 'etag': {'readonly': True}, } @@ -6074,7 +7259,7 @@ class ExpressRouteCrossConnectionPeering(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, peering_type=None, state=None, peer_asn: int=None, primary_peer_address_prefix: str=None, secondary_peer_address_prefix: str=None, shared_key: str=None, vlan_id: int=None, microsoft_peering_config=None, gateway_manager_etag: str=None, last_modified_by: str=None, ipv6_peering_config=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, peering_type=None, state=None, peer_asn: int=None, primary_peer_address_prefix: str=None, secondary_peer_address_prefix: str=None, shared_key: str=None, vlan_id: int=None, microsoft_peering_config=None, gateway_manager_etag: str=None, ipv6_peering_config=None, name: str=None, **kwargs) -> None: super(ExpressRouteCrossConnectionPeering, self).__init__(id=id, **kwargs) self.peering_type = peering_type self.state = state @@ -6089,7 +7274,7 @@ def __init__(self, *, id: str=None, peering_type=None, state=None, peer_asn: int self.microsoft_peering_config = microsoft_peering_config self.provisioning_state = None self.gateway_manager_etag = gateway_manager_etag - self.last_modified_by = last_modified_by + self.last_modified_by = None self.ipv6_peering_config = ipv6_peering_config self.name = name self.etag = None @@ -6135,7 +7320,7 @@ class ExpressRouteCrossConnectionsRoutesTableSummaryListResult(Model): :param value: A list of the routes table. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionRoutesTableSummary] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionRoutesTableSummary] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -6175,19 +7360,19 @@ class ExpressRouteGateway(Resource): :type tags: dict[str, str] :param auto_scale_configuration: Configuration for auto scaling. :type auto_scale_configuration: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayPropertiesAutoScaleConfiguration :ivar express_route_connections: List of ExpressRoute connections to the ExpressRoute gateway. :vartype express_route_connections: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection] - :param provisioning_state: The provisioning state of the express route + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection] + :ivar provisioning_state: The provisioning state of the express route gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param virtual_hub: Required. The Virtual Hub where the ExpressRoute gateway is or will be deployed. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.VirtualHubId + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.VirtualHubId :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -6197,6 +7382,7 @@ class ExpressRouteGateway(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'express_route_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'virtual_hub': {'required': True}, 'etag': {'readonly': True}, } @@ -6214,11 +7400,11 @@ class ExpressRouteGateway(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, virtual_hub, id: str=None, location: str=None, tags=None, auto_scale_configuration=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, virtual_hub, id: str=None, location: str=None, tags=None, auto_scale_configuration=None, **kwargs) -> None: super(ExpressRouteGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) self.auto_scale_configuration = auto_scale_configuration self.express_route_connections = None - self.provisioning_state = provisioning_state + self.provisioning_state = None self.virtual_hub = virtual_hub self.etag = None @@ -6228,7 +7414,7 @@ class ExpressRouteGatewayList(Model): :param value: List of ExpressRoute gateways. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway] + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway] """ _attribute_map = { @@ -6245,7 +7431,7 @@ class ExpressRouteGatewayPropertiesAutoScaleConfiguration(Model): :param bounds: Minimum and maximum number of scale units to deploy. :type bounds: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds """ _attribute_map = { @@ -6300,19 +7486,19 @@ class ExpressRouteLink(SubResource): :ivar connector_type: Physical fiber port type. Possible values include: 'LC', 'SC' :vartype connector_type: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkConnectorType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ExpressRouteLinkAdminState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param mac_sec_config: MacSec configuration. :type mac_sec_config: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkMacSecConfig + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecConfig :param name: Name of child port resource that is unique among child port resources of the parent. :type name: str @@ -6373,7 +7559,7 @@ class ExpressRouteLinkMacSecConfig(Model): :param cipher: Mac security cipher. Possible values include: 'gcm-aes-128', 'gcm-aes-256' :type cipher: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkMacSecCipher + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkMacSecCipher """ _attribute_map = { @@ -6420,7 +7606,7 @@ class ExpressRoutePort(Resource): :param encapsulation: Encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ' :type encapsulation: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsEncapsulation + ~azure.mgmt.network.v2020_05_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 @@ -6428,25 +7614,25 @@ class ExpressRoutePort(Resource): :vartype allocation_date: str :param links: ExpressRouteLink Sub-Resources. The set of physical links of the ExpressRoutePort resource. - :type links: list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteLink] + :type links: list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteLink] :ivar circuits: Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. :vartype circuits: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :param resource_guid: The resource GUID property of the express route port + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar resource_guid: The resource GUID property of the express route port resource. - :type resource_guid: str + :vartype resource_guid: 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.v2019_07_01.models.ManagedServiceIdentity + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity """ _validation = { @@ -6458,6 +7644,7 @@ class ExpressRoutePort(Resource): 'allocation_date': {'readonly': True}, 'circuits': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'etag': {'readonly': True}, } @@ -6482,7 +7669,7 @@ class ExpressRoutePort(Resource): 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, peering_location: str=None, bandwidth_in_gbps: int=None, encapsulation=None, links=None, resource_guid: str=None, identity=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, peering_location: str=None, bandwidth_in_gbps: int=None, encapsulation=None, links=None, identity=None, **kwargs) -> None: super(ExpressRoutePort, self).__init__(id=id, location=location, tags=tags, **kwargs) self.peering_location = peering_location self.bandwidth_in_gbps = bandwidth_in_gbps @@ -6494,7 +7681,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, peering_locat self.links = links self.circuits = None self.provisioning_state = None - self.resource_guid = resource_guid + self.resource_guid = None self.etag = None self.identity = identity @@ -6524,12 +7711,12 @@ class ExpressRoutePortsLocation(Resource): :param available_bandwidths: The inventory of available ExpressRoutePort bandwidths. :type available_bandwidths: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsLocationBandwidths] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { @@ -6610,17 +7797,18 @@ class ExpressRouteServiceProvider(Resource): :type peering_locations: list[str] :param bandwidths_offered: A list of bandwidths offered. :type bandwidths_offered: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteServiceProviderBandwidthsOffered] - :param provisioning_state: The provisioning state of the express route + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteServiceProviderBandwidthsOffered] + :ivar provisioning_state: The provisioning state of the express route service provider resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -6634,11 +7822,11 @@ class ExpressRouteServiceProvider(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, peering_locations=None, bandwidths_offered=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, peering_locations=None, bandwidths_offered=None, **kwargs) -> None: super(ExpressRouteServiceProvider, self).__init__(id=id, location=location, tags=tags, **kwargs) self.peering_locations = peering_locations self.bandwidths_offered = bandwidths_offered - self.provisioning_state = provisioning_state + self.provisioning_state = None class ExpressRouteServiceProviderBandwidthsOffered(Model): @@ -6677,37 +7865,54 @@ class FirewallPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :ivar rule_groups: List of references to FirewallPolicyRuleGroups. - :vartype rule_groups: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param provisioning_state: The provisioning state of the firewall policy + :ivar rule_collection_groups: List of references to + FirewallPolicyRuleCollectionGroups. + :vartype rule_collection_groups: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar provisioning_state: The provisioning state of the firewall policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param base_policy: The parent firewall policy from which rules are inherited. - :type base_policy: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type base_policy: ~azure.mgmt.network.v2020_05_01.models.SubResource :ivar firewalls: List of references to Azure Firewalls that this Firewall Policy is associated with. :vartype firewalls: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar child_policies: List of references to Child Firewall Policies. :vartype child_policies: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AzureFirewallThreatIntelMode + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallThreatIntelMode + :param threat_intel_whitelist: ThreatIntel Whitelist for Firewall Policy. + :type threat_intel_whitelist: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyThreatIntelWhitelist + :param intrusion_system_mode: The operation mode for Intrusion system. + Possible values include: 'Enabled', 'Disabled' + :type intrusion_system_mode: str or + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyIntrusionSystemMode + :param transport_security: TLS Configuration definition. + :type transport_security: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyTransportSecurity + :param dns_settings: DNS Proxy Settings definition. + :type dns_settings: ~azure.mgmt.network.v2020_05_01.models.DnsSettings :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.v2020_05_01.models.ManagedServiceIdentity """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'rule_groups': {'readonly': True}, + 'rule_collection_groups': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'firewalls': {'readonly': True}, 'child_policies': {'readonly': True}, 'etag': {'readonly': True}, @@ -6719,110 +7924,141 @@ class FirewallPolicy(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, - 'rule_groups': {'key': 'properties.ruleGroups', 'type': '[SubResource]'}, + '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'}, + 'intrusion_system_mode': {'key': 'properties.intrusionSystemMode', 'type': 'str'}, + 'transport_security': {'key': 'properties.transportSecurity', 'type': 'FirewallPolicyTransportSecurity'}, + 'dns_settings': {'key': 'properties.dnsSettings', 'type': 'DnsSettings'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, provisioning_state=None, base_policy=None, threat_intel_mode=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, base_policy=None, threat_intel_mode=None, threat_intel_whitelist=None, intrusion_system_mode=None, transport_security=None, dns_settings=None, identity=None, **kwargs) -> None: super(FirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.rule_groups = None - self.provisioning_state = provisioning_state + 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.intrusion_system_mode = intrusion_system_mode + self.transport_security = transport_security + self.dns_settings = dns_settings self.etag = None + self.identity = identity -class FirewallPolicyRule(Model): - """Properties of the rule. +class FirewallPolicyCertificateAuthority(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': 'properties.keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, *, key_vault_secret_id: str=None, name: str=None, **kwargs) -> None: + super(FirewallPolicyCertificateAuthority, self).__init__(**kwargs) + self.key_vault_secret_id = key_vault_secret_id + self.name = name + + +class FirewallPolicyRuleCollection(Model): + """Properties of the rule collection. You probably want to use the sub-classes and not this class directly. Known - sub-classes are: FirewallPolicyNatRule, FirewallPolicyFilterRule + sub-classes are: FirewallPolicyNatRuleCollection, + FirewallPolicyFilterRuleCollection All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, } _subtype_map = { - 'rule_type': {'FirewallPolicyNatRule': 'FirewallPolicyNatRule', 'FirewallPolicyFilterRule': 'FirewallPolicyFilterRule'} + 'rule_collection_type': {'FirewallPolicyNatRuleCollection': 'FirewallPolicyNatRuleCollection', 'FirewallPolicyFilterRuleCollection': 'FirewallPolicyFilterRuleCollection'} } def __init__(self, *, name: str=None, priority: int=None, **kwargs) -> None: - super(FirewallPolicyRule, self).__init__(**kwargs) + super(FirewallPolicyRuleCollection, self).__init__(**kwargs) self.name = name self.priority = priority - self.rule_type = None + self.rule_collection_type = None -class FirewallPolicyFilterRule(FirewallPolicyRule): - """Firewall Policy Filter Rule. +class FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy Filter Rule Collection. All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str - :param action: The action type of a Filter rule. + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str + :param action: The action type of a Filter rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyFilterRuleAction - :param rule_conditions: Collection of rule conditions used by a rule. - :type rule_conditions: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleCondition] + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyFilterRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRule] """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleAction'}, - 'rule_conditions': {'key': 'ruleConditions', 'type': '[FirewallPolicyRuleCondition]'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyFilterRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, } - def __init__(self, *, name: str=None, priority: int=None, action=None, rule_conditions=None, **kwargs) -> None: - super(FirewallPolicyFilterRule, self).__init__(name=name, priority=priority, **kwargs) + def __init__(self, *, name: str=None, priority: int=None, action=None, rules=None, **kwargs) -> None: + super(FirewallPolicyFilterRuleCollection, self).__init__(name=name, priority=priority, **kwargs) self.action = action - self.rule_conditions = rule_conditions - self.rule_type = 'FirewallPolicyFilterRule' + self.rules = rules + self.rule_collection_type = 'FirewallPolicyFilterRuleCollection' -class FirewallPolicyFilterRuleAction(Model): - """Properties of the FirewallPolicyFilterRuleAction. +class FirewallPolicyFilterRuleCollectionAction(Model): + """Properties of the FirewallPolicyFilterRuleCollectionAction. - :param type: The type of action. Possible values include: 'Allow', 'Deny', - 'Alert ' + :param type: The type of action. Possible values include: 'Allow', 'Deny' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyFilterRuleActionType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyFilterRuleCollectionActionType """ _attribute_map = { @@ -6830,63 +8066,55 @@ class FirewallPolicyFilterRuleAction(Model): } def __init__(self, *, type=None, **kwargs) -> None: - super(FirewallPolicyFilterRuleAction, self).__init__(**kwargs) + super(FirewallPolicyFilterRuleCollectionAction, self).__init__(**kwargs) self.type = type -class FirewallPolicyNatRule(FirewallPolicyRule): - """Firewall Policy NAT Rule. +class FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollection): + """Firewall Policy NAT Rule Collection. All required parameters must be populated in order to send to Azure. - :param name: The name of the rule. + :param name: The name of the rule collection. :type name: str - :param priority: Priority of the Firewall Policy Rule resource. + :param priority: Priority of the Firewall Policy Rule Collection resource. :type priority: int - :param rule_type: Required. Constant filled by server. - :type rule_type: str - :param action: The action type of a Nat rule. + :param rule_collection_type: Required. Constant filled by server. + :type rule_collection_type: str + :param action: The action type of a Nat rule collection. :type action: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyNatRuleAction - :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 rule_condition: The match conditions for incoming traffic. - :type rule_condition: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleCondition + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyNatRuleCollectionAction + :param rules: List of rules included in a rule collection. + :type rules: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRule] """ _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, - 'rule_type': {'required': True}, + 'rule_collection_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'priority': {'key': 'priority', 'type': 'int'}, - 'rule_type': {'key': 'ruleType', 'type': 'str'}, - 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleAction'}, - 'translated_address': {'key': 'translatedAddress', 'type': 'str'}, - 'translated_port': {'key': 'translatedPort', 'type': 'str'}, - 'rule_condition': {'key': 'ruleCondition', 'type': 'FirewallPolicyRuleCondition'}, + 'rule_collection_type': {'key': 'ruleCollectionType', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'FirewallPolicyNatRuleCollectionAction'}, + 'rules': {'key': 'rules', 'type': '[FirewallPolicyRule]'}, } - def __init__(self, *, name: str=None, priority: int=None, action=None, translated_address: str=None, translated_port: str=None, rule_condition=None, **kwargs) -> None: - super(FirewallPolicyNatRule, self).__init__(name=name, priority=priority, **kwargs) + def __init__(self, *, name: str=None, priority: int=None, action=None, rules=None, **kwargs) -> None: + super(FirewallPolicyNatRuleCollection, self).__init__(name=name, priority=priority, **kwargs) self.action = action - self.translated_address = translated_address - self.translated_port = translated_port - self.rule_condition = rule_condition - self.rule_type = 'FirewallPolicyNatRule' + self.rules = rules + self.rule_collection_type = 'FirewallPolicyNatRuleCollection' -class FirewallPolicyNatRuleAction(Model): - """Properties of the FirewallPolicyNatRuleAction. +class FirewallPolicyNatRuleCollectionAction(Model): + """Properties of the FirewallPolicyNatRuleCollectionAction. - :param type: The type of action. Possible values include: 'DNAT', 'SNAT' + :param type: The type of action. Possible values include: 'DNAT' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyNatRuleActionType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyNatRuleCollectionActionType """ _attribute_map = { @@ -6894,17 +8122,17 @@ class FirewallPolicyNatRuleAction(Model): } def __init__(self, *, type=None, **kwargs) -> None: - super(FirewallPolicyNatRuleAction, self).__init__(**kwargs) + super(FirewallPolicyNatRuleCollectionAction, self).__init__(**kwargs) self.type = type -class FirewallPolicyRuleConditionApplicationProtocol(Model): +class FirewallPolicyRuleApplicationProtocol(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.v2019_07_01.models.FirewallPolicyRuleConditionApplicationProtocolType + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleApplicationProtocolType :param port: Port number for the protocol, cannot be greater than 64000. :type port: int """ @@ -6919,29 +8147,30 @@ class FirewallPolicyRuleConditionApplicationProtocol(Model): } def __init__(self, *, protocol_type=None, port: int=None, **kwargs) -> None: - super(FirewallPolicyRuleConditionApplicationProtocol, self).__init__(**kwargs) + super(FirewallPolicyRuleApplicationProtocol, self).__init__(**kwargs) self.protocol_type = protocol_type self.port = port -class FirewallPolicyRuleGroup(SubResource): - """Rule Group resource. +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 priority: Priority of the Firewall Policy Rule Group resource. + :param priority: Priority of the Firewall Policy Rule Collection Group + resource. :type priority: int - :param rules: Group of Firewall Policy rules. - :type rules: - list[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRule] - :param provisioning_state: The provisioning state of the firewall policy - rule group resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :param rule_collections: Group of Firewall Policy rule collections. + :type rule_collections: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState :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 @@ -6954,6 +8183,7 @@ class FirewallPolicyRuleGroup(SubResource): _validation = { 'priority': {'maximum': 65000, 'minimum': 100}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -6961,49 +8191,208 @@ class FirewallPolicyRuleGroup(SubResource): _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'priority': {'key': 'properties.priority', 'type': 'int'}, - 'rules': {'key': 'properties.rules', 'type': '[FirewallPolicyRule]'}, + 'rule_collections': {'key': 'properties.ruleCollections', 'type': '[FirewallPolicyRuleCollection]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, priority: int=None, rules=None, provisioning_state=None, name: str=None, **kwargs) -> None: - super(FirewallPolicyRuleGroup, self).__init__(id=id, **kwargs) + def __init__(self, *, id: str=None, priority: int=None, rule_collections=None, name: str=None, **kwargs) -> None: + super(FirewallPolicyRuleCollectionGroup, self).__init__(id=id, **kwargs) self.priority = priority - self.rules = rules - self.provisioning_state = provisioning_state + self.rule_collections = rule_collections + self.provisioning_state = None self.name = name self.etag = None self.type = None -class FlowLogFormatParameters(Model): - """Parameters that define the flow log format. +class FirewallPolicyThreatIntelWhitelist(Model): + """ThreatIntel Whitelist for Firewall Policy. - :param type: The file type of flow log. Possible values include: 'JSON' - :type type: str or - ~azure.mgmt.network.v2019_07_01.models.FlowLogFormatType - :param version: The version (revision) of the flow log. Default value: 0 . - :type version: int + :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 = { - 'type': {'key': 'type', 'type': 'str'}, - 'version': {'key': 'version', 'type': 'int'}, + 'ip_addresses': {'key': 'ipAddresses', 'type': '[str]'}, + 'fqdns': {'key': 'fqdns', 'type': '[str]'}, } - def __init__(self, *, type=None, version: int=0, **kwargs) -> None: - super(FlowLogFormatParameters, self).__init__(**kwargs) - self.type = type - self.version = version + def __init__(self, *, ip_addresses=None, fqdns=None, **kwargs) -> None: + super(FirewallPolicyThreatIntelWhitelist, self).__init__(**kwargs) + self.ip_addresses = ip_addresses + self.fqdns = fqdns -class FlowLogInformation(Model): - """Information on the configuration of flow log and traffic analytics - (optional) . +class FirewallPolicyTransportSecurity(Model): + """Configuration needed to perform TLS termination & initiation. + + :param certificate_authority: The CA used for intermediate CA generation. + :type certificate_authority: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyCertificateAuthority + :param excluded_domains: List of domains which are excluded from TLS + termination. + :type excluded_domains: list[str] + :param trusted_root_certificates: Certificates which are to be trusted by + the firewall. + :type trusted_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyTrustedRootCertificate] + """ + + _attribute_map = { + 'certificate_authority': {'key': 'certificateAuthority', 'type': 'FirewallPolicyCertificateAuthority'}, + 'excluded_domains': {'key': 'excludedDomains', 'type': '[str]'}, + 'trusted_root_certificates': {'key': 'trustedRootCertificates', 'type': '[FirewallPolicyTrustedRootCertificate]'}, + } + + def __init__(self, *, certificate_authority=None, excluded_domains=None, trusted_root_certificates=None, **kwargs) -> None: + super(FirewallPolicyTransportSecurity, self).__init__(**kwargs) + self.certificate_authority = certificate_authority + self.excluded_domains = excluded_domains + self.trusted_root_certificates = trusted_root_certificates + + +class FirewallPolicyTrustedRootCertificate(Model): + """Trusted Root certificates of a firewall policy. + + :param key_vault_secret_id: Secret Id of (base-64 encoded unencrypted pfx) + the public certificate data stored in KeyVault. + :type key_vault_secret_id: str + :param name: Name of the trusted root certificate that is unique within a + firewall policy. + :type name: str + """ + + _attribute_map = { + 'key_vault_secret_id': {'key': 'properties.keyVaultSecretId', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, *, key_vault_secret_id: str=None, name: str=None, **kwargs) -> None: + super(FirewallPolicyTrustedRootCertificate, self).__init__(**kwargs) + self.key_vault_secret_id = key_vault_secret_id + self.name = name + + +class FlowLog(Resource): + """A flow log 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 + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param target_resource_id: Required. 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: Required. 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.v2020_05_01.models.RetentionPolicyParameters + :param format: Parameters that define the flow log format. + :type format: + ~azure.mgmt.network.v2020_05_01.models.FlowLogFormatParameters + :param flow_analytics_configuration: Parameters that define the + configuration of traffic analytics. + :type flow_analytics_configuration: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'target_resource_id': {'required': True}, + 'target_resource_guid': {'readonly': True}, + 'storage_id': {'required': True}, + 'provisioning_state': {'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}'}, + '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'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, target_resource_id: str, storage_id: str, id: str=None, location: str=None, tags=None, enabled: bool=None, retention_policy=None, format=None, flow_analytics_configuration=None, **kwargs) -> None: + super(FlowLog, self).__init__(id=id, location=location, tags=tags, **kwargs) + 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 + self.etag = None + + +class FlowLogFormatParameters(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.v2020_05_01.models.FlowLogFormatType + :param version: The version (revision) of the flow log. Default value: 0 . + :type version: int + """ + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'version': {'key': 'version', 'type': 'int'}, + } + + def __init__(self, *, type=None, version: int=0, **kwargs) -> None: + super(FlowLogFormatParameters, self).__init__(**kwargs) + self.type = type + self.version = version - All required parameters must be populated in order to send to Azure. + +class FlowLogInformation(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) . @@ -7016,14 +8405,14 @@ class FlowLogInformation(Model): :param retention_policy: Parameters that define the retention policy for flow log. :type retention_policy: - ~azure.mgmt.network.v2019_07_01.models.RetentionPolicyParameters + ~azure.mgmt.network.v2020_05_01.models.RetentionPolicyParameters :param format: Parameters that define the flow log format. :type format: - ~azure.mgmt.network.v2019_07_01.models.FlowLogFormatParameters + ~azure.mgmt.network.v2020_05_01.models.FlowLogFormatParameters :param flow_analytics_configuration: Parameters that define the configuration of traffic analytics. :type flow_analytics_configuration: - ~azure.mgmt.network.v2019_07_01.models.TrafficAnalyticsProperties + ~azure.mgmt.network.v2020_05_01.models.TrafficAnalyticsProperties """ _validation = { @@ -7086,49 +8475,49 @@ class FrontendIPConfiguration(SubResource): :ivar inbound_nat_rules: An array of references to inbound rules that use this frontend IP. :vartype inbound_nat_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet - :param public_ip_address: The reference of the Public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPVersion + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the Public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress - :param public_ip_prefix: The reference of the Public IP Prefix resource. - :type public_ip_prefix: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the frontend IP + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress + :param public_ip_prefix: The reference to the Public IP Prefix resource. + :type public_ip_prefix: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the frontend IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str :param zones: A list of availability zones denoting the IP allocated for @@ -7141,6 +8530,8 @@ class FrontendIPConfiguration(SubResource): 'inbound_nat_pools': {'readonly': True}, 'outbound_rules': {'readonly': True}, 'load_balancing_rules': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7163,7 +8554,7 @@ class FrontendIPConfiguration(SubResource): 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, private_ip_address_version=None, subnet=None, public_ip_address=None, public_ip_prefix=None, provisioning_state=None, name: str=None, etag: str=None, zones=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, private_ip_address_version=None, subnet=None, public_ip_address=None, public_ip_prefix=None, name: str=None, zones=None, **kwargs) -> None: super(FrontendIPConfiguration, self).__init__(id=id, **kwargs) self.inbound_nat_rules = None self.inbound_nat_pools = None @@ -7175,9 +8566,9 @@ def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_all self.subnet = subnet self.public_ip_address = public_ip_address self.public_ip_prefix = public_ip_prefix - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None self.zones = zones @@ -7239,7 +8630,7 @@ class GatewayRouteListResult(Model): """List of virtual network gateway routes. :param value: List of gateway routes. - :type value: list[~azure.mgmt.network.v2019_07_01.models.GatewayRoute] + :type value: list[~azure.mgmt.network.v2020_05_01.models.GatewayRoute] """ _attribute_map = { @@ -7279,13 +8670,72 @@ def __init__(self, *, output_blob_sas_url: str, vpn_sites=None, **kwargs) -> Non self.output_blob_sas_url = output_blob_sas_url +class HopLink(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 round_trip_time_min: Minimum roundtrip time in milliseconds. + :vartype round_trip_time_min: int + :ivar round_trip_time_avg: Average roundtrip time in milliseconds. + :vartype round_trip_time_avg: int + :ivar round_trip_time_max: Maximum roundtrip time in milliseconds. + :vartype round_trip_time_max: int + :ivar issues: List of issues. + :vartype issues: + list[~azure.mgmt.network.v2020_05_01.models.ConnectivityIssue] + :ivar context: Provides additional context on the issue. + :vartype context: list[dict[str, str]] + :ivar resource_id: Resource ID. + :vartype resource_id: str + """ + + _validation = { + 'next_hop_id': {'readonly': True}, + 'link_type': {'readonly': True}, + 'round_trip_time_min': {'readonly': True}, + 'round_trip_time_avg': {'readonly': True}, + 'round_trip_time_max': {'readonly': True}, + 'issues': {'readonly': True}, + 'context': {'readonly': True}, + 'resource_id': {'readonly': True}, + } + + _attribute_map = { + 'next_hop_id': {'key': 'nextHopId', 'type': 'str'}, + 'link_type': {'key': 'linkType', 'type': 'str'}, + 'round_trip_time_min': {'key': 'properties.roundTripTimeMin', 'type': 'int'}, + 'round_trip_time_avg': {'key': 'properties.roundTripTimeAvg', 'type': 'int'}, + 'round_trip_time_max': {'key': 'properties.roundTripTimeMax', 'type': 'int'}, + 'issues': {'key': 'issues', 'type': '[ConnectivityIssue]'}, + 'context': {'key': 'context', 'type': '[{str}]'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(HopLink, self).__init__(**kwargs) + self.next_hop_id = None + self.link_type = None + self.round_trip_time_min = None + self.round_trip_time_avg = None + self.round_trip_time_max = None + self.issues = None + self.context = None + self.resource_id = None + + class HTTPConfiguration(Model): """HTTP configuration of the connectivity check. :param method: HTTP method. Possible values include: 'Get' - :type method: str or ~azure.mgmt.network.v2019_07_01.models.HTTPMethod + :type method: str or ~azure.mgmt.network.v2020_05_01.models.HTTPMethod :param headers: List of HTTP headers. - :type headers: list[~azure.mgmt.network.v2019_07_01.models.HTTPHeader] + :type headers: list[~azure.mgmt.network.v2020_05_01.models.HTTPHeader] :param valid_status_codes: Valid status codes. :type valid_status_codes: list[int] """ @@ -7304,7 +8754,7 @@ def __init__(self, *, method=None, headers=None, valid_status_codes=None, **kwar class HTTPHeader(Model): - """Describes the HTTP header. + """The HTTP header. :param name: The name in HTTP header. :type name: str @@ -7326,113 +8776,315 @@ def __init__(self, *, name: str=None, value: str=None, **kwargs) -> None: class HubIPAddresses(Model): """IP addresses associated with azure firewall. - :param public_ip_addresses: List of Public IP addresses associated with - azure firewall. - :type public_ip_addresses: - list[~azure.mgmt.network.v2019_07_01.models.AzureFirewallPublicIPAddress] + :param public_ips: Public IP addresses associated with azure firewall. + :type public_ips: + ~azure.mgmt.network.v2020_05_01.models.HubPublicIPAddresses :param private_ip_address: Private IP Address associated with azure firewall. :type private_ip_address: str """ _attribute_map = { - 'public_ip_addresses': {'key': 'publicIPAddresses', 'type': '[AzureFirewallPublicIPAddress]'}, + 'public_ips': {'key': 'publicIPs', 'type': 'HubPublicIPAddresses'}, 'private_ip_address': {'key': 'privateIPAddress', 'type': 'str'}, } - def __init__(self, *, public_ip_addresses=None, private_ip_address: str=None, **kwargs) -> None: + def __init__(self, *, public_ips=None, private_ip_address: str=None, **kwargs) -> None: super(HubIPAddresses, self).__init__(**kwargs) - self.public_ip_addresses = public_ip_addresses + self.public_ips = public_ips self.private_ip_address = private_ip_address -class HubVirtualNetworkConnection(SubResource): - """HubVirtualNetworkConnection Resource. +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 remote_virtual_network: Reference to the remote virtual network. - :type remote_virtual_network: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param allow_hub_to_remote_vnet_transit: 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: 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 provisioning_state: The provisioning state of the hub virtual - network connection resource. Possible values include: 'Succeeded', - 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param name: The name of the resource that is unique within a resource - group. This name can be used to access the resource. + :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.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. + :type public_ip_address: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', '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'}, + '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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, remote_virtual_network=None, allow_hub_to_remote_vnet_transit: bool=None, allow_remote_vnet_to_use_hub_vnet_gateways: bool=None, enable_internet_security: bool=None, provisioning_state=None, name: str=None, **kwargs) -> None: - super(HubVirtualNetworkConnection, self).__init__(id=id, **kwargs) - 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.provisioning_state = provisioning_state + def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name: str=None, **kwargs) -> None: + super(HubIpConfiguration, self).__init__(id=id, **kwargs) + 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 self.name = name self.etag = None + self.type = None -class InboundNatPool(SubResource): - """Inbound NAT pool of the load balancer. +class HubPublicIPAddresses(Model): + """Public IP addresses associated with azure firewall. - Variables are only populated by the server, and will be ignored when - sending a request. + :param addresses: The number of Public IP addresses associated with azure + firewall. + :type addresses: + list[~azure.mgmt.network.v2020_05_01.models.AzureFirewallPublicIPAddress] + :param count: Private IP Address associated with azure firewall. + :type count: int + """ + + _attribute_map = { + 'addresses': {'key': 'addresses', 'type': '[AzureFirewallPublicIPAddress]'}, + 'count': {'key': 'count', 'type': 'int'}, + } + + def __init__(self, *, addresses=None, count: int=None, **kwargs) -> None: + super(HubPublicIPAddresses, self).__init__(**kwargs) + self.addresses = addresses + self.count = count + + +class HubRoute(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, next_hop_type: str, next_hop: str, **kwargs) -> None: + 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 frontend_ip_configuration: A reference to frontend IP addresses. - :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param protocol: Required. 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.v2019_07_01.models.TransportProtocol - :param frontend_port_range_start: Required. 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: Required. 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: Required. The port used for internal connections on - the endpoint. Acceptable values are between 1 and 65535. + :param routes: List of all routes. + :type routes: list[~azure.mgmt.network.v2020_05_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[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar propagating_connections: List of all connections that advertise to + this route table. + :vartype propagating_connections: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'associated_connections': {'readonly': True}, + 'propagating_connections': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[HubRoute]'}, + 'labels': {'key': 'properties.labels', 'type': '[str]'}, + 'associated_connections': {'key': 'properties.associatedConnections', 'type': '[SubResource]'}, + 'propagating_connections': {'key': 'properties.propagatingConnections', 'type': '[SubResource]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, routes=None, labels=None, name: str=None, **kwargs) -> None: + super(HubRouteTable, self).__init__(id=id, **kwargs) + self.routes = routes + self.labels = labels + self.associated_connections = None + self.propagating_connections = None + self.provisioning_state = None + self.name = name + self.etag = None + self.type = 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 remote_virtual_network: Reference to the remote virtual network. + :type remote_virtual_network: + ~azure.mgmt.network.v2020_05_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.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', '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'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, remote_virtual_network=None, allow_hub_to_remote_vnet_transit: bool=None, allow_remote_vnet_to_use_hub_vnet_gateways: bool=None, enable_internet_security: bool=None, routing_configuration=None, name: str=None, **kwargs) -> None: + super(HubVirtualNetworkConnection, self).__init__(id=id, **kwargs) + 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 + self.name = name + self.etag = 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. + + All required parameters must be populated in order to send to Azure. + + :param id: Resource ID. + :type id: str + :param frontend_ip_configuration: A reference to frontend IP addresses. + :type frontend_ip_configuration: + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param protocol: Required. 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.v2020_05_01.models.TransportProtocol + :param frontend_port_range_start: Required. 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: Required. 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: Required. 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 @@ -7448,18 +9100,18 @@ class InboundNatPool(SubResource): timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool - :param provisioning_state: The provisioning state of the inbound NAT pool + :ivar provisioning_state: The provisioning state of the inbound NAT pool resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -7469,6 +9121,8 @@ class InboundNatPool(SubResource): 'frontend_port_range_start': {'required': True}, 'frontend_port_range_end': {'required': True}, 'backend_port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7488,7 +9142,7 @@ class InboundNatPool(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, protocol, frontend_port_range_start: int, frontend_port_range_end: int, backend_port: int, id: str=None, frontend_ip_configuration=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, protocol, frontend_port_range_start: int, frontend_port_range_end: int, backend_port: int, id: str=None, frontend_ip_configuration=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, name: str=None, **kwargs) -> None: super(InboundNatPool, self).__init__(id=id, **kwargs) self.frontend_ip_configuration = frontend_ip_configuration self.protocol = protocol @@ -7498,9 +9152,9 @@ def __init__(self, *, protocol, frontend_port_range_start: int, frontend_port_ra 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 = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None @@ -7514,16 +9168,16 @@ class InboundNatRule(SubResource): :type id: str :param frontend_ip_configuration: A reference to frontend IP addresses. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TransportProtocol + ~azure.mgmt.network.v2020_05_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. @@ -7545,24 +9199,26 @@ class InboundNatRule(SubResource): timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. :type enable_tcp_reset: bool - :param provisioning_state: The provisioning state of the inbound NAT rule + :ivar provisioning_state: The provisioning state of the inbound NAT rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ _validation = { 'backend_ip_configuration': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -7582,7 +9238,7 @@ class InboundNatRule(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=None, frontend_port: int=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=None, frontend_port: int=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, name: str=None, **kwargs) -> None: super(InboundNatRule, self).__init__(id=id, **kwargs) self.frontend_ip_configuration = frontend_ip_configuration self.backend_ip_configuration = None @@ -7592,9 +9248,9 @@ def __init__(self, *, id: str=None, frontend_ip_configuration=None, protocol=Non 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 = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None @@ -7619,9 +9275,94 @@ def __init__(self, *, available: bool=None, available_ip_addresses=None, **kwarg self.available_ip_addresses = available_ip_addresses +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: Resource tags. + :type tags: dict[str, str] + :ivar subnet: The Subnet that using the prefix of this IpAllocation + resource. + :vartype subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar virtual_network: The VirtualNetwork that using the prefix of this + IpAllocation resource. + :vartype virtual_network: + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param ip_allocation_type: The type for the IpAllocation. Possible values + include: 'Undefined', 'Hypernet' + :type ip_allocation_type: str or + ~azure.mgmt.network.v2020_05_01.models.IpAllocationType + :param prefix: The address prefix for the IpAllocation. + :type prefix: str + :param prefix_length: The address prefix length for the IpAllocation. + Default value: 0 . + :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.v2020_05_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] + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'subnet': {'readonly': True}, + 'virtual_network': {'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}'}, + 'subnet': {'key': 'properties.subnet', 'type': 'SubResource'}, + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'SubResource'}, + 'ip_allocation_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}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, ip_allocation_type=None, prefix: str=None, prefix_length: int=0, prefix_type=None, ipam_allocation_id: str=None, allocation_tags=None, **kwargs) -> None: + super(IpAllocation, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.subnet = None + self.virtual_network = None + self.ip_allocation_type = ip_allocation_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 + self.etag = 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 private_ip_address: The private IP address of the IP configuration. @@ -7629,25 +9370,30 @@ class IPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet - :param public_ip_address: The reference of the public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet + :param public_ip_address: The reference to the public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress - :param provisioning_state: The provisioning state of the IP configuration + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress + :ivar provisioning_state: The provisioning state of the IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'private_ip_address': {'key': 'properties.privateIPAddress', 'type': 'str'}, @@ -7659,15 +9405,55 @@ class IPConfiguration(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name: str=None, **kwargs) -> None: super(IPConfiguration, self).__init__(id=id, **kwargs) 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 = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None + + +class IPConfigurationBgpPeeringAddress(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: str=None, custom_bgp_ip_addresses=None, **kwargs) -> None: + 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): @@ -7678,27 +9464,28 @@ class IPConfigurationProfile(SubResource): :param id: Resource ID. :type id: str - :param subnet: The reference of the subnet resource to create a container + :param subnet: The reference to the subnet resource to create a container network interface ip configuration. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -7710,13 +9497,73 @@ class IPConfigurationProfile(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, subnet=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, subnet=None, name: str=None, **kwargs) -> None: super(IPConfigurationProfile, self).__init__(id=id, **kwargs) self.subnet = subnet self.provisioning_state = None self.name = name self.type = None - self.etag = etag + self.etag = 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: Resource tags. + :type tags: dict[str, 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.v2020_05_01.models.ProvisioningState + :param ip_addresses: IpAddresses/IpAddressPrefixes in the IpGroups + resource. + :type ip_addresses: list[str] + :ivar firewalls: List of references to Azure resources that this IpGroups + is associated with. + :vartype firewalls: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'firewalls': {'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}'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'ip_addresses': {'key': 'properties.ipAddresses', 'type': '[str]'}, + 'firewalls': {'key': 'properties.firewalls', 'type': '[SubResource]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, ip_addresses=None, **kwargs) -> None: + super(IpGroup, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.provisioning_state = None + self.ip_addresses = ip_addresses + self.firewalls = None + self.etag = None class IpsecPolicy(Model): @@ -7736,30 +9583,30 @@ class IpsecPolicy(Model): phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256' :type ipsec_encryption: str or - ~azure.mgmt.network.v2019_07_01.models.IpsecEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_05_01.models.PfsGroup """ _validation = { @@ -7817,22 +9664,52 @@ def __init__(self, *, ip_tag_type: str=None, tag: str=None, **kwargs) -> None: self.tag = tag -class Ipv6ExpressRouteCircuitPeeringConfig(Model): - """Contains IPv6 peering config. +class Ipv6CircuitConnectionConfig(Model): + """IPv6 Circuit Connection properties for global reach. - :param primary_peer_address_prefix: The primary address prefix. - :type primary_peer_address_prefix: str - :param secondary_peer_address_prefix: The secondary address prefix. + 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.v2020_05_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: str=None, **kwargs) -> None: + super(Ipv6CircuitConnectionConfig, self).__init__(**kwargs) + self.address_prefix = address_prefix + self.circuit_connection_status = None + + +class Ipv6ExpressRouteCircuitPeeringConfig(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.v2019_07_01.models.ExpressRouteCircuitPeeringConfig - :param route_filter: The reference of the RouteFilter resource. - :type route_filter: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringConfig + :param route_filter: The reference to the RouteFilter resource. + :type route_filter: ~azure.mgmt.network.v2020_05_01.models.SubResource :param state: The state of peering. Possible values include: 'Disabled', 'Enabled' :type state: str or - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringState + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringState """ _attribute_map = { @@ -7869,21 +9746,21 @@ class LoadBalancer(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The load balancer SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.LoadBalancerSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.LoadBalancerSku :param frontend_ip_configurations: Object representing the frontend IPs to be used for the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.LoadBalancingRule] + list[~azure.mgmt.network.v2020_05_01.models.LoadBalancingRule] :param probes: Collection of probe objects used in the load balancer. - :type probes: list[~azure.mgmt.network.v2019_07_01.models.Probe] + :type probes: list[~azure.mgmt.network.v2020_05_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 @@ -7891,7 +9768,7 @@ class LoadBalancer(Resource): 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.v2019_07_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_05_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 @@ -7901,26 +9778,29 @@ class LoadBalancer(Resource): 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.v2019_07_01.models.InboundNatPool] + list[~azure.mgmt.network.v2020_05_01.models.InboundNatPool] :param outbound_rules: The outbound rules. :type outbound_rules: - list[~azure.mgmt.network.v2019_07_01.models.OutboundRule] - :param resource_guid: The resource GUID property of the load balancer + list[~azure.mgmt.network.v2020_05_01.models.OutboundRule] + :ivar resource_guid: The resource GUID property of the load balancer resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the load balancer + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the load balancer resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -7942,7 +9822,7 @@ class LoadBalancer(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, frontend_ip_configurations=None, backend_address_pools=None, load_balancing_rules=None, probes=None, inbound_nat_rules=None, inbound_nat_pools=None, outbound_rules=None, resource_guid: str=None, provisioning_state=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, frontend_ip_configurations=None, backend_address_pools=None, load_balancing_rules=None, probes=None, inbound_nat_rules=None, inbound_nat_pools=None, outbound_rules=None, **kwargs) -> None: super(LoadBalancer, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.frontend_ip_configurations = frontend_ip_configurations @@ -7952,9 +9832,40 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, fro self.inbound_nat_rules = inbound_nat_rules self.inbound_nat_pools = inbound_nat_pools self.outbound_rules = outbound_rules - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state - self.etag = etag + self.resource_guid = None + self.provisioning_state = None + self.etag = None + + +class LoadBalancerBackendAddress(Model): + """Load balancer backend addresses. + + :param virtual_network: Reference to an existing virtual network. + :type virtual_network: + ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork + :param ip_address: IP Address belonging to the referenced virtual network. + :type ip_address: str + :param network_interface_ip_configuration: Reference to IP address defined + in network interfaces. + :type network_interface_ip_configuration: + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration + :param name: Name of the backend address. + :type name: str + """ + + _attribute_map = { + 'virtual_network': {'key': 'properties.virtualNetwork', 'type': 'VirtualNetwork'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'network_interface_ip_configuration': {'key': 'properties.networkInterfaceIPConfiguration', 'type': 'NetworkInterfaceIPConfiguration'}, + 'name': {'key': 'name', 'type': 'str'}, + } + + def __init__(self, *, virtual_network=None, ip_address: str=None, network_interface_ip_configuration=None, name: str=None, **kwargs) -> None: + super(LoadBalancerBackendAddress, self).__init__(**kwargs) + self.virtual_network = virtual_network + self.ip_address = ip_address + self.network_interface_ip_configuration = network_interface_ip_configuration + self.name = name class LoadBalancerSku(Model): @@ -7963,7 +9874,7 @@ class LoadBalancerSku(Model): :param name: Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerSkuName + ~azure.mgmt.network.v2020_05_01.models.LoadBalancerSkuName """ _attribute_map = { @@ -7987,22 +9898,22 @@ class LoadBalancingRule(SubResource): :type id: str :param frontend_ip_configuration: A reference to frontend IP addresses. :type frontend_ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource - :param probe: The reference of the load balancer probe used by the load + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param probe: The reference to the load balancer probe used by the load balancing rule. - :type probe: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type probe: ~azure.mgmt.network.v2020_05_01.models.SubResource :param protocol: Required. 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.v2019_07_01.models.TransportProtocol + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.LoadDistribution + ~azure.mgmt.network.v2020_05_01.models.LoadDistribution :param frontend_port: Required. 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". @@ -8029,18 +9940,18 @@ class LoadBalancingRule(SubResource): pool to use the publicIP address specified in the frontend of the load balancing rule. :type disable_outbound_snat: bool - :param provisioning_state: The provisioning state of the load balancing + :ivar provisioning_state: The provisioning state of the load balancing rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -8048,6 +9959,8 @@ class LoadBalancingRule(SubResource): _validation = { 'protocol': {'required': True}, 'frontend_port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -8070,7 +9983,7 @@ class LoadBalancingRule(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, protocol, frontend_port: int, id: str=None, frontend_ip_configuration=None, backend_address_pool=None, probe=None, load_distribution=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, disable_outbound_snat: bool=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, protocol, frontend_port: int, id: str=None, frontend_ip_configuration=None, backend_address_pool=None, probe=None, load_distribution=None, backend_port: int=None, idle_timeout_in_minutes: int=None, enable_floating_ip: bool=None, enable_tcp_reset: bool=None, disable_outbound_snat: bool=None, name: str=None, **kwargs) -> None: super(LoadBalancingRule, self).__init__(id=id, **kwargs) self.frontend_ip_configuration = frontend_ip_configuration self.backend_address_pool = backend_address_pool @@ -8083,9 +9996,9 @@ def __init__(self, *, protocol, frontend_port: int, id: str=None, frontend_ip_co self.enable_floating_ip = enable_floating_ip self.enable_tcp_reset = enable_tcp_reset self.disable_outbound_snat = disable_outbound_snat - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None @@ -8107,28 +10020,32 @@ class LocalNetworkGateway(Resource): :type tags: dict[str, str] :param local_network_address_space: Local network site address space. :type local_network_address_space: - ~azure.mgmt.network.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.BgpSettings - :param resource_guid: The resource GUID property of the local network + :type bgp_settings: ~azure.mgmt.network.v2020_05_01.models.BgpSettings + :ivar resource_guid: The resource GUID property of the local network gateway resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8139,20 +10056,22 @@ class LocalNetworkGateway(Resource): 'tags': {'key': 'tags', '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, local_network_address_space=None, gateway_ip_address: str=None, bgp_settings=None, resource_guid: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, local_network_address_space=None, gateway_ip_address: str=None, fqdn: str=None, bgp_settings=None, **kwargs) -> None: super(LocalNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) 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 = resource_guid + self.resource_guid = None self.provisioning_state = None - self.etag = etag + self.etag = None class LogSpecification(Model): @@ -8179,6 +10098,125 @@ def __init__(self, *, name: str=None, display_name: str=None, blob_duration: str self.blob_duration = blob_duration +class ManagedRuleGroupOverride(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.v2020_05_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=None, **kwargs) -> None: + super(ManagedRuleGroupOverride, self).__init__(**kwargs) + self.rule_group_name = rule_group_name + self.rules = rules + + +class ManagedRuleOverride(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.v2020_05_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=None, **kwargs) -> None: + super(ManagedRuleOverride, self).__init__(**kwargs) + self.rule_id = rule_id + self.state = state + + +class ManagedRulesDefinition(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.v2020_05_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.v2020_05_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, exclusions=None, **kwargs) -> None: + super(ManagedRulesDefinition, self).__init__(**kwargs) + self.exclusions = exclusions + self.managed_rule_sets = managed_rule_sets + + +class ManagedRuleSet(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.v2020_05_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=None, **kwargs) -> None: + 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(Model): """Identity for the resource. @@ -8197,13 +10235,13 @@ class ManagedServiceIdentity(Model): remove any identities from the virtual machine. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.ResourceIdentityType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentityUserAssignedIdentitiesValue] """ _validation = { @@ -8261,19 +10299,20 @@ class MatchCondition(Model): :param match_variables: Required. List of match variables. :type match_variables: - list[~azure.mgmt.network.v2019_07_01.models.MatchVariable] - :param operator: Required. Describes operator to be matched. Possible - values include: 'IPMatch', 'Equal', 'Contains', 'LessThan', 'GreaterThan', - 'LessThanOrEqual', 'GreaterThanOrEqual', 'BeginsWith', 'EndsWith', 'Regex' + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.WebApplicationFirewallOperator - :param negation_conditon: Describes if this is negate condition or not. + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.WebApplicationFirewallTransform] + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallTransform] """ _validation = { @@ -8329,8 +10368,8 @@ class MatchVariable(Model): 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies' :type variable_name: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallMatchVariable - :param selector: Describes field of the matchVariable collection. + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallMatchVariable + :param selector: The selector of match variable. :type selector: str """ @@ -8364,7 +10403,7 @@ class MetricSpecification(Model): :type aggregation_type: str :param availabilities: List of availability. :type availabilities: - list[~azure.mgmt.network.v2019_07_01.models.Availability] + list[~azure.mgmt.network.v2020_05_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. @@ -8372,7 +10411,7 @@ class MetricSpecification(Model): :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.v2019_07_01.models.Dimension] + :type dimensions: list[~azure.mgmt.network.v2020_05_01.models.Dimension] :param is_internal: Whether the metric is internal. :type is_internal: bool :param source_mdm_account: The source MDM account. @@ -8436,40 +10475,43 @@ class NatGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The nat gateway SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.NatGatewaySku + :type sku: ~azure.mgmt.network.v2020_05_01.models.NatGatewaySku :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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar subnets: An array of references to the subnets using this nat gateway resource. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param resource_guid: The resource GUID property of the NAT gateway + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar resource_guid: The resource GUID property of the NAT gateway resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the NAT gateway + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the NAT gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param zones: A list of availability zones denoting the zone in which Nat Gateway should be deployed. :type zones: list[str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'subnets': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8489,17 +10531,17 @@ class NatGateway(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, idle_timeout_in_minutes: int=None, public_ip_addresses=None, public_ip_prefixes=None, resource_guid: str=None, provisioning_state=None, zones=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, idle_timeout_in_minutes: int=None, public_ip_addresses=None, public_ip_prefixes=None, zones=None, **kwargs) -> None: super(NatGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku 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 = resource_guid - self.provisioning_state = provisioning_state + self.resource_guid = None + self.provisioning_state = None self.zones = zones - self.etag = etag + self.etag = None class NatGatewaySku(Model): @@ -8507,7 +10549,7 @@ class NatGatewaySku(Model): :param name: Name of Nat Gateway SKU. Possible values include: 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.NatGatewaySkuName + ~azure.mgmt.network.v2020_05_01.models.NatGatewaySkuName """ _attribute_map = { @@ -8519,6 +10561,64 @@ def __init__(self, *, name=None, **kwargs) -> None: 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. Constant filled by server. + :type rule_type: str + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. + :type ip_protocols: list[str or + ~azure.mgmt.network.v2020_05_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] + """ + + _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]'}, + } + + def __init__(self, *, name: str=None, description: str=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, translated_address: str=None, translated_port: str=None, source_ip_groups=None, **kwargs) -> None: + super(NatRule, self).__init__(name=name, description=description, **kwargs) + 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.rule_type = 'NatRule' + + class NetworkConfigurationDiagnosticParameters(Model): """Parameters to get network configuration diagnostic. @@ -8531,11 +10631,11 @@ class NetworkConfigurationDiagnosticParameters(Model): :param verbosity_level: Verbosity level. Possible values include: 'Normal', 'Minimum', 'Full' :type verbosity_level: str or - ~azure.mgmt.network.v2019_07_01.models.VerbosityLevel + ~azure.mgmt.network.v2020_05_01.models.VerbosityLevel :param profiles: Required. List of network configuration diagnostic profiles. :type profiles: - list[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticProfile] + list[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticProfile] """ _validation = { @@ -8563,7 +10663,7 @@ class NetworkConfigurationDiagnosticProfile(Model): :param direction: Required. The direction of the traffic. Possible values include: 'Inbound', 'Outbound' - :type direction: str or ~azure.mgmt.network.v2019_07_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_05_01.models.Direction :param protocol: Required. Protocol to be verified on. Accepted values are '*', TCP, UDP. :type protocol: str @@ -8574,8 +10674,7 @@ class NetworkConfigurationDiagnosticProfile(Model): '*', IP Address/CIDR, Service Tag. :type destination: str :param destination_port: Required. Traffic destination port. Accepted - values are '*', port (for example, 3389) and port range (for example, - 80-100). + values are '*' and a single port in the range (0 - 65535). :type destination_port: str """ @@ -8612,7 +10711,7 @@ class NetworkConfigurationDiagnosticResponse(Model): :ivar results: List of network configuration diagnostic results. :vartype results: - list[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticResult] + list[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticResult] """ _validation = { @@ -8634,10 +10733,10 @@ class NetworkConfigurationDiagnosticResult(Model): :param profile: Network configuration diagnostic profile. :type profile: - ~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticProfile + ~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticProfile :param network_security_group_result: Network security group result. :type network_security_group_result: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroupResult + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroupResult """ _attribute_map = { @@ -8667,14 +10766,15 @@ class NetworkIntentPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8686,9 +10786,9 @@ class NetworkIntentPolicy(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, **kwargs) -> None: super(NetworkIntentPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.etag = etag + self.etag = None class NetworkIntentPolicyConfiguration(Model): @@ -8700,7 +10800,7 @@ class NetworkIntentPolicyConfiguration(Model): :type network_intent_policy_name: str :param source_network_intent_policy: Source network intent policy. :type source_network_intent_policy: - ~azure.mgmt.network.v2019_07_01.models.NetworkIntentPolicy + ~azure.mgmt.network.v2020_05_01.models.NetworkIntentPolicy """ _attribute_map = { @@ -8730,33 +10830,33 @@ class NetworkInterface(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :ivar virtual_machine: The reference of a virtual machine. + :ivar virtual_machine: The reference to a virtual machine. :vartype virtual_machine: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param network_security_group: The reference of the NetworkSecurityGroup + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param network_security_group: The reference to the NetworkSecurityGroup resource. :type network_security_group: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateEndpoint + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint :param ip_configurations: A list of IPConfigurations of the network interface. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] - :param tap_configurations: A list of TapConfigurations of the network + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] + :ivar tap_configurations: A list of TapConfigurations of the network interface. - :type tap_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration] + :vartype tap_configurations: + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] :param dns_settings: The DNS settings in network interface. :type dns_settings: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceDnsSettings - :param mac_address: The MAC address of the network interface. - :type mac_address: str - :param primary: Whether this is a primary network interface on a virtual + ~azure.mgmt.network.v2020_05_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. - :type primary: bool + :vartype primary: bool :param enable_accelerated_networking: If the network interface is accelerated networking enabled. :type enable_accelerated_networking: bool @@ -8766,17 +10866,17 @@ class NetworkInterface(Resource): :ivar hosted_workloads: A list of references to linked BareMetal resources. :vartype hosted_workloads: list[str] - :param resource_guid: The resource GUID property of the network interface + :ivar resource_guid: The resource GUID property of the network interface resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the network interface + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -8784,7 +10884,13 @@ class NetworkInterface(Resource): 'type': {'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}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8809,22 +10915,22 @@ class NetworkInterface(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, network_security_group=None, ip_configurations=None, tap_configurations=None, dns_settings=None, mac_address: str=None, primary: bool=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, resource_guid: str=None, provisioning_state=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, network_security_group=None, ip_configurations=None, dns_settings=None, enable_accelerated_networking: bool=None, enable_ip_forwarding: bool=None, **kwargs) -> None: super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) self.virtual_machine = None self.network_security_group = network_security_group self.private_endpoint = None self.ip_configurations = ip_configurations - self.tap_configurations = tap_configurations + self.tap_configurations = None self.dns_settings = dns_settings - self.mac_address = mac_address - self.primary = primary + 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.resource_guid = resource_guid - self.provisioning_state = provisioning_state - self.etag = etag + self.resource_guid = None + self.provisioning_state = None + self.etag = None class NetworkInterfaceAssociation(Model): @@ -8837,7 +10943,7 @@ class NetworkInterfaceAssociation(Model): :vartype id: str :param security_rules: Collection of custom security rules. :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] """ _validation = { @@ -8858,29 +10964,38 @@ def __init__(self, *, security_rules=None, **kwargs) -> None: class NetworkInterfaceDnsSettings(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] - :param applied_dns_servers: If the VM that uses this NIC is part of an + :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. - :type applied_dns_servers: list[str] + :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 - :param internal_fqdn: Fully qualified DNS name supporting internal + :ivar internal_fqdn: Fully qualified DNS name supporting internal communications between VMs in the same virtual network. - :type internal_fqdn: str - :param internal_domain_name_suffix: Even if internalDnsNameLabel is not + :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. - :type internal_domain_name_suffix: str + :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]'}, @@ -8889,13 +11004,13 @@ class NetworkInterfaceDnsSettings(Model): 'internal_domain_name_suffix': {'key': 'internalDomainNameSuffix', 'type': 'str'}, } - def __init__(self, *, dns_servers=None, applied_dns_servers=None, internal_dns_name_label: str=None, internal_fqdn: str=None, internal_domain_name_suffix: str=None, **kwargs) -> None: + def __init__(self, *, dns_servers=None, internal_dns_name_label: str=None, **kwargs) -> None: super(NetworkInterfaceDnsSettings, self).__init__(**kwargs) self.dns_servers = dns_servers - self.applied_dns_servers = applied_dns_servers + self.applied_dns_servers = None self.internal_dns_name_label = internal_dns_name_label - self.internal_fqdn = internal_fqdn - self.internal_domain_name_suffix = internal_domain_name_suffix + self.internal_fqdn = None + self.internal_domain_name_suffix = None class NetworkInterfaceIPConfiguration(SubResource): @@ -8908,60 +11023,62 @@ class NetworkInterfaceIPConfiguration(SubResource): :type id: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] - :param application_gateway_backend_address_pools: The reference of + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap] + :param application_gateway_backend_address_pools: The reference to ApplicationGatewayBackendAddressPool resource. :type application_gateway_backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendAddressPool] - :param load_balancer_backend_address_pools: The reference of + list[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendAddressPool] + :param load_balancer_backend_address_pools: The reference to LoadBalancerBackendAddressPool resource. :type load_balancer_backend_address_pools: - list[~azure.mgmt.network.v2019_07_01.models.BackendAddressPool] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.InboundNatRule] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :param subnet: Subnet bound to the IP configuration. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PublicIPAddress + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ApplicationSecurityGroup] - :param provisioning_state: The provisioning state of the network interface + list[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup] + :ivar provisioning_state: The provisioning state of the network interface IP configuration. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar private_link_connection_properties: PrivateLinkConnection properties for the network interface. :vartype private_link_connection_properties: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'provisioning_state': {'readonly': True}, 'private_link_connection_properties': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -8983,7 +11100,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, virtual_network_taps=None, application_gateway_backend_address_pools=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_rules=None, private_ip_address: str=None, private_ip_allocation_method=None, private_ip_address_version=None, subnet=None, primary: bool=None, public_ip_address=None, application_security_groups=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, virtual_network_taps=None, application_gateway_backend_address_pools=None, load_balancer_backend_address_pools=None, load_balancer_inbound_nat_rules=None, private_ip_address: str=None, private_ip_allocation_method=None, private_ip_address_version=None, subnet=None, primary: bool=None, public_ip_address=None, application_security_groups=None, name: str=None, **kwargs) -> None: super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) self.virtual_network_taps = virtual_network_taps self.application_gateway_backend_address_pools = application_gateway_backend_address_pools @@ -8996,10 +11113,10 @@ def __init__(self, *, id: str=None, virtual_network_taps=None, application_gatew self.primary = primary self.public_ip_address = public_ip_address self.application_security_groups = application_security_groups - self.provisioning_state = provisioning_state + self.provisioning_state = None self.private_link_connection_properties = None self.name = name - self.etag = etag + self.etag = None class NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(Model): @@ -9044,27 +11161,28 @@ class NetworkInterfaceTapConfiguration(SubResource): :param id: Resource ID. :type id: str - :param virtual_network_tap: The reference of the Virtual Network Tap + :param virtual_network_tap: The reference to the Virtual Network Tap resource. :type virtual_network_tap: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Sub Resource type. :vartype type: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -9077,12 +11195,12 @@ class NetworkInterfaceTapConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, virtual_network_tap=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, virtual_network_tap=None, name: str=None, **kwargs) -> None: super(NetworkInterfaceTapConfiguration, self).__init__(id=id, **kwargs) self.virtual_network_tap = virtual_network_tap self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None @@ -9102,14 +11220,14 @@ class NetworkProfile(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param container_network_interfaces: List of child container network + :ivar container_network_interfaces: List of child container network interfaces. - :type container_network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterface] + :vartype container_network_interfaces: + list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterface] :param container_network_interface_configurations: List of chid container network interface configurations. :type container_network_interface_configurations: - list[~azure.mgmt.network.v2019_07_01.models.ContainerNetworkInterfaceConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.ContainerNetworkInterfaceConfiguration] :ivar resource_guid: The resource GUID property of the network profile resource. :vartype resource_guid: str @@ -9117,17 +11235,19 @@ class NetworkProfile(Resource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'container_network_interfaces': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -9143,29 +11263,29 @@ class NetworkProfile(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, container_network_interfaces=None, container_network_interface_configurations=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, container_network_interface_configurations=None, **kwargs) -> None: super(NetworkProfile, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.container_network_interfaces = container_network_interfaces + self.container_network_interfaces = None self.container_network_interface_configurations = container_network_interface_configurations self.resource_guid = None self.provisioning_state = None - self.etag = etag + self.etag = None -class NetworkRuleCondition(FirewallPolicyRuleCondition): - """Rule condition of type network. +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 condition. + :param name: Name of the rule. :type name: str - :param description: Description of the rule condition. + :param description: Description of the rule. :type description: str - :param rule_condition_type: Required. Constant filled by server. - :type rule_condition_type: str - :param ip_protocols: Array of FirewallPolicyRuleConditionNetworkProtocols. + :param rule_type: Required. Constant filled by server. + :type rule_type: str + :param ip_protocols: Array of FirewallPolicyRuleNetworkProtocols. :type ip_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleConditionNetworkProtocol] + ~azure.mgmt.network.v2020_05_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 @@ -9173,29 +11293,41 @@ class NetworkRuleCondition(FirewallPolicyRuleCondition): :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_condition_type': {'required': True}, + 'rule_type': {'required': True}, } _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'rule_condition_type': {'key': 'ruleConditionType', '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: str=None, description: str=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, **kwargs) -> None: - super(NetworkRuleCondition, self).__init__(name=name, description=description, **kwargs) + def __init__(self, *, name: str=None, description: str=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, source_ip_groups=None, destination_ip_groups=None, destination_fqdns=None, **kwargs) -> None: + super(NetworkRule, self).__init__(name=name, description=description, **kwargs) self.ip_protocols = ip_protocols self.source_addresses = source_addresses self.destination_addresses = destination_addresses self.destination_ports = destination_ports - self.rule_condition_type = 'NetworkRuleCondition' + self.source_ip_groups = source_ip_groups + self.destination_ip_groups = destination_ip_groups + self.destination_fqdns = destination_fqdns + self.rule_type = 'NetworkRule' class NetworkSecurityGroup(Resource): @@ -9217,35 +11349,42 @@ class NetworkSecurityGroup(Resource): :param security_rules: A collection of security rules of the network security group. :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] - :param default_security_rules: The default security rules of network + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] + :ivar default_security_rules: The default security rules of network security group. - :type default_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + :vartype default_security_rules: + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] :ivar network_interfaces: A collection of references to network interfaces. :vartype network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] - :param resource_guid: The resource GUID property of the network security + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] + :ivar flow_logs: A collection of references to flow log resources. + :vartype flow_logs: list[~azure.mgmt.network.v2020_05_01.models.FlowLog] + :ivar resource_guid: The resource GUID property of the network security group resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the network security + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the network security group resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'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}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -9258,20 +11397,22 @@ class NetworkSecurityGroup(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, security_rules=None, default_security_rules=None, resource_guid: str=None, provisioning_state=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, security_rules=None, **kwargs) -> None: super(NetworkSecurityGroup, self).__init__(id=id, location=location, tags=tags, **kwargs) self.security_rules = security_rules - self.default_security_rules = default_security_rules + self.default_security_rules = None self.network_interfaces = None self.subnets = None - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state - self.etag = etag + self.flow_logs = None + self.resource_guid = None + self.provisioning_state = None + self.etag = None class NetworkSecurityGroupResult(Model): @@ -9284,11 +11425,11 @@ class NetworkSecurityGroupResult(Model): :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.v2019_07_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleAccess :ivar evaluated_network_security_groups: List of results network security groups diagnostic. :vartype evaluated_network_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.EvaluatedNetworkSecurityGroup] + list[~azure.mgmt.network.v2020_05_01.models.EvaluatedNetworkSecurityGroup] """ _validation = { @@ -9345,6 +11486,191 @@ def __init__(self, *, name: str=None, protocol_matched: bool=None, source_matche 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: Resource tags. + :type tags: dict[str, 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.v2020_05_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.v2020_05_01.models.VirtualApplianceNicProperties] + :ivar virtual_appliance_sites: List of references to VirtualApplianceSite. + :vartype virtual_appliance_sites: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :param identity: The service principal that has read access to cloud-init + and config blob. + :type identity: + ~azure.mgmt.network.v2020_05_01.models.ManagedServiceIdentity + :param sku: Network Virtual Appliance SKU. + :type sku: + ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSkuProperties + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'virtual_appliance_asn': {'maximum': 4294967295, 'minimum': 0}, + 'virtual_appliance_nics': {'readonly': True}, + 'virtual_appliance_sites': {'readonly': True}, + 'provisioning_state': {'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}'}, + '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]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'}, + 'sku': {'key': 'sku', 'type': 'VirtualApplianceSkuProperties'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, boot_strap_configuration_blobs=None, virtual_hub=None, cloud_init_configuration_blobs=None, cloud_init_configuration: str=None, virtual_appliance_asn: int=None, identity=None, sku=None, **kwargs) -> None: + super(NetworkVirtualAppliance, self).__init__(id=id, location=location, tags=tags, **kwargs) + 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.provisioning_state = None + self.identity = identity + self.sku = sku + self.etag = None + + +class NetworkVirtualApplianceSku(Resource): + """Available NetworkVirtualApplianceSkus. + + 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: Resource tags. + :type tags: dict[str, 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.v2020_05_01.models.NetworkVirtualApplianceSkuInstances] + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'vendor': {'readonly': True}, + 'available_versions': {'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}'}, + 'vendor': {'key': 'properties.vendor', 'type': 'str'}, + 'available_versions': {'key': 'properties.availableVersions', 'type': '[str]'}, + 'available_scale_units': {'key': 'properties.availableScaleUnits', 'type': '[NetworkVirtualApplianceSkuInstances]'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, available_scale_units=None, **kwargs) -> None: + super(NetworkVirtualApplianceSku, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.vendor = None + self.available_versions = None + self.available_scale_units = available_scale_units + self.etag = None + + +class NetworkVirtualApplianceSkuInstances(Model): + """Network Virtual Appliance Sku Instances. + + 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) -> None: + super(NetworkVirtualApplianceSkuInstances, self).__init__(**kwargs) + self.scale_unit = None + self.instance_count = None + + class NetworkWatcher(Resource): """Network watcher in a resource group. @@ -9361,19 +11687,21 @@ class NetworkWatcher(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str - :param provisioning_state: The provisioning state of the network watcher + :vartype etag: str + :ivar provisioning_state: The provisioning state of the network watcher resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -9386,10 +11714,10 @@ class NetworkWatcher(Resource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, etag: str=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, **kwargs) -> None: super(NetworkWatcher, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.etag = etag - self.provisioning_state = provisioning_state + self.etag = None + self.provisioning_state = None class NextHopParameters(Model): @@ -9438,7 +11766,7 @@ class NextHopResult(Model): 'VirtualAppliance', 'VirtualNetworkGateway', 'VnetLocal', 'HyperNetGateway', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.NextHopType + ~azure.mgmt.network.v2020_05_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 @@ -9461,18 +11789,35 @@ def __init__(self, *, next_hop_type=None, next_hop_ip_address: str=None, route_t self.route_table_id = route_table_id +class Office365PolicyProperties(Model): + """Network Virtual Appliance Sku Properties. + + :param break_out_categories: Office 365 breakout categories. + :type break_out_categories: + ~azure.mgmt.network.v2020_05_01.models.BreakOutCategoryPolicies + """ + + _attribute_map = { + 'break_out_categories': {'key': 'breakOutCategories', 'type': 'BreakOutCategoryPolicies'}, + } + + def __init__(self, *, break_out_categories=None, **kwargs) -> None: + super(Office365PolicyProperties, self).__init__(**kwargs) + self.break_out_categories = break_out_categories + + class Operation(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.v2019_07_01.models.OperationDisplay + :type display: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.OperationPropertiesFormatServiceSpecification + ~azure.mgmt.network.v2020_05_01.models.OperationPropertiesFormatServiceSpecification """ _attribute_map = { @@ -9523,10 +11868,10 @@ class OperationPropertiesFormatServiceSpecification(Model): :param metric_specifications: Operation service specification. :type metric_specifications: - list[~azure.mgmt.network.v2019_07_01.models.MetricSpecification] + list[~azure.mgmt.network.v2020_05_01.models.MetricSpecification] :param log_specifications: Operation log specification. :type log_specifications: - list[~azure.mgmt.network.v2019_07_01.models.LogSpecification] + list[~azure.mgmt.network.v2020_05_01.models.LogSpecification] """ _attribute_map = { @@ -9556,20 +11901,20 @@ class OutboundRule(SubResource): :param frontend_ip_configurations: Required. The Frontend IP addresses of the load balancer. :type frontend_ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param backend_address_pool: Required. 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.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the outbound rule + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar provisioning_state: The provisioning state of the outbound rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param protocol: Required. The protocol for the outbound rule in load balancer. Possible values include: 'Tcp', 'Udp', 'All' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerOutboundRuleProtocol + ~azure.mgmt.network.v2020_05_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. @@ -9580,9 +11925,9 @@ class OutboundRule(SubResource): outbound rules used by the load balancer. This name can be used to access the resource. :type name: str - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -9590,7 +11935,9 @@ class OutboundRule(SubResource): _validation = { 'frontend_ip_configurations': {'required': True}, 'backend_address_pool': {'required': True}, + 'provisioning_state': {'readonly': True}, 'protocol': {'required': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -9608,261 +11955,82 @@ class OutboundRule(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, frontend_ip_configurations, backend_address_pool, protocol, id: str=None, allocated_outbound_ports: int=None, provisioning_state=None, enable_tcp_reset: bool=None, idle_timeout_in_minutes: int=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, frontend_ip_configurations, backend_address_pool, protocol, id: str=None, allocated_outbound_ports: int=None, enable_tcp_reset: bool=None, idle_timeout_in_minutes: int=None, name: str=None, **kwargs) -> None: super(OutboundRule, self).__init__(id=id, **kwargs) self.allocated_outbound_ports = allocated_outbound_ports self.frontend_ip_configurations = frontend_ip_configurations self.backend_address_pool = backend_address_pool - self.provisioning_state = provisioning_state + self.provisioning_state = None self.protocol = protocol self.enable_tcp_reset = enable_tcp_reset self.idle_timeout_in_minutes = idle_timeout_in_minutes self.name = name - self.etag = etag - self.type = 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: Resource tags. - :type tags: dict[str, str] - :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param provisioning_state: The provisioning state of the P2S VPN gateway - resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', - 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param vpn_gateway_scale_unit: The scale unit for this p2s vpn gateway. - :type vpn_gateway_scale_unit: int - :param p2_svpn_server_configuration: The P2SVpnServerConfiguration to - which the p2sVpnGateway is attached to. - :type p2_svpn_server_configuration: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param vpn_client_address_pool: The reference of the address space - resource which represents Address space for P2S VpnClient. - :type vpn_client_address_pool: - ~azure.mgmt.network.v2019_07_01.models.AddressSpace - :param custom_routes: The reference of the address space resource which - represents the custom routes specified by the customer for P2SVpnGateway - and P2S VpnClient. - :type custom_routes: ~azure.mgmt.network.v2019_07_01.models.AddressSpace - :ivar vpn_client_connection_health: All P2S VPN clients' connection health - status. - :vartype vpn_client_connection_health: - ~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealth - :ivar etag: A unique read-only string that changes whenever the resource - is updated. - :vartype etag: str - """ - - _validation = { - 'name': {'readonly': True}, - 'type': {'readonly': True}, - 'vpn_client_connection_health': {'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}'}, - 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'vpn_gateway_scale_unit': {'key': 'properties.vpnGatewayScaleUnit', 'type': 'int'}, - 'p2_svpn_server_configuration': {'key': 'properties.p2SVpnServerConfiguration', 'type': 'SubResource'}, - 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, - 'custom_routes': {'key': 'properties.customRoutes', 'type': 'AddressSpace'}, - 'vpn_client_connection_health': {'key': 'properties.vpnClientConnectionHealth', 'type': 'VpnClientConnectionHealth'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, provisioning_state=None, vpn_gateway_scale_unit: int=None, p2_svpn_server_configuration=None, vpn_client_address_pool=None, custom_routes=None, **kwargs) -> None: - super(P2SVpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) - self.virtual_hub = virtual_hub - self.provisioning_state = provisioning_state - self.vpn_gateway_scale_unit = vpn_gateway_scale_unit - self.p2_svpn_server_configuration = p2_svpn_server_configuration - self.vpn_client_address_pool = vpn_client_address_pool - self.custom_routes = custom_routes - self.vpn_client_connection_health = None self.etag = None + self.type = None - -class P2SVpnProfileParameters(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.v2019_07_01.models.AuthenticationMethod - """ - - _attribute_map = { - 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, - } - - def __init__(self, *, authentication_method=None, **kwargs) -> None: - super(P2SVpnProfileParameters, self).__init__(**kwargs) - self.authentication_method = authentication_method - - -class P2SVpnServerConfigRadiusClientRootCertificate(SubResource): - """Radius client root certificate of P2SVpnServerConfiguration. - - Variables are only populated by the server, and will be ignored when - sending a request. - - :param id: Resource ID. - :type id: str - :param thumbprint: The Radius client root certificate thumbprint. - :type thumbprint: str - :ivar provisioning_state: The provisioning state of the radius client root - certificate resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: str - """ - - _validation = { - 'provisioning_state': {'readonly': True}, - } - - _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, - } - - def __init__(self, *, id: str=None, thumbprint: str=None, name: str=None, etag: str=None, **kwargs) -> None: - super(P2SVpnServerConfigRadiusClientRootCertificate, self).__init__(id=id, **kwargs) - self.thumbprint = thumbprint - self.provisioning_state = None - self.name = name - self.etag = etag - - -class P2SVpnServerConfigRadiusServerRootCertificate(SubResource): - """Radius Server root certificate of P2SVpnServerConfiguration. - - 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 public_cert_data: Required. The certificate public data. - :type public_cert_data: str - :ivar provisioning_state: The provisioning state of the radius server root - certificate resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' - :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: str + +class OwaspCrsExclusionEntry(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.v2020_05_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.v2020_05_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 = { - 'public_cert_data': {'required': True}, - 'provisioning_state': {'readonly': True}, + 'match_variable': {'required': True}, + 'selector_match_operator': {'required': True}, + 'selector': {'required': True}, } _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, - 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, + 'match_variable': {'key': 'matchVariable', 'type': 'str'}, + 'selector_match_operator': {'key': 'selectorMatchOperator', 'type': 'str'}, + 'selector': {'key': 'selector', 'type': 'str'}, } - def __init__(self, *, public_cert_data: str, id: str=None, name: str=None, etag: str=None, **kwargs) -> None: - super(P2SVpnServerConfigRadiusServerRootCertificate, self).__init__(id=id, **kwargs) - self.public_cert_data = public_cert_data - self.provisioning_state = None - self.name = name - self.etag = etag + def __init__(self, *, match_variable, selector_match_operator, selector: str, **kwargs) -> None: + super(OwaspCrsExclusionEntry, self).__init__(**kwargs) + self.match_variable = match_variable + self.selector_match_operator = selector_match_operator + self.selector = selector -class P2SVpnServerConfiguration(SubResource): - """P2SVpnServerConfiguration Resource. +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 p2_svpn_server_configuration_properties_name: The name of the - P2SVpnServerConfiguration that is unique within a VirtualWan in a resource - group. This name can be used to access the resource along with Paren - VirtualWan resource name. - :type p2_svpn_server_configuration_properties_name: str - :param vpn_protocols: VPN protocols for the P2SVpnServerConfiguration. - :type vpn_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.VpnGatewayTunnelingProtocol] - :param p2_svpn_server_config_vpn_client_root_certificates: VPN client root - certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_vpn_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigVpnClientRootCertificate] - :param p2_svpn_server_config_vpn_client_revoked_certificates: VPN client - revoked certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigVpnClientRevokedCertificate] - :param p2_svpn_server_config_radius_server_root_certificates: Radius - Server root certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_radius_server_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigRadiusServerRootCertificate] - :param p2_svpn_server_config_radius_client_root_certificates: Radius - client root certificate of P2SVpnServerConfiguration. - :type p2_svpn_server_config_radius_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigRadiusClientRootCertificate] - :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for - P2SVpnServerConfiguration. - :type vpn_client_ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] - :param radius_server_address: The radius server address property of the - P2SVpnServerConfiguration resource for point to site client connection. - :type radius_server_address: str - :param radius_server_secret: The radius secret property of the - P2SVpnServerConfiguration resource for point to site client connection. - :type radius_server_secret: str - :ivar provisioning_state: The provisioning state of the P2S VPN server - configuration resource. Possible values include: 'Succeeded', 'Updating', - 'Deleting', 'Failed' + :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.v2020_05_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.v2020_05_01.models.RoutingConfiguration + :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.v2019_07_01.models.ProvisioningState - :ivar p2_svpn_gateways: List of references to P2SVpnGateways. - :vartype p2_svpn_gateways: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param p2_svpn_server_configuration_properties_etag: A unique read-only - string that changes whenever the resource is updated. - :type p2_svpn_server_configuration_properties_etag: str + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -9873,133 +12041,179 @@ class P2SVpnServerConfiguration(SubResource): _validation = { 'provisioning_state': {'readonly': True}, - 'p2_svpn_gateways': {'readonly': True}, 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'p2_svpn_server_configuration_properties_name': {'key': 'properties.name', 'type': 'str'}, - 'vpn_protocols': {'key': 'properties.vpnProtocols', 'type': '[str]'}, - 'p2_svpn_server_config_vpn_client_root_certificates': {'key': 'properties.p2SVpnServerConfigVpnClientRootCertificates', 'type': '[P2SVpnServerConfigVpnClientRootCertificate]'}, - 'p2_svpn_server_config_vpn_client_revoked_certificates': {'key': 'properties.p2SVpnServerConfigVpnClientRevokedCertificates', 'type': '[P2SVpnServerConfigVpnClientRevokedCertificate]'}, - 'p2_svpn_server_config_radius_server_root_certificates': {'key': 'properties.p2SVpnServerConfigRadiusServerRootCertificates', 'type': '[P2SVpnServerConfigRadiusServerRootCertificate]'}, - 'p2_svpn_server_config_radius_client_root_certificates': {'key': 'properties.p2SVpnServerConfigRadiusClientRootCertificates', 'type': '[P2SVpnServerConfigRadiusClientRootCertificate]'}, - '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'}, + 'vpn_client_address_pool': {'key': 'properties.vpnClientAddressPool', 'type': 'AddressSpace'}, + 'routing_configuration': {'key': 'properties.routingConfiguration', 'type': 'RoutingConfiguration'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'p2_svpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[SubResource]'}, - 'p2_svpn_server_configuration_properties_etag': {'key': 'properties.etag', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, p2_svpn_server_configuration_properties_name: str=None, vpn_protocols=None, p2_svpn_server_config_vpn_client_root_certificates=None, p2_svpn_server_config_vpn_client_revoked_certificates=None, p2_svpn_server_config_radius_server_root_certificates=None, p2_svpn_server_config_radius_client_root_certificates=None, vpn_client_ipsec_policies=None, radius_server_address: str=None, radius_server_secret: str=None, p2_svpn_server_configuration_properties_etag: str=None, name: str=None, **kwargs) -> None: - super(P2SVpnServerConfiguration, self).__init__(id=id, **kwargs) - self.p2_svpn_server_configuration_properties_name = p2_svpn_server_configuration_properties_name - self.vpn_protocols = vpn_protocols - self.p2_svpn_server_config_vpn_client_root_certificates = p2_svpn_server_config_vpn_client_root_certificates - self.p2_svpn_server_config_vpn_client_revoked_certificates = p2_svpn_server_config_vpn_client_revoked_certificates - self.p2_svpn_server_config_radius_server_root_certificates = p2_svpn_server_config_radius_server_root_certificates - self.p2_svpn_server_config_radius_client_root_certificates = p2_svpn_server_config_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 + def __init__(self, *, id: str=None, vpn_client_address_pool=None, routing_configuration=None, name: str=None, **kwargs) -> None: + super(P2SConnectionConfiguration, self).__init__(id=id, **kwargs) + self.vpn_client_address_pool = vpn_client_address_pool + self.routing_configuration = routing_configuration self.provisioning_state = None - self.p2_svpn_gateways = None - self.p2_svpn_server_configuration_properties_etag = p2_svpn_server_configuration_properties_etag self.name = name self.etag = None -class P2SVpnServerConfigVpnClientRevokedCertificate(SubResource): - """VPN client revoked certificate of P2SVpnServerConfiguration. +class P2SVpnConnectionHealth(Model): + """P2S Vpn connection detailed health written to sas url. - Variables are only populated by the server, and will be ignored when - sending a request. + :param sas_url: Returned sas url of the blob to which the p2s vpn + connection detailed health will be written. + :type sas_url: str + """ - :param id: Resource ID. - :type id: 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.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource - is updated. - :type etag: str + _attribute_map = { + 'sas_url': {'key': 'sasUrl', 'type': 'str'}, + } + + def __init__(self, *, sas_url: str=None, **kwargs) -> None: + super(P2SVpnConnectionHealth, self).__init__(**kwargs) + self.sas_url = sas_url + + +class P2SVpnConnectionHealthRequest(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 """ - _validation = { - 'provisioning_state': {'readonly': True}, + _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=None, output_blob_sas_url: str=None, **kwargs) -> None: + 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(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 = { - 'id': {'key': 'id', 'type': 'str'}, - 'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, - 'name': {'key': 'name', 'type': 'str'}, - 'etag': {'key': 'etag', 'type': 'str'}, + 'vpn_connection_ids': {'key': 'vpnConnectionIds', 'type': '[str]'}, } - def __init__(self, *, id: str=None, thumbprint: str=None, name: str=None, etag: str=None, **kwargs) -> None: - super(P2SVpnServerConfigVpnClientRevokedCertificate, self).__init__(id=id, **kwargs) - self.thumbprint = thumbprint - self.provisioning_state = None - self.name = name - self.etag = etag + def __init__(self, *, vpn_connection_ids=None, **kwargs) -> None: + super(P2SVpnConnectionRequest, self).__init__(**kwargs) + self.vpn_connection_ids = vpn_connection_ids -class P2SVpnServerConfigVpnClientRootCertificate(SubResource): - """VPN client root certificate of P2SVpnServerConfiguration. +class P2SVpnGateway(Resource): + """P2SVpnGateway 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 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' + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param virtual_hub: The VirtualHub to which the gateway belongs. + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param p2_sconnection_configurations: List of all p2s connection + configurations of the gateway. + :type p2_sconnection_configurations: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :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 etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.SubResource + :ivar vpn_client_connection_health: All P2S VPN clients' connection health + status. + :vartype vpn_client_connection_health: + ~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealth + :param custom_dns_servers: List of all customer specified DNS servers IP + addresses. + :type custom_dns_servers: list[str] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { - 'public_cert_data': {'required': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'vpn_client_connection_health': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, - 'public_cert_data': {'key': 'properties.publicCertData', 'type': 'str'}, - 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'virtual_hub': {'key': 'properties.virtualHub', 'type': 'SubResource'}, + 'p2_sconnection_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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, public_cert_data: str, id: str=None, name: str=None, etag: str=None, **kwargs) -> None: - super(P2SVpnServerConfigVpnClientRootCertificate, self).__init__(id=id, **kwargs) - self.public_cert_data = public_cert_data + def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, p2_sconnection_configurations=None, vpn_gateway_scale_unit: int=None, vpn_server_configuration=None, custom_dns_servers=None, **kwargs) -> None: + super(P2SVpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.virtual_hub = virtual_hub + self.p2_sconnection_configurations = p2_sconnection_configurations self.provisioning_state = None - self.name = name - self.etag = etag + 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.etag = None + + +class P2SVpnProfileParameters(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.v2020_05_01.models.AuthenticationMethod + """ + + _attribute_map = { + 'authentication_method': {'key': 'authenticationMethod', 'type': 'str'}, + } + + def __init__(self, *, authentication_method=None, **kwargs) -> None: + super(P2SVpnProfileParameters, self).__init__(**kwargs) + self.authentication_method = authentication_method class PacketCapture(Model): @@ -10019,13 +12233,13 @@ class PacketCapture(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] """ _validation = { @@ -10058,7 +12272,7 @@ class PacketCaptureFilter(Model): :param protocol: Protocol to be filtered on. Possible values include: 'TCP', 'UDP', 'Any'. Default value: "Any" . - :type protocol: str or ~azure.mgmt.network.v2019_07_01.models.PcProtocol + :type protocol: str or ~azure.mgmt.network.v2020_05_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 @@ -10117,13 +12331,13 @@ class PacketCaptureParameters(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] """ _validation = { @@ -10163,13 +12377,13 @@ class PacketCaptureQueryStatusResult(Model): Possible values include: 'NotStarted', 'Running', 'Stopped', 'Error', 'Unknown' :type packet_capture_status: str or - ~azure.mgmt.network.v2019_07_01.models.PcStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PcError] + ~azure.mgmt.network.v2020_05_01.models.PcError] """ _attribute_map = { @@ -10203,10 +12417,9 @@ class PacketCaptureResult(Model): :vartype name: str :ivar id: ID of the packet capture operation. :vartype id: str - :param etag: A unique read-only string that changes whenever the resource - is updated. Default value: "A unique read-only string that changes - whenever the resource is updated." . - :type etag: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str :param target: Required. The ID of the targeted resource, only VM is currently supported. :type target: str @@ -10219,25 +12432,27 @@ class PacketCaptureResult(Model): :param time_limit_in_seconds: Maximum duration of the capture session in seconds. Default value: 18000 . :type time_limit_in_seconds: int - :param storage_location: Required. Describes the storage location for a - packet capture session. + :param storage_location: Required. The storage location for a packet + capture session. :type storage_location: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureStorageLocation + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureStorageLocation :param filters: A list of packet capture filters. :type filters: - list[~azure.mgmt.network.v2019_07_01.models.PacketCaptureFilter] - :param provisioning_state: The provisioning state of the packet capture + list[~azure.mgmt.network.v2020_05_01.models.PacketCaptureFilter] + :ivar provisioning_state: The provisioning state of the packet capture session. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState """ _validation = { 'name': {'readonly': True}, 'id': {'readonly': True}, + 'etag': {'readonly': True}, 'target': {'required': True}, 'storage_location': {'required': True}, + 'provisioning_state': {'readonly': True}, } _attribute_map = { @@ -10253,22 +12468,22 @@ class PacketCaptureResult(Model): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, target: str, storage_location, etag: str="A unique read-only string that changes whenever the resource is updated.", bytes_to_capture_per_packet: int=0, total_bytes_per_session: int=1073741824, time_limit_in_seconds: int=18000, filters=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, target: str, storage_location, bytes_to_capture_per_packet: int=0, total_bytes_per_session: int=1073741824, time_limit_in_seconds: int=18000, filters=None, **kwargs) -> None: super(PacketCaptureResult, self).__init__(**kwargs) self.name = None self.id = None - self.etag = etag + 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 = provisioning_state + self.provisioning_state = None class PacketCaptureStorageLocation(Model): - """Describes the storage location for a packet capture session. + """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. @@ -10307,20 +12522,20 @@ class PatchRouteFilter(SubResource): :type id: str :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] - :param peerings: A collection of references to express route circuit + :type rules: list[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. - :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] - :param ipv6_peerings: A collection of references to express route circuit + :vartype peerings: + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :type ipv6_peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10334,6 +12549,8 @@ class PatchRouteFilter(SubResource): """ _validation = { + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'name': {'readonly': True}, 'etag': {'readonly': True}, @@ -10352,11 +12569,11 @@ class PatchRouteFilter(SubResource): 'tags': {'key': 'tags', 'type': '{str}'}, } - def __init__(self, *, id: str=None, rules=None, peerings=None, ipv6_peerings=None, tags=None, **kwargs) -> None: + def __init__(self, *, id: str=None, rules=None, tags=None, **kwargs) -> None: super(PatchRouteFilter, self).__init__(id=id, **kwargs) self.rules = rules - self.peerings = peerings - self.ipv6_peerings = ipv6_peerings + self.peerings = None + self.ipv6_peerings = None self.provisioning_state = None self.name = None self.etag = None @@ -10376,7 +12593,7 @@ class PatchRouteFilterRule(SubResource): :type id: str :param access: Required. The access type of the rule. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_01.models.Access :ivar route_filter_rule_type: Required. The rule type of the rule. Default value: "Community" . :vartype route_filter_rule_type: str @@ -10387,7 +12604,7 @@ class PatchRouteFilterRule(SubResource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10438,18 +12655,18 @@ class PeerExpressRouteCircuitConnection(SubResource): :param express_route_circuit_peering: Reference to Express Route Circuit Private Peering Resource of the circuit. :type express_route_circuit_peering: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource :param address_prefix: /29 IP address space to carve out Customer addresses for tunnels. :type address_prefix: str :param circuit_connection_status: Express Route Circuit connection state. Possible values include: 'Connected', 'Connecting', 'Disconnected' :type circuit_connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.CircuitConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.CircuitConnectionStatus :param connection_name: The name of the express route circuit connection resource. :type connection_name: str @@ -10460,7 +12677,7 @@ class PeerExpressRouteCircuitConnection(SubResource): circuit connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -10508,25 +12725,43 @@ def __init__(self, *, id: str=None, express_route_circuit_peering=None, peer_exp class PolicySettings(Model): """Defines contents of a web application firewall global configuration. - :param enabled_state: Describes if the policy is in enabled state or - disabled state. Possible values include: 'Disabled', 'Enabled' - :type enabled_state: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallEnabledState - :param mode: Describes if it is in detection mode or prevention mode at - policy level. Possible values include: 'Prevention', 'Detection' + :param state: The state of the policy. Possible values include: + 'Disabled', 'Enabled' + :type state: str or + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallEnabledState + :param mode: The mode of the policy. Possible values include: + 'Prevention', 'Detection' :type mode: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallMode + ~azure.mgmt.network.v2020_05_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': {'maximum': 128, 'minimum': 8}, + 'file_upload_limit_in_mb': {'minimum': 0}, + } + _attribute_map = { - 'enabled_state': {'key': 'enabledState', 'type': 'str'}, + '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, *, enabled_state=None, mode=None, **kwargs) -> None: + def __init__(self, *, state=None, mode=None, request_body_check: bool=None, max_request_body_size_in_kb: int=None, file_upload_limit_in_mb: int=None, **kwargs) -> None: super(PolicySettings, self).__init__(**kwargs) - self.enabled_state = enabled_state + 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(Model): @@ -10538,7 +12773,7 @@ class PrepareNetworkPoliciesRequest(Model): :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. :type network_intent_policy_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkIntentPolicyConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkIntentPolicyConfiguration] """ _attribute_map = { @@ -10546,10 +12781,90 @@ class PrepareNetworkPoliciesRequest(Model): 'network_intent_policy_configurations': {'key': 'networkIntentPolicyConfigurations', 'type': '[NetworkIntentPolicyConfiguration]'}, } - def __init__(self, *, service_name: str=None, network_intent_policy_configurations=None, **kwargs) -> None: - super(PrepareNetworkPoliciesRequest, self).__init__(**kwargs) - self.service_name = service_name - self.network_intent_policy_configurations = network_intent_policy_configurations + def __init__(self, *, service_name: str=None, network_intent_policy_configurations=None, **kwargs) -> None: + super(PrepareNetworkPoliciesRequest, self).__init__(**kwargs) + self.service_name = service_name + self.network_intent_policy_configurations = network_intent_policy_configurations + + +class PrivateDnsZoneConfig(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.v2020_05_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: str=None, private_dns_zone_id: str=None, **kwargs) -> None: + 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.v2020_05_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.v2020_05_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: str=None, name: str=None, private_dns_zone_configs=None, **kwargs) -> None: + 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 PrivateEndpoint(Resource): @@ -10570,34 +12885,39 @@ class PrivateEndpoint(Resource): :type tags: dict[str, str] :param subnet: The ID of the subnet from which the private IP will be allocated. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterface] - :param provisioning_state: The provisioning state of the private endpoint + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnection] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnection] - :param etag: A unique read-only string that changes whenever the resource + list[~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnection] + :param custom_dns_configs: An array of custom dns configurations. + :type custom_dns_configs: + list[~azure.mgmt.network.v2020_05_01.models.CustomDnsConfigPropertiesFormat] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -10611,17 +12931,19 @@ class PrivateEndpoint(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, subnet=None, provisioning_state=None, private_link_service_connections=None, manual_private_link_service_connections=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, subnet=None, private_link_service_connections=None, manual_private_link_service_connections=None, custom_dns_configs=None, **kwargs) -> None: super(PrivateEndpoint, self).__init__(id=id, location=location, tags=tags, **kwargs) self.subnet = subnet self.network_interfaces = None - self.provisioning_state = provisioning_state + 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.etag = etag + self.custom_dns_configs = custom_dns_configs + self.etag = None class PrivateEndpointConnection(SubResource): @@ -10632,18 +12954,20 @@ class PrivateEndpointConnection(SubResource): :param id: Resource ID. :type id: str - :param private_endpoint: The resource of private end point. - :type private_endpoint: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint + :ivar private_endpoint: The resource of private end point. + :vartype private_endpoint: + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PrivateLinkServiceConnectionState - :param provisioning_state: The provisioning state of the private endpoint + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnectionState + :ivar provisioning_state: The provisioning state of the private endpoint connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar link_identifier: The consumer link id. + :vartype link_identifier: 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 @@ -10655,6 +12979,9 @@ class PrivateEndpointConnection(SubResource): """ _validation = { + 'private_endpoint': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'link_identifier': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } @@ -10664,16 +12991,18 @@ class PrivateEndpointConnection(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_endpoint=None, private_link_service_connection_state=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_link_service_connection_state=None, name: str=None, **kwargs) -> None: super(PrivateEndpointConnection, self).__init__(id=id, **kwargs) - self.private_endpoint = private_endpoint + self.private_endpoint = None self.private_link_service_connection_state = private_link_service_connection_state - self.provisioning_state = provisioning_state + self.provisioning_state = None + self.link_identifier = None self.name = name self.type = None self.etag = None @@ -10698,44 +13027,50 @@ class PrivateLinkService(Resource): :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.v2019_07_01.models.FrontendIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration] :param ip_configurations: An array of private link service IP configurations. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.PrivateLinkServiceIpConfiguration] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterface] - :param provisioning_state: The provisioning state of the private link + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] + :ivar provisioning_state: The provisioning state of the private link service resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param private_endpoint_connections: An array of list about connections to + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar private_endpoint_connections: An array of list about connections to the private endpoint. - :type private_endpoint_connections: - list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection] + :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.v2019_07_01.models.PrivateLinkServicePropertiesVisibility + ~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.v2019_07_01.models.PrivateLinkServicePropertiesAutoApproval + ~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. :vartype alias: str - :param etag: A unique read-only string that changes whenever the resource + :param enable_proxy_protocol: Whether the private link service is enabled + for proxy protocol or not. + :type enable_proxy_protocol: bool + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'network_interfaces': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'private_endpoint_connections': {'readonly': True}, 'alias': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -10753,21 +13088,23 @@ class PrivateLinkService(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, load_balancer_frontend_ip_configurations=None, ip_configurations=None, provisioning_state=None, private_endpoint_connections=None, visibility=None, auto_approval=None, fqdns=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, load_balancer_frontend_ip_configurations=None, ip_configurations=None, visibility=None, auto_approval=None, fqdns=None, enable_proxy_protocol: bool=None, **kwargs) -> None: super(PrivateLinkService, self).__init__(id=id, location=location, tags=tags, **kwargs) self.load_balancer_frontend_ip_configurations = load_balancer_frontend_ip_configurations self.ip_configurations = ip_configurations self.network_interfaces = None - self.provisioning_state = provisioning_state - self.private_endpoint_connections = private_endpoint_connections + self.provisioning_state = None + self.private_endpoint_connections = None self.visibility = visibility self.auto_approval = auto_approval self.fqdns = fqdns self.alias = None - self.etag = etag + self.enable_proxy_protocol = enable_proxy_protocol + self.etag = None class PrivateLinkServiceConnection(SubResource): @@ -10778,11 +13115,11 @@ class PrivateLinkServiceConnection(SubResource): :param id: Resource ID. :type id: str - :param provisioning_state: The provisioning state of the private link + :ivar provisioning_state: The provisioning state of the private link service connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -10794,7 +13131,7 @@ class PrivateLinkServiceConnection(SubResource): :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.v2019_07_01.models.PrivateLinkServiceConnectionState + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceConnectionState :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 @@ -10806,6 +13143,7 @@ class PrivateLinkServiceConnection(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'type': {'readonly': True}, 'etag': {'readonly': True}, } @@ -10822,9 +13160,9 @@ class PrivateLinkServiceConnection(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, provisioning_state=None, private_link_service_id: str=None, group_ids=None, request_message: str=None, private_link_service_connection_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_link_service_id: str=None, group_ids=None, request_message: str=None, private_link_service_connection_state=None, name: str=None, **kwargs) -> None: super(PrivateLinkServiceConnection, self).__init__(id=id, **kwargs) - self.provisioning_state = provisioning_state + self.provisioning_state = None self.private_link_service_id = private_link_service_id self.group_ids = group_ids self.request_message = request_message @@ -10843,22 +13181,22 @@ class PrivateLinkServiceConnectionState(Model): :type status: str :param description: The reason for approval/rejection of the connection. :type description: str - :param action_required: A message indicating if changes on the service + :param actions_required: A message indicating if changes on the service provider require any updates on the consumer. - :type action_required: str + :type actions_required: str """ _attribute_map = { 'status': {'key': 'status', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, - 'action_required': {'key': 'actionRequired', 'type': 'str'}, + 'actions_required': {'key': 'actionsRequired', 'type': 'str'}, } - def __init__(self, *, status: str=None, description: str=None, action_required: str=None, **kwargs) -> None: + def __init__(self, *, status: str=None, description: str=None, actions_required: str=None, **kwargs) -> None: super(PrivateLinkServiceConnectionState, self).__init__(**kwargs) self.status = status self.description = description - self.action_required = action_required + self.actions_required = actions_required class PrivateLinkServiceIpConfiguration(SubResource): @@ -10874,20 +13212,20 @@ class PrivateLinkServiceIpConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod :param subnet: The reference to the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet: ~azure.mgmt.network.v2020_05_01.models.Subnet :param primary: Whether the ip configuration is primary or not. :type primary: bool - :param provisioning_state: The provisioning state of the private link + :ivar provisioning_state: The provisioning state of the private link service IP configuration resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :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 @@ -10898,6 +13236,7 @@ class PrivateLinkServiceIpConfiguration(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -10915,13 +13254,13 @@ class PrivateLinkServiceIpConfiguration(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, primary: bool=None, provisioning_state=None, private_ip_address_version=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_address: str=None, private_ip_allocation_method=None, subnet=None, primary: bool=None, private_ip_address_version=None, name: str=None, **kwargs) -> None: super(PrivateLinkServiceIpConfiguration, self).__init__(id=id, **kwargs) 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 = provisioning_state + self.provisioning_state = None self.private_ip_address_version = private_ip_address_version self.name = name self.etag = None @@ -11002,14 +13341,14 @@ class Probe(SubResource): :type id: str :ivar load_balancing_rules: The load balancer rules that use this probe. :vartype load_balancing_rules: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param protocol: Required. 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.v2019_07_01.models.ProbeProtocol + ~azure.mgmt.network.v2020_05_01.models.ProbeProtocol :param port: Required. The port for communicating the probe. Possible values range from 1 to 65535, inclusive. :type port: int @@ -11028,17 +13367,17 @@ class Probe(SubResource): 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 - :param provisioning_state: The provisioning state of the probe resource. + :ivar provisioning_state: The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str :ivar type: Type of the resource. :vartype type: str """ @@ -11047,6 +13386,8 @@ class Probe(SubResource): 'load_balancing_rules': {'readonly': True}, 'protocol': {'required': True}, 'port': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -11064,7 +13405,7 @@ class Probe(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, protocol, port: int, id: str=None, interval_in_seconds: int=None, number_of_probes: int=None, request_path: str=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, protocol, port: int, id: str=None, interval_in_seconds: int=None, number_of_probes: int=None, request_path: str=None, name: str=None, **kwargs) -> None: super(Probe, self).__init__(id=id, **kwargs) self.load_balancing_rules = None self.protocol = protocol @@ -11072,18 +13413,38 @@ def __init__(self, *, protocol, port: int, id: str=None, interval_in_seconds: in self.interval_in_seconds = interval_in_seconds self.number_of_probes = number_of_probes self.request_path = request_path - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None self.type = None +class PropagatedRouteTable(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.v2020_05_01.models.SubResource] + """ + + _attribute_map = { + 'labels': {'key': 'labels', 'type': '[str]'}, + 'ids': {'key': 'ids', 'type': '[SubResource]'}, + } + + def __init__(self, *, labels=None, ids=None, **kwargs) -> None: + super(PropagatedRouteTable, self).__init__(**kwargs) + self.labels = labels + self.ids = ids + + class ProtocolConfiguration(Model): """Configuration of the protocol. :param http_configuration: HTTP configuration of the connectivity check. :type http_configuration: - ~azure.mgmt.network.v2019_07_01.models.HTTPConfiguration + ~azure.mgmt.network.v2020_05_01.models.HTTPConfiguration """ _attribute_map = { @@ -11101,7 +13462,7 @@ class ProtocolCustomSettingsFormat(Model): :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.v2019_07_01.models.DdosCustomPolicyProtocol + ~azure.mgmt.network.v2020_05_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. @@ -11114,7 +13475,7 @@ class ProtocolCustomSettingsFormat(Model): sensitivity w.r.t. normal traffic. Possible values include: 'Relaxed', 'Low', 'Default', 'High' :type trigger_sensitivity_override: str or - ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicyTriggerSensitivityOverride + ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicyTriggerSensitivityOverride """ _attribute_map = { @@ -11149,47 +13510,47 @@ class PublicIPAddress(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The public IP address SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressSku :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.v2019_07_01.models.IPAllocationMethod + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :ivar ip_configuration: The IP configuration associated with the public IP address. :vartype ip_configuration: - ~azure.mgmt.network.v2019_07_01.models.IPConfiguration + ~azure.mgmt.network.v2020_05_01.models.IPConfiguration :param dns_settings: The FQDN of the DNS record associated with the public IP address. :type dns_settings: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressDnsSettings + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressDnsSettings :param ddos_settings: The DDoS protection custom policy associated with the public IP address. - :type ddos_settings: ~azure.mgmt.network.v2019_07_01.models.DdosSettings + :type ddos_settings: ~azure.mgmt.network.v2020_05_01.models.DdosSettings :param ip_tags: The list of tags associated with the public IP address. - :type ip_tags: list[~azure.mgmt.network.v2019_07_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SubResource + :type public_ip_prefix: ~azure.mgmt.network.v2020_05_01.models.SubResource :param idle_timeout_in_minutes: The idle timeout of the public IP address. :type idle_timeout_in_minutes: int - :param resource_guid: The resource GUID property of the public IP address + :ivar resource_guid: The resource GUID property of the public IP address resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the public IP address + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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] @@ -11199,6 +13560,9 @@ class PublicIPAddress(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'ip_configuration': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11223,7 +13587,7 @@ class PublicIPAddress(Resource): 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, public_ip_allocation_method=None, public_ip_address_version=None, dns_settings=None, ddos_settings=None, ip_tags=None, ip_address: str=None, public_ip_prefix=None, idle_timeout_in_minutes: int=None, resource_guid: str=None, provisioning_state=None, etag: str=None, zones=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, public_ip_allocation_method=None, public_ip_address_version=None, dns_settings=None, ddos_settings=None, ip_tags=None, ip_address: str=None, public_ip_prefix=None, idle_timeout_in_minutes: int=None, zones=None, **kwargs) -> None: super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.public_ip_allocation_method = public_ip_allocation_method @@ -11235,9 +13599,9 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, pub self.ip_address = ip_address self.public_ip_prefix = public_ip_prefix self.idle_timeout_in_minutes = idle_timeout_in_minutes - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state - self.etag = etag + self.resource_guid = None + self.provisioning_state = None + self.etag = None self.zones = zones @@ -11280,7 +13644,7 @@ class PublicIPAddressSku(Model): :param name: Name of a public IP address SKU. Possible values include: 'Basic', 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressSkuName + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressSkuName """ _attribute_map = { @@ -11309,35 +13673,35 @@ class PublicIPPrefix(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param sku: The public IP prefix SKU. - :type sku: ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixSku + :type sku: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixSku :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.v2019_07_01.models.IPVersion + ~azure.mgmt.network.v2020_05_01.models.IPVersion :param ip_tags: The list of tags associated with the public IP prefix. - :type ip_tags: list[~azure.mgmt.network.v2019_07_01.models.IpTag] + :type ip_tags: list[~azure.mgmt.network.v2020_05_01.models.IpTag] :param prefix_length: The Length of the Public IP Prefix. :type prefix_length: int - :param ip_prefix: The allocated Prefix. - :type ip_prefix: str - :param public_ip_addresses: The list of all referenced PublicIPAddresses. - :type public_ip_addresses: - list[~azure.mgmt.network.v2019_07_01.models.ReferencedPublicIpAddress] + :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.v2020_05_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.v2019_07_01.models.SubResource - :param resource_guid: The resource GUID property of the public IP prefix + ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar resource_guid: The resource GUID property of the public IP prefix resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the public IP prefix + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :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] @@ -11346,7 +13710,12 @@ class PublicIPPrefix(Resource): _validation = { 'name': {'readonly': True}, 'type': {'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}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11368,18 +13737,18 @@ class PublicIPPrefix(Resource): 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, public_ip_address_version=None, ip_tags=None, prefix_length: int=None, ip_prefix: str=None, public_ip_addresses=None, resource_guid: str=None, provisioning_state=None, etag: str=None, zones=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, sku=None, public_ip_address_version=None, ip_tags=None, prefix_length: int=None, zones=None, **kwargs) -> None: super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) self.sku = sku self.public_ip_address_version = public_ip_address_version self.ip_tags = ip_tags self.prefix_length = prefix_length - self.ip_prefix = ip_prefix - self.public_ip_addresses = public_ip_addresses + self.ip_prefix = None + self.public_ip_addresses = None self.load_balancer_frontend_ip_configuration = None - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state - self.etag = etag + self.resource_guid = None + self.provisioning_state = None + self.etag = None self.zones = zones @@ -11389,7 +13758,7 @@ class PublicIPPrefixSku(Model): :param name: Name of a public IP prefix SKU. Possible values include: 'Standard' :type name: str or - ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixSkuName + ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixSkuName """ _attribute_map = { @@ -11424,6 +13793,82 @@ def __init__(self, *, target_resource_id: str, **kwargs) -> None: self.target_resource_id = target_resource_id +class RadiusServer(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: int=None, radius_server_secret: str=None, **kwargs) -> None: + 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(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.v2020_05_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: str=None, record_set_name: str=None, fqdn: str=None, ttl: int=None, ip_addresses=None, **kwargs) -> None: + 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(Model): """Reference to a public IP address. @@ -11456,7 +13901,7 @@ class ResourceNavigationLink(SubResource): navigation link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -11501,7 +13946,7 @@ class ResourceNavigationLinksListResult(Model): :param value: The resource navigation links in a subnet. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ResourceNavigationLink] + list[~azure.mgmt.network.v2020_05_01.models.ResourceNavigationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -11544,6 +13989,9 @@ def __init__(self, *, days: int=0, enabled: bool=False, **kwargs) -> None: class Route(SubResource): """Route 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. @@ -11554,25 +14002,27 @@ class Route(SubResource): sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None' :type next_hop_type: str or - ~azure.mgmt.network.v2019_07_01.models.RouteNextHopType + ~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the route resource. + :ivar provisioning_state: The provisioning state of the route resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'next_hop_type': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11585,14 +14035,14 @@ class Route(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, next_hop_type, id: str=None, address_prefix: str=None, next_hop_ip_address: str=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, next_hop_type, id: str=None, address_prefix: str=None, next_hop_ip_address: str=None, name: str=None, **kwargs) -> None: super(Route, self).__init__(id=id, **kwargs) self.address_prefix = address_prefix self.next_hop_type = next_hop_type self.next_hop_ip_address = next_hop_ip_address - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class RouteFilter(Resource): @@ -11613,20 +14063,20 @@ class RouteFilter(Resource): :type tags: dict[str, str] :param rules: Collection of RouteFilterRules contained within a route filter. - :type rules: list[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] - :param peerings: A collection of references to express route circuit + :type rules: list[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] + :ivar peerings: A collection of references to express route circuit peerings. - :type peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] - :param ipv6_peerings: A collection of references to express route circuit + :vartype peerings: + list[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] + :ivar ipv6_peerings: A collection of references to express route circuit ipv6 peerings. - :type ipv6_peerings: - list[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + :vartype ipv6_peerings: + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -11635,6 +14085,8 @@ class RouteFilter(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'peerings': {'readonly': True}, + 'ipv6_peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -11652,11 +14104,11 @@ class RouteFilter(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, rules=None, peerings=None, ipv6_peerings=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, rules=None, **kwargs) -> None: super(RouteFilter, self).__init__(id=id, location=location, tags=tags, **kwargs) self.rules = rules - self.peerings = peerings - self.ipv6_peerings = ipv6_peerings + self.peerings = None + self.ipv6_peerings = None self.provisioning_state = None self.etag = None @@ -11673,7 +14125,7 @@ class RouteFilterRule(SubResource): :type id: str :param access: Required. The access type of the rule. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_01.models.Access :ivar route_filter_rule_type: Required. The rule type of the rule. Default value: "Community" . :vartype route_filter_rule_type: str @@ -11684,7 +14136,7 @@ class RouteFilterRule(SubResource): resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -11743,26 +14195,28 @@ class RouteTable(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param routes: Collection of routes contained within a route table. - :type routes: list[~azure.mgmt.network.v2019_07_01.models.Route] + :type routes: list[~azure.mgmt.network.v2020_05_01.models.Route] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the route table + :ivar provisioning_state: The provisioning state of the route table resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, 'subnets': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11778,13 +14232,43 @@ class RouteTable(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, routes=None, disable_bgp_route_propagation: bool=None, provisioning_state=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, routes=None, disable_bgp_route_propagation: bool=None, **kwargs) -> None: super(RouteTable, self).__init__(id=id, location=location, tags=tags, **kwargs) self.routes = routes self.subnets = None self.disable_bgp_route_propagation = disable_bgp_route_propagation - self.provisioning_state = provisioning_state - self.etag = etag + self.provisioning_state = None + self.etag = None + + +class RoutingConfiguration(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.v2020_05_01.models.SubResource + :param propagated_route_tables: The list of RouteTables to advertise the + routes to. + :type propagated_route_tables: + ~azure.mgmt.network.v2020_05_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.v2020_05_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=None, propagated_route_tables=None, vnet_routes=None, **kwargs) -> None: + 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(Model): @@ -11795,7 +14279,7 @@ class SecurityGroupNetworkInterface(Model): :param security_rule_associations: All security rules associated with the network interface. :type security_rule_associations: - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAssociations + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleAssociations """ _attribute_map = { @@ -11836,7 +14320,7 @@ class SecurityGroupViewResult(Model): :param network_interfaces: List of network interfaces on the specified VM. :type network_interfaces: - list[~azure.mgmt.network.v2019_07_01.models.SecurityGroupNetworkInterface] + list[~azure.mgmt.network.v2020_05_01.models.SecurityGroupNetworkInterface] """ _attribute_map = { @@ -11848,9 +14332,80 @@ def __init__(self, *, network_interfaces=None, **kwargs) -> None: 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: Resource tags. + :type tags: dict[str, 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.v2020_05_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.v2020_05_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.v2020_05_01.models.SecurityPartnerProviderConnectionStatus + :param virtual_hub: The virtualHub to which the Security Partner Provider + belongs. + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'connection_status': {'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}'}, + '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'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, security_provider_name=None, virtual_hub=None, **kwargs) -> None: + super(SecurityPartnerProvider, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.provisioning_state = None + self.security_provider_name = security_provider_name + self.connection_status = None + self.virtual_hub = virtual_hub + self.etag = None + + class SecurityRule(SubResource): """Network security 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 id: Resource ID. @@ -11858,9 +14413,9 @@ class SecurityRule(SubResource): :param description: A description for this rule. Restricted to 140 chars. :type description: str :param protocol: Required. Network protocol this rule applies to. Possible - values include: 'Tcp', 'Udp', 'Icmp', 'Esp', '*' + values include: 'Tcp', 'Udp', 'Icmp', 'Esp', '*', 'Ah' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleProtocol + ~azure.mgmt.network.v2020_05_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 @@ -11878,7 +14433,7 @@ class SecurityRule(SubResource): :param source_application_security_groups: The application security group specified as source. :type source_application_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_05_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 @@ -11890,7 +14445,7 @@ class SecurityRule(SubResource): :param destination_application_security_groups: The application security group specified as destination. :type destination_application_security_groups: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + list[~azure.mgmt.network.v2020_05_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. @@ -11898,7 +14453,7 @@ class SecurityRule(SubResource): :param access: Required. The network traffic is allowed or denied. Possible values include: 'Allow', 'Deny' :type access: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleAccess + ~azure.mgmt.network.v2020_05_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 @@ -11908,24 +14463,26 @@ class SecurityRule(SubResource): specifies if rule will be evaluated on incoming or outgoing traffic. Possible values include: 'Inbound', 'Outbound' :type direction: str or - ~azure.mgmt.network.v2019_07_01.models.SecurityRuleDirection - :param provisioning_state: The provisioning state of the security rule + ~azure.mgmt.network.v2020_05_01.models.SecurityRuleDirection + :ivar provisioning_state: The provisioning state of the security rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'protocol': {'required': True}, 'access': {'required': True}, 'direction': {'required': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -11950,7 +14507,7 @@ class SecurityRule(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, protocol, access, direction, id: str=None, description: str=None, source_port_range: str=None, destination_port_range: str=None, source_address_prefix: str=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefix: str=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority: int=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, protocol, access, direction, id: str=None, description: str=None, source_port_range: str=None, destination_port_range: str=None, source_address_prefix: str=None, source_address_prefixes=None, source_application_security_groups=None, destination_address_prefix: str=None, destination_address_prefixes=None, destination_application_security_groups=None, source_port_ranges=None, destination_port_ranges=None, priority: int=None, name: str=None, **kwargs) -> None: super(SecurityRule, self).__init__(id=id, **kwargs) self.description = description self.protocol = protocol @@ -11967,9 +14524,9 @@ def __init__(self, *, protocol, access, direction, id: str=None, description: st self.access = access self.priority = priority self.direction = direction - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class SecurityRuleAssociations(Model): @@ -11978,17 +14535,17 @@ class SecurityRuleAssociations(Model): :param network_interface_association: Network interface and it's custom security rules. :type network_interface_association: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceAssociation + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceAssociation :param subnet_association: Subnet and it's custom security rules. :type subnet_association: - ~azure.mgmt.network.v2019_07_01.models.SubnetAssociation + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] :param effective_security_rules: Collection of effective security rules. :type effective_security_rules: - list[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityRule] """ _attribute_map = { @@ -12022,7 +14579,7 @@ class ServiceAssociationLink(SubResource): association link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param allow_delete: If true, the resource can be deleted. :type allow_delete: bool :param locations: A list of locations. @@ -12033,13 +14590,14 @@ class ServiceAssociationLink(SubResource): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str - :param type: Resource type. - :type type: str + :ivar type: Resource type. + :vartype type: str """ _validation = { 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, + 'type': {'readonly': True}, } _attribute_map = { @@ -12054,7 +14612,7 @@ class ServiceAssociationLink(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, linked_resource_type: str=None, link: str=None, allow_delete: bool=None, locations=None, name: str=None, type: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, linked_resource_type: str=None, link: str=None, allow_delete: bool=None, locations=None, name: str=None, **kwargs) -> None: super(ServiceAssociationLink, self).__init__(id=id, **kwargs) self.linked_resource_type = linked_resource_type self.link = link @@ -12063,7 +14621,7 @@ def __init__(self, *, id: str=None, linked_resource_type: str=None, link: str=No self.locations = locations self.name = name self.etag = None - self.type = type + self.type = None class ServiceAssociationLinksListResult(Model): @@ -12074,7 +14632,7 @@ class ServiceAssociationLinksListResult(Model): :param value: The service association links in a subnet. :type value: - list[~azure.mgmt.network.v2019_07_01.models.ServiceAssociationLink] + list[~azure.mgmt.network.v2020_05_01.models.ServiceAssociationLink] :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ @@ -12113,9 +14671,9 @@ class ServiceEndpointPolicy(Resource): :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.v2019_07_01.models.ServiceEndpointPolicyDefinition] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition] :ivar subnets: A collection of references to subnets. - :vartype subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :vartype subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] :ivar resource_guid: The resource GUID property of the service endpoint policy resource. :vartype resource_guid: str @@ -12123,10 +14681,10 @@ class ServiceEndpointPolicy(Resource): policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -12135,6 +14693,7 @@ class ServiceEndpointPolicy(Resource): 'subnets': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12150,13 +14709,13 @@ class ServiceEndpointPolicy(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, service_endpoint_policy_definitions=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, service_endpoint_policy_definitions=None, **kwargs) -> None: super(ServiceEndpointPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) self.service_endpoint_policy_definitions = service_endpoint_policy_definitions self.subnets = None self.resource_guid = None self.provisioning_state = None - self.etag = etag + self.etag = None class ServiceEndpointPolicyDefinition(SubResource): @@ -12177,17 +14736,18 @@ class ServiceEndpointPolicyDefinition(SubResource): policy definition resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12200,41 +14760,48 @@ class ServiceEndpointPolicyDefinition(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, description: str=None, service: str=None, service_resources=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, description: str=None, service: str=None, service_resources=None, name: str=None, **kwargs) -> None: super(ServiceEndpointPolicyDefinition, self).__init__(id=id, **kwargs) self.description = description self.service = service self.service_resources = service_resources self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class ServiceEndpointPropertiesFormat(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] - :param provisioning_state: The provisioning state of the service endpoint + :ivar provisioning_state: The provisioning state of the service endpoint resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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: str=None, locations=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, service: str=None, locations=None, **kwargs) -> None: super(ServiceEndpointPropertiesFormat, self).__init__(**kwargs) self.service = service self.locations = locations - self.provisioning_state = provisioning_state + self.provisioning_state = None class ServiceTagInformation(Model): @@ -12245,7 +14812,7 @@ class ServiceTagInformation(Model): :ivar properties: Properties of the service tag information. :vartype properties: - ~azure.mgmt.network.v2019_07_01.models.ServiceTagInformationPropertiesFormat + ~azure.mgmt.network.v2020_05_01.models.ServiceTagInformationPropertiesFormat :ivar name: The name of service tag. :vartype name: str :ivar id: The ID of service tag. @@ -12327,7 +14894,7 @@ class ServiceTagsListResult(Model): :vartype cloud: str :ivar values: The list of service tag information resources. :vartype values: - list[~azure.mgmt.network.v2019_07_01.models.ServiceTagInformation] + list[~azure.mgmt.network.v2020_05_01.models.ServiceTagInformation] """ _validation = { @@ -12348,14 +14915,55 @@ class ServiceTagsListResult(Model): 'values': {'key': 'values', 'type': '[ServiceTagInformation]'}, } - def __init__(self, **kwargs) -> None: - super(ServiceTagsListResult, self).__init__(**kwargs) - self.name = None - self.id = None - self.type = None - self.change_number = None - self.cloud = None - self.values = None + def __init__(self, **kwargs) -> None: + super(ServiceTagsListResult, self).__init__(**kwargs) + self.name = None + self.id = None + self.type = None + self.change_number = None + self.cloud = None + self.values = None + + +class SessionIds(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=None, **kwargs) -> None: + super(SessionIds, self).__init__(**kwargs) + self.session_ids = session_ids + + +class StaticRoute(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: str=None, address_prefixes=None, next_hop_ip_address: str=None, **kwargs) -> None: + 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): @@ -12370,49 +14978,52 @@ class Subnet(SubResource): :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 of the NetworkSecurityGroup + :param network_security_group: The reference to the NetworkSecurityGroup resource. :type network_security_group: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup - :param route_table: The reference of the RouteTable resource. - :type route_table: ~azure.mgmt.network.v2019_07_01.models.RouteTable + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup + :param route_table: The reference to the RouteTable resource. + :type route_table: ~azure.mgmt.network.v2020_05_01.models.RouteTable :param nat_gateway: Nat gateway associated with this subnet. - :type nat_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type nat_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param service_endpoints: An array of service endpoints. :type service_endpoints: - list[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPropertiesFormat] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPropertiesFormat] :param service_endpoint_policies: An array of service endpoint policies. :type service_endpoint_policies: - list[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] + list[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy] :ivar private_endpoints: An array of references to private endpoints. :vartype private_endpoints: - list[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.IPConfiguration] :ivar ip_configuration_profiles: Array of IP configuration profiles which reference this subnet. :vartype ip_configuration_profiles: - list[~azure.mgmt.network.v2019_07_01.models.IPConfigurationProfile] - :param resource_navigation_links: An array of references to the external + list[~azure.mgmt.network.v2020_05_01.models.IPConfigurationProfile] + :param ip_allocations: Array of IpAllocation which reference this subnet. + :type ip_allocations: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar resource_navigation_links: An array of references to the external resources using subnet. - :type resource_navigation_links: - list[~azure.mgmt.network.v2019_07_01.models.ResourceNavigationLink] - :param service_association_links: An array of references to services + :vartype resource_navigation_links: + list[~azure.mgmt.network.v2020_05_01.models.ResourceNavigationLink] + :ivar service_association_links: An array of references to services injecting into this subnet. - :type service_association_links: - list[~azure.mgmt.network.v2019_07_01.models.ServiceAssociationLink] + :vartype service_association_links: + list[~azure.mgmt.network.v2020_05_01.models.ServiceAssociationLink] :param delegations: An array of references to the delegations on the subnet. - :type delegations: list[~azure.mgmt.network.v2019_07_01.models.Delegation] + :type delegations: list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the subnet resource. + :ivar provisioning_state: The provisioning state of the subnet resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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 @@ -12422,16 +15033,20 @@ class Subnet(SubResource): :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { '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}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -12446,6 +15061,7 @@ class Subnet(SubResource): '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]'}, @@ -12457,7 +15073,7 @@ class Subnet(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=None, network_security_group=None, route_table=None, nat_gateway=None, service_endpoints=None, service_endpoint_policies=None, resource_navigation_links=None, service_association_links=None, delegations=None, provisioning_state=None, private_endpoint_network_policies: str=None, private_link_service_network_policies: str=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=None, network_security_group=None, route_table=None, nat_gateway=None, service_endpoints=None, service_endpoint_policies=None, ip_allocations=None, delegations=None, private_endpoint_network_policies: str=None, private_link_service_network_policies: str=None, name: str=None, **kwargs) -> None: super(Subnet, self).__init__(id=id, **kwargs) self.address_prefix = address_prefix self.address_prefixes = address_prefixes @@ -12469,15 +15085,16 @@ def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=N self.private_endpoints = None self.ip_configurations = None self.ip_configuration_profiles = None - self.resource_navigation_links = resource_navigation_links - self.service_association_links = service_association_links + self.ip_allocations = ip_allocations + self.resource_navigation_links = None + self.service_association_links = None self.delegations = delegations self.purpose = None - self.provisioning_state = provisioning_state + 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.name = name - self.etag = etag + self.etag = None class SubnetAssociation(Model): @@ -12490,7 +15107,7 @@ class SubnetAssociation(Model): :vartype id: str :param security_rules: Collection of custom security rules. :type security_rules: - list[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + list[~azure.mgmt.network.v2020_05_01.models.SecurityRule] """ _validation = { @@ -12539,7 +15156,7 @@ class Topology(Model): :vartype last_modified: datetime :param resources: A list of topology resources. :type resources: - list[~azure.mgmt.network.v2019_07_01.models.TopologyResource] + list[~azure.mgmt.network.v2020_05_01.models.TopologyResource] """ _validation = { @@ -12575,7 +15192,7 @@ class TopologyAssociation(Model): :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.v2019_07_01.models.AssociationType + ~azure.mgmt.network.v2020_05_01.models.AssociationType """ _attribute_map = { @@ -12597,12 +15214,12 @@ class TopologyParameters(Model): :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 of the Virtual Network + :param target_virtual_network: The reference to the Virtual Network resource. :type target_virtual_network: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param target_subnet: The reference of the Subnet resource. - :type target_subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param target_subnet: The reference to the Subnet resource. + :type target_subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource """ _attribute_map = { @@ -12630,7 +15247,7 @@ class TopologyResource(Model): :param associations: Holds the associations the resource has with other resources in the resource group. :type associations: - list[~azure.mgmt.network.v2019_07_01.models.TopologyAssociation] + list[~azure.mgmt.network.v2020_05_01.models.TopologyAssociation] """ _attribute_map = { @@ -12651,9 +15268,7 @@ def __init__(self, *, name: str=None, id: str=None, location: str=None, associat class TrafficAnalyticsConfigurationProperties(Model): """Parameters that define the configuration of traffic analytics. - All required parameters must be populated in order to send to Azure. - - :param enabled: Required. Flag to enable/disable 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 @@ -12666,10 +15281,6 @@ class TrafficAnalyticsConfigurationProperties(Model): :type traffic_analytics_interval: int """ - _validation = { - 'enabled': {'required': True}, - } - _attribute_map = { 'enabled': {'key': 'enabled', 'type': 'bool'}, 'workspace_id': {'key': 'workspaceId', 'type': 'str'}, @@ -12678,7 +15289,7 @@ class TrafficAnalyticsConfigurationProperties(Model): 'traffic_analytics_interval': {'key': 'trafficAnalyticsInterval', 'type': 'int'}, } - def __init__(self, *, enabled: bool, workspace_id: str=None, workspace_region: str=None, workspace_resource_id: str=None, traffic_analytics_interval: int=None, **kwargs) -> None: + def __init__(self, *, enabled: bool=None, workspace_id: str=None, workspace_region: str=None, workspace_resource_id: str=None, traffic_analytics_interval: int=None, **kwargs) -> None: super(TrafficAnalyticsConfigurationProperties, self).__init__(**kwargs) self.enabled = enabled self.workspace_id = workspace_id @@ -12690,23 +15301,17 @@ def __init__(self, *, enabled: bool, workspace_id: str=None, workspace_region: s class TrafficAnalyticsProperties(Model): """Parameters that define the configuration of traffic analytics. - All required parameters must be populated in order to send to Azure. - - :param network_watcher_flow_analytics_configuration: Required. 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.v2019_07_01.models.TrafficAnalyticsConfigurationProperties + ~azure.mgmt.network.v2020_05_01.models.TrafficAnalyticsConfigurationProperties """ - _validation = { - 'network_watcher_flow_analytics_configuration': {'required': True}, - } - _attribute_map = { 'network_watcher_flow_analytics_configuration': {'key': 'networkWatcherFlowAnalyticsConfiguration', 'type': 'TrafficAnalyticsConfigurationProperties'}, } - def __init__(self, *, network_watcher_flow_analytics_configuration, **kwargs) -> None: + def __init__(self, *, network_watcher_flow_analytics_configuration=None, **kwargs) -> None: super(TrafficAnalyticsProperties, self).__init__(**kwargs) self.network_watcher_flow_analytics_configuration = network_watcher_flow_analytics_configuration @@ -12717,10 +15322,10 @@ class TrafficSelectorPolicy(Model): 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 + spaces in CIDR format. :type local_address_ranges: list[str] :param remote_address_ranges: Required. A collection of remote address - spaces in CIDR format + spaces in CIDR format. :type remote_address_ranges: list[str] """ @@ -12753,7 +15358,7 @@ class TroubleshootingDetails(Model): :type detail: str :param recommended_actions: List of recommended actions. :type recommended_actions: - list[~azure.mgmt.network.v2019_07_01.models.TroubleshootingRecommendedActions] + list[~azure.mgmt.network.v2020_05_01.models.TroubleshootingRecommendedActions] """ _attribute_map = { @@ -12848,7 +15453,7 @@ class TroubleshootingResult(Model): :type code: str :param results: Information from troubleshooting. :type results: - list[~azure.mgmt.network.v2019_07_01.models.TroubleshootingDetails] + list[~azure.mgmt.network.v2020_05_01.models.TroubleshootingDetails] """ _attribute_map = { @@ -12878,7 +15483,7 @@ class TunnelConnectionHealth(Model): Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar ingress_bytes_transferred: The Ingress Bytes Transferred in this connection. :vartype ingress_bytes_transferred: long @@ -12933,7 +15538,7 @@ def __init__(self, *, service_name: str=None, **kwargs) -> None: class Usage(Model): - """Describes network resource usage. + """The network resource usage. Variables are only populated by the server, and will be ignored when sending a request. @@ -12950,7 +15555,7 @@ class Usage(Model): :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.v2019_07_01.models.UsageName + :type name: ~azure.mgmt.network.v2020_05_01.models.UsageName """ _validation = { @@ -13009,11 +15614,11 @@ class VerificationIPFlowParameters(Model): :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.v2019_07_01.models.Direction + :type direction: str or ~azure.mgmt.network.v2020_05_01.models.Direction :param protocol: Required. Protocol to be verified on. Possible values include: 'TCP', 'UDP' :type protocol: str or - ~azure.mgmt.network.v2019_07_01.models.IpFlowProtocol + ~azure.mgmt.network.v2020_05_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. @@ -13072,7 +15677,7 @@ class VerificationIPFlowResult(Model): :param access: Indicates whether the traffic is allowed or denied. Possible values include: 'Allow', 'Deny' - :type access: str or ~azure.mgmt.network.v2019_07_01.models.Access + :type access: str or ~azure.mgmt.network.v2020_05_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 @@ -13089,6 +15694,115 @@ def __init__(self, *, access=None, rule_name: str=None, **kwargs) -> None: self.rule_name = rule_name +class VirtualApplianceNicProperties(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) -> None: + 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 address_prefix: Address Prefix. + :type address_prefix: str + :param o365_policy: Office 365 Policy. + :type o365_policy: + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, + 'o365_policy': {'key': 'properties.o365Policy', 'type': 'Office365PolicyProperties'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, address_prefix: str=None, o365_policy=None, name: str=None, **kwargs) -> None: + super(VirtualApplianceSite, self).__init__(id=id, **kwargs) + self.address_prefix = address_prefix + self.o365_policy = o365_policy + self.provisioning_state = None + self.name = name + self.etag = None + self.type = None + + +class VirtualApplianceSkuProperties(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: str=None, bundled_scale_unit: str=None, market_place_version: str=None, **kwargs) -> None: + 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. @@ -13106,29 +15820,53 @@ class VirtualHub(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_wan: The VirtualWAN to which the VirtualHub belongs. - :type virtual_wan: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_05_01.models.SubResource :param vpn_gateway: The VpnGateway associated with this VirtualHub. - :type vpn_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type vpn_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param p2_svpn_gateway: The P2SVpnGateway associated with this VirtualHub. - :type p2_svpn_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type p2_svpn_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource :param express_route_gateway: The expressRouteGateway associated with this VirtualHub. :type express_route_gateway: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param virtual_network_connections: List of all vnet connections with this - VirtualHub. - :type virtual_network_connections: - list[~azure.mgmt.network.v2019_07_01.models.HubVirtualNetworkConnection] + ~azure.mgmt.network.v2020_05_01.models.SubResource + :param azure_firewall: The azureFirewall associated with this VirtualHub. + :type azure_firewall: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param security_partner_provider: The securityPartnerProvider associated + with this VirtualHub. + :type security_partner_provider: + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualHubRouteTable - :param provisioning_state: The provisioning state of the virtual hub + ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTable + :ivar provisioning_state: The provisioning state of the virtual hub resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param security_provider_name: The Security Provider name. + :type security_provider_name: str + :param virtual_hub_route_table_v2s: List of all virtual hub route table + v2s associated with this VirtualHub. + :type virtual_hub_route_table_v2s: + list[~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2] + :param sku: The sku of this VirtualHub. + :type sku: str + :param routing_state: The routing state. Possible values include: 'None', + 'Provisioned', 'Provisioning', 'Failed' + :type routing_state: str or + ~azure.mgmt.network.v2020_05_01.models.RoutingState + :ivar bgp_connections: List of references to Bgp Connections. + :vartype bgp_connections: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar ip_configurations: List of references to IpConfigurations. + :vartype ip_configurations: + list[~azure.mgmt.network.v2020_05_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] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -13137,6 +15875,10 @@ class VirtualHub(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'bgp_connections': {'readonly': True}, + 'ip_configurations': {'readonly': True}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, 'etag': {'readonly': True}, } @@ -13150,26 +15892,94 @@ class VirtualHub(Resource): 'vpn_gateway': {'key': 'properties.vpnGateway', 'type': 'SubResource'}, 'p2_svpn_gateway': {'key': 'properties.p2SVpnGateway', 'type': 'SubResource'}, 'express_route_gateway': {'key': 'properties.expressRouteGateway', 'type': 'SubResource'}, - 'virtual_network_connections': {'key': 'properties.virtualNetworkConnections', 'type': '[HubVirtualNetworkConnection]'}, + '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_v2s': {'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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_wan=None, vpn_gateway=None, p2_svpn_gateway=None, express_route_gateway=None, virtual_network_connections=None, address_prefix: str=None, route_table=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_wan=None, vpn_gateway=None, p2_svpn_gateway=None, express_route_gateway=None, azure_firewall=None, security_partner_provider=None, address_prefix: str=None, route_table=None, security_provider_name: str=None, virtual_hub_route_table_v2s=None, sku: str=None, routing_state=None, virtual_router_asn: int=None, virtual_router_ips=None, **kwargs) -> None: super(VirtualHub, self).__init__(id=id, location=location, tags=tags, **kwargs) self.virtual_wan = virtual_wan self.vpn_gateway = vpn_gateway self.p2_svpn_gateway = p2_svpn_gateway self.express_route_gateway = express_route_gateway - self.virtual_network_connections = virtual_network_connections + 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 = provisioning_state + self.provisioning_state = None + self.security_provider_name = security_provider_name + self.virtual_hub_route_table_v2s = virtual_hub_route_table_v2s + self.sku = sku + self.routing_state = routing_state + self.bgp_connections = None + self.ip_configurations = None + self.virtual_router_asn = virtual_router_asn + self.virtual_router_ips = virtual_router_ips self.etag = None +class VirtualHubEffectiveRoute(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=None, next_hops=None, next_hop_type: str=None, as_path: str=None, route_origin: str=None, **kwargs) -> None: + 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 VirtualHubEffectiveRouteEffectiveRouteList(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.v2020_05_01.models.VirtualHubEffectiveRoute] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[VirtualHubEffectiveRoute]'}, + } + + def __init__(self, *, value=None, **kwargs) -> None: + super(VirtualHubEffectiveRouteEffectiveRouteList, self).__init__(**kwargs) + self.value = value + + class VirtualHubId(Model): """Virtual Hub identifier. @@ -13212,7 +16022,7 @@ class VirtualHubRouteTable(Model): """VirtualHub route table. :param routes: List of all routes. - :type routes: list[~azure.mgmt.network.v2019_07_01.models.VirtualHubRoute] + :type routes: list[~azure.mgmt.network.v2020_05_01.models.VirtualHubRoute] """ _attribute_map = { @@ -13224,6 +16034,84 @@ def __init__(self, *, routes=None, **kwargs) -> None: 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 routes: List of all routes. + :type routes: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.ProvisioningState + :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 + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'routes': {'key': 'properties.routes', 'type': '[VirtualHubRouteV2]'}, + 'attached_connections': {'key': 'properties.attachedConnections', 'type': '[str]'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, routes=None, attached_connections=None, name: str=None, **kwargs) -> None: + super(VirtualHubRouteTableV2, self).__init__(id=id, **kwargs) + self.routes = routes + self.attached_connections = attached_connections + self.provisioning_state = None + self.name = name + self.etag = None + + +class VirtualHubRouteV2(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: str=None, destinations=None, next_hop_type: str=None, next_hops=None, **kwargs) -> None: + 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. @@ -13242,23 +16130,23 @@ class VirtualNetwork(Resource): :type tags: dict[str, 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.v2019_07_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhcpOptions + :type dhcp_options: ~azure.mgmt.network.v2020_05_01.models.DhcpOptions :param subnets: A list of subnets in a Virtual Network. - :type subnets: list[~azure.mgmt.network.v2019_07_01.models.Subnet] + :type subnets: list[~azure.mgmt.network.v2020_05_01.models.Subnet] :param virtual_network_peerings: A list of peerings in a Virtual Network. :type virtual_network_peerings: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering] - :param resource_guid: The resourceGuid property of the Virtual Network + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering] + :ivar resource_guid: The resourceGuid property of the Virtual Network resource. - :type resource_guid: str - :param provisioning_state: The provisioning state of the virtual network + :vartype resource_guid: str + :ivar provisioning_state: The provisioning state of the virtual network resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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. Default value: False . @@ -13269,15 +16157,25 @@ class VirtualNetwork(Resource): :param ddos_protection_plan: The DDoS protection plan associated with the virtual network. :type ddos_protection_plan: - ~azure.mgmt.network.v2019_07_01.models.SubResource - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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.v2020_05_01.models.VirtualNetworkBgpCommunities + :param ip_allocations: Array of IpAllocation which reference this VNET. + :type ip_allocations: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13295,21 +16193,58 @@ class VirtualNetwork(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, address_space=None, dhcp_options=None, subnets=None, virtual_network_peerings=None, resource_guid: str=None, provisioning_state=None, enable_ddos_protection: bool=False, enable_vm_protection: bool=False, ddos_protection_plan=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, address_space=None, dhcp_options=None, subnets=None, virtual_network_peerings=None, enable_ddos_protection: bool=False, enable_vm_protection: bool=False, ddos_protection_plan=None, bgp_communities=None, ip_allocations=None, **kwargs) -> None: super(VirtualNetwork, self).__init__(id=id, location=location, tags=tags, **kwargs) self.address_space = address_space self.dhcp_options = dhcp_options self.subnets = subnets self.virtual_network_peerings = virtual_network_peerings - self.resource_guid = resource_guid - self.provisioning_state = provisioning_state + 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.etag = etag + self.bgp_communities = bgp_communities + self.ip_allocations = ip_allocations + self.etag = None + + +class VirtualNetworkBgpCommunities(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) -> None: + super(VirtualNetworkBgpCommunities, self).__init__(**kwargs) + self.virtual_network_community = virtual_network_community + self.regional_community = None class VirtualNetworkConnectionGatewayReference(Model): @@ -13353,60 +16288,71 @@ class VirtualNetworkGateway(Resource): :type tags: dict[str, str] :param ip_configurations: IP configurations for virtual network gateway. :type ip_configurations: - list[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayIPConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayIPConfiguration] :param gateway_type: The type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute' :type gateway_type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnType + :type vpn_type: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnGatewayGeneration + ~azure.mgmt.network.v2020_05_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_active: ActiveActive flag. :type active_active: bool - :param gateway_default_site: The reference of the LocalNetworkGateway + :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.v2019_07_01.models.SubResource - :param sku: The reference of the VirtualNetworkGatewaySku resource which + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewaySku - :param vpn_client_configuration: The reference of the + :type sku: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnClientConfiguration + ~azure.mgmt.network.v2020_05_01.models.VpnClientConfiguration :param bgp_settings: Virtual network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param custom_routes: The reference of the address space resource which + :type bgp_settings: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AddressSpace - :param resource_guid: The resource GUID property of the virtual network + :type custom_routes: ~azure.mgmt.network.v2020_05_01.models.AddressSpace + :ivar resource_guid: The resource GUID property of the virtual network gateway resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_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 + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'inbound_dns_forwarding_endpoint': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13420,6 +16366,7 @@ class VirtualNetworkGateway(Resource): '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_active': {'key': 'properties.activeActive', 'type': 'bool'}, 'gateway_default_site': {'key': 'properties.gatewayDefaultSite', 'type': 'SubResource'}, 'sku': {'key': 'properties.sku', 'type': 'VirtualNetworkGatewaySku'}, @@ -13428,25 +16375,30 @@ class VirtualNetworkGateway(Resource): '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'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, ip_configurations=None, gateway_type=None, vpn_type=None, vpn_gateway_generation=None, enable_bgp: bool=None, active_active: bool=None, gateway_default_site=None, sku=None, vpn_client_configuration=None, bgp_settings=None, custom_routes=None, resource_guid: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, ip_configurations=None, gateway_type=None, vpn_type=None, vpn_gateway_generation=None, enable_bgp: bool=None, enable_private_ip_address: bool=None, active_active: bool=None, gateway_default_site=None, sku=None, vpn_client_configuration=None, bgp_settings=None, custom_routes=None, enable_dns_forwarding: bool=None, **kwargs) -> None: super(VirtualNetworkGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) 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 = 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 = resource_guid + self.resource_guid = None self.provisioning_state = None - self.etag = etag + self.enable_dns_forwarding = enable_dns_forwarding + self.inbound_dns_forwarding_endpoint = None + self.etag = None class VirtualNetworkGatewayConnection(Resource): @@ -13472,36 +16424,39 @@ class VirtualNetworkGatewayConnection(Resource): :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway :param connection_type: Required. Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient' :type connection_type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_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 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.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2019_07_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_05_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long @@ -13509,34 +16464,37 @@ class VirtualNetworkGatewayConnection(Resource): connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TrafficSelectorPolicy] - :param resource_guid: The resource GUID property of the virtual network + list[~azure.mgmt.network.v2020_05_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13548,7 +16506,9 @@ class VirtualNetworkGatewayConnection(Resource): 'tunnel_connection_status': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13564,6 +16524,7 @@ class VirtualNetworkGatewayConnection(Resource): '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'}, 'shared_key': {'key': 'properties.sharedKey', 'type': 'str'}, 'connection_status': {'key': 'properties.connectionStatus', 'type': 'str'}, 'tunnel_connection_status': {'key': 'properties.tunnelConnectionStatus', 'type': '[TunnelConnectionHealth]'}, @@ -13571,6 +16532,7 @@ class VirtualNetworkGatewayConnection(Resource): '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]'}, @@ -13580,7 +16542,7 @@ class VirtualNetworkGatewayConnection(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, location: str=None, tags=None, authorization_key: str=None, virtual_network_gateway2=None, local_network_gateway2=None, connection_protocol=None, routing_weight: int=None, shared_key: str=None, peer=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, traffic_selector_policies=None, resource_guid: str=None, express_route_gateway_bypass: bool=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, location: str=None, tags=None, authorization_key: str=None, virtual_network_gateway2=None, local_network_gateway2=None, connection_protocol=None, routing_weight: int=None, dpd_timeout_seconds: int=None, shared_key: str=None, peer=None, enable_bgp: bool=None, use_local_azure_ip_address: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, traffic_selector_policies=None, express_route_gateway_bypass: bool=None, **kwargs) -> None: super(VirtualNetworkGatewayConnection, self).__init__(id=id, location=location, tags=tags, **kwargs) self.authorization_key = authorization_key self.virtual_network_gateway1 = virtual_network_gateway1 @@ -13589,6 +16551,7 @@ def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, l self.connection_type = connection_type self.connection_protocol = connection_protocol self.routing_weight = routing_weight + self.dpd_timeout_seconds = dpd_timeout_seconds self.shared_key = shared_key self.connection_status = None self.tunnel_connection_status = None @@ -13596,13 +16559,14 @@ def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, l 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 = resource_guid + self.resource_guid = None self.provisioning_state = None self.express_route_gateway_bypass = express_route_gateway_bypass - self.etag = etag + self.etag = None class VirtualNetworkGatewayConnectionListEntity(Resource): @@ -13628,23 +16592,23 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :param virtual_network_gateway1: Required. The reference to virtual network gateway resource. :type virtual_network_gateway1: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkConnectionGatewayReference :param virtual_network_gateway2: The reference to virtual network gateway resource. :type virtual_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkConnectionGatewayReference :param local_network_gateway2: The reference to local network gateway resource. :type local_network_gateway2: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkConnectionGatewayReference + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionType + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :param routing_weight: The routing weight. :type routing_weight: int :param shared_key: The IPSec shared key. @@ -13653,11 +16617,11 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :vartype connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionStatus + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionStatus :ivar tunnel_connection_status: Collection of all tunnels' connection health status. :vartype tunnel_connection_status: - list[~azure.mgmt.network.v2019_07_01.models.TunnelConnectionHealth] + list[~azure.mgmt.network.v2020_05_01.models.TunnelConnectionHealth] :ivar egress_bytes_transferred: The egress bytes transferred in this connection. :vartype egress_bytes_transferred: long @@ -13665,7 +16629,7 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): connection. :vartype ingress_bytes_transferred: long :param peer: The reference to peerings resource. - :type peer: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type peer: ~azure.mgmt.network.v2020_05_01.models.SubResource :param enable_bgp: EnableBgp flag. :type enable_bgp: bool :param use_policy_based_traffic_selectors: Enable policy-based traffic @@ -13674,25 +16638,25 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.TrafficSelectorPolicy] - :param resource_guid: The resource GUID property of the virtual network + list[~azure.mgmt.network.v2020_05_01.models.TrafficSelectorPolicy] + :ivar resource_guid: The resource GUID property of the virtual network gateway connection resource. - :type resource_guid: str + :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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param express_route_gateway_bypass: Bypass ExpressRoute Gateway for data forwarding. :type express_route_gateway_bypass: bool - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13704,7 +16668,9 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): 'tunnel_connection_status': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, 'ingress_bytes_transferred': {'readonly': True}, + 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13736,7 +16702,7 @@ class VirtualNetworkGatewayConnectionListEntity(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, location: str=None, tags=None, authorization_key: str=None, virtual_network_gateway2=None, local_network_gateway2=None, connection_protocol=None, routing_weight: int=None, shared_key: str=None, peer=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, traffic_selector_policies=None, resource_guid: str=None, express_route_gateway_bypass: bool=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, location: str=None, tags=None, authorization_key: str=None, virtual_network_gateway2=None, local_network_gateway2=None, connection_protocol=None, routing_weight: int=None, shared_key: str=None, peer=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, traffic_selector_policies=None, express_route_gateway_bypass: bool=None, **kwargs) -> None: super(VirtualNetworkGatewayConnectionListEntity, self).__init__(id=id, location=location, tags=tags, **kwargs) self.authorization_key = authorization_key self.virtual_network_gateway1 = virtual_network_gateway1 @@ -13755,10 +16721,10 @@ def __init__(self, *, virtual_network_gateway1, connection_type, id: str=None, l 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 = resource_guid + self.resource_guid = None self.provisioning_state = None self.express_route_gateway_bypass = express_route_gateway_bypass - self.etag = etag + self.etag = None class VirtualNetworkGatewayIPConfiguration(SubResource): @@ -13772,27 +16738,31 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): :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.v2019_07_01.models.IPAllocationMethod - :param subnet: The reference of the subnet resource. - :type subnet: ~azure.mgmt.network.v2019_07_01.models.SubResource - :param public_ip_address: The reference of the public IP resource. + ~azure.mgmt.network.v2020_05_01.models.IPAllocationMethod + :param subnet: The reference to the subnet resource. + :type subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource + :param public_ip_address: The reference to the public IP resource. :type public_ip_address: - ~azure.mgmt.network.v2019_07_01.models.SubResource + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { + 'private_ip_address': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13800,56 +16770,68 @@ class VirtualNetworkGatewayIPConfiguration(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, private_ip_allocation_method=None, subnet=None, public_ip_address=None, name: str=None, **kwargs) -> None: super(VirtualNetworkGatewayIPConfiguration, self).__init__(id=id, **kwargs) 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 self.name = name - self.etag = etag + self.etag = None class VirtualNetworkGatewaySku(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.v2019_07_01.models.VirtualNetworkGatewaySkuName + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewaySkuTier - :param capacity: The capacity. - :type capacity: int + ~azure.mgmt.network.v2020_05_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=None, tier=None, capacity: int=None, **kwargs) -> None: + def __init__(self, *, name=None, tier=None, **kwargs) -> None: super(VirtualNetworkGatewaySku, self).__init__(**kwargs) self.name = name self.tier = tier - self.capacity = capacity + self.capacity = 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 allow_virtual_network_access: Whether the VMs in the local virtual @@ -13869,33 +16851,38 @@ class VirtualNetworkPeering(SubResource): 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 of the remote virtual + :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.v2019_07_01.models.SubResource - :param remote_address_space: The reference of the 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.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param peering_state: The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', 'Disconnected' :type peering_state: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeeringState - :param provisioning_state: The provisioning state of the virtual network + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeeringState + :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, @@ -13910,7 +16897,7 @@ class VirtualNetworkPeering(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, allow_forwarded_traffic: bool=None, allow_gateway_transit: bool=None, use_remote_gateways: bool=None, remote_virtual_network=None, remote_address_space=None, peering_state=None, provisioning_state=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, allow_forwarded_traffic: bool=None, allow_gateway_transit: bool=None, use_remote_gateways: bool=None, remote_virtual_network=None, remote_address_space=None, peering_state=None, name: str=None, **kwargs) -> None: super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) self.allow_virtual_network_access = allow_virtual_network_access self.allow_forwarded_traffic = allow_forwarded_traffic @@ -13919,9 +16906,9 @@ def __init__(self, *, id: str=None, allow_virtual_network_access: bool=None, all self.remote_virtual_network = remote_virtual_network self.remote_address_space = remote_address_space self.peering_state = peering_state - self.provisioning_state = provisioning_state + self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class VirtualNetworkTap(Resource): @@ -13943,7 +16930,7 @@ class VirtualNetworkTap(Resource): :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.v2019_07_01.models.NetworkInterfaceTapConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] :ivar resource_guid: The resource GUID property of the virtual network tap resource. :vartype resource_guid: str @@ -13951,22 +16938,22 @@ class VirtualNetworkTap(Resource): tap resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.FrontendIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration :param destination_port: The VXLAN destination port that will receive the tapped traffic. :type destination_port: int - :param etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -13975,6 +16962,7 @@ class VirtualNetworkTap(Resource): 'network_interface_tap_configurations': {'readonly': True}, 'resource_guid': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -13992,7 +16980,7 @@ class VirtualNetworkTap(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, destination_network_interface_ip_configuration=None, destination_load_balancer_front_end_ip_configuration=None, destination_port: int=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, destination_network_interface_ip_configuration=None, destination_load_balancer_front_end_ip_configuration=None, destination_port: int=None, **kwargs) -> None: super(VirtualNetworkTap, self).__init__(id=id, location=location, tags=tags, **kwargs) self.network_interface_tap_configurations = None self.resource_guid = None @@ -14000,7 +16988,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, destination_n 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 - self.etag = etag + self.etag = None class VirtualNetworkUsage(Model): @@ -14017,7 +17005,7 @@ class VirtualNetworkUsage(Model): :vartype limit: float :ivar name: The name containing common and localized value for usage. :vartype name: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkUsageName + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkUsageName :ivar unit: Usage units. Returns 'Count'. :vartype unit: str """ @@ -14093,28 +17081,28 @@ class VirtualRouter(Resource): :type tags: dict[str, str] :param virtual_router_asn: VirtualRouter ASN. :type virtual_router_asn: long - :param virtual_router_ips: VirtualRouter IPs + :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.v2019_07_01.models.SubResource + :type hosted_subnet: ~azure.mgmt.network.v2020_05_01.models.SubResource :param hosted_gateway: The Gateway on which VirtualRouter is hosted. - :type hosted_gateway: ~azure.mgmt.network.v2019_07_01.models.SubResource - :ivar peerings: List of references to VirtualRouterPeerings + :type hosted_gateway: ~azure.mgmt.network.v2020_05_01.models.SubResource + :ivar peerings: List of references to VirtualRouterPeerings. :vartype peerings: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState - :ivar etag: Gets a unique read-only string that changes whenever the - resource is updated. + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :ivar etag: A unique read-only string that changes whenever the resource + is updated. :vartype etag: str """ _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, - 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 1}, + 'virtual_router_asn': {'maximum': 4294967295, 'minimum': 0}, 'peerings': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, @@ -14161,19 +17149,19 @@ class VirtualRouterPeering(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.v2019_07_01.models.ProvisioningState - :param name: Gets name of the peering unique to VirtualRouter. This name - can be used to access the resource. + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param name: Name of the virtual router peering that is unique within a + virtual router. :type name: str - :ivar etag: Gets a unique read-only string that changes whenever the - resource is updated. + :ivar etag: A unique read-only string that changes whenever the resource + is updated. :vartype etag: str :ivar type: Peering type. :vartype type: str """ _validation = { - 'peer_asn': {'maximum': 4294967295, 'minimum': 1}, + 'peer_asn': {'maximum': 4294967295, 'minimum': 0}, 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, @@ -14219,12 +17207,10 @@ class VirtualWAN(Resource): :type disable_vpn_encryption: bool :ivar virtual_hubs: List of VirtualHubs in the VirtualWAN. :vartype virtual_hubs: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :ivar vpn_sites: List of VpnSites in the VirtualWAN. :vartype vpn_sites: - list[~azure.mgmt.network.v2019_07_01.models.SubResource] - :param security_provider_name: The Security Provider name. - :type security_provider_name: str + list[~azure.mgmt.network.v2020_05_01.models.SubResource] :param allow_branch_to_branch_traffic: True if branch to branch traffic is allowed. :type allow_branch_to_branch_traffic: bool @@ -14235,16 +17221,14 @@ class VirtualWAN(Resource): category. Possible values include: 'Optimize', 'OptimizeAndAllow', 'All', 'None' :type office365_local_breakout_category: str or - ~azure.mgmt.network.v2019_07_01.models.OfficeTrafficCategory - :param p2_svpn_server_configurations: List of all - P2SVpnServerConfigurations associated with the virtual wan. - :type p2_svpn_server_configurations: - list[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration] - :param provisioning_state: The provisioning state of the virtual WAN + ~azure.mgmt.network.v2020_05_01.models.OfficeTrafficCategory + :ivar provisioning_state: The provisioning state of the virtual WAN resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState + :param virtual_wan_type: The type of the VirtualWAN. + :type virtual_wan_type: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -14255,6 +17239,7 @@ class VirtualWAN(Resource): 'type': {'readonly': True}, 'virtual_hubs': {'readonly': True}, 'vpn_sites': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14267,26 +17252,24 @@ class VirtualWAN(Resource): 'disable_vpn_encryption': {'key': 'properties.disableVpnEncryption', 'type': 'bool'}, 'virtual_hubs': {'key': 'properties.virtualHubs', 'type': '[SubResource]'}, 'vpn_sites': {'key': 'properties.vpnSites', 'type': '[SubResource]'}, - 'security_provider_name': {'key': 'properties.securityProviderName', 'type': 'str'}, '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'}, - 'p2_svpn_server_configurations': {'key': 'properties.p2SVpnServerConfigurations', 'type': '[P2SVpnServerConfiguration]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'virtual_wan_type': {'key': 'properties.type', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, disable_vpn_encryption: bool=None, security_provider_name: str=None, allow_branch_to_branch_traffic: bool=None, allow_vnet_to_vnet_traffic: bool=None, office365_local_breakout_category=None, p2_svpn_server_configurations=None, provisioning_state=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, disable_vpn_encryption: bool=None, allow_branch_to_branch_traffic: bool=None, allow_vnet_to_vnet_traffic: bool=None, office365_local_breakout_category=None, virtual_wan_type: str=None, **kwargs) -> None: super(VirtualWAN, self).__init__(id=id, location=location, tags=tags, **kwargs) self.disable_vpn_encryption = disable_vpn_encryption self.virtual_hubs = None self.vpn_sites = None - self.security_provider_name = security_provider_name 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 = office365_local_breakout_category - self.p2_svpn_server_configurations = p2_svpn_server_configurations - self.provisioning_state = provisioning_state + self.provisioning_state = None + self.virtual_wan_type = virtual_wan_type self.etag = None @@ -14300,7 +17283,7 @@ class VirtualWanSecurityProvider(Model): :param type: Name of the security provider. Possible values include: 'External', 'Native' :type type: str or - ~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProviderType + ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviderType """ _attribute_map = { @@ -14321,7 +17304,7 @@ class VirtualWanSecurityProviders(Model): :param supported_providers: List of VirtualWAN security providers. :type supported_providers: - list[~azure.mgmt.network.v2019_07_01.models.VirtualWanSecurityProvider] + list[~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProvider] """ _attribute_map = { @@ -14333,35 +17316,115 @@ def __init__(self, *, supported_providers=None, **kwargs) -> None: self.supported_providers = supported_providers +class VirtualWanVpnProfileParameters(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.v2020_05_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: str=None, authentication_method=None, **kwargs) -> None: + 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: 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: str=None, location: str=None, tags=None, **kwargs) -> None: + super(VM, self).__init__(id=id, location=location, tags=tags, **kwargs) + + +class VnetRoute(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.v2020_05_01.models.StaticRoute] + """ + + _attribute_map = { + 'static_routes': {'key': 'staticRoutes', 'type': '[StaticRoute]'}, + } + + def __init__(self, *, static_routes=None, **kwargs) -> None: + super(VnetRoute, self).__init__(**kwargs) + self.static_routes = static_routes + + class VpnClientConfiguration(Model): """VpnClientConfiguration for P2S client. - :param vpn_client_address_pool: The reference of the address space + :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.v2019_07_01.models.AddressSpace + ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param vpn_client_root_certificates: VpnClientRootCertificate for virtual network gateway. :type vpn_client_root_certificates: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientRootCertificate] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientRootCertificate] :param vpn_client_revoked_certificates: VpnClientRevokedCertificate for Virtual network gateway. :type vpn_client_revoked_certificates: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientRevokedCertificate] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientRevokedCertificate] :param vpn_client_protocols: VpnClientProtocols for Virtual network gateway. :type vpn_client_protocols: list[str or - ~azure.mgmt.network.v2019_07_01.models.VpnClientProtocol] + ~azure.mgmt.network.v2020_05_01.models.VpnClientProtocol] :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for virtual network gateway P2S client. :type vpn_client_ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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.v2020_05_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 @@ -14381,12 +17444,13 @@ class VpnClientConfiguration(Model): '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=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, vpn_client_protocols=None, vpn_client_ipsec_policies=None, radius_server_address: str=None, radius_server_secret: str=None, aad_tenant: str=None, aad_audience: str=None, aad_issuer: str=None, **kwargs) -> None: + def __init__(self, *, vpn_client_address_pool=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, vpn_client_protocols=None, vpn_client_ipsec_policies=None, radius_server_address: str=None, radius_server_secret: str=None, radius_servers=None, aad_tenant: str=None, aad_audience: str=None, aad_issuer: str=None, **kwargs) -> None: super(VpnClientConfiguration, self).__init__(**kwargs) self.vpn_client_address_pool = vpn_client_address_pool self.vpn_client_root_certificates = vpn_client_root_certificates @@ -14395,6 +17459,7 @@ def __init__(self, *, vpn_client_address_pool=None, vpn_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_tenant = aad_tenant self.aad_audience = aad_audience self.aad_issuer = aad_issuer @@ -14525,7 +17590,7 @@ class VpnClientConnectionHealthDetailListResult(Model): :param value: List of vpn client connection health. :type value: - list[~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealthDetail] + list[~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealthDetail] """ _attribute_map = { @@ -14552,30 +17617,30 @@ class VpnClientIPsecParameters(Model): phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256' :type ipsec_encryption: str or - ~azure.mgmt.network.v2019_07_01.models.IpsecEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IpsecIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeEncryption + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.IkeIntegrity + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.DhGroup + :type dh_group: str or ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.PfsGroup + :type pfs_group: str or ~azure.mgmt.network.v2020_05_01.models.PfsGroup """ _validation = { @@ -14618,11 +17683,11 @@ class VpnClientParameters(Model): :param processor_architecture: VPN client Processor Architecture. Possible values include: 'Amd64', 'X86' :type processor_architecture: str or - ~azure.mgmt.network.v2019_07_01.models.ProcessorArchitecture + ~azure.mgmt.network.v2020_05_01.models.ProcessorArchitecture :param authentication_method: VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2' :type authentication_method: str or - ~azure.mgmt.network.v2019_07_01.models.AuthenticationMethod + ~azure.mgmt.network.v2020_05_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 @@ -14663,17 +17728,18 @@ class VpnClientRevokedCertificate(SubResource): certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -14684,12 +17750,12 @@ class VpnClientRevokedCertificate(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, thumbprint: str=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, thumbprint: str=None, name: str=None, **kwargs) -> None: super(VpnClientRevokedCertificate, self).__init__(id=id, **kwargs) self.thumbprint = thumbprint self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class VpnClientRootCertificate(SubResource): @@ -14708,18 +17774,19 @@ class VpnClientRootCertificate(SubResource): certificate resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' :vartype provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 etag: A unique read-only string that changes whenever the resource + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { 'public_cert_data': {'required': True}, 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -14730,12 +17797,12 @@ class VpnClientRootCertificate(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, public_cert_data: str, id: str=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, public_cert_data: str, id: str=None, name: str=None, **kwargs) -> None: super(VpnClientRootCertificate, self).__init__(id=id, **kwargs) self.public_cert_data = public_cert_data self.provisioning_state = None self.name = name - self.etag = etag + self.etag = None class VpnConnection(SubResource): @@ -14747,17 +17814,20 @@ class VpnConnection(SubResource): :param id: Resource ID. :type id: str :param remote_vpn_site: Id of the connected vpn site. - :type remote_vpn_site: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type remote_vpn_site: ~azure.mgmt.network.v2020_05_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int + :param dpd_timeout_seconds: The dead peer detection timeout for a vpn + connection in seconds. + :type dpd_timeout_seconds: int :param connection_status: The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :type connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VpnConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -14774,7 +17844,7 @@ class VpnConnection(SubResource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_01.models.IpsecPolicy] :param enable_rate_limiting: EnableBgp flag. :type enable_rate_limiting: bool :param enable_internet_security: Enable internet security. @@ -14782,15 +17852,19 @@ class VpnConnection(SubResource): :param use_local_azure_ip_address: Use local azure ip to initiate connection. :type use_local_azure_ip_address: bool - :param provisioning_state: The provisioning state of the VPN connection + :ivar provisioning_state: The provisioning state of the VPN connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnSiteLinkConnection] + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.RoutingConfiguration :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 @@ -14802,6 +17876,7 @@ class VpnConnection(SubResource): _validation = { 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14809,6 +17884,7 @@ class VpnConnection(SubResource): 'id': {'key': 'id', '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'}, @@ -14823,14 +17899,16 @@ class VpnConnection(SubResource): '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'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, enable_internet_security: bool=None, use_local_azure_ip_address: bool=None, provisioning_state=None, vpn_link_connections=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=None, dpd_timeout_seconds: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, enable_internet_security: bool=None, use_local_azure_ip_address: bool=None, vpn_link_connections=None, routing_configuration=None, name: str=None, **kwargs) -> None: super(VpnConnection, self).__init__(id=id, **kwargs) self.remote_vpn_site = remote_vpn_site self.routing_weight = routing_weight + self.dpd_timeout_seconds = dpd_timeout_seconds self.connection_status = connection_status self.vpn_connection_protocol_type = vpn_connection_protocol_type self.ingress_bytes_transferred = None @@ -14843,8 +17921,9 @@ def __init__(self, *, id: str=None, remote_vpn_site=None, routing_weight: int=No 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 = provisioning_state + self.provisioning_state = None self.vpn_link_connections = vpn_link_connections + self.routing_configuration = routing_configuration self.name = name self.etag = None @@ -14890,17 +17969,17 @@ class VpnGateway(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_hub: The VirtualHub to which the gateway belongs. - :type virtual_hub: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_hub: ~azure.mgmt.network.v2020_05_01.models.SubResource :param connections: List of all vpn connections to the gateway. :type connections: - list[~azure.mgmt.network.v2019_07_01.models.VpnConnection] + list[~azure.mgmt.network.v2020_05_01.models.VpnConnection] :param bgp_settings: Local network gateway's BGP speaker settings. - :type bgp_settings: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param provisioning_state: The provisioning state of the VPN gateway + :type bgp_settings: ~azure.mgmt.network.v2020_05_01.models.BgpSettings + :ivar provisioning_state: The provisioning state of the VPN gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :param vpn_gateway_scale_unit: The scale unit for this vpn gateway. :type vpn_gateway_scale_unit: int :ivar etag: A unique read-only string that changes whenever the resource @@ -14911,6 +17990,7 @@ class VpnGateway(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -14928,12 +18008,12 @@ class VpnGateway(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, connections=None, bgp_settings=None, provisioning_state=None, vpn_gateway_scale_unit: int=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_hub=None, connections=None, bgp_settings=None, vpn_gateway_scale_unit: int=None, **kwargs) -> None: super(VpnGateway, self).__init__(id=id, location=location, tags=tags, **kwargs) self.virtual_hub = virtual_hub self.connections = connections self.bgp_settings = bgp_settings - self.provisioning_state = provisioning_state + self.provisioning_state = None self.vpn_gateway_scale_unit = vpn_gateway_scale_unit self.etag = None @@ -15027,6 +18107,231 @@ def __init__(self, *, profile_url: str=None, **kwargs) -> None: self.profile_url = profile_url +class VpnServerConfigRadiusClientRootCertificate(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: str=None, thumbprint: str=None, **kwargs) -> None: + super(VpnServerConfigRadiusClientRootCertificate, self).__init__(**kwargs) + self.name = name + self.thumbprint = thumbprint + + +class VpnServerConfigRadiusServerRootCertificate(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: str=None, public_cert_data: str=None, **kwargs) -> None: + 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: Resource tags. + :type tags: dict[str, str] + :param vpn_server_configuration_name: The name of the + VpnServerConfiguration that is unique within a resource group. + :type vpn_server_configuration_name: str + :param vpn_protocols: VPN protocols for the VpnServerConfiguration. + :type vpn_protocols: list[str or + ~azure.mgmt.network.v2020_05_01.models.VpnGatewayTunnelingProtocol] + :param vpn_authentication_types: VPN authentication types for the + VpnServerConfiguration. + :type vpn_authentication_types: list[str or + ~azure.mgmt.network.v2020_05_01.models.VpnAuthenticationType] + :param vpn_client_root_certificates: VPN client root certificate of + VpnServerConfiguration. + :type vpn_client_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigVpnClientRootCertificate] + :param vpn_client_revoked_certificates: VPN client revoked certificate of + VpnServerConfiguration. + :type vpn_client_revoked_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigVpnClientRevokedCertificate] + :param radius_server_root_certificates: Radius Server root certificate of + VpnServerConfiguration. + :type radius_server_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigRadiusServerRootCertificate] + :param radius_client_root_certificates: Radius client root certificate of + VpnServerConfiguration. + :type radius_client_root_certificates: + list[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigRadiusClientRootCertificate] + :param vpn_client_ipsec_policies: VpnClientIpsecPolicies for + VpnServerConfiguration. + :type vpn_client_ipsec_policies: + list[~azure.mgmt.network.v2020_05_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.v2020_05_01.models.RadiusServer] + :param aad_authentication_parameters: The set of aad vpn authentication + parameters. + :type aad_authentication_parameters: + ~azure.mgmt.network.v2020_05_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_svpn_gateways: List of references to P2SVpnGateways. + :vartype p2_svpn_gateways: + list[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] + :ivar vpn_server_configuration_properties_etag: A unique read-only string + that changes whenever the resource is updated. + :vartype vpn_server_configuration_properties_etag: 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}, + 'provisioning_state': {'readonly': True}, + 'p2_svpn_gateways': {'readonly': True}, + 'vpn_server_configuration_properties_etag': {'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}'}, + 'vpn_server_configuration_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_svpn_gateways': {'key': 'properties.p2SVpnGateways', 'type': '[P2SVpnGateway]'}, + 'vpn_server_configuration_properties_etag': {'key': 'properties.etag', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, location: str=None, tags=None, vpn_server_configuration_name: str=None, vpn_protocols=None, vpn_authentication_types=None, vpn_client_root_certificates=None, vpn_client_revoked_certificates=None, radius_server_root_certificates=None, radius_client_root_certificates=None, vpn_client_ipsec_policies=None, radius_server_address: str=None, radius_server_secret: str=None, radius_servers=None, aad_authentication_parameters=None, **kwargs) -> None: + super(VpnServerConfiguration, self).__init__(id=id, location=location, tags=tags, **kwargs) + self.vpn_server_configuration_name = vpn_server_configuration_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_svpn_gateways = None + self.vpn_server_configuration_properties_etag = None + self.etag = None + + +class VpnServerConfigurationsResponse(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=None, **kwargs) -> None: + super(VpnServerConfigurationsResponse, self).__init__(**kwargs) + self.vpn_server_configuration_resource_ids = vpn_server_configuration_resource_ids + + +class VpnServerConfigVpnClientRevokedCertificate(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: str=None, thumbprint: str=None, **kwargs) -> None: + super(VpnServerConfigVpnClientRevokedCertificate, self).__init__(**kwargs) + self.name = name + self.thumbprint = thumbprint + + +class VpnServerConfigVpnClientRootCertificate(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: str=None, public_cert_data: str=None, **kwargs) -> None: + super(VpnServerConfigVpnClientRootCertificate, self).__init__(**kwargs) + self.name = name + self.public_cert_data = public_cert_data + + class VpnSite(Resource): """VpnSite Resource. @@ -15044,29 +18349,28 @@ class VpnSite(Resource): :param tags: Resource tags. :type tags: dict[str, str] :param virtual_wan: The VirtualWAN to which the vpnSite belongs. - :type virtual_wan: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type virtual_wan: ~azure.mgmt.network.v2020_05_01.models.SubResource :param device_properties: The device properties. :type device_properties: - ~azure.mgmt.network.v2019_07_01.models.DeviceProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.AddressSpace + :type address_space: ~azure.mgmt.network.v2020_05_01.models.AddressSpace :param bgp_properties: The set of bgp properties. - :type bgp_properties: ~azure.mgmt.network.v2019_07_01.models.BgpSettings - :param provisioning_state: The provisioning state of the VPN site - resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', - 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :type bgp_properties: ~azure.mgmt.network.v2020_05_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.v2020_05_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.v2019_07_01.models.VpnSiteLink] + list[~azure.mgmt.network.v2020_05_01.models.VpnSiteLink] :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -15075,6 +18379,7 @@ class VpnSite(Resource): _validation = { 'name': {'readonly': True}, 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, } @@ -15096,7 +18401,7 @@ class VpnSite(Resource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_wan=None, device_properties=None, ip_address: str=None, site_key: str=None, address_space=None, bgp_properties=None, provisioning_state=None, is_security_site: bool=None, vpn_site_links=None, **kwargs) -> None: + def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_wan=None, device_properties=None, ip_address: str=None, site_key: str=None, address_space=None, bgp_properties=None, is_security_site: bool=None, vpn_site_links=None, **kwargs) -> None: super(VpnSite, self).__init__(id=id, location=location, tags=tags, **kwargs) self.virtual_wan = virtual_wan self.device_properties = device_properties @@ -15104,7 +18409,7 @@ def __init__(self, *, id: str=None, location: str=None, tags=None, virtual_wan=N self.site_key = site_key self.address_space = address_space self.bgp_properties = bgp_properties - self.provisioning_state = provisioning_state + self.provisioning_state = None self.is_security_site = is_security_site self.vpn_site_links = vpn_site_links self.etag = None @@ -15144,17 +18449,19 @@ class VpnSiteLink(SubResource): :type id: str :param link_properties: The link provider properties. :type link_properties: - ~azure.mgmt.network.v2019_07_01.models.VpnLinkProviderProperties + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VpnLinkBgpSettings - :param provisioning_state: The provisioning state of the VPN site link + ~azure.mgmt.network.v2020_05_01.models.VpnLinkBgpSettings + :ivar provisioning_state: The provisioning state of the VPN site link resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str @@ -15166,6 +18473,7 @@ class VpnSiteLink(SubResource): """ _validation = { + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -15174,6 +18482,7 @@ class VpnSiteLink(SubResource): 'id': {'key': 'id', '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'}, 'etag': {'key': 'etag', 'type': 'str'}, @@ -15181,12 +18490,13 @@ class VpnSiteLink(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, link_properties=None, ip_address: str=None, bgp_properties=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, link_properties=None, ip_address: str=None, fqdn: str=None, bgp_properties=None, name: str=None, **kwargs) -> None: super(VpnSiteLink, self).__init__(id=id, **kwargs) self.link_properties = link_properties self.ip_address = ip_address + self.fqdn = fqdn self.bgp_properties = bgp_properties - self.provisioning_state = provisioning_state + self.provisioning_state = None self.etag = None self.name = name self.type = None @@ -15201,17 +18511,17 @@ class VpnSiteLinkConnection(SubResource): :param id: Resource ID. :type id: str :param vpn_site_link: Id of the connected vpn site link. - :type vpn_site_link: ~azure.mgmt.network.v2019_07_01.models.SubResource + :type vpn_site_link: ~azure.mgmt.network.v2020_05_01.models.SubResource :param routing_weight: Routing weight for vpn connection. :type routing_weight: int :param connection_status: The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' :type connection_status: str or - ~azure.mgmt.network.v2019_07_01.models.VpnConnectionStatus + ~azure.mgmt.network.v2020_05_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.v2019_07_01.models.VirtualNetworkGatewayConnectionProtocol + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionProtocol :ivar ingress_bytes_transferred: Ingress bytes transferred. :vartype ingress_bytes_transferred: long :ivar egress_bytes_transferred: Egress bytes transferred. @@ -15228,17 +18538,17 @@ class VpnSiteLinkConnection(SubResource): :param ipsec_policies: The IPSec Policies to be considered by this connection. :type ipsec_policies: - list[~azure.mgmt.network.v2019_07_01.models.IpsecPolicy] + list[~azure.mgmt.network.v2020_05_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 - :param provisioning_state: The provisioning state of the VPN site link + :ivar provisioning_state: The provisioning state of the VPN site link connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed' - :type provisioning_state: str or - ~azure.mgmt.network.v2019_07_01.models.ProvisioningState + :vartype provisioning_state: str or + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :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 @@ -15252,6 +18562,7 @@ class VpnSiteLinkConnection(SubResource): _validation = { 'ingress_bytes_transferred': {'readonly': True}, 'egress_bytes_transferred': {'readonly': True}, + 'provisioning_state': {'readonly': True}, 'etag': {'readonly': True}, 'type': {'readonly': True}, } @@ -15277,7 +18588,7 @@ class VpnSiteLinkConnection(SubResource): 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, vpn_site_link=None, routing_weight: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, use_local_azure_ip_address: bool=None, provisioning_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, vpn_site_link=None, routing_weight: int=None, connection_status=None, vpn_connection_protocol_type=None, connection_bandwidth: int=None, shared_key: str=None, enable_bgp: bool=None, use_policy_based_traffic_selectors: bool=None, ipsec_policies=None, enable_rate_limiting: bool=None, use_local_azure_ip_address: bool=None, name: str=None, **kwargs) -> None: super(VpnSiteLinkConnection, self).__init__(id=id, **kwargs) self.vpn_site_link = vpn_site_link self.routing_weight = routing_weight @@ -15292,7 +18603,7 @@ def __init__(self, *, id: str=None, vpn_site_link=None, routing_weight: int=None 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 = provisioning_state + self.provisioning_state = None self.name = name self.etag = None self.type = None @@ -15312,20 +18623,20 @@ class WebApplicationFirewallCustomRule(Model): :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str - :param priority: Required. Describes priority of the rule. Rules with a - lower value will be evaluated before rules with a higher value. + :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. Describes type of rule. Possible values - include: 'MatchRule', 'Invalid' + :param rule_type: Required. The rule type. Possible values include: + 'MatchRule', 'Invalid' :type rule_type: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallRuleType + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallRuleType :param match_conditions: Required. List of match conditions. :type match_conditions: - list[~azure.mgmt.network.v2019_07_01.models.MatchCondition] + list[~azure.mgmt.network.v2020_05_01.models.MatchCondition] :param action: Required. Type of Actions. Possible values include: 'Allow', 'Block', 'Log' :type action: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallAction + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallAction """ _validation = { @@ -15362,6 +18673,8 @@ class WebApplicationFirewallPolicy(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 :ivar name: Resource name. @@ -15372,29 +18685,40 @@ class WebApplicationFirewallPolicy(Resource): :type location: str :param tags: Resource tags. :type tags: dict[str, str] - :param policy_settings: Describes policySettings for policy. + :param policy_settings: The PolicySettings for policy. :type policy_settings: - ~azure.mgmt.network.v2019_07_01.models.PolicySettings - :param custom_rules: Describes custom rules inside the policy. + ~azure.mgmt.network.v2020_05_01.models.PolicySettings + :param custom_rules: The custom rules inside the policy. :type custom_rules: - list[~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallCustomRule] + list[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallCustomRule] :ivar application_gateways: A collection of references to application gateways. :vartype application_gateways: - list[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] + list[~azure.mgmt.network.v2020_05_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.v2019_07_01.models.ProvisioningState + ~azure.mgmt.network.v2020_05_01.models.ProvisioningState :ivar resource_state: Resource status of the policy. Resource status of the policy. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' :vartype resource_state: str or - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicyResourceState - :param etag: A unique read-only string that changes whenever the resource + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyResourceState + :param managed_rules: Required. Describes the managedRules structure. + :type managed_rules: + ~azure.mgmt.network.v2020_05_01.models.ManagedRulesDefinition + :ivar http_listeners: A collection of references to application gateway + http listeners. + :vartype http_listeners: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar path_based_rules: A collection of references to application gateway + path rules. + :vartype path_based_rules: + list[~azure.mgmt.network.v2020_05_01.models.SubResource] + :ivar etag: A unique read-only string that changes whenever the resource is updated. - :type etag: str + :vartype etag: str """ _validation = { @@ -15403,6 +18727,10 @@ class WebApplicationFirewallPolicy(Resource): 'application_gateways': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'resource_state': {'readonly': True}, + 'managed_rules': {'required': True}, + 'http_listeners': {'readonly': True}, + 'path_based_rules': {'readonly': True}, + 'etag': {'readonly': True}, } _attribute_map = { @@ -15416,14 +18744,20 @@ class WebApplicationFirewallPolicy(Resource): '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]'}, 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, location: str=None, tags=None, policy_settings=None, custom_rules=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, managed_rules, id: str=None, location: str=None, tags=None, policy_settings=None, custom_rules=None, **kwargs) -> None: super(WebApplicationFirewallPolicy, self).__init__(id=id, location=location, tags=tags, **kwargs) self.policy_settings = policy_settings self.custom_rules = custom_rules self.application_gateways = None self.provisioning_state = None self.resource_state = None - self.etag = etag + self.managed_rules = managed_rules + self.http_listeners = None + self.path_based_rules = None + self.etag = None diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_network_management_client_enums.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_network_management_client_enums.py similarity index 87% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_network_management_client_enums.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_network_management_client_enums.py index 705dc933b1c..349783505c5 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_network_management_client_enums.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_network_management_client_enums.py @@ -45,6 +45,7 @@ class SecurityRuleProtocol(str, Enum): icmp = "Icmp" esp = "Esp" asterisk = "*" + ah = "Ah" class SecurityRuleAccess(str, Enum): @@ -59,6 +60,11 @@ class SecurityRuleDirection(str, Enum): outbound = "Outbound" +class FlowLogFormatType(str, Enum): + + json = "JSON" + + class RouteNextHopType(str, Enum): virtual_network_gateway = "VirtualNetworkGateway" @@ -80,6 +86,13 @@ class DdosSettingsProtectionCoverage(str, Enum): standard = "Standard" +class VirtualNetworkPeeringState(str, Enum): + + initiated = "Initiated" + connected = "Connected" + disconnected = "Disconnected" + + class TransportProtocol(str, Enum): udp = "Udp" @@ -249,6 +262,24 @@ class AzureFirewallThreatIntelMode(str, Enum): off = "Off" +class AzureFirewallSkuName(str, Enum): + + azfw_vnet = "AZFW_VNet" + azfw_hub = "AZFW_Hub" + + +class AzureFirewallSkuTier(str, Enum): + + standard = "Standard" + premium = "Premium" + + +class BastionConnectProtocol(str, Enum): + + ssh = "SSH" + rdp = "RDP" + + class DdosCustomPolicyProtocol(str, Enum): tcp = "Tcp" @@ -350,26 +381,30 @@ class ExpressRoutePortsEncapsulation(str, Enum): qin_q = "QinQ" -class FirewallPolicyNatRuleActionType(str, Enum): +class FirewallPolicyIntrusionSystemMode(str, Enum): + + enabled = "Enabled" + disabled = "Disabled" + + +class FirewallPolicyNatRuleCollectionActionType(str, Enum): dnat = "DNAT" - snat = "SNAT" -class FirewallPolicyFilterRuleActionType(str, Enum): +class FirewallPolicyFilterRuleCollectionActionType(str, Enum): allow = "Allow" deny = "Deny" - alert = "Alert " -class FirewallPolicyRuleConditionApplicationProtocolType(str, Enum): +class FirewallPolicyRuleApplicationProtocolType(str, Enum): http = "Http" https = "Https" -class FirewallPolicyRuleConditionNetworkProtocol(str, Enum): +class FirewallPolicyRuleNetworkProtocol(str, Enum): tcp = "TCP" udp = "UDP" @@ -377,6 +412,12 @@ class FirewallPolicyRuleConditionNetworkProtocol(str, Enum): icmp = "ICMP" +class IpAllocationType(str, Enum): + + undefined = "Undefined" + hypernet = "Hypernet" + + class LoadBalancerSkuName(str, Enum): basic = "Basic" @@ -502,11 +543,6 @@ class PcError(str, Enum): storage_failed = "StorageFailed" -class FlowLogFormatType(str, Enum): - - json = "JSON" - - class Protocol(str, Enum): tcp = "Tcp" @@ -561,6 +597,40 @@ class VerbosityLevel(str, Enum): full = "Full" +class ConnectionMonitorEndpointFilterType(str, Enum): + + include = "Include" + + +class ConnectionMonitorEndpointFilterItemType(str, Enum): + + agent_address = "AgentAddress" + + +class ConnectionMonitorTestConfigurationProtocol(str, Enum): + + tcp = "Tcp" + http = "Http" + icmp = "Icmp" + + +class PreferredIPVersion(str, Enum): + + ipv4 = "IPv4" + ipv6 = "IPv6" + + +class HTTPConfigurationMethod(str, Enum): + + get = "Get" + post = "Post" + + +class OutputType(str, Enum): + + workspace = "Workspace" + + class ConnectionState(str, Enum): reachable = "Reachable" @@ -575,6 +645,12 @@ class EvaluationState(str, Enum): completed = "Completed" +class ConnectionMonitorType(str, Enum): + + multi_endpoint = "MultiEndpoint" + single_source_destination = "SingleSourceDestination" + + class ConnectionMonitorSourceStatus(str, Enum): unknown = "Unknown" @@ -587,11 +663,19 @@ class PublicIPPrefixSkuName(str, Enum): standard = "Standard" -class VirtualNetworkPeeringState(str, Enum): +class SecurityProviderName(str, Enum): - initiated = "Initiated" + zscaler = "ZScaler" + iboss = "IBoss" + checkpoint = "Checkpoint" + + +class SecurityPartnerProviderConnectionStatus(str, Enum): + + unknown = "Unknown" + partially_connected = "PartiallyConnected" connected = "Connected" - disconnected = "Disconnected" + not_connected = "NotConnected" class VirtualNetworkGatewayType(str, Enum): @@ -776,10 +860,20 @@ class OfficeTrafficCategory(str, Enum): none = "None" -class VpnGatewayTunnelingProtocol(str, Enum): +class RoutingState(str, Enum): + + none = "None" + provisioned = "Provisioned" + provisioning = "Provisioning" + failed = "Failed" - ike_v2 = "IkeV2" - open_vpn = "OpenVPN" + +class HubBgpConnectionStatus(str, Enum): + + unknown = "Unknown" + connecting = "Connecting" + connected = "Connected" + not_connected = "NotConnected" class VpnConnectionStatus(str, Enum): @@ -812,6 +906,19 @@ class HubVirtualNetworkConnectionStatus(str, Enum): not_connected = "NotConnected" +class VpnGatewayTunnelingProtocol(str, Enum): + + ike_v2 = "IkeV2" + open_vpn = "OpenVPN" + + +class VpnAuthenticationType(str, Enum): + + certificate = "Certificate" + radius = "Radius" + aad = "AAD" + + class WebApplicationFirewallEnabledState(str, Enum): disabled = "Disabled" @@ -854,6 +961,7 @@ class WebApplicationFirewallOperator(str, Enum): begins_with = "BeginsWith" ends_with = "EndsWith" regex = "Regex" + geo_match = "GeoMatch" class WebApplicationFirewallTransform(str, Enum): @@ -881,3 +989,24 @@ class WebApplicationFirewallPolicyResourceState(str, Enum): disabling = "Disabling" disabled = "Disabled" deleting = "Deleting" + + +class OwaspCrsExclusionEntryMatchVariable(str, Enum): + + request_header_names = "RequestHeaderNames" + request_cookie_names = "RequestCookieNames" + request_arg_names = "RequestArgNames" + + +class OwaspCrsExclusionEntrySelectorMatchOperator(str, Enum): + + equals = "Equals" + contains = "Contains" + starts_with = "StartsWith" + ends_with = "EndsWith" + equals_any = "EqualsAny" + + +class ManagedRuleEnabledState(str, Enum): + + disabled = "Disabled" diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_paged_models.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_paged_models.py similarity index 71% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_paged_models.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_paged_models.py index f2a43d7b7c0..fdc297ec6f2 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/models/_paged_models.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/models/_paged_models.py @@ -14,7 +14,7 @@ class ApplicationGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`ApplicationGateway ` object + A paging container for iterating over a list of :class:`ApplicationGateway ` object """ _attribute_map = { @@ -27,7 +27,7 @@ def __init__(self, *args, **kwargs): super(ApplicationGatewayPaged, self).__init__(*args, **kwargs) class ApplicationGatewaySslPredefinedPolicyPaged(Paged): """ - A paging container for iterating over a list of :class:`ApplicationGatewaySslPredefinedPolicy ` object + A paging container for iterating over a list of :class:`ApplicationGatewaySslPredefinedPolicy ` object """ _attribute_map = { @@ -40,7 +40,7 @@ def __init__(self, *args, **kwargs): super(ApplicationGatewaySslPredefinedPolicyPaged, self).__init__(*args, **kwargs) class ApplicationSecurityGroupPaged(Paged): """ - A paging container for iterating over a list of :class:`ApplicationSecurityGroup ` object + A paging container for iterating over a list of :class:`ApplicationSecurityGroup ` object """ _attribute_map = { @@ -53,7 +53,7 @@ def __init__(self, *args, **kwargs): super(ApplicationSecurityGroupPaged, self).__init__(*args, **kwargs) class AvailableDelegationPaged(Paged): """ - A paging container for iterating over a list of :class:`AvailableDelegation ` object + A paging container for iterating over a list of :class:`AvailableDelegation ` object """ _attribute_map = { @@ -64,9 +64,22 @@ class AvailableDelegationPaged(Paged): def __init__(self, *args, **kwargs): super(AvailableDelegationPaged, self).__init__(*args, **kwargs) +class AvailableServiceAliasPaged(Paged): + """ + A paging container for iterating over a list of :class:`AvailableServiceAlias ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[AvailableServiceAlias]'} + } + + def __init__(self, *args, **kwargs): + + super(AvailableServiceAliasPaged, self).__init__(*args, **kwargs) class AzureFirewallPaged(Paged): """ - A paging container for iterating over a list of :class:`AzureFirewall ` object + A paging container for iterating over a list of :class:`AzureFirewall ` object """ _attribute_map = { @@ -79,7 +92,7 @@ def __init__(self, *args, **kwargs): super(AzureFirewallPaged, self).__init__(*args, **kwargs) class AzureFirewallFqdnTagPaged(Paged): """ - A paging container for iterating over a list of :class:`AzureFirewallFqdnTag ` object + A paging container for iterating over a list of :class:`AzureFirewallFqdnTag ` object """ _attribute_map = { @@ -92,7 +105,7 @@ def __init__(self, *args, **kwargs): super(AzureFirewallFqdnTagPaged, self).__init__(*args, **kwargs) class BastionHostPaged(Paged): """ - A paging container for iterating over a list of :class:`BastionHost ` object + A paging container for iterating over a list of :class:`BastionHost ` object """ _attribute_map = { @@ -103,9 +116,35 @@ class BastionHostPaged(Paged): def __init__(self, *args, **kwargs): super(BastionHostPaged, self).__init__(*args, **kwargs) +class BastionShareableLinkPaged(Paged): + """ + A paging container for iterating over a list of :class:`BastionShareableLink ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BastionShareableLink]'} + } + + def __init__(self, *args, **kwargs): + + super(BastionShareableLinkPaged, self).__init__(*args, **kwargs) +class BastionSessionStatePaged(Paged): + """ + A paging container for iterating over a list of :class:`BastionSessionState ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BastionSessionState]'} + } + + def __init__(self, *args, **kwargs): + + super(BastionSessionStatePaged, self).__init__(*args, **kwargs) class DdosProtectionPlanPaged(Paged): """ - A paging container for iterating over a list of :class:`DdosProtectionPlan ` object + A paging container for iterating over a list of :class:`DdosProtectionPlan ` object """ _attribute_map = { @@ -118,7 +157,7 @@ def __init__(self, *args, **kwargs): super(DdosProtectionPlanPaged, self).__init__(*args, **kwargs) class EndpointServiceResultPaged(Paged): """ - A paging container for iterating over a list of :class:`EndpointServiceResult ` object + A paging container for iterating over a list of :class:`EndpointServiceResult ` object """ _attribute_map = { @@ -131,7 +170,7 @@ def __init__(self, *args, **kwargs): super(EndpointServiceResultPaged, self).__init__(*args, **kwargs) class ExpressRouteCircuitAuthorizationPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCircuitAuthorization ` object + A paging container for iterating over a list of :class:`ExpressRouteCircuitAuthorization ` object """ _attribute_map = { @@ -144,7 +183,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCircuitAuthorizationPaged, self).__init__(*args, **kwargs) class ExpressRouteCircuitPeeringPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCircuitPeering ` object + A paging container for iterating over a list of :class:`ExpressRouteCircuitPeering ` object """ _attribute_map = { @@ -157,7 +196,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCircuitPeeringPaged, self).__init__(*args, **kwargs) class ExpressRouteCircuitConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCircuitConnection ` object + A paging container for iterating over a list of :class:`ExpressRouteCircuitConnection ` object """ _attribute_map = { @@ -170,7 +209,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCircuitConnectionPaged, self).__init__(*args, **kwargs) class PeerExpressRouteCircuitConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`PeerExpressRouteCircuitConnection ` object + A paging container for iterating over a list of :class:`PeerExpressRouteCircuitConnection ` object """ _attribute_map = { @@ -183,7 +222,7 @@ def __init__(self, *args, **kwargs): super(PeerExpressRouteCircuitConnectionPaged, self).__init__(*args, **kwargs) class ExpressRouteCircuitPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCircuit ` object + A paging container for iterating over a list of :class:`ExpressRouteCircuit ` object """ _attribute_map = { @@ -196,7 +235,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCircuitPaged, self).__init__(*args, **kwargs) class ExpressRouteServiceProviderPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteServiceProvider ` object + A paging container for iterating over a list of :class:`ExpressRouteServiceProvider ` object """ _attribute_map = { @@ -209,7 +248,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteServiceProviderPaged, self).__init__(*args, **kwargs) class ExpressRouteCrossConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCrossConnection ` object + A paging container for iterating over a list of :class:`ExpressRouteCrossConnection ` object """ _attribute_map = { @@ -222,7 +261,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCrossConnectionPaged, self).__init__(*args, **kwargs) class ExpressRouteCrossConnectionPeeringPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteCrossConnectionPeering ` object + A paging container for iterating over a list of :class:`ExpressRouteCrossConnectionPeering ` object """ _attribute_map = { @@ -235,7 +274,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteCrossConnectionPeeringPaged, self).__init__(*args, **kwargs) class ExpressRoutePortsLocationPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRoutePortsLocation ` object + A paging container for iterating over a list of :class:`ExpressRoutePortsLocation ` object """ _attribute_map = { @@ -248,7 +287,7 @@ def __init__(self, *args, **kwargs): super(ExpressRoutePortsLocationPaged, self).__init__(*args, **kwargs) class ExpressRoutePortPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRoutePort ` object + A paging container for iterating over a list of :class:`ExpressRoutePort ` object """ _attribute_map = { @@ -261,7 +300,7 @@ def __init__(self, *args, **kwargs): super(ExpressRoutePortPaged, self).__init__(*args, **kwargs) class ExpressRouteLinkPaged(Paged): """ - A paging container for iterating over a list of :class:`ExpressRouteLink ` object + A paging container for iterating over a list of :class:`ExpressRouteLink ` object """ _attribute_map = { @@ -274,7 +313,7 @@ def __init__(self, *args, **kwargs): super(ExpressRouteLinkPaged, self).__init__(*args, **kwargs) class FirewallPolicyPaged(Paged): """ - A paging container for iterating over a list of :class:`FirewallPolicy ` object + A paging container for iterating over a list of :class:`FirewallPolicy ` object """ _attribute_map = { @@ -285,22 +324,48 @@ class FirewallPolicyPaged(Paged): def __init__(self, *args, **kwargs): super(FirewallPolicyPaged, self).__init__(*args, **kwargs) -class FirewallPolicyRuleGroupPaged(Paged): +class FirewallPolicyRuleCollectionGroupPaged(Paged): """ - A paging container for iterating over a list of :class:`FirewallPolicyRuleGroup ` object + A paging container for iterating over a list of :class:`FirewallPolicyRuleCollectionGroup ` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[FirewallPolicyRuleGroup]'} + 'current_page': {'key': 'value', 'type': '[FirewallPolicyRuleCollectionGroup]'} } def __init__(self, *args, **kwargs): - super(FirewallPolicyRuleGroupPaged, self).__init__(*args, **kwargs) + super(FirewallPolicyRuleCollectionGroupPaged, self).__init__(*args, **kwargs) +class IpAllocationPaged(Paged): + """ + A paging container for iterating over a list of :class:`IpAllocation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IpAllocation]'} + } + + def __init__(self, *args, **kwargs): + + super(IpAllocationPaged, self).__init__(*args, **kwargs) +class IpGroupPaged(Paged): + """ + A paging container for iterating over a list of :class:`IpGroup ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[IpGroup]'} + } + + def __init__(self, *args, **kwargs): + + super(IpGroupPaged, self).__init__(*args, **kwargs) class LoadBalancerPaged(Paged): """ - A paging container for iterating over a list of :class:`LoadBalancer ` object + A paging container for iterating over a list of :class:`LoadBalancer ` object """ _attribute_map = { @@ -313,7 +378,7 @@ def __init__(self, *args, **kwargs): super(LoadBalancerPaged, self).__init__(*args, **kwargs) class BackendAddressPoolPaged(Paged): """ - A paging container for iterating over a list of :class:`BackendAddressPool ` object + A paging container for iterating over a list of :class:`BackendAddressPool ` object """ _attribute_map = { @@ -326,7 +391,7 @@ def __init__(self, *args, **kwargs): super(BackendAddressPoolPaged, self).__init__(*args, **kwargs) class FrontendIPConfigurationPaged(Paged): """ - A paging container for iterating over a list of :class:`FrontendIPConfiguration ` object + A paging container for iterating over a list of :class:`FrontendIPConfiguration ` object """ _attribute_map = { @@ -339,7 +404,7 @@ def __init__(self, *args, **kwargs): super(FrontendIPConfigurationPaged, self).__init__(*args, **kwargs) class InboundNatRulePaged(Paged): """ - A paging container for iterating over a list of :class:`InboundNatRule ` object + A paging container for iterating over a list of :class:`InboundNatRule ` object """ _attribute_map = { @@ -352,7 +417,7 @@ def __init__(self, *args, **kwargs): super(InboundNatRulePaged, self).__init__(*args, **kwargs) class LoadBalancingRulePaged(Paged): """ - A paging container for iterating over a list of :class:`LoadBalancingRule ` object + A paging container for iterating over a list of :class:`LoadBalancingRule ` object """ _attribute_map = { @@ -365,7 +430,7 @@ def __init__(self, *args, **kwargs): super(LoadBalancingRulePaged, self).__init__(*args, **kwargs) class OutboundRulePaged(Paged): """ - A paging container for iterating over a list of :class:`OutboundRule ` object + A paging container for iterating over a list of :class:`OutboundRule ` object """ _attribute_map = { @@ -378,7 +443,7 @@ def __init__(self, *args, **kwargs): super(OutboundRulePaged, self).__init__(*args, **kwargs) class NetworkInterfacePaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkInterface ` object + A paging container for iterating over a list of :class:`NetworkInterface ` object """ _attribute_map = { @@ -391,7 +456,7 @@ def __init__(self, *args, **kwargs): super(NetworkInterfacePaged, self).__init__(*args, **kwargs) class ProbePaged(Paged): """ - A paging container for iterating over a list of :class:`Probe ` object + A paging container for iterating over a list of :class:`Probe ` object """ _attribute_map = { @@ -404,7 +469,7 @@ def __init__(self, *args, **kwargs): super(ProbePaged, self).__init__(*args, **kwargs) class NatGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`NatGateway ` object + A paging container for iterating over a list of :class:`NatGateway ` object """ _attribute_map = { @@ -417,7 +482,7 @@ def __init__(self, *args, **kwargs): super(NatGatewayPaged, self).__init__(*args, **kwargs) class NetworkInterfaceIPConfigurationPaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkInterfaceIPConfiguration ` object + A paging container for iterating over a list of :class:`NetworkInterfaceIPConfiguration ` object """ _attribute_map = { @@ -430,7 +495,7 @@ def __init__(self, *args, **kwargs): super(NetworkInterfaceIPConfigurationPaged, self).__init__(*args, **kwargs) class NetworkInterfaceTapConfigurationPaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkInterfaceTapConfiguration ` object + A paging container for iterating over a list of :class:`NetworkInterfaceTapConfiguration ` object """ _attribute_map = { @@ -443,7 +508,7 @@ def __init__(self, *args, **kwargs): super(NetworkInterfaceTapConfigurationPaged, self).__init__(*args, **kwargs) class NetworkProfilePaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkProfile ` object + A paging container for iterating over a list of :class:`NetworkProfile ` object """ _attribute_map = { @@ -456,7 +521,7 @@ def __init__(self, *args, **kwargs): super(NetworkProfilePaged, self).__init__(*args, **kwargs) class NetworkSecurityGroupPaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkSecurityGroup ` object + A paging container for iterating over a list of :class:`NetworkSecurityGroup ` object """ _attribute_map = { @@ -469,7 +534,7 @@ def __init__(self, *args, **kwargs): super(NetworkSecurityGroupPaged, self).__init__(*args, **kwargs) class SecurityRulePaged(Paged): """ - A paging container for iterating over a list of :class:`SecurityRule ` object + A paging container for iterating over a list of :class:`SecurityRule ` object """ _attribute_map = { @@ -480,9 +545,48 @@ class SecurityRulePaged(Paged): def __init__(self, *args, **kwargs): super(SecurityRulePaged, self).__init__(*args, **kwargs) +class NetworkVirtualAppliancePaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkVirtualAppliance ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkVirtualAppliance]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkVirtualAppliancePaged, self).__init__(*args, **kwargs) +class VirtualApplianceSitePaged(Paged): + """ + A paging container for iterating over a list of :class:`VirtualApplianceSite ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VirtualApplianceSite]'} + } + + def __init__(self, *args, **kwargs): + + super(VirtualApplianceSitePaged, self).__init__(*args, **kwargs) +class NetworkVirtualApplianceSkuPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetworkVirtualApplianceSku ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetworkVirtualApplianceSku]'} + } + + def __init__(self, *args, **kwargs): + + super(NetworkVirtualApplianceSkuPaged, self).__init__(*args, **kwargs) class NetworkWatcherPaged(Paged): """ - A paging container for iterating over a list of :class:`NetworkWatcher ` object + A paging container for iterating over a list of :class:`NetworkWatcher ` object """ _attribute_map = { @@ -495,7 +599,7 @@ def __init__(self, *args, **kwargs): super(NetworkWatcherPaged, self).__init__(*args, **kwargs) class PacketCaptureResultPaged(Paged): """ - A paging container for iterating over a list of :class:`PacketCaptureResult ` object + A paging container for iterating over a list of :class:`PacketCaptureResult ` object """ _attribute_map = { @@ -508,7 +612,7 @@ def __init__(self, *args, **kwargs): super(PacketCaptureResultPaged, self).__init__(*args, **kwargs) class ConnectionMonitorResultPaged(Paged): """ - A paging container for iterating over a list of :class:`ConnectionMonitorResult ` object + A paging container for iterating over a list of :class:`ConnectionMonitorResult ` object """ _attribute_map = { @@ -519,9 +623,22 @@ class ConnectionMonitorResultPaged(Paged): def __init__(self, *args, **kwargs): super(ConnectionMonitorResultPaged, self).__init__(*args, **kwargs) +class FlowLogPaged(Paged): + """ + A paging container for iterating over a list of :class:`FlowLog ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[FlowLog]'} + } + + def __init__(self, *args, **kwargs): + + super(FlowLogPaged, self).__init__(*args, **kwargs) class OperationPaged(Paged): """ - A paging container for iterating over a list of :class:`Operation ` object + A paging container for iterating over a list of :class:`Operation ` object """ _attribute_map = { @@ -534,7 +651,7 @@ def __init__(self, *args, **kwargs): super(OperationPaged, self).__init__(*args, **kwargs) class PrivateEndpointPaged(Paged): """ - A paging container for iterating over a list of :class:`PrivateEndpoint ` object + A paging container for iterating over a list of :class:`PrivateEndpoint ` object """ _attribute_map = { @@ -547,7 +664,7 @@ def __init__(self, *args, **kwargs): super(PrivateEndpointPaged, self).__init__(*args, **kwargs) class AvailablePrivateEndpointTypePaged(Paged): """ - A paging container for iterating over a list of :class:`AvailablePrivateEndpointType ` object + A paging container for iterating over a list of :class:`AvailablePrivateEndpointType ` object """ _attribute_map = { @@ -558,9 +675,22 @@ class AvailablePrivateEndpointTypePaged(Paged): def __init__(self, *args, **kwargs): super(AvailablePrivateEndpointTypePaged, self).__init__(*args, **kwargs) +class PrivateDnsZoneGroupPaged(Paged): + """ + A paging container for iterating over a list of :class:`PrivateDnsZoneGroup ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PrivateDnsZoneGroup]'} + } + + def __init__(self, *args, **kwargs): + + super(PrivateDnsZoneGroupPaged, self).__init__(*args, **kwargs) class PrivateLinkServicePaged(Paged): """ - A paging container for iterating over a list of :class:`PrivateLinkService ` object + A paging container for iterating over a list of :class:`PrivateLinkService ` object """ _attribute_map = { @@ -571,9 +701,22 @@ class PrivateLinkServicePaged(Paged): def __init__(self, *args, **kwargs): super(PrivateLinkServicePaged, self).__init__(*args, **kwargs) +class PrivateEndpointConnectionPaged(Paged): + """ + A paging container for iterating over a list of :class:`PrivateEndpointConnection ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[PrivateEndpointConnection]'} + } + + def __init__(self, *args, **kwargs): + + super(PrivateEndpointConnectionPaged, self).__init__(*args, **kwargs) class AutoApprovedPrivateLinkServicePaged(Paged): """ - A paging container for iterating over a list of :class:`AutoApprovedPrivateLinkService ` object + A paging container for iterating over a list of :class:`AutoApprovedPrivateLinkService ` object """ _attribute_map = { @@ -586,7 +729,7 @@ def __init__(self, *args, **kwargs): super(AutoApprovedPrivateLinkServicePaged, self).__init__(*args, **kwargs) class PublicIPAddressPaged(Paged): """ - A paging container for iterating over a list of :class:`PublicIPAddress ` object + A paging container for iterating over a list of :class:`PublicIPAddress ` object """ _attribute_map = { @@ -599,7 +742,7 @@ def __init__(self, *args, **kwargs): super(PublicIPAddressPaged, self).__init__(*args, **kwargs) class PublicIPPrefixPaged(Paged): """ - A paging container for iterating over a list of :class:`PublicIPPrefix ` object + A paging container for iterating over a list of :class:`PublicIPPrefix ` object """ _attribute_map = { @@ -612,7 +755,7 @@ def __init__(self, *args, **kwargs): super(PublicIPPrefixPaged, self).__init__(*args, **kwargs) class RouteFilterPaged(Paged): """ - A paging container for iterating over a list of :class:`RouteFilter ` object + A paging container for iterating over a list of :class:`RouteFilter ` object """ _attribute_map = { @@ -625,7 +768,7 @@ def __init__(self, *args, **kwargs): super(RouteFilterPaged, self).__init__(*args, **kwargs) class RouteFilterRulePaged(Paged): """ - A paging container for iterating over a list of :class:`RouteFilterRule ` object + A paging container for iterating over a list of :class:`RouteFilterRule ` object """ _attribute_map = { @@ -638,7 +781,7 @@ def __init__(self, *args, **kwargs): super(RouteFilterRulePaged, self).__init__(*args, **kwargs) class RouteTablePaged(Paged): """ - A paging container for iterating over a list of :class:`RouteTable ` object + A paging container for iterating over a list of :class:`RouteTable ` object """ _attribute_map = { @@ -651,7 +794,7 @@ def __init__(self, *args, **kwargs): super(RouteTablePaged, self).__init__(*args, **kwargs) class RoutePaged(Paged): """ - A paging container for iterating over a list of :class:`Route ` object + A paging container for iterating over a list of :class:`Route ` object """ _attribute_map = { @@ -662,9 +805,22 @@ class RoutePaged(Paged): def __init__(self, *args, **kwargs): super(RoutePaged, self).__init__(*args, **kwargs) +class SecurityPartnerProviderPaged(Paged): + """ + A paging container for iterating over a list of :class:`SecurityPartnerProvider ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[SecurityPartnerProvider]'} + } + + def __init__(self, *args, **kwargs): + + super(SecurityPartnerProviderPaged, self).__init__(*args, **kwargs) class BgpServiceCommunityPaged(Paged): """ - A paging container for iterating over a list of :class:`BgpServiceCommunity ` object + A paging container for iterating over a list of :class:`BgpServiceCommunity ` object """ _attribute_map = { @@ -677,7 +833,7 @@ def __init__(self, *args, **kwargs): super(BgpServiceCommunityPaged, self).__init__(*args, **kwargs) class ServiceEndpointPolicyPaged(Paged): """ - A paging container for iterating over a list of :class:`ServiceEndpointPolicy ` object + A paging container for iterating over a list of :class:`ServiceEndpointPolicy ` object """ _attribute_map = { @@ -690,7 +846,7 @@ def __init__(self, *args, **kwargs): super(ServiceEndpointPolicyPaged, self).__init__(*args, **kwargs) class ServiceEndpointPolicyDefinitionPaged(Paged): """ - A paging container for iterating over a list of :class:`ServiceEndpointPolicyDefinition ` object + A paging container for iterating over a list of :class:`ServiceEndpointPolicyDefinition ` object """ _attribute_map = { @@ -703,7 +859,7 @@ def __init__(self, *args, **kwargs): super(ServiceEndpointPolicyDefinitionPaged, self).__init__(*args, **kwargs) class UsagePaged(Paged): """ - A paging container for iterating over a list of :class:`Usage ` object + A paging container for iterating over a list of :class:`Usage ` object """ _attribute_map = { @@ -716,7 +872,7 @@ def __init__(self, *args, **kwargs): super(UsagePaged, self).__init__(*args, **kwargs) class VirtualNetworkPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetwork ` object + A paging container for iterating over a list of :class:`VirtualNetwork ` object """ _attribute_map = { @@ -729,7 +885,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkPaged, self).__init__(*args, **kwargs) class VirtualNetworkUsagePaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkUsage ` object + A paging container for iterating over a list of :class:`VirtualNetworkUsage ` object """ _attribute_map = { @@ -742,7 +898,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkUsagePaged, self).__init__(*args, **kwargs) class SubnetPaged(Paged): """ - A paging container for iterating over a list of :class:`Subnet ` object + A paging container for iterating over a list of :class:`Subnet ` object """ _attribute_map = { @@ -755,7 +911,7 @@ def __init__(self, *args, **kwargs): super(SubnetPaged, self).__init__(*args, **kwargs) class VirtualNetworkPeeringPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkPeering ` object + A paging container for iterating over a list of :class:`VirtualNetworkPeering ` object """ _attribute_map = { @@ -768,7 +924,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkPeeringPaged, self).__init__(*args, **kwargs) class VirtualNetworkGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkGateway ` object + A paging container for iterating over a list of :class:`VirtualNetworkGateway ` object """ _attribute_map = { @@ -781,7 +937,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkGatewayPaged, self).__init__(*args, **kwargs) class VirtualNetworkGatewayConnectionListEntityPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnectionListEntity ` object + A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnectionListEntity ` object """ _attribute_map = { @@ -794,7 +950,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkGatewayConnectionListEntityPaged, self).__init__(*args, **kwargs) class VirtualNetworkGatewayConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnection ` object + A paging container for iterating over a list of :class:`VirtualNetworkGatewayConnection ` object """ _attribute_map = { @@ -807,7 +963,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkGatewayConnectionPaged, self).__init__(*args, **kwargs) class LocalNetworkGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`LocalNetworkGateway ` object + A paging container for iterating over a list of :class:`LocalNetworkGateway ` object """ _attribute_map = { @@ -820,7 +976,7 @@ def __init__(self, *args, **kwargs): super(LocalNetworkGatewayPaged, self).__init__(*args, **kwargs) class VirtualNetworkTapPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualNetworkTap ` object + A paging container for iterating over a list of :class:`VirtualNetworkTap ` object """ _attribute_map = { @@ -833,7 +989,7 @@ def __init__(self, *args, **kwargs): super(VirtualNetworkTapPaged, self).__init__(*args, **kwargs) class VirtualRouterPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualRouter ` object + A paging container for iterating over a list of :class:`VirtualRouter ` object """ _attribute_map = { @@ -846,7 +1002,7 @@ def __init__(self, *args, **kwargs): super(VirtualRouterPaged, self).__init__(*args, **kwargs) class VirtualRouterPeeringPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualRouterPeering ` object + A paging container for iterating over a list of :class:`VirtualRouterPeering ` object """ _attribute_map = { @@ -859,7 +1015,7 @@ def __init__(self, *args, **kwargs): super(VirtualRouterPeeringPaged, self).__init__(*args, **kwargs) class VirtualWANPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualWAN ` object + A paging container for iterating over a list of :class:`VirtualWAN ` object """ _attribute_map = { @@ -872,7 +1028,7 @@ def __init__(self, *args, **kwargs): super(VirtualWANPaged, self).__init__(*args, **kwargs) class VpnSitePaged(Paged): """ - A paging container for iterating over a list of :class:`VpnSite ` object + A paging container for iterating over a list of :class:`VpnSite ` object """ _attribute_map = { @@ -885,7 +1041,7 @@ def __init__(self, *args, **kwargs): super(VpnSitePaged, self).__init__(*args, **kwargs) class VpnSiteLinkPaged(Paged): """ - A paging container for iterating over a list of :class:`VpnSiteLink ` object + A paging container for iterating over a list of :class:`VpnSiteLink ` object """ _attribute_map = { @@ -896,9 +1052,22 @@ class VpnSiteLinkPaged(Paged): def __init__(self, *args, **kwargs): super(VpnSiteLinkPaged, self).__init__(*args, **kwargs) +class VpnServerConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`VpnServerConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[VpnServerConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(VpnServerConfigurationPaged, self).__init__(*args, **kwargs) class VirtualHubPaged(Paged): """ - A paging container for iterating over a list of :class:`VirtualHub ` object + A paging container for iterating over a list of :class:`VirtualHub ` object """ _attribute_map = { @@ -911,7 +1080,7 @@ def __init__(self, *args, **kwargs): super(VirtualHubPaged, self).__init__(*args, **kwargs) class HubVirtualNetworkConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`HubVirtualNetworkConnection ` object + A paging container for iterating over a list of :class:`HubVirtualNetworkConnection ` object """ _attribute_map = { @@ -924,7 +1093,7 @@ def __init__(self, *args, **kwargs): super(HubVirtualNetworkConnectionPaged, self).__init__(*args, **kwargs) class VpnGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`VpnGateway ` object + A paging container for iterating over a list of :class:`VpnGateway ` object """ _attribute_map = { @@ -937,7 +1106,7 @@ def __init__(self, *args, **kwargs): super(VpnGatewayPaged, self).__init__(*args, **kwargs) class VpnConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`VpnConnection ` object + A paging container for iterating over a list of :class:`VpnConnection ` object """ _attribute_map = { @@ -950,7 +1119,7 @@ def __init__(self, *args, **kwargs): super(VpnConnectionPaged, self).__init__(*args, **kwargs) class VpnSiteLinkConnectionPaged(Paged): """ - A paging container for iterating over a list of :class:`VpnSiteLinkConnection ` object + A paging container for iterating over a list of :class:`VpnSiteLinkConnection ` object """ _attribute_map = { @@ -961,35 +1130,74 @@ class VpnSiteLinkConnectionPaged(Paged): def __init__(self, *args, **kwargs): super(VpnSiteLinkConnectionPaged, self).__init__(*args, **kwargs) -class P2SVpnServerConfigurationPaged(Paged): +class P2SVpnGatewayPaged(Paged): """ - A paging container for iterating over a list of :class:`P2SVpnServerConfiguration ` object + A paging container for iterating over a list of :class:`P2SVpnGateway ` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[P2SVpnServerConfiguration]'} + 'current_page': {'key': 'value', 'type': '[P2SVpnGateway]'} } def __init__(self, *args, **kwargs): - super(P2SVpnServerConfigurationPaged, self).__init__(*args, **kwargs) -class P2SVpnGatewayPaged(Paged): + super(P2SVpnGatewayPaged, self).__init__(*args, **kwargs) +class VirtualHubRouteTableV2Paged(Paged): """ - A paging container for iterating over a list of :class:`P2SVpnGateway ` object + A paging container for iterating over a list of :class:`VirtualHubRouteTableV2 ` object """ _attribute_map = { 'next_link': {'key': 'nextLink', 'type': 'str'}, - 'current_page': {'key': 'value', 'type': '[P2SVpnGateway]'} + 'current_page': {'key': 'value', 'type': '[VirtualHubRouteTableV2]'} } def __init__(self, *args, **kwargs): - super(P2SVpnGatewayPaged, self).__init__(*args, **kwargs) + super(VirtualHubRouteTableV2Paged, self).__init__(*args, **kwargs) +class BgpConnectionPaged(Paged): + """ + A paging container for iterating over a list of :class:`BgpConnection ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[BgpConnection]'} + } + + def __init__(self, *args, **kwargs): + + super(BgpConnectionPaged, self).__init__(*args, **kwargs) +class HubIpConfigurationPaged(Paged): + """ + A paging container for iterating over a list of :class:`HubIpConfiguration ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[HubIpConfiguration]'} + } + + def __init__(self, *args, **kwargs): + + super(HubIpConfigurationPaged, self).__init__(*args, **kwargs) +class HubRouteTablePaged(Paged): + """ + A paging container for iterating over a list of :class:`HubRouteTable ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[HubRouteTable]'} + } + + def __init__(self, *args, **kwargs): + + super(HubRouteTablePaged, self).__init__(*args, **kwargs) class WebApplicationFirewallPolicyPaged(Paged): """ - A paging container for iterating over a list of :class:`WebApplicationFirewallPolicy ` object + A paging container for iterating over a list of :class:`WebApplicationFirewallPolicy ` object """ _attribute_map = { diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/__init__.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/__init__.py similarity index 82% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/__init__.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/__init__.py index 46472dd669d..72ad8d55871 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/__init__.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/__init__.py @@ -13,6 +13,7 @@ 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 ._bastion_hosts_operations import BastionHostsOperations @@ -27,13 +28,13 @@ 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_gateways_operations import ExpressRouteGatewaysOperations -from ._express_route_connections_operations import ExpressRouteConnectionsOperations 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_groups_operations import FirewallPolicyRuleGroupsOperations +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 @@ -51,12 +52,17 @@ 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 ._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_addresses_operations import PublicIPAddressesOperations from ._public_ip_prefixes_operations import PublicIPPrefixesOperations @@ -64,6 +70,7 @@ 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 @@ -84,14 +91,22 @@ 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_connections_operations import VpnConnectionsOperations from ._vpn_site_link_connections_operations import VpnSiteLinkConnectionsOperations from ._vpn_link_connections_operations import VpnLinkConnectionsOperations -from ._p2s_vpn_server_configurations_operations import P2sVpnServerConfigurationsOperations from ._p2s_vpn_gateways_operations import P2sVpnGatewaysOperations +from ._vpn_server_configurations_associated_with_virtual_wan_operations import VpnServerConfigurationsAssociatedWithVirtualWanOperations +from ._virtual_hub_route_table_v2s_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 from ._network_management_client_operations import NetworkManagementClientOperationsMixin @@ -100,6 +115,7 @@ 'ApplicationSecurityGroupsOperations', 'AvailableDelegationsOperations', 'AvailableResourceGroupDelegationsOperations', + 'AvailableServiceAliasesOperations', 'AzureFirewallsOperations', 'AzureFirewallFqdnTagsOperations', 'BastionHostsOperations', @@ -114,13 +130,13 @@ 'ExpressRouteServiceProvidersOperations', 'ExpressRouteCrossConnectionsOperations', 'ExpressRouteCrossConnectionPeeringsOperations', - 'ExpressRouteGatewaysOperations', - 'ExpressRouteConnectionsOperations', 'ExpressRoutePortsLocationsOperations', 'ExpressRoutePortsOperations', 'ExpressRouteLinksOperations', 'FirewallPoliciesOperations', - 'FirewallPolicyRuleGroupsOperations', + 'FirewallPolicyRuleCollectionGroupsOperations', + 'IpAllocationsOperations', + 'IpGroupsOperations', 'LoadBalancersOperations', 'LoadBalancerBackendAddressPoolsOperations', 'LoadBalancerFrontendIPConfigurationsOperations', @@ -138,12 +154,17 @@ 'NetworkSecurityGroupsOperations', 'SecurityRulesOperations', 'DefaultSecurityRulesOperations', + 'NetworkVirtualAppliancesOperations', + 'VirtualApplianceSitesOperations', + 'VirtualApplianceSkusOperations', 'NetworkWatchersOperations', 'PacketCapturesOperations', 'ConnectionMonitorsOperations', + 'FlowLogsOperations', 'Operations', 'PrivateEndpointsOperations', 'AvailablePrivateEndpointTypesOperations', + 'PrivateDnsZoneGroupsOperations', 'PrivateLinkServicesOperations', 'PublicIPAddressesOperations', 'PublicIPPrefixesOperations', @@ -151,6 +172,7 @@ 'RouteFilterRulesOperations', 'RouteTablesOperations', 'RoutesOperations', + 'SecurityPartnerProvidersOperations', 'BgpServiceCommunitiesOperations', 'ServiceEndpointPoliciesOperations', 'ServiceEndpointPolicyDefinitionsOperations', @@ -171,14 +193,22 @@ 'VpnSitesOperations', 'VpnSiteLinksOperations', 'VpnSitesConfigurationOperations', + 'VpnServerConfigurationsOperations', 'VirtualHubsOperations', 'HubVirtualNetworkConnectionsOperations', 'VpnGatewaysOperations', 'VpnConnectionsOperations', 'VpnSiteLinkConnectionsOperations', 'VpnLinkConnectionsOperations', - 'P2sVpnServerConfigurationsOperations', 'P2sVpnGatewaysOperations', + 'VpnServerConfigurationsAssociatedWithVirtualWanOperations', + 'VirtualHubRouteTableV2sOperations', + 'ExpressRouteGatewaysOperations', + 'ExpressRouteConnectionsOperations', + 'VirtualHubBgpConnectionOperations', + 'VirtualHubBgpConnectionsOperations', + 'VirtualHubIpConfigurationOperations', + 'HubRouteTablesOperations', 'WebApplicationFirewallPoliciesOperations', 'NetworkManagementClientOperationsMixin', ] diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_gateways_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_gateways_operations.py index 5202fbd9c17..f31e17847f8 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_gateways_operations.py @@ -27,7 +27,7 @@ class ApplicationGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ApplicationGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ApplicationGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ApplicationGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -244,7 +244,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update application gateway operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGateway + ~azure.mgmt.network.v2020_05_01.models.ApplicationGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -253,9 +253,9 @@ def create_or_update( :return: An instance of LROPoller that returns ApplicationGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -285,9 +285,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, application_gateway_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ApplicationGateway or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.ApplicationGateway or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -327,7 +344,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ApplicationGateway', response) @@ -336,55 +352,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, application_gateway_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns ApplicationGateway or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - application_gateway_name=application_gateway_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ApplicationGateway', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}'} def list( @@ -400,7 +367,7 @@ def list( overrides`. :return: An iterator like instance of ApplicationGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayPaged[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPaged[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -467,7 +434,7 @@ def list_all( overrides`. :return: An iterator like instance of ApplicationGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayPaged[~azure.mgmt.network.v2019_07_01.models.ApplicationGateway] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayPaged[~azure.mgmt.network.v2020_05_01.models.ApplicationGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -749,9 +716,9 @@ def backend_health( ApplicationGatewayBackendHealth or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealth] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealth] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealth]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealth]] :raises: :class:`CloudError` """ raw_result = self._backend_health_initial( @@ -844,7 +811,7 @@ def backend_health_on_demand( :type application_gateway_name: str :param probe_request: Request body for on-demand test probe operation. :type probe_request: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayOnDemandProbe + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayOnDemandProbe :param expand: Expands BackendAddressPool and BackendHttpSettings referenced in backend health. :type expand: str @@ -858,9 +825,9 @@ def backend_health_on_demand( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthOnDemand] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthOnDemand] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayBackendHealthOnDemand]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayBackendHealthOnDemand]] :raises: :class:`CloudError` """ raw_result = self._backend_health_on_demand_initial( @@ -903,7 +870,7 @@ def list_available_server_variables( :return: list or ClientRawResponse if raw=true :rtype: list[str] or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.list_available_server_variables.metadata['url'] @@ -956,7 +923,7 @@ def list_available_request_headers( :return: list or ClientRawResponse if raw=true :rtype: list[str] or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.list_available_request_headers.metadata['url'] @@ -1009,7 +976,7 @@ def list_available_response_headers( :return: list or ClientRawResponse if raw=true :rtype: list[str] or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.list_available_response_headers.metadata['url'] @@ -1062,7 +1029,7 @@ def list_available_waf_rule_sets( :return: ApplicationGatewayAvailableWafRuleSetsResult or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAvailableWafRuleSetsResult + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAvailableWafRuleSetsResult or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -1119,7 +1086,7 @@ def list_available_ssl_options( :return: ApplicationGatewayAvailableSslOptions or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewayAvailableSslOptions + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewayAvailableSslOptions or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -1176,7 +1143,7 @@ def list_available_ssl_predefined_policies( :return: An iterator like instance of ApplicationGatewaySslPredefinedPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPredefinedPolicyPaged[~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPredefinedPolicy] + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslPredefinedPolicyPaged[~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslPredefinedPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -1245,7 +1212,7 @@ def get_ssl_predefined_policy( :return: ApplicationGatewaySslPredefinedPolicy or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationGatewaySslPredefinedPolicy + ~azure.mgmt.network.v2020_05_01.models.ApplicationGatewaySslPredefinedPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_security_groups_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_security_groups_operations.py similarity index 89% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_security_groups_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_security_groups_operations.py index a34e0e840cd..d84aa2d3597 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_application_security_groups_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_application_security_groups_operations.py @@ -27,7 +27,7 @@ class ApplicationSecurityGroupsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -137,7 +137,7 @@ def get( overrides`. :return: ApplicationSecurityGroup or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup or + ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update ApplicationSecurityGroup operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup + ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -258,9 +258,9 @@ def create_or_update( ApplicationSecurityGroup or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -290,9 +290,28 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, application_security_group_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ApplicationSecurityGroup or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -332,7 +351,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ApplicationSecurityGroup', response) @@ -341,57 +359,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, application_security_group_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns - ApplicationSecurityGroup or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - application_security_group_name=application_security_group_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ApplicationSecurityGroup', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}'} def list_all( @@ -405,7 +372,7 @@ def list_all( overrides`. :return: An iterator like instance of ApplicationSecurityGroup :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroupPaged[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroupPaged[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -473,7 +440,7 @@ def list( overrides`. :return: An iterator like instance of ApplicationSecurityGroup :rtype: - ~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroupPaged[~azure.mgmt.network.v2019_07_01.models.ApplicationSecurityGroup] + ~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroupPaged[~azure.mgmt.network.v2020_05_01.models.ApplicationSecurityGroup] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_delegations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_delegations_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_delegations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_delegations_operations.py index a4b54197713..ea52136d8f5 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_delegations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_delegations_operations.py @@ -25,7 +25,7 @@ class AvailableDelegationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -53,7 +53,7 @@ def list( overrides`. :return: An iterator like instance of AvailableDelegation :rtype: - ~azure.mgmt.network.v2019_07_01.models.AvailableDelegationPaged[~azure.mgmt.network.v2019_07_01.models.AvailableDelegation] + ~azure.mgmt.network.v2020_05_01.models.AvailableDelegationPaged[~azure.mgmt.network.v2020_05_01.models.AvailableDelegation] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_endpoint_services_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_endpoint_services_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_endpoint_services_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_endpoint_services_operations.py index c31666a1d94..f25747e2eff 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_endpoint_services_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_endpoint_services_operations.py @@ -25,7 +25,7 @@ class AvailableEndpointServicesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -52,7 +52,7 @@ def list( overrides`. :return: An iterator like instance of EndpointServiceResult :rtype: - ~azure.mgmt.network.v2019_07_01.models.EndpointServiceResultPaged[~azure.mgmt.network.v2019_07_01.models.EndpointServiceResult] + ~azure.mgmt.network.v2020_05_01.models.EndpointServiceResultPaged[~azure.mgmt.network.v2020_05_01.models.EndpointServiceResult] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_private_endpoint_types_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_private_endpoint_types_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_private_endpoint_types_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_private_endpoint_types_operations.py index ef977cf067f..b1ac4e0f735 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_private_endpoint_types_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_private_endpoint_types_operations.py @@ -25,7 +25,7 @@ class AvailablePrivateEndpointTypesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -53,7 +53,7 @@ def list( overrides`. :return: An iterator like instance of AvailablePrivateEndpointType :rtype: - ~azure.mgmt.network.v2019_07_01.models.AvailablePrivateEndpointTypePaged[~azure.mgmt.network.v2019_07_01.models.AvailablePrivateEndpointType] + ~azure.mgmt.network.v2020_05_01.models.AvailablePrivateEndpointTypePaged[~azure.mgmt.network.v2020_05_01.models.AvailablePrivateEndpointType] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -125,7 +125,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of AvailablePrivateEndpointType :rtype: - ~azure.mgmt.network.v2019_07_01.models.AvailablePrivateEndpointTypePaged[~azure.mgmt.network.v2019_07_01.models.AvailablePrivateEndpointType] + ~azure.mgmt.network.v2020_05_01.models.AvailablePrivateEndpointTypePaged[~azure.mgmt.network.v2020_05_01.models.AvailablePrivateEndpointType] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_resource_group_delegations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_resource_group_delegations_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_resource_group_delegations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_resource_group_delegations_operations.py index 7ca0e13cba4..45e6c7b147d 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_available_resource_group_delegations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_resource_group_delegations_operations.py @@ -25,7 +25,7 @@ class AvailableResourceGroupDelegationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -55,7 +55,7 @@ def list( overrides`. :return: An iterator like instance of AvailableDelegation :rtype: - ~azure.mgmt.network.v2019_07_01.models.AvailableDelegationPaged[~azure.mgmt.network.v2019_07_01.models.AvailableDelegation] + ~azure.mgmt.network.v2020_05_01.models.AvailableDelegationPaged[~azure.mgmt.network.v2020_05_01.models.AvailableDelegation] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_service_aliases_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_service_aliases_operations.py new file mode 100644 index 00000000000..61e96f07499 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_available_service_aliases_operations.py @@ -0,0 +1,183 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class AvailableServiceAliasesOperations(object): + """AvailableServiceAliasesOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def list( + self, location, custom_headers=None, raw=False, **operation_config): + """Gets all available service aliases for this subscription in this + region. + + :param location: The location. + :type location: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of AvailableServiceAlias + :rtype: + ~azure.mgmt.network.v2020_05_01.models.AvailableServiceAliasPaged[~azure.mgmt.network.v2020_05_01.models.AvailableServiceAlias] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.AvailableServiceAliasPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} + + def list_by_resource_group( + self, resource_group_name, location, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of AvailableServiceAlias + :rtype: + ~azure.mgmt.network.v2020_05_01.models.AvailableServiceAliasPaged[~azure.mgmt.network.v2020_05_01.models.AvailableServiceAlias] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.AvailableServiceAliasPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewall_fqdn_tags_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewall_fqdn_tags_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewall_fqdn_tags_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewall_fqdn_tags_operations.py index 4e02ebf1b9a..1e042f39f7c 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewall_fqdn_tags_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewall_fqdn_tags_operations.py @@ -25,7 +25,7 @@ class AzureFirewallFqdnTagsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -50,7 +50,7 @@ def list_all( overrides`. :return: An iterator like instance of AzureFirewallFqdnTag :rtype: - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallFqdnTagPaged[~azure.mgmt.network.v2019_07_01.models.AzureFirewallFqdnTag] + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallFqdnTagPaged[~azure.mgmt.network.v2020_05_01.models.AzureFirewallFqdnTag] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewalls_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewalls_operations.py similarity index 87% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewalls_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewalls_operations.py index 8909eb5067f..23a9af78912 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_azure_firewalls_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_azure_firewalls_operations.py @@ -27,7 +27,7 @@ class AzureFirewallsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: AzureFirewall or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall or + :rtype: ~azure.mgmt.network.v2020_05_01.models.AzureFirewall or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -188,7 +188,7 @@ def _create_or_update_initial( url = self.create_or_update.metadata['url'] 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'), + '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) @@ -243,7 +243,7 @@ def create_or_update( :type azure_firewall_name: str :param parameters: Parameters supplied to the create or update Azure Firewall operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall + :type parameters: ~azure.mgmt.network.v2020_05_01.models.AzureFirewall :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -252,9 +252,9 @@ def create_or_update( :return: An instance of LROPoller that returns AzureFirewall or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.AzureFirewall] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.AzureFirewall] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.AzureFirewall]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.AzureFirewall]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -284,27 +284,11 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} - def update_tags( - self, resource_group_name, azure_firewall_name, parameters, custom_headers=None, raw=False, **operation_config): - """Updates tags for 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 the create or update Azure - Firewall operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: AzureFirewall or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.AzureFirewall or - ~msrest.pipeline.ClientRawResponse - :raises: :class:`CloudError` - """ + def _update_tags_initial( + self, resource_group_name, azure_firewall_name, tags=None, custom_headers=None, raw=False, **operation_config): + parameters = models.TagsObject(tags=tags) + # Construct URL url = self.update_tags.metadata['url'] path_format_arguments = { @@ -330,18 +314,19 @@ def update_tags( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(parameters, 'AzureFirewall') + body_content = self._serialize.body(parameters, 'TagsObject') # Construct and send request request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 202]: exp = CloudError(response) exp.request_id = response.headers.get('x-ms-request-id') raise exp deserialized = None + if response.status_code == 200: deserialized = self._deserialize('AzureFirewall', response) @@ -350,6 +335,55 @@ def update_tags( return client_raw_response return deserialized + + def update_tags( + self, resource_group_name, azure_firewall_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns AzureFirewall or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.AzureFirewall] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.AzureFirewall]] + :raises: :class:`CloudError` + """ + raw_result = self._update_tags_initial( + resource_group_name=resource_group_name, + azure_firewall_name=azure_firewall_name, + tags=tags, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('AzureFirewall', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}'} def list( @@ -365,7 +399,7 @@ def list( overrides`. :return: An iterator like instance of AzureFirewall :rtype: - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallPaged[~azure.mgmt.network.v2019_07_01.models.AzureFirewall] + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallPaged[~azure.mgmt.network.v2020_05_01.models.AzureFirewall] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -432,7 +466,7 @@ def list_all( overrides`. :return: An iterator like instance of AzureFirewall :rtype: - ~azure.mgmt.network.v2019_07_01.models.AzureFirewallPaged[~azure.mgmt.network.v2019_07_01.models.AzureFirewall] + ~azure.mgmt.network.v2020_05_01.models.AzureFirewallPaged[~azure.mgmt.network.v2020_05_01.models.AzureFirewall] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bastion_hosts_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bastion_hosts_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bastion_hosts_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bastion_hosts_operations.py index 40c1b2d58c8..86dfc55bb64 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bastion_hosts_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bastion_hosts_operations.py @@ -27,7 +27,7 @@ class BastionHostsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: BastionHost or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.BastionHost or + :rtype: ~azure.mgmt.network.v2020_05_01.models.BastionHost or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -243,7 +243,7 @@ def create_or_update( :type bastion_host_name: str :param parameters: Parameters supplied to the create or update Bastion Host operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.BastionHost + :type parameters: ~azure.mgmt.network.v2020_05_01.models.BastionHost :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -252,9 +252,9 @@ def create_or_update( :return: An instance of LROPoller that returns BastionHost or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.BastionHost] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionHost] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.BastionHost]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionHost]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -295,7 +295,7 @@ def list( overrides`. :return: An iterator like instance of BastionHost :rtype: - ~azure.mgmt.network.v2019_07_01.models.BastionHostPaged[~azure.mgmt.network.v2019_07_01.models.BastionHost] + ~azure.mgmt.network.v2020_05_01.models.BastionHostPaged[~azure.mgmt.network.v2020_05_01.models.BastionHost] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -363,7 +363,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of BastionHost :rtype: - ~azure.mgmt.network.v2019_07_01.models.BastionHostPaged[~azure.mgmt.network.v2019_07_01.models.BastionHost] + ~azure.mgmt.network.v2020_05_01.models.BastionHostPaged[~azure.mgmt.network.v2020_05_01.models.BastionHost] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bgp_service_communities_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bgp_service_communities_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bgp_service_communities_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bgp_service_communities_operations.py index 36da220e9eb..b2ded383c93 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_bgp_service_communities_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_bgp_service_communities_operations.py @@ -25,7 +25,7 @@ class BgpServiceCommunitiesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -50,7 +50,7 @@ def list( overrides`. :return: An iterator like instance of BgpServiceCommunity :rtype: - ~azure.mgmt.network.v2019_07_01.models.BgpServiceCommunityPaged[~azure.mgmt.network.v2019_07_01.models.BgpServiceCommunity] + ~azure.mgmt.network.v2020_05_01.models.BgpServiceCommunityPaged[~azure.mgmt.network.v2020_05_01.models.BgpServiceCommunity] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_connection_monitors_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_connection_monitors_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_connection_monitors_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_connection_monitors_operations.py index 9201732f681..0a985b2fa19 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_connection_monitors_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_connection_monitors_operations.py @@ -26,7 +26,7 @@ class ConnectionMonitorsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-06-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-06-01" + self.api_version = "2020-05-01" self.config = config @@ -105,7 +105,7 @@ def create_or_update( :param parameters: Parameters that define the operation to create a connection monitor. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitor + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitor :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -114,11 +114,11 @@ def create_or_update( :return: An instance of LROPoller that returns ConnectionMonitorResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -165,10 +165,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ConnectionMonitorResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResult or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -270,7 +270,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -313,10 +313,10 @@ def update_tags( :param operation_config: :ref:`Operation configuration overrides`. :return: ConnectionMonitorResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResult + :rtype: ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResult or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ parameters = models.TagsObject(tags=tags) @@ -424,7 +424,7 @@ def stop( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._stop_initial( resource_group_name=resource_group_name, @@ -507,7 +507,7 @@ def start( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._start_initial( resource_group_name=resource_group_name, @@ -600,11 +600,11 @@ def query( ConnectionMonitorQueryResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorQueryResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorQueryResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorQueryResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorQueryResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._query_initial( resource_group_name=resource_group_name, @@ -649,9 +649,9 @@ def list( overrides`. :return: An iterator like instance of ConnectionMonitorResult :rtype: - ~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResultPaged[~azure.mgmt.network.v2019_07_01.models.ConnectionMonitorResult] + ~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResultPaged[~azure.mgmt.network.v2020_05_01.models.ConnectionMonitorResult] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ def prepare_request(next_link=None): if not next_link: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_custom_policies_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_custom_policies_operations.py similarity index 87% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_custom_policies_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_custom_policies_operations.py index 55f0c5c6fe4..2a84e7d01fb 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_custom_policies_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_custom_policies_operations.py @@ -27,7 +27,7 @@ class DdosCustomPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: DdosCustomPolicy or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy or + :rtype: ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -244,7 +244,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy + ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -253,9 +253,9 @@ def create_or_update( :return: An instance of LROPoller that returns DdosCustomPolicy or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -285,9 +285,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, ddos_custom_policy_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: DdosCustomPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.DdosCustomPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -327,7 +344,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('DdosCustomPolicy', response) @@ -336,53 +352,4 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, ddos_custom_policy_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns DdosCustomPolicy or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.DdosCustomPolicy]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - ddos_custom_policy_name=ddos_custom_policy_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('DdosCustomPolicy', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_protection_plans_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_protection_plans_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_protection_plans_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_protection_plans_operations.py index 237fb17dc7e..401aaba6427 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_ddos_protection_plans_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ddos_protection_plans_operations.py @@ -27,7 +27,7 @@ class DdosProtectionPlansOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: DdosProtectionPlan or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan or + :rtype: ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -258,9 +258,9 @@ def create_or_update( :return: An instance of LROPoller that returns DdosProtectionPlan or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -291,9 +291,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, ddos_protection_plan_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: DdosProtectionPlan or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -333,7 +351,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('DdosProtectionPlan', response) @@ -342,56 +359,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, ddos_protection_plan_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns DdosProtectionPlan or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - ddos_protection_plan_name=ddos_protection_plan_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('DdosProtectionPlan', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}'} def list( @@ -405,7 +372,7 @@ def list( overrides`. :return: An iterator like instance of DdosProtectionPlan :rtype: - ~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlanPaged[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan] + ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlanPaged[~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -473,7 +440,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of DdosProtectionPlan :rtype: - ~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlanPaged[~azure.mgmt.network.v2019_07_01.models.DdosProtectionPlan] + ~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlanPaged[~azure.mgmt.network.v2020_05_01.models.DdosProtectionPlan] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_default_security_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_default_security_rules_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_default_security_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_default_security_rules_operations.py index d9f10596834..93df3923c18 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_default_security_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_default_security_rules_operations.py @@ -25,7 +25,7 @@ class DefaultSecurityRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -55,7 +55,7 @@ def list( overrides`. :return: An iterator like instance of SecurityRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.SecurityRulePaged[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + ~azure.mgmt.network.v2020_05_01.models.SecurityRulePaged[~azure.mgmt.network.v2020_05_01.models.SecurityRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -130,7 +130,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: SecurityRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.SecurityRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.SecurityRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py index d6756d8e278..d7d902b7a2f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_authorizations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_authorizations_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCircuitAuthorizationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -144,7 +144,7 @@ def get( :return: ExpressRouteCircuitAuthorization or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -259,7 +259,7 @@ def create_or_update( :param authorization_parameters: Parameters supplied to the create or update express route circuit authorization operation. :type authorization_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -269,9 +269,9 @@ def create_or_update( ExpressRouteCircuitAuthorization or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -317,7 +317,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteCircuitAuthorization :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorizationPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitAuthorization] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorizationPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitAuthorization] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_connections_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_connections_operations.py index f85d55e598d..7d58e4682dc 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_connections_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCircuitConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -152,7 +152,7 @@ def get( :return: ExpressRouteCircuitConnection or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -273,7 +273,7 @@ def create_or_update( supplied to the create or update express route circuit connection operation. :type express_route_circuit_connection_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -283,9 +283,9 @@ def create_or_update( ExpressRouteCircuitConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -335,7 +335,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteCircuitConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnectionPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitConnection] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnectionPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitConnection] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_peerings_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_peerings_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_peerings_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_peerings_operations.py index 19cb10dd318..af723b2c3c4 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuit_peerings_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuit_peerings_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCircuitPeeringsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -141,7 +141,7 @@ def get( overrides`. :return: ExpressRouteCircuitPeering or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -255,7 +255,7 @@ def create_or_update( :param peering_parameters: Parameters supplied to the create or update express route circuit peering operation. :type peering_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -265,9 +265,9 @@ def create_or_update( ExpressRouteCircuitPeering or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -313,7 +313,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteCircuitPeering :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeeringPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPeering] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeeringPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPeering] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuits_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuits_operations.py similarity index 93% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuits_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuits_operations.py index cd59c63e35b..dd758fae229 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_circuits_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_circuits_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCircuitsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteCircuit or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -244,7 +244,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update express route circuit operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -253,9 +253,9 @@ def create_or_update( :return: An instance of LROPoller that returns ExpressRouteCircuit or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -285,9 +285,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, circuit_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ExpressRouteCircuit or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -327,7 +344,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ExpressRouteCircuit', response) @@ -336,55 +352,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, circuit_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns ExpressRouteCircuit or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - circuit_name=circuit_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ExpressRouteCircuit', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}'} @@ -457,9 +424,9 @@ def list_arp_table( ExpressRouteCircuitsArpTableListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsArpTableListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsArpTableListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsArpTableListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsArpTableListResult]] :raises: :class:`CloudError` """ raw_result = self._list_arp_table_initial( @@ -561,9 +528,9 @@ def list_routes_table( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableListResult]] :raises: :class:`CloudError` """ raw_result = self._list_routes_table_initial( @@ -665,9 +632,9 @@ def list_routes_table_summary( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableSummaryListResult]] :raises: :class:`CloudError` """ raw_result = self._list_routes_table_summary_initial( @@ -713,7 +680,7 @@ def get_stats( overrides`. :return: ExpressRouteCircuitStats or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitStats or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitStats or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -777,7 +744,7 @@ def get_peering_stats( overrides`. :return: ExpressRouteCircuitStats or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitStats or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitStats or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -838,7 +805,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteCircuit :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -905,7 +872,7 @@ def list_all( overrides`. :return: An iterator like instance of ExpressRouteCircuit :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuit] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuit] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_connections_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_connections_operations.py index faaec398dc8..0ef45d5249e 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_connections_operations.py @@ -27,7 +27,7 @@ class ExpressRouteConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -109,7 +109,7 @@ def create_or_update( :param put_express_route_connection_parameters: Parameters required in an ExpressRouteConnection PUT operation. :type put_express_route_connection_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -118,9 +118,9 @@ def create_or_update( :return: An instance of LROPoller that returns ExpressRouteConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -168,7 +168,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteConnection or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnection + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnection or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -316,7 +316,7 @@ def list( overrides`. :return: ExpressRouteConnectionList or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteConnectionList or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteConnectionList or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py index 3df55016bda..daed89593af 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connection_peerings_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connection_peerings_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCrossConnectionPeeringsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -58,7 +58,7 @@ def list( :return: An iterator like instance of ExpressRouteCrossConnectionPeering :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeeringPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeeringPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -218,7 +218,7 @@ def get( :return: ExpressRouteCrossConnectionPeering or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -334,7 +334,7 @@ def create_or_update( :param peering_parameters: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation. :type peering_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -344,9 +344,9 @@ def create_or_update( ExpressRouteCrossConnectionPeering or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPeering]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPeering]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connections_operations.py similarity index 92% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connections_operations.py index 13fbc312df4..2c7609ecf63 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_cross_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_cross_connections_operations.py @@ -27,7 +27,7 @@ class ExpressRouteCrossConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -52,7 +52,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteCrossConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -120,7 +120,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of ExpressRouteCrossConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -193,7 +193,7 @@ def get( overrides`. :return: ExpressRouteCrossConnection or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection or + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -302,7 +302,7 @@ def create_or_update( :param parameters: Parameters supplied to the update express route crossConnection operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -312,9 +312,9 @@ def create_or_update( ExpressRouteCrossConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -344,9 +344,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, cross_connection_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ExpressRouteCrossConnection or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnection or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ cross_connection_parameters = models.TagsObject(tags=tags) # Construct URL @@ -386,7 +404,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ExpressRouteCrossConnection', response) @@ -395,56 +412,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, cross_connection_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns - ExpressRouteCrossConnection or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnection]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - cross_connection_name=cross_connection_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ExpressRouteCrossConnection', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}'} @@ -518,9 +485,9 @@ def list_arp_table( ExpressRouteCircuitsArpTableListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsArpTableListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsArpTableListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsArpTableListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsArpTableListResult]] :raises: :class:`CloudError` """ raw_result = self._list_arp_table_initial( @@ -623,9 +590,9 @@ def list_routes_table_summary( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCrossConnectionsRoutesTableSummaryListResult]] :raises: :class:`CloudError` """ raw_result = self._list_routes_table_summary_initial( @@ -728,9 +695,9 @@ def list_routes_table( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteCircuitsRoutesTableListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteCircuitsRoutesTableListResult]] :raises: :class:`CloudError` """ raw_result = self._list_routes_table_initial( diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_gateways_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_gateways_operations.py index 983f4f2fa7f..d2c801c0351 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_gateways_operations.py @@ -27,7 +27,7 @@ class ExpressRouteGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -51,7 +51,7 @@ def list_by_subscription( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteGatewayList or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayList or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -108,7 +108,7 @@ def list_by_resource_group( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteGatewayList or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGatewayList + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGatewayList or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -219,7 +219,7 @@ def create_or_update( :param put_express_route_gateway_parameters: Parameters required in an ExpressRoute gateway PUT operation. :type put_express_route_gateway_parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -228,9 +228,9 @@ def create_or_update( :return: An instance of LROPoller that returns ExpressRouteGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -275,7 +275,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_links_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_links_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_links_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_links_operations.py index b3ac9f4f454..35ddd9f8e49 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_links_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_links_operations.py @@ -25,7 +25,7 @@ class ExpressRouteLinksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,7 +56,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRouteLink or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLink or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLink or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -121,7 +121,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteLink :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteLinkPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteLink] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteLinkPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteLink] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_locations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_locations_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_locations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_locations_operations.py index df7f6921a3d..b17396e70b1 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_locations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_locations_operations.py @@ -25,7 +25,7 @@ class ExpressRoutePortsLocationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -52,7 +52,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRoutePortsLocation :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsLocationPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsLocation] + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePortsLocationPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRoutePortsLocation] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -122,7 +122,7 @@ def get( overrides`. :return: ExpressRoutePortsLocation or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortsLocation or + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePortsLocation or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_operations.py similarity index 89% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_operations.py index 5f36af3cbc4..2e0bebafae7 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_ports_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_ports_operations.py @@ -27,7 +27,7 @@ class ExpressRoutePortsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -135,7 +135,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ExpressRoutePort or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -246,7 +246,7 @@ def create_or_update( :param parameters: Parameters supplied to the create ExpressRoutePort operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -255,9 +255,9 @@ def create_or_update( :return: An instance of LROPoller that returns ExpressRoutePort or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -287,9 +287,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, express_route_port_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ExpressRoutePort or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -329,7 +347,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ExpressRoutePort', response) @@ -338,56 +355,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, express_route_port_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns ExpressRoutePort or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - express_route_port_name=express_route_port_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ExpressRoutePort', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}'} def list_by_resource_group( @@ -404,7 +371,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of ExpressRoutePort :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort] + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePortPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -471,7 +438,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRoutePort :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRoutePortPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRoutePort] + ~azure.mgmt.network.v2020_05_01.models.ExpressRoutePortPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRoutePort] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_service_providers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_service_providers_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_service_providers_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_service_providers_operations.py index 7eeaaa99873..460788f6561 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_express_route_service_providers_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_express_route_service_providers_operations.py @@ -25,7 +25,7 @@ class ExpressRouteServiceProvidersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -50,7 +50,7 @@ def list( overrides`. :return: An iterator like instance of ExpressRouteServiceProvider :rtype: - ~azure.mgmt.network.v2019_07_01.models.ExpressRouteServiceProviderPaged[~azure.mgmt.network.v2019_07_01.models.ExpressRouteServiceProvider] + ~azure.mgmt.network.v2020_05_01.models.ExpressRouteServiceProviderPaged[~azure.mgmt.network.v2020_05_01.models.ExpressRouteServiceProvider] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policies_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policies_operations.py similarity index 82% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policies_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policies_operations.py index 768ab21e9fa..062573e5bac 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policies_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policies_operations.py @@ -27,7 +27,7 @@ class FirewallPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: FirewallPolicy or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicy or + :rtype: ~azure.mgmt.network.v2020_05_01.models.FirewallPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -185,76 +185,6 @@ def get( return deserialized get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} - def update_tags( - self, resource_group_name, firewall_policy_name, tags=None, custom_headers=None, raw=False, **operation_config): - """Updates a Firewall Policy Tags. - - :param resource_group_name: The resource group name of the Firewall - Policy. - :type resource_group_name: str - :param firewall_policy_name: The name of the Firewall Policy being - updated. - :type firewall_policy_name: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: FirewallPolicy or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicy or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` - """ - firewall_policy_parameters = models.TagsObject(tags=tags) - - # Construct URL - url = self.update_tags.metadata['url'] - 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'), - 'firewallPolicyName': self._serialize.url("firewall_policy_name", firewall_policy_name, 'str') - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(firewall_policy_parameters, 'TagsObject') - - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('FirewallPolicy', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}'} - def _create_or_update_initial( self, resource_group_name, firewall_policy_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -318,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update Firewall Policy operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicy + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicy :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -327,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns FirewallPolicy or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.FirewallPolicy] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.FirewallPolicy] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.FirewallPolicy]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.FirewallPolicy]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -372,7 +302,7 @@ def list( overrides`. :return: An iterator like instance of FirewallPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyPaged[~azure.mgmt.network.v2019_07_01.models.FirewallPolicy] + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyPaged[~azure.mgmt.network.v2020_05_01.models.FirewallPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -439,7 +369,7 @@ def list_all( overrides`. :return: An iterator like instance of FirewallPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyPaged[~azure.mgmt.network.v2019_07_01.models.FirewallPolicy] + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyPaged[~azure.mgmt.network.v2020_05_01.models.FirewallPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py similarity index 81% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py index b7dfde0caca..58885dde32c 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_firewall_policy_rule_groups_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_firewall_policy_rule_collection_groups_operations.py @@ -18,8 +18,8 @@ from .. import models -class FirewallPolicyRuleGroupsOperations(object): - """FirewallPolicyRuleGroupsOperations operations. +class FirewallPolicyRuleCollectionGroupsOperations(object): + """FirewallPolicyRuleCollectionGroupsOperations operations. You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. @@ -27,7 +27,7 @@ class FirewallPolicyRuleGroupsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,19 +37,19 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config def _delete_initial( - self, resource_group_name, firewall_policy_name, rule_group_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, firewall_policy_name, rule_collection_group_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] 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'), - 'ruleGroupName': self._serialize.url("rule_group_name", rule_group_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) @@ -81,15 +81,16 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group_name, firewall_policy_name, rule_group_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Deletes the specified FirewallPolicyRuleGroup. + self, resource_group_name, firewall_policy_name, rule_collection_group_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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_group_name: The name of the FirewallPolicyRuleGroup. - :type rule_group_name: str + :param rule_collection_group_name: The name of the + FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -104,7 +105,7 @@ def delete( raw_result = self._delete_initial( resource_group_name=resource_group_name, firewall_policy_name=firewall_policy_name, - rule_group_name=rule_group_name, + rule_collection_group_name=rule_collection_group_name, custom_headers=custom_headers, raw=True, **operation_config @@ -122,25 +123,28 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} def get( - self, resource_group_name, firewall_policy_name, rule_group_name, custom_headers=None, raw=False, **operation_config): - """Gets the specified FirewallPolicyRuleGroup. + self, resource_group_name, firewall_policy_name, rule_collection_group_name, custom_headers=None, raw=False, **operation_config): + """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_group_name: The name of the FirewallPolicyRuleGroup. - :type rule_group_name: str + :param rule_collection_group_name: The name of the + FirewallPolicyRuleCollectionGroup. + :type rule_collection_group_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: FirewallPolicyRuleGroup or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup + :return: FirewallPolicyRuleCollectionGroup or ClientRawResponse if + raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -149,7 +153,7 @@ def get( 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'), - 'ruleGroupName': self._serialize.url("rule_group_name", rule_group_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) @@ -179,24 +183,24 @@ def get( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('FirewallPolicyRuleGroup', response) + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} def _create_or_update_initial( - self, resource_group_name, firewall_policy_name, rule_group_name, parameters, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, firewall_policy_name, rule_collection_group_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] 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'), - 'ruleGroupName': self._serialize.url("rule_group_name", rule_group_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) @@ -217,7 +221,7 @@ def _create_or_update_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(parameters, 'FirewallPolicyRuleGroup') + body_content = self._serialize.body(parameters, 'FirewallPolicyRuleCollectionGroup') # Construct and send request request = self._client.put(url, query_parameters, header_parameters, body_content) @@ -231,9 +235,9 @@ def _create_or_update_initial( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('FirewallPolicyRuleGroup', response) + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', response) if response.status_code == 201: - deserialized = self._deserialize('FirewallPolicyRuleGroup', response) + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -242,36 +246,38 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group_name, firewall_policy_name, rule_group_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """Creates or updates the specified FirewallPolicyRuleGroup. + self, resource_group_name, firewall_policy_name, rule_collection_group_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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_group_name: The name of the FirewallPolicyRuleGroup. - :type rule_group_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 - FirewallPolicyRuleGroup operation. + FirewallPolicyRuleCollectionGroup operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response :param polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns FirewallPolicyRuleGroup - or ClientRawResponse if raw==True + :return: An instance of LROPoller that returns + FirewallPolicyRuleCollectionGroup or + ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, firewall_policy_name=firewall_policy_name, - rule_group_name=rule_group_name, + rule_collection_group_name=rule_collection_group_name, parameters=parameters, custom_headers=custom_headers, raw=True, @@ -279,7 +285,7 @@ def create_or_update( ) def get_long_running_output(response): - deserialized = self._deserialize('FirewallPolicyRuleGroup', response) + deserialized = self._deserialize('FirewallPolicyRuleCollectionGroup', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -294,11 +300,12 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups/{ruleGroupName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}'} def list( self, resource_group_name, firewall_policy_name, custom_headers=None, raw=False, **operation_config): - """Lists all FirewallPolicyRuleGroups in a FirewallPolicy resource. + """Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy + resource. :param resource_group_name: The name of the resource group. :type resource_group_name: str @@ -309,9 +316,10 @@ def list( deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of FirewallPolicyRuleGroup + :return: An iterator like instance of + FirewallPolicyRuleCollectionGroup :rtype: - ~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroupPaged[~azure.mgmt.network.v2019_07_01.models.FirewallPolicyRuleGroup] + ~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroupPaged[~azure.mgmt.network.v2020_05_01.models.FirewallPolicyRuleCollectionGroup] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -363,7 +371,7 @@ def internal_paging(next_link=None): header_dict = None if raw: header_dict = {} - deserialized = models.FirewallPolicyRuleGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + deserialized = models.FirewallPolicyRuleCollectionGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleGroups'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_flow_logs_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_flow_logs_operations.py new file mode 100644 index 00000000000..edbc90f8d8f --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_flow_logs_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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class FlowLogsOperations(object): + """FlowLogsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _create_or_update_initial( + self, resource_group_name, network_watcher_name, flow_log_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'FlowLog') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('FlowLog', response) + if response.status_code == 201: + deserialized = self._deserialize('FlowLog', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_watcher_name, flow_log_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.FlowLog + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns FlowLog or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.FlowLog] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.FlowLog]] + :raises: + :class:`ErrorResponseException` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('FlowLog', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} + + def get( + self, resource_group_name, network_watcher_name, flow_log_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: FlowLog or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.FlowLog or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorResponseException` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('FlowLog', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} + + + def _delete_initial( + self, resource_group_name, network_watcher_name, flow_log_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorResponseException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, network_watcher_name, flow_log_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorResponseException` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_watcher_name=network_watcher_name, + flow_log_name=flow_log_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}'} + + def list( + self, resource_group_name, network_watcher_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of FlowLog + :rtype: + ~azure.mgmt.network.v2020_05_01.models.FlowLogPaged[~azure.mgmt.network.v2020_05_01.models.FlowLog] + :raises: + :class:`ErrorResponseException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorResponseException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.FlowLogPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_route_tables_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_route_tables_operations.py new file mode 100644 index 00000000000..e0afd52439b --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_route_tables_operations.py @@ -0,0 +1,370 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class HubRouteTablesOperations(object): + """HubRouteTablesOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _create_or_update_initial( + self, resource_group_name, virtual_hub_name, route_table_name, route_table_parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(route_table_parameters, 'HubRouteTable') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('HubRouteTable', response) + if response.status_code == 201: + deserialized = self._deserialize('HubRouteTable', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_hub_name, route_table_name, route_table_parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.HubRouteTable + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns HubRouteTable or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.HubRouteTable] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.HubRouteTable]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('HubRouteTable', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} + + def get( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: HubRouteTable or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.HubRouteTable or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('HubRouteTable', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} + + + def _delete_initial( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}'} + + def list( + self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of HubRouteTable + :rtype: + ~azure.mgmt.network.v2020_05_01.models.HubRouteTablePaged[~azure.mgmt.network.v2020_05_01.models.HubRouteTable] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.HubRouteTablePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_virtual_network_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_virtual_network_connections_operations.py new file mode 100644 index 00000000000..241cf3a1fef --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_hub_virtual_network_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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class HubVirtualNetworkConnectionsOperations(object): + """HubVirtualNetworkConnectionsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _create_or_update_initial( + self, resource_group_name, virtual_hub_name, connection_name, hub_virtual_network_connection_parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(hub_virtual_network_connection_parameters, 'HubVirtualNetworkConnection') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('HubVirtualNetworkConnection', response) + if response.status_code == 201: + deserialized = self._deserialize('HubVirtualNetworkConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_hub_name, connection_name, hub_virtual_network_connection_parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.HubVirtualNetworkConnection + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + HubVirtualNetworkConnection or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('HubVirtualNetworkConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} + + + def _delete_initial( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} + + def get( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: HubVirtualNetworkConnection or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('HubVirtualNetworkConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}'} + + def list( + self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of HubVirtualNetworkConnection + :rtype: + ~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnectionPaged[~azure.mgmt.network.v2020_05_01.models.HubVirtualNetworkConnection] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.HubVirtualNetworkConnectionPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_inbound_nat_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_inbound_nat_rules_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_inbound_nat_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_inbound_nat_rules_operations.py index e907957407f..ec4c00ad20a 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_inbound_nat_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_inbound_nat_rules_operations.py @@ -27,7 +27,7 @@ class InboundNatRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,7 +56,7 @@ def list( overrides`. :return: An iterator like instance of InboundNatRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.InboundNatRulePaged[~azure.mgmt.network.v2019_07_01.models.InboundNatRule] + ~azure.mgmt.network.v2020_05_01.models.InboundNatRulePaged[~azure.mgmt.network.v2020_05_01.models.InboundNatRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -214,7 +214,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: InboundNatRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.InboundNatRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.InboundNatRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -330,7 +330,7 @@ def create_or_update( :param inbound_nat_rule_parameters: Parameters supplied to the create or update inbound nat rule operation. :type inbound_nat_rule_parameters: - ~azure.mgmt.network.v2019_07_01.models.InboundNatRule + ~azure.mgmt.network.v2020_05_01.models.InboundNatRule :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -339,9 +339,9 @@ def create_or_update( :return: An instance of LROPoller that returns InboundNatRule or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.InboundNatRule] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.InboundNatRule] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.InboundNatRule]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.InboundNatRule]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_allocations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_allocations_operations.py new file mode 100644 index 00000000000..64a1847808e --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_allocations_operations.py @@ -0,0 +1,493 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class IpAllocationsOperations(object): + """IpAllocationsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _delete_initial( + self, resource_group_name, ip_allocation_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, ip_allocation_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} + + def get( + self, resource_group_name, ip_allocation_name, expand=None, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: IpAllocation or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.IpAllocation or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IpAllocation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} + + + def _create_or_update_initial( + self, resource_group_name, ip_allocation_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'IpAllocation') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('IpAllocation', response) + if response.status_code == 201: + deserialized = self._deserialize('IpAllocation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, ip_allocation_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.IpAllocation + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns IpAllocation or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.IpAllocation] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.IpAllocation]] + :raises: :class:`CloudError` + """ + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_allocation_name=ip_allocation_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('IpAllocation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} + + def update_tags( + self, resource_group_name, ip_allocation_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: IpAllocation or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.IpAllocation or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = models.TagsObject(tags=tags) + + # Construct URL + url = self.update_tags.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TagsObject') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IpAllocation', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all IpAllocations in a subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IpAllocation + :rtype: + ~azure.mgmt.network.v2020_05_01.models.IpAllocationPaged[~azure.mgmt.network.v2020_05_01.models.IpAllocation] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IpAllocationPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all IpAllocations in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IpAllocation + :rtype: + ~azure.mgmt.network.v2020_05_01.models.IpAllocationPaged[~azure.mgmt.network.v2020_05_01.models.IpAllocation] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IpAllocationPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_groups_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_groups_operations.py new file mode 100644 index 00000000000..b70f377cf37 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_ip_groups_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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class IpGroupsOperations(object): + """IpGroupsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def get( + self, resource_group_name, ip_groups_name, expand=None, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: IpGroup or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.IpGroup or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IpGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} + + + def _create_or_update_initial( + self, resource_group_name, ip_groups_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'IpGroup') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('IpGroup', response) + if response.status_code == 201: + deserialized = self._deserialize('IpGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, ip_groups_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.IpGroup + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns IpGroup or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.IpGroup] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.IpGroup]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('IpGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} + + def update_groups( + self, resource_group_name, ip_groups_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: IpGroup or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.IpGroup or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + parameters = models.TagsObject(tags=tags) + + # Construct URL + url = self.update_groups.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TagsObject') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('IpGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_groups.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} + + + def _delete_initial( + self, resource_group_name, ip_groups_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, ip_groups_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + ip_groups_name=ip_groups_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Gets all IpGroups in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IpGroup + :rtype: + ~azure.mgmt.network.v2020_05_01.models.IpGroupPaged[~azure.mgmt.network.v2020_05_01.models.IpGroup] + :raises: + :class:`ErrorException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IpGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all IpGroups in a subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of IpGroup + :rtype: + ~azure.mgmt.network.v2020_05_01.models.IpGroupPaged[~azure.mgmt.network.v2020_05_01.models.IpGroup] + :raises: + :class:`ErrorException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.IpGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py new file mode 100644 index 00000000000..85241473f79 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_backend_address_pools_operations.py @@ -0,0 +1,372 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class LoadBalancerBackendAddressPoolsOperations(object): + """LoadBalancerBackendAddressPoolsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def list( + self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BackendAddressPool + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BackendAddressPoolPaged[~azure.mgmt.network.v2020_05_01.models.BackendAddressPool] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools'} + + def get( + self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BackendAddressPool or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.BackendAddressPool or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} + + + def _create_or_update_initial( + self, resource_group_name, load_balancer_name, backend_address_pool_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'BackendAddressPool') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BackendAddressPool', response) + if response.status_code == 201: + deserialized = self._deserialize('BackendAddressPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, load_balancer_name, backend_address_pool_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.BackendAddressPool + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns BackendAddressPool or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BackendAddressPool] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BackendAddressPool]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('BackendAddressPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} + + + def _delete_initial( + self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_frontend_ip_configurations_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_frontend_ip_configurations_operations.py index b53b2554760..7b82b08b41d 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_frontend_ip_configurations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_frontend_ip_configurations_operations.py @@ -25,7 +25,7 @@ class LoadBalancerFrontendIPConfigurationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of FrontendIPConfiguration :rtype: - ~azure.mgmt.network.v2019_07_01.models.FrontendIPConfigurationPaged[~azure.mgmt.network.v2019_07_01.models.FrontendIPConfiguration] + ~azure.mgmt.network.v2020_05_01.models.FrontendIPConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -128,7 +128,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: FrontendIPConfiguration or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.FrontendIPConfiguration + :rtype: ~azure.mgmt.network.v2020_05_01.models.FrontendIPConfiguration or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_load_balancing_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_load_balancing_rules_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_load_balancing_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_load_balancing_rules_operations.py index 84d0e2adc6e..45638320346 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_load_balancing_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_load_balancing_rules_operations.py @@ -25,7 +25,7 @@ class LoadBalancerLoadBalancingRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of LoadBalancingRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.LoadBalancingRulePaged[~azure.mgmt.network.v2019_07_01.models.LoadBalancingRule] + ~azure.mgmt.network.v2020_05_01.models.LoadBalancingRulePaged[~azure.mgmt.network.v2020_05_01.models.LoadBalancingRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: LoadBalancingRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.LoadBalancingRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.LoadBalancingRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_network_interfaces_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_network_interfaces_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_network_interfaces_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_network_interfaces_operations.py index 58fc3255e94..f63ee976539 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_network_interfaces_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_network_interfaces_operations.py @@ -25,7 +25,7 @@ class LoadBalancerNetworkInterfacesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of NetworkInterface :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_outbound_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_outbound_rules_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_outbound_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_outbound_rules_operations.py index b76b7c1927f..11a3d814be7 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_outbound_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_outbound_rules_operations.py @@ -25,7 +25,7 @@ class LoadBalancerOutboundRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of OutboundRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.OutboundRulePaged[~azure.mgmt.network.v2019_07_01.models.OutboundRule] + ~azure.mgmt.network.v2020_05_01.models.OutboundRulePaged[~azure.mgmt.network.v2020_05_01.models.OutboundRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: OutboundRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.OutboundRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.OutboundRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_probes_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_probes_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_probes_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_probes_operations.py index 1c1a9d91106..18de6466471 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_probes_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancer_probes_operations.py @@ -25,7 +25,7 @@ class LoadBalancerProbesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of Probe :rtype: - ~azure.mgmt.network.v2019_07_01.models.ProbePaged[~azure.mgmt.network.v2019_07_01.models.Probe] + ~azure.mgmt.network.v2020_05_01.models.ProbePaged[~azure.mgmt.network.v2020_05_01.models.Probe] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -127,7 +127,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: Probe or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.Probe or + :rtype: ~azure.mgmt.network.v2020_05_01.models.Probe or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancers_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancers_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancers_operations.py index 50671403769..7faeac462e9 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancers_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_load_balancers_operations.py @@ -27,7 +27,7 @@ class LoadBalancersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: LoadBalancer or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.LoadBalancer or + :rtype: ~azure.mgmt.network.v2020_05_01.models.LoadBalancer or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -247,7 +247,7 @@ def create_or_update( :type load_balancer_name: str :param parameters: Parameters supplied to the create or update load balancer operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.LoadBalancer + :type parameters: ~azure.mgmt.network.v2020_05_01.models.LoadBalancer :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -256,9 +256,9 @@ def create_or_update( :return: An instance of LROPoller that returns LoadBalancer or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.LoadBalancer] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.LoadBalancer] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.LoadBalancer]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.LoadBalancer]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -288,9 +288,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, load_balancer_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: LoadBalancer or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.LoadBalancer or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -330,7 +347,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('LoadBalancer', response) @@ -339,55 +355,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, load_balancer_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns LoadBalancer or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.LoadBalancer] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.LoadBalancer]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - load_balancer_name=load_balancer_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('LoadBalancer', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}'} def list_all( @@ -401,7 +368,7 @@ def list_all( overrides`. :return: An iterator like instance of LoadBalancer :rtype: - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerPaged[~azure.mgmt.network.v2019_07_01.models.LoadBalancer] + ~azure.mgmt.network.v2020_05_01.models.LoadBalancerPaged[~azure.mgmt.network.v2020_05_01.models.LoadBalancer] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -469,7 +436,7 @@ def list( overrides`. :return: An iterator like instance of LoadBalancer :rtype: - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerPaged[~azure.mgmt.network.v2019_07_01.models.LoadBalancer] + ~azure.mgmt.network.v2020_05_01.models.LoadBalancerPaged[~azure.mgmt.network.v2020_05_01.models.LoadBalancer] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_local_network_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_local_network_gateways_operations.py similarity index 89% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_local_network_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_local_network_gateways_operations.py index 7449bba284a..d5a373528d4 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_local_network_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_local_network_gateways_operations.py @@ -27,7 +27,7 @@ class LocalNetworkGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -106,7 +106,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update local network gateway operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -115,9 +115,9 @@ def create_or_update( :return: An instance of LROPoller that returns LocalNetworkGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -162,7 +162,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: LocalNetworkGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -289,9 +289,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, local_network_gateway_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: LocalNetworkGateway or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -331,7 +349,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('LocalNetworkGateway', response) @@ -340,56 +357,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, local_network_gateway_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns LocalNetworkGateway or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - local_network_gateway_name=local_network_gateway_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('LocalNetworkGateway', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}'} def list( @@ -405,7 +372,7 @@ def list( overrides`. :return: An iterator like instance of LocalNetworkGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.LocalNetworkGatewayPaged[~azure.mgmt.network.v2019_07_01.models.LocalNetworkGateway] + ~azure.mgmt.network.v2020_05_01.models.LocalNetworkGatewayPaged[~azure.mgmt.network.v2020_05_01.models.LocalNetworkGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_nat_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_nat_gateways_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_nat_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_nat_gateways_operations.py index 78a6dc6abde..64fdbc92ed8 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_nat_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_nat_gateways_operations.py @@ -27,7 +27,7 @@ class NatGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: NatGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NatGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NatGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -249,7 +249,7 @@ def create_or_update( :type nat_gateway_name: str :param parameters: Parameters supplied to the create or update nat gateway operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.NatGateway + :type parameters: ~azure.mgmt.network.v2020_05_01.models.NatGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -258,9 +258,9 @@ def create_or_update( :return: An instance of LROPoller that returns NatGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NatGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NatGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NatGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NatGateway]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -306,7 +306,7 @@ def update_tags( :param operation_config: :ref:`Operation configuration overrides`. :return: NatGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NatGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NatGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -370,7 +370,7 @@ def list_all( overrides`. :return: An iterator like instance of NatGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.NatGatewayPaged[~azure.mgmt.network.v2019_07_01.models.NatGateway] + ~azure.mgmt.network.v2020_05_01.models.NatGatewayPaged[~azure.mgmt.network.v2020_05_01.models.NatGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -438,7 +438,7 @@ def list( overrides`. :return: An iterator like instance of NatGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.NatGatewayPaged[~azure.mgmt.network.v2019_07_01.models.NatGateway] + ~azure.mgmt.network.v2020_05_01.models.NatGatewayPaged[~azure.mgmt.network.v2020_05_01.models.NatGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_ip_configurations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_ip_configurations_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_ip_configurations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_ip_configurations_operations.py index dd359a68f0f..a88b6ea054c 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_ip_configurations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_ip_configurations_operations.py @@ -25,7 +25,7 @@ class NetworkInterfaceIPConfigurationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of NetworkInterfaceIPConfiguration :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfigurationPaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -129,7 +129,7 @@ def get( :return: NetworkInterfaceIPConfiguration or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_load_balancers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_load_balancers_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_load_balancers_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_load_balancers_operations.py index 634f85a1821..4edb0324d9b 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_load_balancers_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_load_balancers_operations.py @@ -25,7 +25,7 @@ class NetworkInterfaceLoadBalancersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of LoadBalancer :rtype: - ~azure.mgmt.network.v2019_07_01.models.LoadBalancerPaged[~azure.mgmt.network.v2019_07_01.models.LoadBalancer] + ~azure.mgmt.network.v2020_05_01.models.LoadBalancerPaged[~azure.mgmt.network.v2020_05_01.models.LoadBalancer] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_tap_configurations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_tap_configurations_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_tap_configurations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_tap_configurations_operations.py index 2a18f49a9c1..3fc9dd72cf3 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interface_tap_configurations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interface_tap_configurations_operations.py @@ -27,7 +27,7 @@ class NetworkInterfaceTapConfigurationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -142,7 +142,7 @@ def get( :return: NetworkInterfaceTapConfiguration or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -257,7 +257,7 @@ def create_or_update( :param tap_configuration_parameters: Parameters supplied to the create or update tap configuration operation. :type tap_configuration_parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -267,9 +267,9 @@ def create_or_update( NetworkInterfaceTapConfiguration or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -315,7 +315,7 @@ def list( overrides`. :return: An iterator like instance of NetworkInterfaceTapConfiguration :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfigurationPaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceTapConfiguration] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceTapConfiguration] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interfaces_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interfaces_operations.py similarity index 93% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interfaces_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interfaces_operations.py index 072d60e5839..b6c9f34b7ba 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_interfaces_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_interfaces_operations.py @@ -42,7 +42,7 @@ def __init__(self, client, config, serializer, deserializer): def _delete_initial( self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.delete.metadata['url'] @@ -136,11 +136,11 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkInterface or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkInterface or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkInterface or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.get.metadata['url'] @@ -190,7 +190,7 @@ def get( def _create_or_update_initial( self, resource_group_name, network_interface_name, parameters, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.create_or_update.metadata['url'] @@ -252,7 +252,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update network interface operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterface + ~azure.mgmt.network.v2020_05_01.models.NetworkInterface :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -261,9 +261,9 @@ def create_or_update( :return: An instance of LROPoller that returns NetworkInterface or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkInterface]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkInterface]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -293,12 +293,29 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, network_interface_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetworkInterface or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkInterface or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.update_tags.metadata['url'] @@ -337,7 +354,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('NetworkInterface', response) @@ -346,55 +362,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, network_interface_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns NetworkInterface or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkInterface]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - network_interface_name=network_interface_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('NetworkInterface', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}'} def list_all( @@ -408,10 +375,10 @@ def list_all( overrides`. :return: An iterator like instance of NetworkInterface :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" def prepare_request(next_link=None): if not next_link: @@ -478,10 +445,10 @@ def list( overrides`. :return: An iterator like instance of NetworkInterface :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" def prepare_request(next_link=None): if not next_link: @@ -539,7 +506,7 @@ def internal_paging(next_link=None): def _get_effective_route_table_initial( self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.get_effective_route_table.metadata['url'] @@ -601,9 +568,9 @@ def get_effective_route_table( EffectiveRouteListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.EffectiveRouteListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.EffectiveRouteListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.EffectiveRouteListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.EffectiveRouteListResult]] :raises: :class:`CloudError` """ raw_result = self._get_effective_route_table_initial( @@ -635,7 +602,7 @@ def get_long_running_output(response): def _list_effective_network_security_groups_initial( self, resource_group_name, network_interface_name, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.list_effective_network_security_groups.metadata['url'] @@ -698,9 +665,9 @@ def list_effective_network_security_groups( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroupListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroupListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.EffectiveNetworkSecurityGroupListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.EffectiveNetworkSecurityGroupListResult]] :raises: :class:`CloudError` """ raw_result = self._list_effective_network_security_groups_initial( @@ -748,7 +715,7 @@ def list_virtual_machine_scale_set_vm_network_interfaces( overrides`. :return: An iterator like instance of NetworkInterface :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :raises: :class:`CloudError` """ api_version = "2018-10-01" @@ -824,7 +791,7 @@ def list_virtual_machine_scale_set_network_interfaces( overrides`. :return: An iterator like instance of NetworkInterface :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterface] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfacePaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterface] :raises: :class:`CloudError` """ api_version = "2018-10-01" @@ -904,7 +871,7 @@ def get_virtual_machine_scale_set_network_interface( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkInterface or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkInterface or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkInterface or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -980,7 +947,7 @@ def list_virtual_machine_scale_set_ip_configurations( overrides`. :return: An iterator like instance of NetworkInterfaceIPConfiguration :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfigurationPaged[~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration] + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration] :raises: :class:`CloudError` """ api_version = "2018-10-01" @@ -1069,7 +1036,7 @@ def get_virtual_machine_scale_set_ip_configuration( :return: NetworkInterfaceIPConfiguration or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkInterfaceIPConfiguration + ~azure.mgmt.network.v2020_05_01.models.NetworkInterfaceIPConfiguration or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_management_client_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_management_client_operations.py new file mode 100644 index 00000000000..5d324b40437 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_management_client_operations.py @@ -0,0 +1,726 @@ +# 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 msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling +from .. import models +import uuid + + +class NetworkManagementClientOperationsMixin(object): + + + def _put_bastion_shareable_link_initial( + self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, **operation_config): + bsl_request = models.BastionShareableLinkListRequest(vms=vms) + + api_version = "2020-05-01" + + # Construct URL + url = self.put_bastion_shareable_link.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BastionShareableLinkListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def put_bastion_shareable_link( + self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + BastionShareableLinkListResult or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkListResult]] + :raises: :class:`CloudError` + """ + raw_result = self._put_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + vms=vms, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('BastionShareableLinkListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + put_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks'} + + + def _delete_bastion_shareable_link_initial( + self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, **operation_config): + bsl_request = models.BastionShareableLinkListRequest(vms=vms) + + api_version = "2020-05-01" + + # Construct URL + url = self.delete_bastion_shareable_link.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete_bastion_shareable_link( + self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_bastion_shareable_link_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + vms=vms, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks'} + + def get_bastion_shareable_link( + self, resource_group_name, bastion_host_name, vms=None, custom_headers=None, raw=False, **operation_config): + """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 vms: List of VM references. + :type vms: + list[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BastionShareableLink + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BastionShareableLinkPaged[~azure.mgmt.network.v2020_05_01.models.BastionShareableLink] + :raises: :class:`CloudError` + """ + bsl_request = models.BastionShareableLinkListRequest(vms=vms) + + api_version = "2020-05-01" + + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.get_bastion_shareable_link.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(bsl_request, 'BastionShareableLinkListRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.BastionShareableLinkPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + get_bastion_shareable_link.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks'} + + + def _get_active_sessions_initial( + self, resource_group_name, bastion_host_name, custom_headers=None, raw=False, **operation_config): + api_version = "2020-05-01" + + # Construct URL + url = self.get_active_sessions.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BastionActiveSessionListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def get_active_sessions( + self, resource_group_name, bastion_host_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + BastionActiveSessionListResult or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BastionActiveSessionListResult]] + :raises: :class:`CloudError` + """ + raw_result = self._get_active_sessions_initial( + resource_group_name=resource_group_name, + bastion_host_name=bastion_host_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('BastionActiveSessionListResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + get_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions'} + + def disconnect_active_sessions( + self, resource_group_name, bastion_host_name, session_ids=None, custom_headers=None, raw=False, **operation_config): + """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: List of session IDs. + :type session_ids: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BastionSessionState + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BastionSessionStatePaged[~azure.mgmt.network.v2020_05_01.models.BastionSessionState] + :raises: :class:`CloudError` + """ + session_ids1 = models.SessionIds(session_ids=session_ids) + + api_version = "2020-05-01" + + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.disconnect_active_sessions.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(session_ids1, 'SessionIds') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.BastionSessionStatePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + disconnect_active_sessions.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions'} + + def check_dns_name_availability( + self, location, domain_name_label, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: DnsNameAvailabilityResult or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.DnsNameAvailabilityResult or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + api_version = "2020-05-01" + + # Construct URL + url = self.check_dns_name_availability.metadata['url'] + 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 = {} + 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 = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('DnsNameAvailabilityResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + check_dns_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability'} + + def supported_security_providers( + self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualWanSecurityProviders or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VirtualWanSecurityProviders or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + api_version = "2020-05-01" + + # Construct URL + url = self.supported_security_providers.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualWanSecurityProviders', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + supported_security_providers.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders'} + + + def _generatevirtualwanvpnserverconfigurationvpnprofile_initial( + self, resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id=None, authentication_method=None, custom_headers=None, raw=False, **operation_config): + vpn_client_params = models.VirtualWanVpnProfileParameters(vpn_server_configuration_resource_id=vpn_server_configuration_resource_id, authentication_method=authentication_method) + + api_version = "2020-05-01" + + # Construct URL + url = self.generatevirtualwanvpnserverconfigurationvpnprofile.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(vpn_client_params, 'VirtualWanVpnProfileParameters') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VpnProfileResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def generatevirtualwanvpnserverconfigurationvpnprofile( + self, resource_group_name, virtual_wan_name, vpn_server_configuration_resource_id=None, authentication_method=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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_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.v2020_05_01.models.AuthenticationMethod + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns VpnProfileResponse or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]] + :raises: :class:`CloudError` + """ + raw_result = self._generatevirtualwanvpnserverconfigurationvpnprofile_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + vpn_server_configuration_resource_id=vpn_server_configuration_resource_id, + authentication_method=authentication_method, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('VpnProfileResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + generatevirtualwanvpnserverconfigurationvpnprofile.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/GenerateVpnProfile'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_profiles_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_profiles_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_profiles_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_profiles_operations.py index 347d011f9d3..7fb0db0ceb7 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_profiles_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_profiles_operations.py @@ -27,7 +27,7 @@ class NetworkProfilesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkProfile or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkProfile or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkProfile or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update network profile operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkProfile + ~azure.mgmt.network.v2020_05_01.models.NetworkProfile :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -257,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns NetworkProfile or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkProfile] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkProfile] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkProfile]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkProfile]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -289,9 +289,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, network_profile_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetworkProfile or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkProfile or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -331,7 +348,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('NetworkProfile', response) @@ -340,55 +356,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, network_profile_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns NetworkProfile or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkProfile] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkProfile]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - network_profile_name=network_profile_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('NetworkProfile', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}'} def list_all( @@ -402,7 +369,7 @@ def list_all( overrides`. :return: An iterator like instance of NetworkProfile :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkProfilePaged[~azure.mgmt.network.v2019_07_01.models.NetworkProfile] + ~azure.mgmt.network.v2020_05_01.models.NetworkProfilePaged[~azure.mgmt.network.v2020_05_01.models.NetworkProfile] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -470,7 +437,7 @@ def list( overrides`. :return: An iterator like instance of NetworkProfile :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkProfilePaged[~azure.mgmt.network.v2019_07_01.models.NetworkProfile] + ~azure.mgmt.network.v2020_05_01.models.NetworkProfilePaged[~azure.mgmt.network.v2020_05_01.models.NetworkProfile] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_security_groups_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_security_groups_operations.py similarity index 89% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_security_groups_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_security_groups_operations.py index 98afeb26f73..e40090573ce 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_security_groups_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_security_groups_operations.py @@ -27,7 +27,7 @@ class NetworkSecurityGroupsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -138,7 +138,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkSecurityGroup or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -252,7 +252,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update network security group operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -261,9 +261,9 @@ def create_or_update( :return: An instance of LROPoller that returns NetworkSecurityGroup or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -293,9 +293,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, network_security_group_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetworkSecurityGroup or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -335,7 +353,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('NetworkSecurityGroup', response) @@ -344,56 +361,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, network_security_group_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns NetworkSecurityGroup or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - network_security_group_name=network_security_group_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('NetworkSecurityGroup', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}'} def list_all( @@ -407,7 +374,7 @@ def list_all( overrides`. :return: An iterator like instance of NetworkSecurityGroup :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroupPaged[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup] + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroupPaged[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -475,7 +442,7 @@ def list( overrides`. :return: An iterator like instance of NetworkSecurityGroup :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroupPaged[~azure.mgmt.network.v2019_07_01.models.NetworkSecurityGroup] + ~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroupPaged[~azure.mgmt.network.v2020_05_01.models.NetworkSecurityGroup] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_virtual_appliances_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_virtual_appliances_operations.py new file mode 100644 index 00000000000..0cb716b6b6a --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_virtual_appliances_operations.py @@ -0,0 +1,499 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class NetworkVirtualAppliancesOperations(object): + """NetworkVirtualAppliancesOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _delete_initial( + self, resource_group_name, network_virtual_appliance_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, network_virtual_appliance_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} + + def get( + self, resource_group_name, network_virtual_appliance_name, expand=None, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetworkVirtualAppliance or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('NetworkVirtualAppliance', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} + + def update_tags( + self, resource_group_name, network_virtual_appliance_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetworkVirtualAppliance or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = models.TagsObject(tags=tags) + + # Construct URL + url = self.update_tags.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TagsObject') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('NetworkVirtualAppliance', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} + + + def _create_or_update_initial( + self, resource_group_name, network_virtual_appliance_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'NetworkVirtualAppliance') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetworkVirtualAppliance', response) + if response.status_code == 201: + deserialized = self._deserialize('NetworkVirtualAppliance', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_virtual_appliance_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.NetworkVirtualAppliance + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns NetworkVirtualAppliance + or ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance]] + :raises: :class:`CloudError` + """ + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('NetworkVirtualAppliance', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Lists all Network Virtual Appliances in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of NetworkVirtualAppliance + :rtype: + ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliancePaged[~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.NetworkVirtualAppliancePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all Network Virtual Appliances in a subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of NetworkVirtualAppliance + :rtype: + ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliancePaged[~azure.mgmt.network.v2020_05_01.models.NetworkVirtualAppliance] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.NetworkVirtualAppliancePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_watchers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_watchers_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_watchers_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_watchers_operations.py index 6d0ba697640..ab9e4b22897 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_network_watchers_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_network_watchers_operations.py @@ -26,7 +26,7 @@ class NetworkWatchersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -51,17 +51,17 @@ def create_or_update( :param parameters: Parameters that define the network watcher resource. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkWatcher + ~azure.mgmt.network.v2020_05_01.models.NetworkWatcher :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkWatcher or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkWatcher or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkWatcher or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ # Construct URL url = self.create_or_update.metadata['url'] @@ -124,10 +124,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkWatcher or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkWatcher or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkWatcher or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -224,7 +224,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -264,10 +264,10 @@ def update_tags( :param operation_config: :ref:`Operation configuration overrides`. :return: NetworkWatcher or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.NetworkWatcher or + :rtype: ~azure.mgmt.network.v2020_05_01.models.NetworkWatcher or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ parameters = models.TagsObject(tags=tags) @@ -329,9 +329,9 @@ def list( overrides`. :return: An iterator like instance of NetworkWatcher :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkWatcherPaged[~azure.mgmt.network.v2019_07_01.models.NetworkWatcher] + ~azure.mgmt.network.v2020_05_01.models.NetworkWatcherPaged[~azure.mgmt.network.v2020_05_01.models.NetworkWatcher] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ def prepare_request(next_link=None): if not next_link: @@ -395,9 +395,9 @@ def list_all( overrides`. :return: An iterator like instance of NetworkWatcher :rtype: - ~azure.mgmt.network.v2019_07_01.models.NetworkWatcherPaged[~azure.mgmt.network.v2019_07_01.models.NetworkWatcher] + ~azure.mgmt.network.v2020_05_01.models.NetworkWatcherPaged[~azure.mgmt.network.v2020_05_01.models.NetworkWatcher] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ def prepare_request(next_link=None): if not next_link: @@ -460,17 +460,17 @@ def get_topology( :param parameters: Parameters that define the representation of topology. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.TopologyParameters + ~azure.mgmt.network.v2020_05_01.models.TopologyParameters :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. :return: Topology or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.Topology or + :rtype: ~azure.mgmt.network.v2020_05_01.models.Topology or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ # Construct URL url = self.get_topology.metadata['url'] @@ -578,7 +578,7 @@ def verify_ip_flow( :type network_watcher_name: str :param parameters: Parameters that define the IP flow to be verified. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VerificationIPFlowParameters + ~azure.mgmt.network.v2020_05_01.models.VerificationIPFlowParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -588,11 +588,11 @@ def verify_ip_flow( VerificationIPFlowResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VerificationIPFlowResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VerificationIPFlowResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VerificationIPFlowResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VerificationIPFlowResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._verify_ip_flow_initial( resource_group_name=resource_group_name, @@ -682,7 +682,7 @@ def get_next_hop( :param parameters: Parameters that define the source and destination endpoint. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NextHopParameters + ~azure.mgmt.network.v2020_05_01.models.NextHopParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -691,11 +691,11 @@ def get_next_hop( :return: An instance of LROPoller that returns NextHopResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NextHopResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NextHopResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NextHopResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NextHopResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_next_hop_initial( resource_group_name=resource_group_name, @@ -795,11 +795,11 @@ def get_vm_security_rules( :return: An instance of LROPoller that returns SecurityGroupViewResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.SecurityGroupViewResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.SecurityGroupViewResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.SecurityGroupViewResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.SecurityGroupViewResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_vm_security_rules_initial( resource_group_name=resource_group_name, @@ -889,7 +889,7 @@ def get_troubleshooting( :param parameters: Parameters that define the resource to troubleshoot. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.TroubleshootingParameters + ~azure.mgmt.network.v2020_05_01.models.TroubleshootingParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -898,11 +898,11 @@ def get_troubleshooting( :return: An instance of LROPoller that returns TroubleshootingResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.TroubleshootingResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.TroubleshootingResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.TroubleshootingResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.TroubleshootingResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_troubleshooting_initial( resource_group_name=resource_group_name, @@ -1002,11 +1002,11 @@ def get_troubleshooting_result( :return: An instance of LROPoller that returns TroubleshootingResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.TroubleshootingResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.TroubleshootingResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.TroubleshootingResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.TroubleshootingResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_troubleshooting_result_initial( resource_group_name=resource_group_name, @@ -1098,7 +1098,7 @@ def set_flow_log_configuration( :param parameters: Parameters that define the configuration of flow log. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.FlowLogInformation + ~azure.mgmt.network.v2020_05_01.models.FlowLogInformation :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1107,11 +1107,11 @@ def set_flow_log_configuration( :return: An instance of LROPoller that returns FlowLogInformation or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.FlowLogInformation] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.FlowLogInformation] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.FlowLogInformation]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.FlowLogInformation]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._set_flow_log_configuration_initial( resource_group_name=resource_group_name, @@ -1213,11 +1213,11 @@ def get_flow_log_status( :return: An instance of LROPoller that returns FlowLogInformation or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.FlowLogInformation] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.FlowLogInformation] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.FlowLogInformation]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.FlowLogInformation]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_flow_log_status_initial( resource_group_name=resource_group_name, @@ -1310,7 +1310,7 @@ def check_connectivity( :param parameters: Parameters that determine how the connectivity check will be performed. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ConnectivityParameters + ~azure.mgmt.network.v2020_05_01.models.ConnectivityParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1319,11 +1319,11 @@ def check_connectivity( :return: An instance of LROPoller that returns ConnectivityInformation or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ConnectivityInformation] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ConnectivityInformation] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ConnectivityInformation]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ConnectivityInformation]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._check_connectivity_initial( resource_group_name=resource_group_name, @@ -1404,8 +1404,9 @@ def _get_azure_reachability_report_initial( def get_azure_reachability_report( self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """Gets the relative latency score for internet service providers from a - specified location to Azure regions. + """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. @@ -1415,7 +1416,7 @@ def get_azure_reachability_report( :param parameters: Parameters that determine Azure reachability report configuration. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReportParameters + ~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReportParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1424,11 +1425,11 @@ def get_azure_reachability_report( :return: An instance of LROPoller that returns AzureReachabilityReport or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReport] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReport] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.AzureReachabilityReport]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.AzureReachabilityReport]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_azure_reachability_report_initial( resource_group_name=resource_group_name, @@ -1509,8 +1510,9 @@ def _list_available_providers_initial( def list_available_providers( self, resource_group_name, network_watcher_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """Lists all available internet service providers for a specified Azure - region. + """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. @@ -1520,7 +1522,7 @@ def list_available_providers( :param parameters: Parameters that scope the list of available providers. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.AvailableProvidersListParameters + ~azure.mgmt.network.v2020_05_01.models.AvailableProvidersListParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1529,11 +1531,11 @@ def list_available_providers( :return: An instance of LROPoller that returns AvailableProvidersList or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersList] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersList] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.AvailableProvidersList]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.AvailableProvidersList]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._list_available_providers_initial( resource_group_name=resource_group_name, @@ -1628,7 +1630,7 @@ def get_network_configuration_diagnostic( :type network_watcher_name: str :param parameters: Parameters to get network configuration diagnostic. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticParameters + ~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1638,11 +1640,11 @@ def get_network_configuration_diagnostic( NetworkConfigurationDiagnosticResponse or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticResponse] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticResponse] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.NetworkConfigurationDiagnosticResponse]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.NetworkConfigurationDiagnosticResponse]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_network_configuration_diagnostic_initial( resource_group_name=resource_group_name, diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_operations.py index 4ccbb6aa67c..9ceb63dc075 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_operations.py @@ -25,7 +25,7 @@ class Operations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -50,7 +50,7 @@ def list( overrides`. :return: An iterator like instance of Operation :rtype: - ~azure.mgmt.network.v2019_07_01.models.OperationPaged[~azure.mgmt.network.v2019_07_01.models.Operation] + ~azure.mgmt.network.v2020_05_01.models.OperationPaged[~azure.mgmt.network.v2020_05_01.models.Operation] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_p2s_vpn_gateways_operations.py similarity index 72% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_p2s_vpn_gateways_operations.py index b2d5e823245..bc39b973766 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_p2s_vpn_gateways_operations.py @@ -27,7 +27,7 @@ class P2sVpnGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,10 +56,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: P2SVpnGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -89,7 +88,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -137,7 +138,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -165,7 +168,7 @@ def create_or_update( :param p2_svpn_gateway_parameters: Parameters supplied to create or Update a virtual wan p2s vpn gateway. :type p2_svpn_gateway_parameters: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway + ~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -174,11 +177,10 @@ def create_or_update( :return: An instance of LROPoller that returns P2SVpnGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -207,9 +209,27 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, gateway_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: P2SVpnGateway or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ p2_svpn_gateway_parameters = models.TagsObject(tags=tags) # Construct URL @@ -243,72 +263,20 @@ def _update_tags_initial( request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('P2SVpnGateway', response) - if response.status_code == 201: - deserialized = self._deserialize('P2SVpnGateway', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, gateway_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns P2SVpnGateway or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway]] - :raises: - :class:`ErrorException` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - gateway_name=gateway_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('P2SVpnGateway', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}'} @@ -341,7 +309,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -365,8 +335,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -404,9 +373,8 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of P2SVpnGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnGatewayPaged[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.P2SVpnGatewayPaged[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -446,7 +414,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -470,9 +440,8 @@ def list( overrides`. :return: An iterator like instance of P2SVpnGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnGatewayPaged[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.P2SVpnGatewayPaged[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -511,7 +480,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -588,7 +559,7 @@ def generate_vpn_profile( :param authentication_method: VPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2' :type authentication_method: str or - ~azure.mgmt.network.v2019_07_01.models.AuthenticationMethod + ~azure.mgmt.network.v2020_05_01.models.AuthenticationMethod :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -597,9 +568,9 @@ def generate_vpn_profile( :return: An instance of LROPoller that returns VpnProfileResponse or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnProfileResponse] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnProfileResponse]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnProfileResponse]] :raises: :class:`CloudError` """ raw_result = self._generate_vpn_profile_initial( @@ -692,9 +663,9 @@ def get_p2s_vpn_connection_health( :return: An instance of LROPoller that returns P2SVpnGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.P2SVpnGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.P2SVpnGateway]] :raises: :class:`CloudError` """ raw_result = self._get_p2s_vpn_connection_health_initial( @@ -722,3 +693,200 @@ def get_long_running_output(response): else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) get_p2s_vpn_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth'} + + + def _get_p2s_vpn_connection_health_detailed_initial( + self, resource_group_name, gateway_name, vpn_user_names_filter=None, output_blob_sas_url=None, custom_headers=None, raw=False, **operation_config): + request = models.P2SVpnConnectionHealthRequest(vpn_user_names_filter=vpn_user_names_filter, output_blob_sas_url=output_blob_sas_url) + + # Construct URL + url = self.get_p2s_vpn_connection_health_detailed.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(request, 'P2SVpnConnectionHealthRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('P2SVpnConnectionHealth', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def get_p2s_vpn_connection_health_detailed( + self, resource_group_name, gateway_name, vpn_user_names_filter=None, output_blob_sas_url=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns P2SVpnConnectionHealth + or ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionHealth] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.P2SVpnConnectionHealth]] + :raises: :class:`CloudError` + """ + raw_result = self._get_p2s_vpn_connection_health_detailed_initial( + resource_group_name=resource_group_name, + gateway_name=gateway_name, + vpn_user_names_filter=vpn_user_names_filter, + output_blob_sas_url=output_blob_sas_url, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('P2SVpnConnectionHealth', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + get_p2s_vpn_connection_health_detailed.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed'} + + + def _disconnect_p2s_vpn_connections_initial( + self, resource_group_name, p2s_vpn_gateway_name, vpn_connection_ids=None, custom_headers=None, raw=False, **operation_config): + request = models.P2SVpnConnectionRequest(vpn_connection_ids=vpn_connection_ids) + + # Construct URL + url = self.disconnect_p2s_vpn_connections.metadata['url'] + 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("p2s_vpn_gateway_name", p2s_vpn_gateway_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def disconnect_p2s_vpn_connections( + self, resource_group_name, p2s_vpn_gateway_name, vpn_connection_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 p2s_vpn_gateway_name: The name of the P2S Vpn Gateway. + :type p2s_vpn_gateway_name: str + :param vpn_connection_ids: List of p2s vpn connection Ids. + :type vpn_connection_ids: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._disconnect_p2s_vpn_connections_initial( + resource_group_name=resource_group_name, + p2s_vpn_gateway_name=p2s_vpn_gateway_name, + vpn_connection_ids=vpn_connection_ids, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + disconnect_p2s_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_packet_captures_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_packet_captures_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_packet_captures_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_packet_captures_operations.py index c121fbd8c62..3c848092b06 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_packet_captures_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_packet_captures_operations.py @@ -26,7 +26,7 @@ class PacketCapturesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -101,7 +101,7 @@ def create( :type packet_capture_name: str :param parameters: Parameters that define the create packet capture operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.PacketCapture + :type parameters: ~azure.mgmt.network.v2020_05_01.models.PacketCapture :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -110,11 +110,11 @@ def create( :return: An instance of LROPoller that returns PacketCaptureResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PacketCaptureResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PacketCaptureResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PacketCaptureResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PacketCaptureResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._create_initial( resource_group_name=resource_group_name, @@ -160,10 +160,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: PacketCaptureResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PacketCaptureResult or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PacketCaptureResult or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ # Construct URL url = self.get.metadata['url'] @@ -264,7 +264,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -346,7 +346,7 @@ def stop( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._stop_initial( resource_group_name=resource_group_name, @@ -438,11 +438,11 @@ def get_status( PacketCaptureQueryStatusResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PacketCaptureQueryStatusResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PacketCaptureQueryStatusResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PacketCaptureQueryStatusResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PacketCaptureQueryStatusResult]] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ raw_result = self._get_status_initial( resource_group_name=resource_group_name, @@ -486,9 +486,9 @@ def list( overrides`. :return: An iterator like instance of PacketCaptureResult :rtype: - ~azure.mgmt.network.v2019_07_01.models.PacketCaptureResultPaged[~azure.mgmt.network.v2019_07_01.models.PacketCaptureResult] + ~azure.mgmt.network.v2020_05_01.models.PacketCaptureResultPaged[~azure.mgmt.network.v2020_05_01.models.PacketCaptureResult] :raises: - :class:`ErrorResponseException` + :class:`ErrorResponseException` """ def prepare_request(next_link=None): if not next_link: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_peer_express_route_circuit_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_peer_express_route_circuit_connections_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_peer_express_route_circuit_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_peer_express_route_circuit_connections_operations.py index 93f30b17dac..0b563dca68f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_peer_express_route_circuit_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_peer_express_route_circuit_connections_operations.py @@ -25,7 +25,7 @@ class PeerExpressRouteCircuitConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -61,7 +61,7 @@ def get( :return: PeerExpressRouteCircuitConnection or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.PeerExpressRouteCircuitConnection + ~azure.mgmt.network.v2020_05_01.models.PeerExpressRouteCircuitConnection or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -129,7 +129,7 @@ def list( :return: An iterator like instance of PeerExpressRouteCircuitConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.PeerExpressRouteCircuitConnectionPaged[~azure.mgmt.network.v2019_07_01.models.PeerExpressRouteCircuitConnection] + ~azure.mgmt.network.v2020_05_01.models.PeerExpressRouteCircuitConnectionPaged[~azure.mgmt.network.v2020_05_01.models.PeerExpressRouteCircuitConnection] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_dns_zone_groups_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_dns_zone_groups_operations.py new file mode 100644 index 00000000000..b9d6a933023 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_dns_zone_groups_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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class PrivateDnsZoneGroupsOperations(object): + """PrivateDnsZoneGroupsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _delete_initial( + self, resource_group_name, private_endpoint_name, private_dns_zone_group_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, private_endpoint_name, private_dns_zone_group_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} + + def get( + self, resource_group_name, private_endpoint_name, private_dns_zone_group_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: PrivateDnsZoneGroup or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateDnsZoneGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} + + + def _create_or_update_initial( + self, resource_group_name, private_endpoint_name, private_dns_zone_group_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'PrivateDnsZoneGroup') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('PrivateDnsZoneGroup', response) + if response.status_code == 201: + deserialized = self._deserialize('PrivateDnsZoneGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, private_endpoint_name, private_dns_zone_group_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.PrivateDnsZoneGroup + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns PrivateDnsZoneGroup or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('PrivateDnsZoneGroup', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}'} + + def list( + self, private_endpoint_name, resource_group_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of PrivateDnsZoneGroup + :rtype: + ~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroupPaged[~azure.mgmt.network.v2020_05_01.models.PrivateDnsZoneGroup] + :raises: + :class:`ErrorException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.PrivateDnsZoneGroupPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_endpoints_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_endpoints_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_endpoints_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_endpoints_operations.py index 7bb243e3b58..8e80db21733 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_endpoints_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_endpoints_operations.py @@ -26,7 +26,7 @@ class PrivateEndpointsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -94,7 +94,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -134,10 +134,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: PrivateEndpoint or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.get.metadata['url'] @@ -243,7 +243,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update private endpoint operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -252,11 +252,11 @@ def create_or_update( :return: An instance of LROPoller that returns PrivateEndpoint or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -298,9 +298,9 @@ def list( overrides`. :return: An iterator like instance of PrivateEndpoint :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpointPaged[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint] + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointPaged[~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: @@ -364,9 +364,9 @@ def list_by_subscription( overrides`. :return: An iterator like instance of PrivateEndpoint :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpointPaged[~azure.mgmt.network.v2019_07_01.models.PrivateEndpoint] + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointPaged[~azure.mgmt.network.v2020_05_01.models.PrivateEndpoint] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_link_services_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_link_services_operations.py similarity index 82% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_link_services_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_link_services_operations.py index cf0f9df4e77..7d148994c14 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_private_link_services_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_private_link_services_operations.py @@ -27,7 +27,7 @@ class PrivateLinkServicesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -95,7 +95,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -135,10 +135,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: PrivateLinkService or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PrivateLinkService or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PrivateLinkService or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.get.metadata['url'] @@ -245,7 +245,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update private link service operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.PrivateLinkService + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkService :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -254,11 +254,11 @@ def create_or_update( :return: An instance of LROPoller that returns PrivateLinkService or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PrivateLinkService] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PrivateLinkService] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PrivateLinkService]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PrivateLinkService]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -300,9 +300,9 @@ def list( overrides`. :return: An iterator like instance of PrivateLinkService :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePaged[~azure.mgmt.network.v2019_07_01.models.PrivateLinkService] + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePaged[~azure.mgmt.network.v2020_05_01.models.PrivateLinkService] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: @@ -366,9 +366,9 @@ def list_by_subscription( overrides`. :return: An iterator like instance of PrivateLinkService :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServicePaged[~azure.mgmt.network.v2019_07_01.models.PrivateLinkService] + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServicePaged[~azure.mgmt.network.v2020_05_01.models.PrivateLinkService] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: @@ -420,6 +420,76 @@ def internal_paging(next_link=None): return deserialized list_by_subscription.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices'} + def get_private_endpoint_connection( + self, resource_group_name, service_name, pe_connection_name, expand=None, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: PrivateEndpointConnection or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get_private_endpoint_connection.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + if expand is not None: + query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('PrivateEndpointConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} + def update_private_endpoint_connection( self, resource_group_name, service_name, pe_connection_name, parameters, custom_headers=None, raw=False, **operation_config): """Approve or reject private end point connection for a private link @@ -435,7 +505,7 @@ def update_private_endpoint_connection( :param parameters: Parameters supplied to approve or reject the private end point connection. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -443,10 +513,10 @@ def update_private_endpoint_connection( overrides`. :return: PrivateEndpointConnection or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateEndpointConnection or + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.update_private_endpoint_connection.metadata['url'] @@ -553,7 +623,7 @@ def delete_private_endpoint_connection( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_private_endpoint_connection_initial( resource_group_name=resource_group_name, @@ -578,6 +648,78 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) delete_private_endpoint_connection.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}'} + def list_private_endpoint_connections( + self, resource_group_name, service_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of PrivateEndpointConnection + :rtype: + ~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnectionPaged[~azure.mgmt.network.v2020_05_01.models.PrivateEndpointConnection] + :raises: + :class:`ErrorException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_private_endpoint_connections.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.PrivateEndpointConnectionPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_private_endpoint_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections'} + def check_private_link_service_visibility( self, location, private_link_service_alias=None, custom_headers=None, raw=False, **operation_config): """Checks whether the subscription is visible to private link service. @@ -594,7 +736,7 @@ def check_private_link_service_visibility( overrides`. :return: PrivateLinkServiceVisibility or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServiceVisibility or + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceVisibility or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -665,7 +807,7 @@ def check_private_link_service_visibility_by_resource_group( overrides`. :return: PrivateLinkServiceVisibility or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.PrivateLinkServiceVisibility or + ~azure.mgmt.network.v2020_05_01.models.PrivateLinkServiceVisibility or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -733,7 +875,7 @@ def list_auto_approved_private_link_services( overrides`. :return: An iterator like instance of AutoApprovedPrivateLinkService :rtype: - ~azure.mgmt.network.v2019_07_01.models.AutoApprovedPrivateLinkServicePaged[~azure.mgmt.network.v2019_07_01.models.AutoApprovedPrivateLinkService] + ~azure.mgmt.network.v2020_05_01.models.AutoApprovedPrivateLinkServicePaged[~azure.mgmt.network.v2020_05_01.models.AutoApprovedPrivateLinkService] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -806,7 +948,7 @@ def list_auto_approved_private_link_services_by_resource_group( overrides`. :return: An iterator like instance of AutoApprovedPrivateLinkService :rtype: - ~azure.mgmt.network.v2019_07_01.models.AutoApprovedPrivateLinkServicePaged[~azure.mgmt.network.v2019_07_01.models.AutoApprovedPrivateLinkService] + ~azure.mgmt.network.v2020_05_01.models.AutoApprovedPrivateLinkServicePaged[~azure.mgmt.network.v2020_05_01.models.AutoApprovedPrivateLinkService] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_addresses_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_addresses_operations.py similarity index 92% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_addresses_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_addresses_operations.py index 997973314be..764b91d70ea 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_addresses_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_addresses_operations.py @@ -42,7 +42,7 @@ def __init__(self, client, config, serializer, deserializer): def _delete_initial( self, resource_group_name, public_ip_address_name, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.delete.metadata['url'] @@ -136,11 +136,11 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: PublicIPAddress or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.get.metadata['url'] @@ -190,7 +190,7 @@ def get( def _create_or_update_initial( self, resource_group_name, public_ip_address_name, parameters, custom_headers=None, raw=False, **operation_config): - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.create_or_update.metadata['url'] @@ -252,7 +252,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update public IP address operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -261,9 +261,9 @@ def create_or_update( :return: An instance of LROPoller that returns PublicIPAddress or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -293,12 +293,29 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, public_ip_address_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: PublicIPAddress or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) - api_version = "2019-07-01" + api_version = "2020-05-01" # Construct URL url = self.update_tags.metadata['url'] @@ -337,7 +354,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('PublicIPAddress', response) @@ -346,55 +362,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, public_ip_address_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns PublicIPAddress or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - public_ip_address_name=public_ip_address_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('PublicIPAddress', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}'} def list_all( @@ -408,10 +375,10 @@ def list_all( overrides`. :return: An iterator like instance of PublicIPAddress :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress] :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" def prepare_request(next_link=None): if not next_link: @@ -478,10 +445,10 @@ def list( overrides`. :return: An iterator like instance of PublicIPAddress :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress] :raises: :class:`CloudError` """ - api_version = "2019-07-01" + api_version = "2020-05-01" def prepare_request(next_link=None): if not next_link: @@ -553,7 +520,7 @@ def list_virtual_machine_scale_set_public_ip_addresses( overrides`. :return: An iterator like instance of PublicIPAddress :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress] :raises: :class:`CloudError` """ api_version = "2018-10-01" @@ -635,7 +602,7 @@ def list_virtual_machine_scale_set_vm_public_ip_addresses( overrides`. :return: An iterator like instance of PublicIPAddress :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPAddress] + ~azure.mgmt.network.v2020_05_01.models.PublicIPAddressPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPAddress] :raises: :class:`CloudError` """ api_version = "2018-10-01" @@ -722,7 +689,7 @@ def get_virtual_machine_scale_set_public_ip_address( :param operation_config: :ref:`Operation configuration overrides`. :return: PublicIPAddress or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PublicIPAddress or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PublicIPAddress or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_prefixes_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_prefixes_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_prefixes_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_prefixes_operations.py index 014e79deb3c..985d86b141c 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_public_ip_prefixes_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_public_ip_prefixes_operations.py @@ -27,7 +27,7 @@ class PublicIPPrefixesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: PublicIPPrefix or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix or + :rtype: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update public IP prefix operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix + ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -257,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns PublicIPPrefix or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -289,9 +289,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, public_ip_prefix_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: PublicIPPrefix or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -331,7 +348,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('PublicIPPrefix', response) @@ -340,55 +356,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, public_ip_prefix_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns PublicIPPrefix or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - public_ip_prefix_name=public_ip_prefix_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('PublicIPPrefix', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}'} def list_all( @@ -402,7 +369,7 @@ def list_all( overrides`. :return: An iterator like instance of PublicIPPrefix :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix] + ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -470,7 +437,7 @@ def list( overrides`. :return: An iterator like instance of PublicIPPrefix :rtype: - ~azure.mgmt.network.v2019_07_01.models.PublicIPPrefixPaged[~azure.mgmt.network.v2019_07_01.models.PublicIPPrefix] + ~azure.mgmt.network.v2020_05_01.models.PublicIPPrefixPaged[~azure.mgmt.network.v2020_05_01.models.PublicIPPrefix] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_resource_navigation_links_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_resource_navigation_links_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_resource_navigation_links_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_resource_navigation_links_operations.py index 9e7649f7c29..e735a775118 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_resource_navigation_links_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_resource_navigation_links_operations.py @@ -25,7 +25,7 @@ class ResourceNavigationLinksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -57,7 +57,7 @@ def list( :return: ResourceNavigationLinksListResult or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ResourceNavigationLinksListResult + ~azure.mgmt.network.v2020_05_01.models.ResourceNavigationLinksListResult or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filter_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filter_rules_operations.py similarity index 75% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filter_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filter_rules_operations.py index c8bf7e87ffc..de848e46ec6 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filter_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filter_rules_operations.py @@ -27,7 +27,7 @@ class RouteFilterRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -140,7 +140,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: RouteFilterRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.RouteFilterRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.RouteFilterRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -254,7 +254,7 @@ def create_or_update( :param route_filter_rule_parameters: Parameters supplied to the create or update route filter rule operation. :type route_filter_rule_parameters: - ~azure.mgmt.network.v2019_07_01.models.RouteFilterRule + ~azure.mgmt.network.v2020_05_01.models.RouteFilterRule :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -263,9 +263,9 @@ def create_or_update( :return: An instance of LROPoller that returns RouteFilterRule or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -296,112 +296,6 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} - - def _update_initial( - self, resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers=None, raw=False, **operation_config): - # Construct URL - url = self.update.metadata['url'] - 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 = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(route_filter_rule_parameters, 'PatchRouteFilterRule') - - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - exp = CloudError(response) - exp.request_id = response.headers.get('x-ms-request-id') - raise exp - - deserialized = None - - if response.status_code == 200: - deserialized = self._deserialize('RouteFilterRule', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - def update( - self, resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """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 update - route filter rule operation. - :type route_filter_rule_parameters: - ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilterRule - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns RouteFilterRule or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule]] - :raises: :class:`CloudError` - """ - raw_result = self._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, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('RouteFilterRule', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}'} - def list_by_route_filter( self, resource_group_name, route_filter_name, custom_headers=None, raw=False, **operation_config): """Gets all RouteFilterRules in a route filter. @@ -417,7 +311,7 @@ def list_by_route_filter( overrides`. :return: An iterator like instance of RouteFilterRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.RouteFilterRulePaged[~azure.mgmt.network.v2019_07_01.models.RouteFilterRule] + ~azure.mgmt.network.v2020_05_01.models.RouteFilterRulePaged[~azure.mgmt.network.v2020_05_01.models.RouteFilterRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filters_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filters_operations.py similarity index 87% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filters_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filters_operations.py index 1b61db24a0a..e18fd2b0446 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_filters_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_filters_operations.py @@ -27,7 +27,7 @@ class RouteFiltersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: RouteFilter or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.RouteFilter or + :rtype: ~azure.mgmt.network.v2020_05_01.models.RouteFilter or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param route_filter_parameters: Parameters supplied to the create or update route filter operation. :type route_filter_parameters: - ~azure.mgmt.network.v2019_07_01.models.RouteFilter + ~azure.mgmt.network.v2020_05_01.models.RouteFilter :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -257,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns RouteFilter or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteFilter] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.RouteFilter] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteFilter]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.RouteFilter]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -289,11 +289,30 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} + def update_tags( + self, resource_group_name, route_filter_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: RouteFilter or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.RouteFilter or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = models.TagsObject(tags=tags) - def _update_initial( - self, resource_group_name, route_filter_name, route_filter_parameters, custom_headers=None, raw=False, **operation_config): # Construct URL - url = self.update.metadata['url'] + url = self.update_tags.metadata['url'] 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'), @@ -317,7 +336,7 @@ def _update_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(route_filter_parameters, 'PatchRouteFilter') + body_content = self._serialize.body(parameters, 'TagsObject') # Construct and send request request = self._client.patch(url, query_parameters, header_parameters, body_content) @@ -329,7 +348,6 @@ def _update_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('RouteFilter', response) @@ -338,58 +356,7 @@ def _update_initial( return client_raw_response return deserialized - - def update( - self, resource_group_name, route_filter_name, route_filter_parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """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 update - route filter operation. - :type route_filter_parameters: - ~azure.mgmt.network.v2019_07_01.models.PatchRouteFilter - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns RouteFilter or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteFilter] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteFilter]] - :raises: :class:`CloudError` - """ - raw_result = self._update_initial( - resource_group_name=resource_group_name, - route_filter_name=route_filter_name, - route_filter_parameters=route_filter_parameters, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('RouteFilter', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}'} def list_by_resource_group( self, resource_group_name, custom_headers=None, raw=False, **operation_config): @@ -404,7 +371,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of RouteFilter :rtype: - ~azure.mgmt.network.v2019_07_01.models.RouteFilterPaged[~azure.mgmt.network.v2019_07_01.models.RouteFilter] + ~azure.mgmt.network.v2020_05_01.models.RouteFilterPaged[~azure.mgmt.network.v2020_05_01.models.RouteFilter] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -471,7 +438,7 @@ def list( overrides`. :return: An iterator like instance of RouteFilter :rtype: - ~azure.mgmt.network.v2019_07_01.models.RouteFilterPaged[~azure.mgmt.network.v2019_07_01.models.RouteFilter] + ~azure.mgmt.network.v2020_05_01.models.RouteFilterPaged[~azure.mgmt.network.v2020_05_01.models.RouteFilter] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_tables_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_tables_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_tables_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_tables_operations.py index 8171b492916..ff1f46e79ae 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_route_tables_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_route_tables_operations.py @@ -27,7 +27,7 @@ class RouteTablesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: RouteTable or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.RouteTable or + :rtype: ~azure.mgmt.network.v2020_05_01.models.RouteTable or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -247,7 +247,7 @@ def create_or_update( :type route_table_name: str :param parameters: Parameters supplied to the create or update route table operation. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.RouteTable + :type parameters: ~azure.mgmt.network.v2020_05_01.models.RouteTable :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -256,9 +256,9 @@ def create_or_update( :return: An instance of LROPoller that returns RouteTable or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteTable] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.RouteTable] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteTable]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.RouteTable]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -288,9 +288,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, route_table_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: RouteTable or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.RouteTable or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -330,7 +347,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('RouteTable', response) @@ -339,55 +355,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, route_table_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns RouteTable or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.RouteTable] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.RouteTable]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - route_table_name=route_table_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('RouteTable', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}'} def list( @@ -403,7 +370,7 @@ def list( overrides`. :return: An iterator like instance of RouteTable :rtype: - ~azure.mgmt.network.v2019_07_01.models.RouteTablePaged[~azure.mgmt.network.v2019_07_01.models.RouteTable] + ~azure.mgmt.network.v2020_05_01.models.RouteTablePaged[~azure.mgmt.network.v2020_05_01.models.RouteTable] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -470,7 +437,7 @@ def list_all( overrides`. :return: An iterator like instance of RouteTable :rtype: - ~azure.mgmt.network.v2019_07_01.models.RouteTablePaged[~azure.mgmt.network.v2019_07_01.models.RouteTable] + ~azure.mgmt.network.v2020_05_01.models.RouteTablePaged[~azure.mgmt.network.v2020_05_01.models.RouteTable] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_routes_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_routes_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_routes_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_routes_operations.py index 2faa8afc5be..610de9917e9 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_routes_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_routes_operations.py @@ -27,7 +27,7 @@ class RoutesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -140,7 +140,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: Route or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.Route or + :rtype: ~azure.mgmt.network.v2020_05_01.models.Route or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -253,7 +253,7 @@ def create_or_update( :type route_name: str :param route_parameters: Parameters supplied to the create or update route operation. - :type route_parameters: ~azure.mgmt.network.v2019_07_01.models.Route + :type route_parameters: ~azure.mgmt.network.v2020_05_01.models.Route :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -262,9 +262,9 @@ def create_or_update( :return: An instance of LROPoller that returns Route or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.Route] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.Route] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.Route]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.Route]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -310,7 +310,7 @@ def list( overrides`. :return: An iterator like instance of Route :rtype: - ~azure.mgmt.network.v2019_07_01.models.RoutePaged[~azure.mgmt.network.v2019_07_01.models.Route] + ~azure.mgmt.network.v2020_05_01.models.RoutePaged[~azure.mgmt.network.v2020_05_01.models.Route] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_partner_providers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_partner_providers_operations.py new file mode 100644 index 00000000000..4ce05dccc83 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_partner_providers_operations.py @@ -0,0 +1,494 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class SecurityPartnerProvidersOperations(object): + """SecurityPartnerProvidersOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _delete_initial( + self, resource_group_name, security_partner_provider_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, security_partner_provider_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} + + def get( + self, resource_group_name, security_partner_provider_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: SecurityPartnerProvider or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('SecurityPartnerProvider', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} + + + def _create_or_update_initial( + self, resource_group_name, security_partner_provider_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'SecurityPartnerProvider') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('SecurityPartnerProvider', response) + if response.status_code == 201: + deserialized = self._deserialize('SecurityPartnerProvider', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, security_partner_provider_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.SecurityPartnerProvider + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns SecurityPartnerProvider + or ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider]] + :raises: :class:`CloudError` + """ + raw_result = self._create_or_update_initial( + resource_group_name=resource_group_name, + security_partner_provider_name=security_partner_provider_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('SecurityPartnerProvider', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} + + def update_tags( + self, resource_group_name, security_partner_provider_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: SecurityPartnerProvider or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = models.TagsObject(tags=tags) + + # Construct URL + url = self.update_tags.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'TagsObject') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('SecurityPartnerProvider', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Lists all Security Partner Providers in a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of SecurityPartnerProvider + :rtype: + ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProviderPaged[~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.SecurityPartnerProviderPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets all the Security Partner Providers in a subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of SecurityPartnerProvider + :rtype: + ~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProviderPaged[~azure.mgmt.network.v2020_05_01.models.SecurityPartnerProvider] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.SecurityPartnerProviderPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_security_rules_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_rules_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_security_rules_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_rules_operations.py index e9fbc0eb428..0afe76246fd 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_security_rules_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_security_rules_operations.py @@ -27,7 +27,7 @@ class SecurityRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -142,7 +142,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: SecurityRule or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.SecurityRule or + :rtype: ~azure.mgmt.network.v2020_05_01.models.SecurityRule or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -258,7 +258,7 @@ def create_or_update( :param security_rule_parameters: Parameters supplied to the create or update network security rule operation. :type security_rule_parameters: - ~azure.mgmt.network.v2019_07_01.models.SecurityRule + ~azure.mgmt.network.v2020_05_01.models.SecurityRule :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -267,9 +267,9 @@ def create_or_update( :return: An instance of LROPoller that returns SecurityRule or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.SecurityRule] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.SecurityRule]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.SecurityRule]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -316,7 +316,7 @@ def list( overrides`. :return: An iterator like instance of SecurityRule :rtype: - ~azure.mgmt.network.v2019_07_01.models.SecurityRulePaged[~azure.mgmt.network.v2019_07_01.models.SecurityRule] + ~azure.mgmt.network.v2020_05_01.models.SecurityRulePaged[~azure.mgmt.network.v2020_05_01.models.SecurityRule] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_association_links_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_association_links_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_association_links_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_association_links_operations.py index dfc95e7de44..18ae13c298f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_association_links_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_association_links_operations.py @@ -25,7 +25,7 @@ class ServiceAssociationLinksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -57,7 +57,7 @@ def list( :return: ServiceAssociationLinksListResult or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ServiceAssociationLinksListResult + ~azure.mgmt.network.v2020_05_01.models.ServiceAssociationLinksListResult or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policies_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policies_operations.py similarity index 88% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policies_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policies_operations.py index a017253673e..eafba560a0b 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policies_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policies_operations.py @@ -27,7 +27,7 @@ class ServiceEndpointPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -139,7 +139,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: ServiceEndpointPolicy or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy + :rtype: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -252,7 +252,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update service endpoint policy operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -261,9 +261,9 @@ def create_or_update( :return: An instance of LROPoller that returns ServiceEndpointPolicy or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -293,13 +293,31 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} - - def _update_initial( + def update_tags( self, resource_group_name, service_endpoint_policy_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ServiceEndpointPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL - url = self.update.metadata['url'] + url = self.update_tags.metadata['url'] 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'), @@ -335,7 +353,6 @@ def _update_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('ServiceEndpointPolicy', response) @@ -344,57 +361,7 @@ def _update_initial( return client_raw_response return deserialized - - def update( - self, resource_group_name, service_endpoint_policy_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """Updates 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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns ServiceEndpointPolicy - or ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy]] - :raises: :class:`CloudError` - """ - raw_result = self._update_initial( - resource_group_name=resource_group_name, - service_endpoint_policy_name=service_endpoint_policy_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('ServiceEndpointPolicy', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}'} def list( self, custom_headers=None, raw=False, **operation_config): @@ -407,7 +374,7 @@ def list( overrides`. :return: An iterator like instance of ServiceEndpointPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyPaged[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyPaged[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -475,7 +442,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of ServiceEndpointPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyPaged[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicy] + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyPaged[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py index 38be42f08bb..ffc963acbef 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_endpoint_policy_definitions_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_endpoint_policy_definitions_operations.py @@ -27,7 +27,7 @@ class ServiceEndpointPolicyDefinitionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -147,7 +147,7 @@ def get( :return: ServiceEndpointPolicyDefinition or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -264,7 +264,7 @@ def create_or_update( :param service_endpoint_policy_definitions: Parameters supplied to the create or update service endpoint policy operation. :type service_endpoint_policy_definitions: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -274,9 +274,9 @@ def create_or_update( ServiceEndpointPolicyDefinition or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -324,7 +324,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of ServiceEndpointPolicyDefinition :rtype: - ~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinitionPaged[~azure.mgmt.network.v2019_07_01.models.ServiceEndpointPolicyDefinition] + ~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinitionPaged[~azure.mgmt.network.v2020_05_01.models.ServiceEndpointPolicyDefinition] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_tags_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_tags_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_tags_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_tags_operations.py index be7def5aed0..d60675444b3 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_service_tags_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_service_tags_operations.py @@ -25,7 +25,7 @@ class ServiceTagsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( :param operation_config: :ref:`Operation configuration overrides`. :return: ServiceTagsListResult or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ServiceTagsListResult + :rtype: ~azure.mgmt.network.v2020_05_01.models.ServiceTagsListResult or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_subnets_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_subnets_operations.py similarity index 98% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_subnets_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_subnets_operations.py index 4ec46f49cb5..37190fec29f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_subnets_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_subnets_operations.py @@ -27,7 +27,7 @@ class SubnetsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -142,7 +142,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: Subnet or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.Subnet or + :rtype: ~azure.mgmt.network.v2020_05_01.models.Subnet or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -257,7 +257,7 @@ def create_or_update( :type subnet_name: str :param subnet_parameters: Parameters supplied to the create or update subnet operation. - :type subnet_parameters: ~azure.mgmt.network.v2019_07_01.models.Subnet + :type subnet_parameters: ~azure.mgmt.network.v2020_05_01.models.Subnet :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -266,9 +266,9 @@ def create_or_update( :return: An instance of LROPoller that returns Subnet or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.Subnet] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.Subnet] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.Subnet]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.Subnet]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -360,7 +360,7 @@ def prepare_network_policies( :param network_intent_policy_configurations: A list of NetworkIntentPolicyConfiguration. :type network_intent_policy_configurations: - list[~azure.mgmt.network.v2019_07_01.models.NetworkIntentPolicyConfiguration] + list[~azure.mgmt.network.v2020_05_01.models.NetworkIntentPolicyConfiguration] :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -505,7 +505,7 @@ def list( overrides`. :return: An iterator like instance of Subnet :rtype: - ~azure.mgmt.network.v2019_07_01.models.SubnetPaged[~azure.mgmt.network.v2019_07_01.models.Subnet] + ~azure.mgmt.network.v2020_05_01.models.SubnetPaged[~azure.mgmt.network.v2020_05_01.models.Subnet] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_usages_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_usages_operations.py similarity index 95% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_usages_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_usages_operations.py index 2f857d4e3ba..57ef8c07b7e 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_usages_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_usages_operations.py @@ -25,7 +25,7 @@ class UsagesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -52,7 +52,7 @@ def list( overrides`. :return: An iterator like instance of Usage :rtype: - ~azure.mgmt.network.v2019_07_01.models.UsagePaged[~azure.mgmt.network.v2019_07_01.models.Usage] + ~azure.mgmt.network.v2020_05_01.models.UsagePaged[~azure.mgmt.network.v2020_05_01.models.Usage] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_sites_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_sites_operations.py new file mode 100644 index 00000000000..6bf58e88876 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_sites_operations.py @@ -0,0 +1,369 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VirtualApplianceSitesOperations(object): + """VirtualApplianceSitesOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _delete_initial( + self, resource_group_name, network_virtual_appliance_name, site_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, network_virtual_appliance_name, site_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + network_virtual_appliance_name=network_virtual_appliance_name, + site_name=site_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} + + def get( + self, resource_group_name, network_virtual_appliance_name, site_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualApplianceSite or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualApplianceSite', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} + + + def _create_or_update_initial( + self, resource_group_name, network_virtual_appliance_name, site_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'VirtualApplianceSite') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualApplianceSite', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualApplianceSite', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, network_virtual_appliance_name, site_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.VirtualApplianceSite + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns VirtualApplianceSite or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite]] + :raises: + :class:`ErrorException` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('VirtualApplianceSite', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}'} + + def list( + self, resource_group_name, network_virtual_appliance_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of VirtualApplianceSite + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSitePaged[~azure.mgmt.network.v2020_05_01.models.VirtualApplianceSite] + :raises: + :class:`ErrorException` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.VirtualApplianceSitePaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_backend_address_pools_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_skus_operations.py similarity index 67% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_backend_address_pools_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_skus_operations.py index 09179014aa2..97fb0653ea5 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_load_balancer_backend_address_pools_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_appliance_skus_operations.py @@ -16,8 +16,8 @@ from .. import models -class LoadBalancerBackendAddressPoolsOperations(object): - """LoadBalancerBackendAddressPoolsOperations operations. +class VirtualApplianceSkusOperations(object): + """VirtualApplianceSkusOperations operations. You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. @@ -25,7 +25,7 @@ class LoadBalancerBackendAddressPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -35,26 +35,22 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config def list( - self, resource_group_name, load_balancer_name, custom_headers=None, raw=False, **operation_config): - """Gets all the load balancer backed address pools. + self, custom_headers=None, raw=False, **operation_config): + """List all SKUs available for a virtual appliance. - :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 dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of BackendAddressPool + :return: An iterator like instance of NetworkVirtualApplianceSku :rtype: - ~azure.mgmt.network.v2019_07_01.models.BackendAddressPoolPaged[~azure.mgmt.network.v2019_07_01.models.BackendAddressPool] + ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualApplianceSkuPaged[~azure.mgmt.network.v2020_05_01.models.NetworkVirtualApplianceSku] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -62,8 +58,6 @@ def prepare_request(next_link=None): # Construct URL url = self.list.metadata['url'] 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) @@ -106,39 +100,33 @@ def internal_paging(next_link=None): header_dict = None if raw: header_dict = {} - deserialized = models.BackendAddressPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + deserialized = models.NetworkVirtualApplianceSkuPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus'} def get( - self, resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers=None, raw=False, **operation_config): - """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 + self, sku_name, custom_headers=None, raw=False, **operation_config): + """Retrieves a single available sku for network virtual appliance. + + :param sku_name: Name of the Sku. + :type sku_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: BackendAddressPool or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.BackendAddressPool or + :return: NetworkVirtualApplianceSku or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.network.v2020_05_01.models.NetworkVirtualApplianceSku or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] 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') + '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) @@ -167,11 +155,11 @@ def get( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('BackendAddressPool', response) + deserialized = self._deserialize('NetworkVirtualApplianceSku', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py new file mode 100644 index 00000000000..5224c24aa2c --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connection_operations.py @@ -0,0 +1,293 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VirtualHubBgpConnectionOperations(object): + """VirtualHubBgpConnectionOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def get( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BgpConnection or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.BgpConnection or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('BgpConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} + + + def _create_or_update_initial( + self, resource_group_name, virtual_hub_name, connection_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'BgpConnection') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BgpConnection', response) + if response.status_code == 201: + deserialized = self._deserialize('BgpConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_hub_name, connection_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.BgpConnection + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns BgpConnection or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BgpConnection] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BgpConnection]] + :raises: + :class:`ErrorException` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('BgpConnection', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} + + + def _delete_initial( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, virtual_hub_name, connection_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + connection_name=connection_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_connections_operations.py new file mode 100644 index 00000000000..1f5a520197f --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_bgp_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. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class VirtualHubBgpConnectionsOperations(object): + """VirtualHubBgpConnectionsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def list( + self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of BgpConnection + :rtype: + ~azure.mgmt.network.v2020_05_01.models.BgpConnectionPaged[~azure.mgmt.network.v2020_05_01.models.BgpConnection] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.BgpConnectionPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_server_configurations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py similarity index 67% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_server_configurations_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py index 84193c3a24b..23a20b7d48a 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_p2s_vpn_server_configurations_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_ip_configuration_operations.py @@ -11,14 +11,15 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling from .. import models -class P2sVpnServerConfigurationsOperations(object): - """P2sVpnServerConfigurationsOperations operations. +class VirtualHubIpConfigurationOperations(object): + """VirtualHubIpConfigurationOperations operations. You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. @@ -26,7 +27,7 @@ class P2sVpnServerConfigurationsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,41 +37,38 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config def get( - self, resource_group_name, virtual_wan_name, p2_svpn_server_configuration_name, custom_headers=None, raw=False, **operation_config): - """Retrieves the details of a P2SVpnServerConfiguration. + self, resource_group_name, virtual_hub_name, ip_config_name, custom_headers=None, raw=False, **operation_config): + """Retrieves the details of a Virtual Hub Ip configuration. - :param resource_group_name: The resource group name of the - P2SVpnServerConfiguration. + :param resource_group_name: The resource group name of the VirtualHub. :type resource_group_name: str - :param virtual_wan_name: The name of the VirtualWan. - :type virtual_wan_name: str - :param p2_svpn_server_configuration_name: The name of the - P2SVpnServerConfiguration. - :type p2_svpn_server_configuration_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 dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: P2SVpnServerConfiguration or ClientRawResponse if raw=true - :rtype: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration or + :return: HubIpConfiguration or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.get.metadata['url'] 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'), - 'p2SVpnServerConfigurationName': self._serialize.url("p2_svpn_server_configuration_name", p2_svpn_server_configuration_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) @@ -97,25 +95,25 @@ def get( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('P2SVpnServerConfiguration', response) + deserialized = self._deserialize('HubIpConfiguration', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations/{p2SVpnServerConfigurationName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} def _create_or_update_initial( - self, resource_group_name, virtual_wan_name, p2_svpn_server_configuration_name, p2_svpn_server_configuration_parameters, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, virtual_hub_name, ip_config_name, parameters, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] 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'), - 'p2SVpnServerConfigurationName': self._serialize.url("p2_svpn_server_configuration_name", p2_svpn_server_configuration_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) @@ -135,7 +133,7 @@ def _create_or_update_initial( header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') # Construct body - body_content = self._serialize.body(p2_svpn_server_configuration_parameters, 'P2SVpnServerConfiguration') + body_content = self._serialize.body(parameters, 'HubIpConfiguration') # Construct and send request request = self._client.put(url, query_parameters, header_parameters, body_content) @@ -147,9 +145,9 @@ def _create_or_update_initial( deserialized = None if response.status_code == 200: - deserialized = self._deserialize('P2SVpnServerConfiguration', response) + deserialized = self._deserialize('HubIpConfiguration', response) if response.status_code == 201: - deserialized = self._deserialize('P2SVpnServerConfiguration', response) + deserialized = self._deserialize('HubIpConfiguration', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -158,48 +156,45 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group_name, virtual_wan_name, p2_svpn_server_configuration_name, p2_svpn_server_configuration_parameters, custom_headers=None, raw=False, polling=True, **operation_config): - """Creates a P2SVpnServerConfiguration to associate with a VirtualWan if - it doesn't exist else updates the existing P2SVpnServerConfiguration. + self, resource_group_name, virtual_hub_name, ip_config_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """Creates a VirtualHubIpConfiguration resource if it doesn't exist else + updates the existing VirtualHubIpConfiguration. - :param resource_group_name: The resource group name of the VirtualWan. + :param resource_group_name: The resource group name of the VirtualHub. :type resource_group_name: str - :param virtual_wan_name: The name of the VirtualWan. - :type virtual_wan_name: str - :param p2_svpn_server_configuration_name: The name of the - P2SVpnServerConfiguration. - :type p2_svpn_server_configuration_name: str - :param p2_svpn_server_configuration_parameters: Parameters supplied to - create or Update a P2SVpnServerConfiguration. - :type p2_svpn_server_configuration_parameters: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration + :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.v2020_05_01.models.HubIpConfiguration :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response :param polling: True for ARMPolling, False for no polling, or a polling object for personal polling strategy - :return: An instance of LROPoller that returns - P2SVpnServerConfiguration or - ClientRawResponse if raw==True + :return: An instance of LROPoller that returns HubIpConfiguration or + ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, - virtual_wan_name=virtual_wan_name, - p2_svpn_server_configuration_name=p2_svpn_server_configuration_name, - p2_svpn_server_configuration_parameters=p2_svpn_server_configuration_parameters, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, + parameters=parameters, custom_headers=custom_headers, raw=True, **operation_config ) def get_long_running_output(response): - deserialized = self._deserialize('P2SVpnServerConfiguration', response) + deserialized = self._deserialize('HubIpConfiguration', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -214,18 +209,18 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations/{p2SVpnServerConfigurationName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} def _delete_initial( - self, resource_group_name, virtual_wan_name, p2_svpn_server_configuration_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, virtual_hub_name, ip_config_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] 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'), - 'p2SVpnServerConfigurationName': self._serialize.url("p2_svpn_server_configuration_name", p2_svpn_server_configuration_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) @@ -254,17 +249,16 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group_name, virtual_wan_name, p2_svpn_server_configuration_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Deletes a P2SVpnServerConfiguration. + self, resource_group_name, virtual_hub_name, ip_config_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Deletes a VirtualHubIpConfiguration. :param resource_group_name: The resource group name of the - P2SVpnServerConfiguration. + VirtualHubBgpConnection. :type resource_group_name: str - :param virtual_wan_name: The name of the VirtualWan. - :type virtual_wan_name: str - :param p2_svpn_server_configuration_name: The name of the - P2SVpnServerConfiguration. - :type p2_svpn_server_configuration_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 dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -275,12 +269,12 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, - virtual_wan_name=virtual_wan_name, - p2_svpn_server_configuration_name=p2_svpn_server_configuration_name, + virtual_hub_name=virtual_hub_name, + ip_config_name=ip_config_name, custom_headers=custom_headers, raw=True, **operation_config @@ -298,35 +292,34 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations/{p2SVpnServerConfigurationName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}'} - def list_by_virtual_wan( - self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): - """Retrieves all P2SVpnServerConfigurations for a particular VirtualWan. + def list( + self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): + """Retrieves the details of all VirtualHubIpConfigurations. - :param resource_group_name: The resource group name of the VirtualWan. + :param resource_group_name: The resource group name of the VirtualHub. :type resource_group_name: str - :param virtual_wan_name: The name of the VirtualWan. - :type virtual_wan_name: str + :param virtual_hub_name: The name of the VirtualHub. + :type virtual_hub_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response :param operation_config: :ref:`Operation configuration overrides`. - :return: An iterator like instance of P2SVpnServerConfiguration + :return: An iterator like instance of HubIpConfiguration :rtype: - ~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfigurationPaged[~azure.mgmt.network.v2019_07_01.models.P2SVpnServerConfiguration] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.HubIpConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.HubIpConfiguration] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: # Construct URL - url = self.list_by_virtual_wan.metadata['url'] + url = self.list.metadata['url'] 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') + 'virtualHubName': self._serialize.url("virtual_hub_name", virtual_hub_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -358,7 +351,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -366,7 +361,7 @@ def internal_paging(next_link=None): header_dict = None if raw: header_dict = {} - deserialized = models.P2SVpnServerConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + deserialized = models.HubIpConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) return deserialized - list_by_virtual_wan.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWanName}/p2sVpnServerConfigurations'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_route_table_v2s_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_route_table_v2s_operations.py new file mode 100644 index 00000000000..47327317c0f --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hub_route_table_v2s_operations.py @@ -0,0 +1,369 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VirtualHubRouteTableV2sOperations(object): + """VirtualHubRouteTableV2sOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def get( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualHubRouteTableV2 or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2 + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VirtualHubRouteTableV2', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} + + + def _create_or_update_initial( + self, resource_group_name, virtual_hub_name, route_table_name, virtual_hub_route_table_v2_parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(virtual_hub_route_table_v2_parameters, 'VirtualHubRouteTableV2') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VirtualHubRouteTableV2', response) + if response.status_code == 201: + deserialized = self._deserialize('VirtualHubRouteTableV2', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, virtual_hub_name, route_table_name, virtual_hub_route_table_v2_parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.VirtualHubRouteTableV2 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns VirtualHubRouteTableV2 + or ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2]] + :raises: + :class:`ErrorException` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('VirtualHubRouteTableV2', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} + + + def _delete_initial( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, virtual_hub_name, route_table_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + route_table_name=route_table_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}'} + + def list( + self, resource_group_name, virtual_hub_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of VirtualHubRouteTableV2 + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2Paged[~azure.mgmt.network.v2020_05_01.models.VirtualHubRouteTableV2] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.VirtualHubRouteTableV2Paged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_hubs_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hubs_operations.py similarity index 76% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_hubs_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hubs_operations.py index 21822a007d4..748ae9bd507 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_hubs_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_hubs_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling @@ -26,7 +27,7 @@ class VirtualHubsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,10 +55,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualHub or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualHub or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualHub or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -87,7 +87,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -135,7 +137,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -162,7 +166,7 @@ def create_or_update( :param virtual_hub_parameters: Parameters supplied to create or update VirtualHub. :type virtual_hub_parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualHub + ~azure.mgmt.network.v2020_05_01.models.VirtualHub :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -171,11 +175,10 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualHub or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualHub] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualHub] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualHub]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualHub]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -204,9 +207,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, virtual_hub_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualHub or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualHub or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ virtual_hub_parameters = models.TagsObject(tags=tags) # Construct URL @@ -240,71 +260,20 @@ def _update_tags_initial( request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VirtualHub', response) - if response.status_code == 201: - deserialized = self._deserialize('VirtualHub', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, virtual_hub_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VirtualHub or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualHub] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualHub]] - :raises: - :class:`ErrorException` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - virtual_hub_name=virtual_hub_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VirtualHub', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}'} @@ -337,7 +306,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -360,8 +331,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -398,9 +368,8 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VirtualHub :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualHubPaged[~azure.mgmt.network.v2019_07_01.models.VirtualHub] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VirtualHubPaged[~azure.mgmt.network.v2020_05_01.models.VirtualHub] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -440,7 +409,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -464,9 +435,8 @@ def list( overrides`. :return: An iterator like instance of VirtualHub :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualHubPaged[~azure.mgmt.network.v2019_07_01.models.VirtualHub] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VirtualHubPaged[~azure.mgmt.network.v2020_05_01.models.VirtualHub] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -505,7 +475,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -517,3 +489,103 @@ def internal_paging(next_link=None): return deserialized list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs'} + + + def _get_effective_virtual_hub_routes_initial( + self, resource_group_name, virtual_hub_name, resource_id=None, virtual_wan_resource_type=None, custom_headers=None, raw=False, **operation_config): + effective_routes_parameters = None + if resource_id is not None or virtual_wan_resource_type is not None: + effective_routes_parameters = models.EffectiveRoutesParameters(resource_id=resource_id, virtual_wan_resource_type=virtual_wan_resource_type) + + # Construct URL + url = self.get_effective_virtual_hub_routes.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + if effective_routes_parameters is not None: + body_content = self._serialize.body(effective_routes_parameters, 'EffectiveRoutesParameters') + else: + body_content = None + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def get_effective_virtual_hub_routes( + self, resource_group_name, virtual_hub_name, resource_id=None, virtual_wan_resource_type=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 resource_id: The resource whose effective routes are being + requested. + :type resource_id: ~azure.mgmt.network.v2020_05_01.models.Resource + :param virtual_wan_resource_type: The type of the specified resource + like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, + VpnConnection and P2SConnection. + :type virtual_wan_resource_type: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._get_effective_virtual_hub_routes_initial( + resource_group_name=resource_group_name, + virtual_hub_name=virtual_hub_name, + resource_id=resource_id, + virtual_wan_resource_type=virtual_wan_resource_type, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + get_effective_virtual_hub_routes.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py index 2719f230a0c..e34703924d8 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateway_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateway_connections_operations.py @@ -27,7 +27,7 @@ class VirtualNetworkGatewayConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -106,7 +106,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update virtual network gateway connection operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -116,9 +116,9 @@ def create_or_update( VirtualNetworkGatewayConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -166,7 +166,7 @@ def get( :return: VirtualNetworkGatewayConnection or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -365,9 +365,9 @@ def update_tags( VirtualNetworkGatewayConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection]] :raises: :class:`CloudError` """ raw_result = self._update_tags_initial( @@ -475,9 +475,9 @@ def set_shared_key( :return: An instance of LROPoller that returns ConnectionSharedKey or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ConnectionSharedKey] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ConnectionSharedKey] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ConnectionSharedKey]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ConnectionSharedKey]] :raises: :class:`CloudError` """ raw_result = self._set_shared_key_initial( @@ -525,7 +525,7 @@ def get_shared_key( :param operation_config: :ref:`Operation configuration overrides`. :return: ConnectionSharedKey or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.ConnectionSharedKey or + :rtype: ~azure.mgmt.network.v2020_05_01.models.ConnectionSharedKey or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -586,7 +586,7 @@ def list( overrides`. :return: An iterator like instance of VirtualNetworkGatewayConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnection] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnection] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -718,9 +718,9 @@ def reset_shared_key( ConnectionResetSharedKey or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.ConnectionResetSharedKey] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.ConnectionResetSharedKey] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.ConnectionResetSharedKey]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.ConnectionResetSharedKey]] :raises: :class:`CloudError` """ raw_result = self._reset_shared_key_initial( @@ -827,7 +827,7 @@ def start_packet_capture( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[str] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[str]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._start_packet_capture_initial( resource_group_name=resource_group_name, @@ -928,7 +928,7 @@ def stop_packet_capture( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[str] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[str]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._stop_packet_capture_initial( resource_group_name=resource_group_name, diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateways_operations.py similarity index 93% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateways_operations.py index d97fcf854de..a22bb9d1f9d 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_gateways_operations.py @@ -27,7 +27,7 @@ class VirtualNetworkGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -106,7 +106,7 @@ def create_or_update( :param parameters: Parameters supplied to create or update virtual network gateway operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -115,9 +115,9 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualNetworkGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -162,7 +162,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualNetworkGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -360,9 +360,9 @@ def update_tags( :return: An instance of LROPoller that returns VirtualNetworkGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway]] :raises: :class:`CloudError` """ raw_result = self._update_tags_initial( @@ -405,7 +405,7 @@ def list( overrides`. :return: An iterator like instance of VirtualNetworkGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -478,7 +478,7 @@ def list_connections( :return: An iterator like instance of VirtualNetworkGatewayConnectionListEntity :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionListEntityPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGatewayConnectionListEntity] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionListEntityPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGatewayConnectionListEntity] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -604,9 +604,9 @@ def reset( :return: An instance of LROPoller that returns VirtualNetworkGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkGateway]] :raises: :class:`CloudError` """ raw_result = self._reset_initial( @@ -780,7 +780,7 @@ def generatevpnclientpackage( :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters + ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -883,7 +883,7 @@ def generate_vpn_profile( :param parameters: Parameters supplied to the generate virtual network gateway VPN client package operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnClientParameters + ~azure.mgmt.network.v2020_05_01.models.VpnClientParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1083,9 +1083,9 @@ def get_bgp_peer_status( :return: An instance of LROPoller that returns BgpPeerStatusListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.BgpPeerStatusListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.BgpPeerStatusListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.BgpPeerStatusListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.BgpPeerStatusListResult]] :raises: :class:`CloudError` """ raw_result = self._get_bgp_peer_status_initial( @@ -1240,9 +1240,9 @@ def get_learned_routes( :return: An instance of LROPoller that returns GatewayRouteListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.GatewayRouteListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.GatewayRouteListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.GatewayRouteListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.GatewayRouteListResult]] :raises: :class:`CloudError` """ raw_result = self._get_learned_routes_initial( @@ -1338,9 +1338,9 @@ def get_advertised_routes( :return: An instance of LROPoller that returns GatewayRouteListResult or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.GatewayRouteListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.GatewayRouteListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.GatewayRouteListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.GatewayRouteListResult]] :raises: :class:`CloudError` """ raw_result = self._get_advertised_routes_initial( @@ -1435,7 +1435,7 @@ def set_vpnclient_ipsec_parameters( vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. :type vpnclient_ipsec_params: - ~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters + ~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -1445,9 +1445,9 @@ def set_vpnclient_ipsec_parameters( VpnClientIPsecParameters or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters]] :raises: :class:`CloudError` """ raw_result = self._set_vpnclient_ipsec_parameters_initial( @@ -1542,9 +1542,9 @@ def get_vpnclient_ipsec_parameters( VpnClientIPsecParameters or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnClientIPsecParameters]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnClientIPsecParameters]] :raises: :class:`CloudError` """ raw_result = self._get_vpnclient_ipsec_parameters_initial( @@ -1586,7 +1586,7 @@ def vpn_device_configuration_script( :param parameters: Parameters supplied to the generate vpn device script operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnDeviceScriptParameters + ~azure.mgmt.network.v2020_05_01.models.VpnDeviceScriptParameters :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -1720,7 +1720,7 @@ def start_packet_capture( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[str] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[str]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._start_packet_capture_initial( resource_group_name=resource_group_name, @@ -1821,7 +1821,7 @@ def stop_packet_capture( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[str] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[str]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._stop_packet_capture_initial( resource_group_name=resource_group_name, @@ -1916,9 +1916,9 @@ def get_vpnclient_connection_health( ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealthDetailListResult] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealthDetailListResult] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnClientConnectionHealthDetailListResult]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnClientConnectionHealthDetailListResult]] :raises: :class:`CloudError` """ raw_result = self._get_vpnclient_connection_health_initial( @@ -1946,3 +1946,93 @@ def get_long_running_output(response): else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) get_vpnclient_connection_health.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth'} + + + def _disconnect_virtual_network_gateway_vpn_connections_initial( + self, resource_group_name, virtual_network_gateway_name, vpn_connection_ids=None, custom_headers=None, raw=False, **operation_config): + request = models.P2SVpnConnectionRequest(vpn_connection_ids=vpn_connection_ids) + + # Construct URL + url = self.disconnect_virtual_network_gateway_vpn_connections.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(request, 'P2SVpnConnectionRequest') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def disconnect_virtual_network_gateway_vpn_connections( + self, resource_group_name, virtual_network_gateway_name, vpn_connection_ids=None, custom_headers=None, raw=False, polling=True, **operation_config): + """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 vpn_connection_ids: List of p2s vpn connection Ids. + :type vpn_connection_ids: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._disconnect_virtual_network_gateway_vpn_connections_initial( + resource_group_name=resource_group_name, + virtual_network_gateway_name=virtual_network_gateway_name, + vpn_connection_ids=vpn_connection_ids, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + disconnect_virtual_network_gateway_vpn_connections.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_peerings_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_peerings_operations.py similarity index 97% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_peerings_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_peerings_operations.py index 8f216d9f86f..6657072958a 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_peerings_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_peerings_operations.py @@ -27,7 +27,7 @@ class VirtualNetworkPeeringsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -142,7 +142,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualNetworkPeering or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -256,7 +256,7 @@ def create_or_update( :param virtual_network_peering_parameters: Parameters supplied to the create or update virtual network peering operation. :type virtual_network_peering_parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -265,9 +265,9 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualNetworkPeering or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -313,7 +313,7 @@ def list( overrides`. :return: An iterator like instance of VirtualNetworkPeering :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeeringPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPeering] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeeringPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPeering] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_taps_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_taps_operations.py similarity index 89% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_taps_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_taps_operations.py index 1c1577edf1f..ff047828520 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_network_taps_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_network_taps_operations.py @@ -27,7 +27,7 @@ class VirtualNetworkTapsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -134,7 +134,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualNetworkTap or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -244,7 +244,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update virtual network tap operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -253,9 +253,9 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualNetworkTap or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -285,9 +285,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, tap_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualNetworkTap or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ tap_parameters = models.TagsObject(tags=tags) # Construct URL @@ -327,7 +344,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VirtualNetworkTap', response) @@ -336,55 +352,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, tap_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VirtualNetworkTap or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - tap_name=tap_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VirtualNetworkTap', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}'} def list_all( @@ -398,7 +365,7 @@ def list_all( overrides`. :return: An iterator like instance of VirtualNetworkTap :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTapPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTapPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -466,7 +433,7 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VirtualNetworkTap :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTapPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkTap] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTapPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkTap] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_networks_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_networks_operations.py similarity index 91% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_networks_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_networks_operations.py index 2b4ae27c8c2..d0b3abd1509 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_networks_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_networks_operations.py @@ -27,7 +27,7 @@ class VirtualNetworksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -136,7 +136,7 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualNetwork or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualNetwork or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -248,7 +248,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update virtual network operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetwork + ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -257,9 +257,9 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualNetwork or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualNetwork] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualNetwork]] :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( @@ -289,9 +289,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, virtual_network_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualNetwork or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualNetwork or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ parameters = models.TagsObject(tags=tags) # Construct URL @@ -331,7 +348,6 @@ def _update_tags_initial( raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VirtualNetwork', response) @@ -340,55 +356,6 @@ def _update_tags_initial( return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, virtual_network_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VirtualNetwork or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork]] - :raises: :class:`CloudError` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - virtual_network_name=virtual_network_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VirtualNetwork', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}'} def list_all( @@ -402,7 +369,7 @@ def list_all( overrides`. :return: An iterator like instance of VirtualNetwork :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetwork] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -470,7 +437,7 @@ def list( overrides`. :return: An iterator like instance of VirtualNetwork :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkPaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetwork] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkPaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetwork] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -543,7 +510,7 @@ def check_ip_address_availability( overrides`. :return: IPAddressAvailabilityResult or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.IPAddressAvailabilityResult or + ~azure.mgmt.network.v2020_05_01.models.IPAddressAvailabilityResult or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -606,7 +573,7 @@ def list_usage( overrides`. :return: An iterator like instance of VirtualNetworkUsage :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualNetworkUsagePaged[~azure.mgmt.network.v2019_07_01.models.VirtualNetworkUsage] + ~azure.mgmt.network.v2020_05_01.models.VirtualNetworkUsagePaged[~azure.mgmt.network.v2020_05_01.models.VirtualNetworkUsage] :raises: :class:`CloudError` """ def prepare_request(next_link=None): diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_router_peerings_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_router_peerings_operations.py similarity index 79% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_router_peerings_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_router_peerings_operations.py index 75fda3d33b5..7f2f2bcaf6f 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_router_peerings_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_router_peerings_operations.py @@ -26,7 +26,7 @@ class VirtualRouterPeeringsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -97,7 +97,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -138,10 +138,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualRouterPeering or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.get.metadata['url'] @@ -185,79 +185,6 @@ def get( return deserialized get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} - def update( - self, resource_group_name, virtual_router_name, peering_name, parameters, custom_headers=None, raw=False, **operation_config): - """Updates a Virtual Router Peering. - - :param resource_group_name: The resource group name of the Virtual - Router Peering. - :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 being - updated. - :type peering_name: str - :param parameters: Parameters supplied to update Virtual Router - Peering operation. - :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: VirtualRouterPeering or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` - """ - # Construct URL - url = self.update.metadata['url'] - 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'), - 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str'), - 'peeringName': self._serialize.url("peering_name", peering_name, 'str') - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'VirtualRouterPeering') - - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('VirtualRouterPeering', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}'} - def _create_or_update_initial( self, resource_group_name, virtual_router_name, peering_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -322,7 +249,7 @@ def create_or_update( :param parameters: Parameters supplied to the create or update Virtual Router Peering operation. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering + ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -331,11 +258,11 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualRouterPeering or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -380,9 +307,9 @@ def list( overrides`. :return: An iterator like instance of VirtualRouterPeering :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeeringPaged[~azure.mgmt.network.v2019_07_01.models.VirtualRouterPeering] + ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeeringPaged[~azure.mgmt.network.v2020_05_01.models.VirtualRouterPeering] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_routers_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_routers_operations.py similarity index 81% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_routers_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_routers_operations.py index 0645b529453..5e2c303bd06 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_routers_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_routers_operations.py @@ -26,7 +26,7 @@ class VirtualRoutersOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +36,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -94,7 +94,7 @@ def delete( :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -134,10 +134,10 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualRouter or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualRouter or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualRouter or ~msrest.pipeline.ClientRawResponse :raises: - :class:`ErrorException` + :class:`ErrorException` """ # Construct URL url = self.get.metadata['url'] @@ -182,76 +182,6 @@ def get( return deserialized get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} - def update( - self, resource_group_name, virtual_router_name, tags=None, custom_headers=None, raw=False, **operation_config): - """Updates a Virtual Router. - - :param resource_group_name: The resource group name of the Virtual - Router. - :type resource_group_name: str - :param virtual_router_name: The name of the Virtual Router being - updated. - :type virtual_router_name: str - :param tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: returns the direct response alongside the - deserialized response - :param operation_config: :ref:`Operation configuration - overrides`. - :return: VirtualRouter or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualRouter or - ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` - """ - parameters = models.TagsObject(tags=tags) - - # Construct URL - url = self.update.metadata['url'] - 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'), - 'virtualRouterName': self._serialize.url("virtual_router_name", virtual_router_name, 'str') - } - url = self._client.format_url(url, **path_format_arguments) - - # Construct parameters - query_parameters = {} - query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') - - # Construct headers - header_parameters = {} - header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' - if self.config.generate_client_request_id: - header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) - if custom_headers: - header_parameters.update(custom_headers) - if self.config.accept_language is not None: - header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') - - # Construct body - body_content = self._serialize.body(parameters, 'TagsObject') - - # Construct and send request - request = self._client.patch(url, query_parameters, header_parameters, body_content) - response = self._client.send(request, stream=False, **operation_config) - - if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) - - deserialized = None - if response.status_code == 200: - deserialized = self._deserialize('VirtualRouter', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}'} - def _create_or_update_initial( self, resource_group_name, virtual_router_name, parameters, custom_headers=None, raw=False, **operation_config): @@ -312,7 +242,7 @@ def create_or_update( :type virtual_router_name: str :param parameters: Parameters supplied to the create or update Virtual Router. - :type parameters: ~azure.mgmt.network.v2019_07_01.models.VirtualRouter + :type parameters: ~azure.mgmt.network.v2020_05_01.models.VirtualRouter :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -321,11 +251,11 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualRouter or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualRouter] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualRouter] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualRouter]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualRouter]] :raises: - :class:`ErrorException` + :class:`ErrorException` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -367,9 +297,9 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VirtualRouter :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPaged[~azure.mgmt.network.v2019_07_01.models.VirtualRouter] + ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPaged[~azure.mgmt.network.v2020_05_01.models.VirtualRouter] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: @@ -433,9 +363,9 @@ def list( overrides`. :return: An iterator like instance of VirtualRouter :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualRouterPaged[~azure.mgmt.network.v2019_07_01.models.VirtualRouter] + ~azure.mgmt.network.v2020_05_01.models.VirtualRouterPaged[~azure.mgmt.network.v2020_05_01.models.VirtualRouter] :raises: - :class:`ErrorException` + :class:`ErrorException` """ def prepare_request(next_link=None): if not next_link: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_wans_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_wans_operations.py similarity index 85% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_wans_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_wans_operations.py index e9b70a1cb5b..3ea577b691e 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_virtual_wans_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_virtual_wans_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling @@ -26,7 +27,7 @@ class VirtualWansOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,10 +55,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VirtualWAN or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VirtualWAN or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWAN or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -87,7 +87,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -135,7 +137,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -163,7 +167,7 @@ def create_or_update( :param wan_parameters: Parameters supplied to create or update VirtualWAN. :type wan_parameters: - ~azure.mgmt.network.v2019_07_01.models.VirtualWAN + ~azure.mgmt.network.v2020_05_01.models.VirtualWAN :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -172,11 +176,10 @@ def create_or_update( :return: An instance of LROPoller that returns VirtualWAN or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualWAN] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VirtualWAN] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualWAN]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VirtualWAN]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -205,9 +208,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, virtual_wan_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VirtualWAN or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VirtualWAN or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ wan_parameters = models.TagsObject(tags=tags) # Construct URL @@ -241,71 +261,20 @@ def _update_tags_initial( request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VirtualWAN', response) - if response.status_code == 201: - deserialized = self._deserialize('VirtualWAN', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, virtual_wan_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VirtualWAN or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VirtualWAN] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VirtualWAN]] - :raises: - :class:`ErrorException` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - virtual_wan_name=virtual_wan_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VirtualWAN', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}'} @@ -338,7 +307,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -361,8 +332,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -399,9 +369,8 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VirtualWAN :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualWANPaged[~azure.mgmt.network.v2019_07_01.models.VirtualWAN] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VirtualWANPaged[~azure.mgmt.network.v2020_05_01.models.VirtualWAN] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -441,7 +410,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -465,9 +436,8 @@ def list( overrides`. :return: An iterator like instance of VirtualWAN :rtype: - ~azure.mgmt.network.v2019_07_01.models.VirtualWANPaged[~azure.mgmt.network.v2019_07_01.models.VirtualWAN] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VirtualWANPaged[~azure.mgmt.network.v2020_05_01.models.VirtualWAN] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -506,7 +476,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_connections_operations.py similarity index 92% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_connections_operations.py index f5883e6b202..8470e1c4a65 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_connections_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling @@ -26,7 +27,7 @@ class VpnConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,10 +57,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VpnConnection or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VpnConnection or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnConnection or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -90,7 +90,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -139,7 +141,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -168,7 +172,7 @@ def create_or_update( :param vpn_connection_parameters: Parameters supplied to create or Update a VPN Connection. :type vpn_connection_parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnConnection + ~azure.mgmt.network.v2020_05_01.models.VpnConnection :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -177,11 +181,10 @@ def create_or_update( :return: An instance of LROPoller that returns VpnConnection or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnConnection] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnConnection] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnConnection]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnConnection]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -242,7 +245,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -267,8 +272,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -308,9 +312,8 @@ def list_by_vpn_gateway( overrides`. :return: An iterator like instance of VpnConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnConnectionPaged[~azure.mgmt.network.v2019_07_01.models.VpnConnection] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnConnectionPaged[~azure.mgmt.network.v2020_05_01.models.VpnConnection] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -351,7 +354,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_gateways_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_gateways_operations.py similarity index 86% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_gateways_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_gateways_operations.py index 322091b2952..74b00aef966 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_gateways_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_gateways_operations.py @@ -27,7 +27,7 @@ class VpnGatewaysOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -55,10 +55,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VpnGateway or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VpnGateway or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnGateway or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -88,7 +87,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -136,7 +137,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -163,7 +166,7 @@ def create_or_update( :param vpn_gateway_parameters: Parameters supplied to create or Update a virtual wan vpn gateway. :type vpn_gateway_parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnGateway + ~azure.mgmt.network.v2020_05_01.models.VpnGateway :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -172,11 +175,10 @@ def create_or_update( :return: An instance of LROPoller that returns VpnGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnGateway]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnGateway]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -205,9 +207,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, gateway_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VpnGateway or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnGateway or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ vpn_gateway_parameters = models.TagsObject(tags=tags) # Construct URL @@ -241,71 +260,20 @@ def _update_tags_initial( request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VpnGateway', response) - if response.status_code == 201: - deserialized = self._deserialize('VpnGateway', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, gateway_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VpnGateway or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnGateway] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnGateway]] - :raises: - :class:`ErrorException` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - gateway_name=gateway_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VpnGateway', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}'} @@ -338,7 +306,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -361,8 +331,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -448,9 +417,9 @@ def reset( :return: An instance of LROPoller that returns VpnGateway or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnGateway] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnGateway] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnGateway]] + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnGateway]] :raises: :class:`CloudError` """ raw_result = self._reset_initial( @@ -492,9 +461,8 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VpnGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnGatewayPaged[~azure.mgmt.network.v2019_07_01.models.VpnGateway] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnGatewayPaged[~azure.mgmt.network.v2020_05_01.models.VpnGateway] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -534,7 +502,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -558,9 +528,8 @@ def list( overrides`. :return: An iterator like instance of VpnGateway :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnGatewayPaged[~azure.mgmt.network.v2019_07_01.models.VpnGateway] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnGatewayPaged[~azure.mgmt.network.v2020_05_01.models.VpnGateway] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -599,7 +568,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_link_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_link_connections_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_link_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_link_connections_operations.py index 01067c97a94..7758046d4fe 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_link_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_link_connections_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from .. import models @@ -24,7 +25,7 @@ class VpnLinkConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -34,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,9 +57,8 @@ def list_by_vpn_connection( overrides`. :return: An iterator like instance of VpnSiteLinkConnection :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnSiteLinkConnectionPaged[~azure.mgmt.network.v2019_07_01.models.VpnSiteLinkConnection] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnSiteLinkConnectionPaged[~azure.mgmt.network.v2020_05_01.models.VpnSiteLinkConnection] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -100,7 +100,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py new file mode 100644 index 00000000000..701af0fa62b --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_associated_with_virtual_wan_operations.py @@ -0,0 +1,138 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VpnServerConfigurationsAssociatedWithVirtualWanOperations(object): + """VpnServerConfigurationsAssociatedWithVirtualWanOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + + def _list_initial( + self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfigurationsResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def list( + self, resource_group_name, virtual_wan_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns + VpnServerConfigurationsResponse or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigurationsResponse] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnServerConfigurationsResponse]] + :raises: :class:`CloudError` + """ + raw_result = self._list_initial( + resource_group_name=resource_group_name, + virtual_wan_name=virtual_wan_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('VpnServerConfigurationsResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'location'}, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_operations.py new file mode 100644 index 00000000000..05ab736c445 --- /dev/null +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_server_configurations_operations.py @@ -0,0 +1,500 @@ +# 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 uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VpnServerConfigurationsOperations(object): + """VpnServerConfigurationsOperations operations. + + You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Client API version. Constant value: "2020-05-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2020-05-01" + + self.config = config + + def get( + self, resource_group_name, vpn_server_configuration_name, custom_headers=None, raw=False, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VpnServerConfiguration or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} + + + def _create_or_update_initial( + self, resource_group_name, vpn_server_configuration_name, vpn_server_configuration_parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(vpn_server_configuration_parameters, 'VpnServerConfiguration') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfiguration', response) + if response.status_code == 201: + deserialized = self._deserialize('VpnServerConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group_name, vpn_server_configuration_name, vpn_server_configuration_parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """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.v2020_05_01.models.VpnServerConfiguration + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns VpnServerConfiguration + or ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration]] + :raises: :class:`CloudError` + """ + 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, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('VpnServerConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} + + def update_tags( + self, resource_group_name, vpn_server_configuration_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VpnServerConfiguration or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + vpn_server_configuration_parameters = models.TagsObject(tags=tags) + + # Construct URL + url = self.update_tags.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(vpn_server_configuration_parameters, 'TagsObject') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('VpnServerConfiguration', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} + + + def _delete_initial( + self, resource_group_name, vpn_server_configuration_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, vpn_server_configuration_name, custom_headers=None, raw=False, polling=True, **operation_config): + """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 + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + vpn_server_configuration_name=vpn_server_configuration_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Lists all the vpnServerConfigurations in a resource group. + + :param resource_group_name: The resource group name of the + VpnServerConfiguration. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of VpnServerConfiguration + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VpnServerConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.VpnServerConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists all the VpnServerConfigurations in a subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of VpnServerConfiguration + :rtype: + ~azure.mgmt.network.v2020_05_01.models.VpnServerConfigurationPaged[~azure.mgmt.network.v2020_05_01.models.VpnServerConfiguration] + :raises: :class:`CloudError` + """ + def prepare_request(next_link=None): + if not next_link: + # Construct URL + url = self.list.metadata['url'] + 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 = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + return request + + def internal_paging(next_link=None): + request = prepare_request(next_link) + + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + header_dict = None + if raw: + header_dict = {} + deserialized = models.VpnServerConfigurationPaged(internal_paging, self._deserialize.dependencies, header_dict) + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations'} diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_link_connections_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_link_connections_operations.py similarity index 91% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_link_connections_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_link_connections_operations.py index 6773b29584b..1fa08146d15 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_link_connections_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_link_connections_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from .. import models @@ -24,7 +25,7 @@ class VpnSiteLinkConnectionsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -34,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -56,10 +57,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VpnSiteLinkConnection or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VpnSiteLinkConnection + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnSiteLinkConnection or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -91,7 +91,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_links_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_links_operations.py similarity index 90% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_links_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_links_operations.py index 07d6777a6c9..2df5b76b808 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_site_links_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_site_links_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from .. import models @@ -24,7 +25,7 @@ class VpnSiteLinksOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -34,7 +35,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -55,10 +56,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VpnSiteLink or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VpnSiteLink or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnSiteLink or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -89,7 +89,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -117,9 +119,8 @@ def list_by_vpn_site( overrides`. :return: An iterator like instance of VpnSiteLink :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnSiteLinkPaged[~azure.mgmt.network.v2019_07_01.models.VpnSiteLink] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnSiteLinkPaged[~azure.mgmt.network.v2020_05_01.models.VpnSiteLink] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -160,7 +161,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_configuration_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_configuration_operations.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_configuration_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_configuration_operations.py index 9a4c0d62811..031b6401097 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_configuration_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_configuration_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling @@ -26,7 +27,7 @@ class VpnSitesConfigurationOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -76,7 +77,9 @@ def _download_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -107,8 +110,7 @@ def download( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._download_initial( resource_group_name=resource_group_name, diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_operations.py similarity index 85% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_operations.py index 4f140c87ea3..07f94a8cbe5 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_vpn_sites_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_vpn_sites_operations.py @@ -11,6 +11,7 @@ import uuid from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError from msrest.polling import LROPoller, NoPolling from msrestazure.polling.arm_polling import ARMPolling @@ -26,7 +27,7 @@ class VpnSitesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -36,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,10 +55,9 @@ def get( :param operation_config: :ref:`Operation configuration overrides`. :return: VpnSite or ClientRawResponse if raw=true - :rtype: ~azure.mgmt.network.v2019_07_01.models.VpnSite or + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnSite or ~msrest.pipeline.ClientRawResponse - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ # Construct URL url = self.get.metadata['url'] @@ -87,7 +87,9 @@ def get( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None if response.status_code == 200: @@ -135,7 +137,9 @@ def _create_or_update_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None @@ -163,7 +167,7 @@ def create_or_update( :param vpn_site_parameters: Parameters supplied to create or update VpnSite. :type vpn_site_parameters: - ~azure.mgmt.network.v2019_07_01.models.VpnSite + ~azure.mgmt.network.v2020_05_01.models.VpnSite :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -172,11 +176,10 @@ def create_or_update( :return: An instance of LROPoller that returns VpnSite or ClientRawResponse if raw==True :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnSite] + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2020_05_01.models.VpnSite] or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnSite]] - :raises: - :class:`ErrorException` + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2020_05_01.models.VpnSite]] + :raises: :class:`CloudError` """ raw_result = self._create_or_update_initial( resource_group_name=resource_group_name, @@ -205,9 +208,26 @@ def get_long_running_output(response): return LROPoller(self._client, raw_result, get_long_running_output, polling_method) create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} - - def _update_tags_initial( + def update_tags( self, resource_group_name, vpn_site_name, tags=None, custom_headers=None, raw=False, **operation_config): + """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 tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: VpnSite or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.network.v2020_05_01.models.VpnSite or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ vpn_site_parameters = models.TagsObject(tags=tags) # Construct URL @@ -241,71 +261,20 @@ def _update_tags_initial( request = self._client.patch(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200, 201]: - raise models.ErrorException(self._deserialize, response) + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp deserialized = None - if response.status_code == 200: deserialized = self._deserialize('VpnSite', response) - if response.status_code == 201: - deserialized = self._deserialize('VpnSite', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) return client_raw_response return deserialized - - def update_tags( - self, resource_group_name, vpn_site_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): - """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 tags: Resource tags. - :type tags: dict[str, str] - :param dict custom_headers: headers that will be added to the request - :param bool raw: The poller return type is ClientRawResponse, the - direct response alongside the deserialized response - :param polling: True for ARMPolling, False for no polling, or a - polling object for personal polling strategy - :return: An instance of LROPoller that returns VpnSite or - ClientRawResponse if raw==True - :rtype: - ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.network.v2019_07_01.models.VpnSite] - or - ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.network.v2019_07_01.models.VpnSite]] - :raises: - :class:`ErrorException` - """ - raw_result = self._update_tags_initial( - resource_group_name=resource_group_name, - vpn_site_name=vpn_site_name, - tags=tags, - custom_headers=custom_headers, - raw=True, - **operation_config - ) - - def get_long_running_output(response): - deserialized = self._deserialize('VpnSite', response) - - if raw: - client_raw_response = ClientRawResponse(deserialized, response) - return client_raw_response - - return deserialized - - lro_delay = operation_config.get( - 'long_running_operation_timeout', - self.config.long_running_operation_timeout) - if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) - elif polling is False: polling_method = NoPolling() - else: polling_method = polling - return LROPoller(self._client, raw_result, get_long_running_output, polling_method) update_tags.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}'} @@ -338,7 +307,9 @@ def _delete_initial( response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200, 202, 204]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp if raw: client_raw_response = ClientRawResponse(None, response) @@ -361,8 +332,7 @@ def delete( ClientRawResponse if raw==True :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] - :raises: - :class:`ErrorException` + :raises: :class:`CloudError` """ raw_result = self._delete_initial( resource_group_name=resource_group_name, @@ -399,9 +369,8 @@ def list_by_resource_group( overrides`. :return: An iterator like instance of VpnSite :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnSitePaged[~azure.mgmt.network.v2019_07_01.models.VpnSite] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnSitePaged[~azure.mgmt.network.v2020_05_01.models.VpnSite] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -441,7 +410,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response @@ -465,9 +436,8 @@ def list( overrides`. :return: An iterator like instance of VpnSite :rtype: - ~azure.mgmt.network.v2019_07_01.models.VpnSitePaged[~azure.mgmt.network.v2019_07_01.models.VpnSite] - :raises: - :class:`ErrorException` + ~azure.mgmt.network.v2020_05_01.models.VpnSitePaged[~azure.mgmt.network.v2020_05_01.models.VpnSite] + :raises: :class:`CloudError` """ def prepare_request(next_link=None): if not next_link: @@ -506,7 +476,9 @@ def internal_paging(next_link=None): response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: - raise models.ErrorException(self._deserialize, response) + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp return response diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_web_application_firewall_policies_operations.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_web_application_firewall_policies_operations.py similarity index 96% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_web_application_firewall_policies_operations.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_web_application_firewall_policies_operations.py index f437ba90ebf..84499987293 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/operations/_web_application_firewall_policies_operations.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/operations/_web_application_firewall_policies_operations.py @@ -27,7 +27,7 @@ class WebApplicationFirewallPoliciesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-07-01". + :ivar api_version: Client API version. Constant value: "2020-05-01". """ models = models @@ -37,7 +37,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-07-01" + self.api_version = "2020-05-01" self.config = config @@ -54,7 +54,7 @@ def list( overrides`. :return: An iterator like instance of WebApplicationFirewallPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicyPaged[~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicy] + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -121,7 +121,7 @@ def list_all( overrides`. :return: An iterator like instance of WebApplicationFirewallPolicy :rtype: - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicyPaged[~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicy] + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicyPaged[~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy] :raises: :class:`CloudError` """ def prepare_request(next_link=None): @@ -191,7 +191,7 @@ def get( overrides`. :return: WebApplicationFirewallPolicy or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicy or + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ @@ -249,7 +249,7 @@ def create_or_update( :type policy_name: str :param parameters: Policy to be created. :type parameters: - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicy + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -257,7 +257,7 @@ def create_or_update( overrides`. :return: WebApplicationFirewallPolicy or ClientRawResponse if raw=true :rtype: - ~azure.mgmt.network.v2019_07_01.models.WebApplicationFirewallPolicy or + ~azure.mgmt.network.v2020_05_01.models.WebApplicationFirewallPolicy or ~msrest.pipeline.ClientRawResponse :raises: :class:`CloudError` """ diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/version.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/version.py similarity index 100% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/v2019_07_01/version.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/v2020_05_01/version.py diff --git a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/version.py b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/version.py similarity index 94% rename from src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/version.py rename to src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/version.py index 99fc271627d..0d352efbf74 100644 --- a/src/azure-firewall/azext_firewall/vendored_sdks/v2019_07_01/version.py +++ b/src/azure-firewall/azext_firewall/vendored_sdks/v2020_05_01/version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "7.0.0" +VERSION = "10.2.0" From cbabe813ef7ea60e6f8e23cb0bcdc7159c88ca15 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 9 Jun 2020 13:36:38 +0800 Subject: [PATCH 2/6] bump version --- .../azext_firewall/_client_factory.py | 4 +- src/azure-firewall/azext_firewall/_params.py | 8 +- src/azure-firewall/azext_firewall/commands.py | 22 +- src/azure-firewall/azext_firewall/custom.py | 279 +- .../test_azure_firewall_policy.yaml | 2298 +++++++++-------- .../latest/test_azure_firewall_scenario.py | 40 +- 6 files changed, 1353 insertions(+), 1298 deletions(-) diff --git a/src/azure-firewall/azext_firewall/_client_factory.py b/src/azure-firewall/azext_firewall/_client_factory.py index 62f712cd674..0e71290236a 100644 --- a/src/azure-firewall/azext_firewall/_client_factory.py +++ b/src/azure-firewall/azext_firewall/_client_factory.py @@ -30,5 +30,5 @@ def cf_firewall_policies(cli_ctx, _): return network_client_policy_factory(cli_ctx).firewall_policies -def cf_firewall_policy_rule_groups(cli_ctx, _): - return network_client_policy_factory(cli_ctx).firewall_policy_rule_groups +def cf_firewall_policy_rule_collection_groups(cli_ctx, _): + return network_client_policy_factory(cli_ctx).firewall_policy_rule_collection_groups diff --git a/src/azure-firewall/azext_firewall/_params.py b/src/azure-firewall/azext_firewall/_params.py index 4a8467bd5ac..bd120001a8d 100644 --- a/src/azure-firewall/azext_firewall/_params.py +++ b/src/azure-firewall/azext_firewall/_params.py @@ -149,12 +149,12 @@ def load_arguments(self, _): with self.argument_context('network firewall policy rule-collection-group') as c: c.argument('firewall_policy_name', options_list=['--policy-name'], help='The name of the Firewall Policy.') - c.argument('rule_group_name', options_list=['--name', '-n'], help='The name of the Firewall Policy Rule Collection Group.') + c.argument('rule_collection_group_name', options_list=['--name', '-n'], help='The name of the Firewall Policy Rule Collection Group.') c.argument('priority', type=int, help='Priority of the Firewall Policy Rule Collection Group') with self.argument_context('network firewall policy rule-collection-group collection') as c: - c.argument('rule_group_name', options_list=['--rule-collection-group-name'], help='The name of the Firewall Policy Rule Collection Group.') - c.argument('rule_name', options_list=['--name', '-n'], help='The name of the collection in Firewall Policy Rule Collection Group.') + c.argument('rule_collection_group_name', options_list=['--rule-collection-group-name'], help='The name of the Firewall Policy Rule Collection Group.') + c.argument('rule_collection_name', options_list=['--name', '-n'], help='The name of the collection in Firewall Policy Rule Collection Group.') c.argument('rule_priority', options_list=['--collection-priority'], type=int, help='The priority of the rule in Firewall Policy Rule Collection Group') c.argument('description', arg_group='Common Rule', help='The description of rule.') c.argument('destination_addresses', arg_group='Common Rule', nargs='+', help="Space-separated list of destination IP addresses.") @@ -176,6 +176,6 @@ def load_arguments(self, _): c.argument('nat_action', options_list=['--action'], arg_type=get_enum_type(['DNAT', 'SNAT']), help='The action type of a rule collection.') with self.argument_context('network firewall policy rule-collection-group collection rule') as c: - c.argument('rule_name', options_list=['--collection-name'], help='The name of the rule collection in Firewall Policy Rule Collection Group.') + c.argument('rule_collection_name', options_list=['--collection-name'], help='The name of the rule collection in Firewall Policy Rule Collection Group.') c.argument('condition_name', options_list=['--name', '-n'], arg_group='Common Rule', help='The name of rule') # endregion diff --git a/src/azure-firewall/azext_firewall/commands.py b/src/azure-firewall/azext_firewall/commands.py index 914bd2db403..7a8e50900a7 100644 --- a/src/azure-firewall/azext_firewall/commands.py +++ b/src/azure-firewall/azext_firewall/commands.py @@ -9,7 +9,7 @@ from .custom import build_af_rule_list, build_af_rule_show, build_af_rule_delete from .profiles import CUSTOM_FIREWALL_POLICY -from ._client_factory import cf_firewalls, cf_firewall_fqdn_tags, cf_firewall_policies, cf_firewall_policy_rule_groups +from ._client_factory import cf_firewalls, cf_firewall_fqdn_tags, cf_firewall_policies, cf_firewall_policy_rule_collection_groups from ._util import ( list_network_resource_property, get_network_resource_property_entry, delete_network_resource_property_entry) @@ -44,8 +44,8 @@ def load_command_table(self, _): ) network_firewall_policy_rule_groups = CliCommandType( - operations_tmpl='azext_firewall.vendored_sdks.v2020_05_01.operations#FirewallPolicyRuleGroupsOperations.{}', - client_factory=cf_firewall_policy_rule_groups, + operations_tmpl='azext_firewall.vendored_sdks.v2020_05_01.operations#FirewallPolicyRuleCollectionGroupsOperations.{}', + client_factory=cf_firewall_policy_rule_collection_groups, resource_type=CUSTOM_FIREWALL_POLICY, min_api='2019-07-01' ) @@ -119,19 +119,19 @@ def load_command_table(self, _): g.generic_update_command('update', custom_func_name='update_azure_firewall_policies') with self.command_group('network firewall policy rule-collection-group', network_firewall_policy_rule_groups, resource_type=CUSTOM_FIREWALL_POLICY, is_preview=True) as g: - g.custom_command('create', 'create_azure_firewall_policy_rule_group') - g.generic_update_command('update', custom_func_name='update_azure_firewall_policy_rule_group') + g.custom_command('create', 'create_azure_firewall_policy_rule_collection_group') + g.generic_update_command('update', custom_func_name='update_azure_firewall_policy_rule_collection_group') g.command('delete', 'delete') g.show_command('show') g.command('list', 'list') with self.command_group('network firewall policy rule-collection-group collection', network_firewall_policy_rule_groups, resource_type=CUSTOM_FIREWALL_POLICY, is_preview=True) as g: - g.custom_command('add-nat-collection', 'add_azure_firewall_policy_nat_rule') - g.custom_command('add-filter-collection', 'add_azure_firewall_policy_filter_rule') - g.custom_command('remove', 'remove_azure_firewall_policy_rule') - g.custom_command('list', 'list_azure_firewall_policy_rule') + g.custom_command('add-nat-collection', 'add_azure_firewall_policy_nat_rule_collection') + g.custom_command('add-filter-collection', 'add_azure_firewall_policy_filter_rule_collection') + g.custom_command('remove', 'remove_azure_firewall_policy_rule_collection') + g.custom_command('list', 'list_azure_firewall_policy_rule_collection') with self.command_group('network firewall policy rule-collection-group collection rule', network_firewall_policy_rule_groups, resource_type=CUSTOM_FIREWALL_POLICY, is_preview=True) as g: - g.custom_command('add', 'add_azure_firewall_policy_filter_rule_condition') - g.custom_command('remove', 'remove_azure_firewall_policy_filter_rule_condition') + g.custom_command('add', 'add_azure_firewall_policy_filter_rule') + g.custom_command('remove', 'remove_azure_firewall_policy_filter_rule') # endregion diff --git a/src/azure-firewall/azext_firewall/custom.py b/src/azure-firewall/azext_firewall/custom.py index 3a1e8451096..b6eef2e4059 100644 --- a/src/azure-firewall/azext_firewall/custom.py +++ b/src/azure-firewall/azext_firewall/custom.py @@ -438,18 +438,16 @@ def list_azure_firewall_policies(cmd, resource_group_name=None): return client.list_all() -def create_azure_firewall_policy_rule_group(cmd, resource_group_name, firewall_policy_name, rule_group_name, - priority, location=None, tags=None): +def create_azure_firewall_policy_rule_collection_group(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, priority): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups FirewallPolicyRuleCollectionGroup = cmd.get_models('FirewallPolicyRuleCollectionGroup') rule_group = FirewallPolicyRuleCollectionGroup(priority=priority, - location=location, - tags=tags, - name=rule_group_name) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) + name=rule_collection_group_name) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_group) -def update_azure_firewall_policy_rule_group(instance, priority=None, tags=None): +def update_azure_firewall_policy_rule_collection_group(instance, priority=None, tags=None): if tags is not None: instance.tags = tags if priority is not None: @@ -457,159 +455,164 @@ def update_azure_firewall_policy_rule_group(instance, priority=None, tags=None): return instance -def add_azure_firewall_policy_nat_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name, rule_name, - rule_priority, translated_address=None, translated_port=None, nat_action=None, - condition_name=None, description=None, ip_protocols=None, source_addresses=None, - destination_addresses=None, destination_ports=None): +def add_azure_firewall_policy_nat_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, + rule_collection_name, rule_priority, translated_address=None, + translated_port=None, nat_action=None, + condition_name=None, description=None, ip_protocols=None, + source_addresses=None, destination_addresses=None, + destination_ports=None, source_ip_groups=None): FirewallPolicyNatRuleCollection, FirewallPolicyNatRuleCollectionAction, \ - NetworkRule, FirewallPolicyRuleNetworkProtocol = \ + NatRule, FirewallPolicyRuleNetworkProtocol = \ cmd.get_models('FirewallPolicyNatRuleCollection', 'FirewallPolicyNatRuleCollectionAction', - 'NetworkRule', 'FirewallPolicyRuleNetworkProtocol') + 'NatRule', 'FirewallPolicyRuleNetworkProtocol') client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) ip_protocols = list(map(FirewallPolicyRuleNetworkProtocol, ip_protocols)) - rule_condition = NetworkRule(name=condition_name, - description=description, - rule_type="NetworkRule", - ip_protocols=ip_protocols, - source_addresses=source_addresses, - destination_addresses=destination_addresses, - destination_ports=destination_ports) - nat_rule = FirewallPolicyNatRuleCollection(name=rule_name, - priority=rule_priority, - rule_collection_type="FirewallPolicyNatRuleCollection", - translated_address=translated_address, - translated_port=translated_port, - action=FirewallPolicyNatRuleCollectionAction(type=nat_action), - rules=rule_condition) - rule_group.rules.append(nat_rule) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) + nat_rule = NatRule(name=condition_name, + description=description, + rule_type="NatRule", + ip_protocols=ip_protocols, + source_addresses=source_addresses, + destination_addresses=destination_addresses, + destination_ports=destination_ports, + translated_address = translated_address, + translated_port = translated_port, + source_ip_groups=source_ip_groups) + nat_rule_collection = FirewallPolicyNatRuleCollection(name=rule_collection_name, + priority=rule_priority, + rule_collection_type="FirewallPolicyNatRuleCollection", + action=FirewallPolicyNatRuleCollectionAction( + type=nat_action + ), + rules=[nat_rule]) + rule_collection_group.rule_collections.append(nat_rule_collection) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) # pylint: disable=too-many-locals -def add_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name, rule_name, - rule_priority, filter_action=None, condition_name=None, - condition_type=None, description=None, ip_protocols=None, - source_addresses=None, destination_addresses=None, destination_ports=None, - protocols=None, fqdn_tags=None, target_fqdns=None): - NetworkRule, FirewallPolicyRuleConditionApplicationProtocol,\ - ApplicationRuleCondition, FirewallPolicyFilterRuleAction, FirewallPolicyFilterRule =\ - cmd.get_models('NetworkRule', 'FirewallPolicyRuleConditionApplicationProtocol', - 'ApplicationRuleCondition', 'FirewallPolicyFilterRuleAction', 'FirewallPolicyFilterRule') +def add_azure_firewall_policy_filter_rule_collection(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_name, + rule_priority, filter_action=None, condition_name=None, + condition_type=None, description=None, ip_protocols=None, + source_addresses=None, destination_addresses=None, + destination_ports=None, + protocols=None, fqdn_tags=None, target_fqdns=None): + NetworkRule, FirewallPolicyRuleApplicationProtocol,\ + ApplicationRule, FirewallPolicyFilterRuleCollectionAction, FirewallPolicyFilterRuleCollection =\ + cmd.get_models('NetworkRule', 'FirewallPolicyRuleApplicationProtocol', + 'ApplicationRule', 'FirewallPolicyFilterRuleCollectionAction', 'FirewallPolicyFilterRuleCollection') client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - rule_condition = None + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) + rule = None if condition_type == "NetworkRule": - rule_condition = NetworkRule(name=condition_name, - description=description, - rule_condition_type=condition_type, - ip_protocols=ip_protocols, - source_addresses=source_addresses, - destination_addresses=destination_addresses, - destination_ports=destination_ports) + rule = NetworkRule(name=condition_name, + description=description, + rule_type=condition_type, + ip_protocols=ip_protocols, + source_addresses=source_addresses, + destination_addresses=destination_addresses, + destination_ports=destination_ports) else: - def map_application_condition_protocol(item): - return FirewallPolicyRuleConditionApplicationProtocol(protocol_type=item['protocol_type'], - port=int(item['port'])) - protocols = list(map(map_application_condition_protocol, protocols)) - rule_condition = ApplicationRuleCondition(name=condition_name, - description=description, - rule_condition_type=condition_type, - source_addresses=source_addresses, - protocols=protocols, - destination_addresses=destination_addresses, - destination_ports=destination_ports, - fqdn_tags=fqdn_tags, - target_fqdns=target_fqdns) - filter_rule = FirewallPolicyFilterRule(name=rule_name, - priority=rule_priority, - rule_type="FirewallPolicyFilterRule", - action=FirewallPolicyFilterRuleAction(type=filter_action), - rule_conditions=[rule_condition]) - rule_group.rules.append(filter_rule) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) - - -def remove_azure_firewall_policy_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name, rule_name): + def map_application_rule_protocol(item): + return FirewallPolicyRuleApplicationProtocol(protocol_type=item['protocol_type'], + port=int(item['port'])) + protocols = list(map(map_application_rule_protocol, protocols)) + rule = ApplicationRule(name=condition_name, + description=description, + rule_type=condition_type, + source_addresses=source_addresses, + protocols=protocols, + destination_addresses=destination_addresses, + destination_ports=destination_ports, + fqdn_tags=fqdn_tags, + target_fqdns=target_fqdns) + filter_rule_collection = FirewallPolicyFilterRuleCollection(name=rule_collection_name, + priority=rule_priority, + rule_collection_type="FirewallPolicyFilterRule", + action=FirewallPolicyFilterRuleCollectionAction( + type=filter_action + ), + rules=[rule]) + rule_collection_group.rule_collections.append(filter_rule_collection) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + + +def remove_azure_firewall_policy_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - for rule in rule_group.rules: - if rule.name == rule_name: - rule_group.rules.remove(rule) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) + for rule_collection in rule_collection_group.rule_collections: + if rule_collection.name == rule_collection_name: + rule_collection_group.rule_collections.remove(rule_collection) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) -def list_azure_firewall_policy_rule(cmd, resource_group_name, firewall_policy_name, rule_group_name): +def list_azure_firewall_policy_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - return rule_group.rules + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) + return rule_collection_group.rule_collections # pylint: disable=too-many-locals -def add_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, firewall_policy_name, rule_group_name, - rule_name, condition_name, condition_type, - description=None, ip_protocols=None, source_addresses=None, - destination_addresses=None, destination_ports=None, - protocols=None, fqdn_tags=None, target_fqdns=None): - NetworkRule, FirewallPolicyRuleConditionApplicationProtocol, ApplicationRuleCondition = \ - cmd.get_models('NetworkRule', 'FirewallPolicyRuleConditionApplicationProtocol', - 'ApplicationRuleCondition') +def add_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, + rule_collection_name, condition_name, condition_type, + description=None, ip_protocols=None, source_addresses=None, + destination_addresses=None, destination_ports=None, + protocols=None, fqdn_tags=None, target_fqdns=None): + NetworkRule, FirewallPolicyRuleApplicationProtocol, ApplicationRule = \ + cmd.get_models('NetworkRule', 'FirewallPolicyRuleApplicationProtocol', + 'ApplicationRule') client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - target_rule = None - for rule in rule_group.rules: - if rule.name == rule_name: - target_rule = rule + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) + target_rule_collection = None + for rule_collection in rule_collection_group.rule_collections: + if rule_collection.name == rule_collection_name: + target_rule_collection = rule_collection - if target_rule is None: + if target_rule_collection is None: raise CLIError("Cannot find corresponding rule.") - if target_rule.rule_type == "FirewallPolicyNatRuleCollection": - raise CLIError("Only FirewallPolicyFilterRule can support multiple conditions.") - rule_condition = None + rule = None if condition_type == "NetworkRule": - rule_condition = NetworkRule(name=condition_name, - description=description, - rule_condition_type=condition_type, - ip_protocols=ip_protocols, - source_addresses=source_addresses, - destination_addresses=destination_addresses, - destination_ports=destination_ports) + rule = NetworkRule(name=condition_name, + description=description, + rule_condition_type=condition_type, + ip_protocols=ip_protocols, + source_addresses=source_addresses, + destination_addresses=destination_addresses, + destination_ports=destination_ports) else: - def map_application_condition_protocol(item): - return FirewallPolicyRuleConditionApplicationProtocol(protocol_type=item['protocol_type'], - port=int(item['port'])) - - protocols = list(map(map_application_condition_protocol, protocols)) - rule_condition = ApplicationRuleCondition(name=condition_name, - description=description, - rule_condition_type=condition_type, - source_addresses=source_addresses, - protocols=protocols, - destination_addresses=destination_addresses, - destination_ports=destination_ports, - fqdn_tags=fqdn_tags, - target_fqdns=target_fqdns) - target_rule.rule_conditions.append(rule_condition) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) - - -def remove_azure_firewall_policy_filter_rule_condition(cmd, resource_group_name, firewall_policy_name, rule_group_name, - rule_name, condition_name): + def map_application_rule_protocol(item): + return FirewallPolicyRuleApplicationProtocol(protocol_type=item['protocol_type'], + port=int(item['port'])) + + protocols = list(map(map_application_rule_protocol, protocols)) + rule = ApplicationRule(name=condition_name, + description=description, + rule_condition_type=condition_type, + source_addresses=source_addresses, + protocols=protocols, + destination_addresses=destination_addresses, + destination_ports=destination_ports, + fqdn_tags=fqdn_tags, + target_fqdns=target_fqdns) + target_rule_collection.rules.append(rule) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + + +def remove_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, + rule_collection_name, condition_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups - rule_group = client.get(resource_group_name, firewall_policy_name, rule_group_name) - target_rule = None - for rule in rule_group.rules: - if rule.name == rule_name: - target_rule = rule - - if target_rule is None: - raise CLIError("Cannot find corresponding rule.") - - if target_rule.rule_type == "FirewallPolicyNatRuleCollection": - raise CLIError("Only FirewallPolicyFilterRule can support multiple conditions") - for condition in target_rule.rule_conditions: - if condition.name == condition_name: - target_rule.rule_conditions.remove(condition) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_group_name, rule_group) + rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) + target_rule_collection = None + for rule_collection in rule_collection_group.rule_collections: + if rule_collection.name == rule_collection_name: + target_rule_collection = rule_collection + + if target_rule_collection is None: + raise CLIError("Cannot find corresponding rule collection.") + + for rule in target_rule_collection.rules: + if rule.name == condition_name: + target_rule_collection.rules.remove(rule) + return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) # endregion diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_policy.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_policy.yaml index 0a692f35f60..08194fae506 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_policy.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_policy.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"location": "westcentralus"}' + body: '{"location": "eastus2euap"}' headers: Accept: - application/json @@ -11,36 +11,36 @@ interactions: Connection: - keep-alive Content-Length: - - '29' + - '27' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/d4e9ae35-443e-4cfb-aaa3-932f82aab68d?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/0da26542-dc17-4637-885c-1b8c9061fa68?api-version=2020-05-01 cache-control: - no-cache content-length: - - '539' + - '547' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:25 GMT + - Tue, 09 Jun 2020 05:26:33 GMT expires: - '-1' pragma: @@ -52,7 +52,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -70,10 +70,10 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/d4e9ae35-443e-4cfb-aaa3-932f82aab68d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/0da26542-dc17-4637-885c-1b8c9061fa68?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:36 GMT + - Tue, 09 Jun 2020 05:26:46 GMT expires: - '-1' pragma: @@ -117,26 +117,26 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '540' + - '548' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:37 GMT + - Tue, 09 Jun 2020 05:26:47 GMT expires: - '-1' pragma: @@ -168,28 +168,28 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '540' + - '548' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:41 GMT + - Tue, 09 Jun 2020 05:26:49 GMT expires: - '-1' pragma: @@ -221,30 +221,30 @@ interactions: ParameterSetName: - -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies?api-version=2020-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"threatIntelMode\": - \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n - \ \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n + \"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/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": - \"westcentralus\"\r\n }\r\n ]\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": + \"eastus2euap\"\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '621' + - '629' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:43 GMT + - Tue, 09 Jun 2020 05:26:51 GMT expires: - '-1' pragma: @@ -274,30 +274,30 @@ interactions: Connection: - keep-alive User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/firewallPolicies?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/firewallPolicies?api-version=2020-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"threatIntelMode\": - \"Alert\",\r\n \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n - \ \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n + \"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/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": - \"westcentralus\"\r\n }\r\n ]\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": + \"eastus2euap\"\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '621' + - '629' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:45 GMT + - Tue, 09 Jun 2020 05:26:53 GMT expires: - '-1' pragma: @@ -329,28 +329,28 @@ interactions: ParameterSetName: - -g -n --threat-intel-mode User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"2807a7a3-abab-49c0-9cfe-761ffb1d3403\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"7ff4f972-a446-4b89-9d91-345e1a8523b0\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '540' + - '548' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:47 GMT + - Tue, 09 Jun 2020 05:26:55 GMT expires: - '-1' pragma: @@ -370,8 +370,7 @@ interactions: message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy", - "location": "westcentralus", "properties": {"provisioningState": "Succeeded", - "threatIntelMode": "Deny"}}''' + "location": "eastus2euap", "properties": {"threatIntelMode": "Deny"}}''' headers: Accept: - application/json @@ -382,36 +381,36 @@ interactions: Connection: - keep-alive Content-Length: - - '315' + - '279' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n --threat-intel-mode User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Deny\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"5ea0bff0-12d9-458f-8974-ac57f2fb5fb3\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"5c8a768b-3a07-4a74-8973-875cab747a17\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8eca045d-097d-4bc8-bcb1-dae6b671c46f?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/e6496a84-40cd-4e65-b242-9cea2c0e0309?api-version=2020-05-01 cache-control: - no-cache content-length: - - '538' + - '546' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:07:49 GMT + - Tue, 09 Jun 2020 05:26:57 GMT expires: - '-1' pragma: @@ -427,7 +426,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -445,10 +444,10 @@ interactions: ParameterSetName: - -g -n --threat-intel-mode User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8eca045d-097d-4bc8-bcb1-dae6b671c46f?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/e6496a84-40cd-4e65-b242-9cea2c0e0309?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -460,7 +459,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:00 GMT + - Tue, 09 Jun 2020 05:27:09 GMT expires: - '-1' pragma: @@ -492,26 +491,26 @@ interactions: ParameterSetName: - -g -n --threat-intel-mode User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Deny\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + \ \"childPolicies\": [],\r\n \"ruleCollectionGroups\": [],\r\n \"firewalls\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"5ea0bff0-12d9-458f-8974-ac57f2fb5fb3\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"etag\": \"5c8a768b-3a07-4a74-8973-875cab747a17\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '539' + - '547' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:01 GMT + - Tue, 09 Jun 2020 05:27:10 GMT expires: - '-1' pragma: @@ -529,51 +528,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall policy rule-collection-group create - Connection: - - keep-alive - ParameterSetName: - - -g --priority --policy-name -n - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_policy000001?api-version=2019-07-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001","name":"cli_test_azure_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"westcentralus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-15T14:07:06Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '435' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 15 Jan 2020 14:08:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK - request: body: '{"properties": {"priority": 10000}, "name": "myclirulecollectiongroup"}' headers: @@ -592,29 +546,29 @@ interactions: ParameterSetName: - -g --priority --policy-name -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"593cf47a-efcc-45e7-9af0-982280329004\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"b49740e9-bd07-431a-8a86-6f110b482921\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/18bb7d28-59c2-498d-8c04-33eab3bf6601?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/7a74f8b2-c664-404a-b062-def052748303?api-version=2020-05-01 cache-control: - no-cache content-length: - - '520' + - '548' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:04 GMT + - Tue, 09 Jun 2020 05:27:13 GMT expires: - '-1' pragma: @@ -626,7 +580,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -644,10 +598,10 @@ interactions: ParameterSetName: - -g --priority --policy-name -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/18bb7d28-59c2-498d-8c04-33eab3bf6601?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/7a74f8b2-c664-404a-b062-def052748303?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -659,7 +613,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:15 GMT + - Tue, 09 Jun 2020 05:27:24 GMT expires: - '-1' pragma: @@ -691,25 +645,25 @@ interactions: ParameterSetName: - -g --priority --policy-name -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"593cf47a-efcc-45e7-9af0-982280329004\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"b49740e9-bd07-431a-8a86-6f110b482921\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '521' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:16 GMT + - Tue, 09 Jun 2020 05:27:25 GMT expires: - '-1' pragma: @@ -741,27 +695,27 @@ interactions: ParameterSetName: - -g --policy-name -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"593cf47a-efcc-45e7-9af0-982280329004\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"b49740e9-bd07-431a-8a86-6f110b482921\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '521' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:18 GMT + - Tue, 09 Jun 2020 05:27:26 GMT expires: - '-1' pragma: @@ -793,29 +747,29 @@ interactions: ParameterSetName: - -g --policy-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups?api-version=2020-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"priority\": - 10000,\r\n \"rules\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n - \ },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"593cf47a-efcc-45e7-9af0-982280329004\",\r\n \"location\": - \"westcentralus\"\r\n }\r\n ]\r\n}" + 10000,\r\n \"ruleCollections\": [],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"b49740e9-bd07-431a-8a86-6f110b482921\",\r\n \"location\": + \"eastus2euap\"\r\n }\r\n ]\r\n}" headers: cache-control: - no-cache content-length: - - '594' + - '622' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:19 GMT + - Tue, 09 Jun 2020 05:27:28 GMT expires: - '-1' pragma: @@ -847,27 +801,27 @@ interactions: ParameterSetName: - -g --policy-name -n --priority User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"593cf47a-efcc-45e7-9af0-982280329004\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 10000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"b49740e9-bd07-431a-8a86-6f110b482921\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '521' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:22 GMT + - Tue, 09 Jun 2020 05:27:30 GMT expires: - '-1' pragma: @@ -886,9 +840,8 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [], "provisioningState": "Succeeded"}, - "name": "myclirulecollectiongroup"}''' + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": []}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -899,35 +852,35 @@ interactions: Connection: - keep-alive Content-Length: - - '363' + - '349' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --policy-name -n --priority User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"fb36d0a6-8beb-49db-ae11-efc052811d55\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"24fd3695-27de-4049-b096-ce0503d53818\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/3d77b90e-b64a-4ab7-a890-829239f81abd?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/6a9e4b4f-3be9-4ed2-9cab-6267a1328023?api-version=2020-05-01 cache-control: - no-cache content-length: - - '520' + - '548' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:23 GMT + - Tue, 09 Jun 2020 05:27:34 GMT expires: - '-1' pragma: @@ -943,7 +896,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 200 message: OK @@ -961,10 +914,10 @@ interactions: ParameterSetName: - -g --policy-name -n --priority User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/3d77b90e-b64a-4ab7-a890-829239f81abd?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/6a9e4b4f-3be9-4ed2-9cab-6267a1328023?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -976,7 +929,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:35 GMT + - Tue, 09 Jun 2020 05:27:45 GMT expires: - '-1' pragma: @@ -1008,25 +961,25 @@ interactions: ParameterSetName: - -g --policy-name -n --priority User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"fb36d0a6-8beb-49db-ae11-efc052811d55\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"24fd3695-27de-4049-b096-ce0503d53818\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '521' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:36 GMT + - Tue, 09 Jun 2020 05:27:46 GMT expires: - '-1' pragma: @@ -1060,27 +1013,27 @@ interactions: --rule-name --description --destination-addresses --source-addresses --translated-address --translated-port --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"fb36d0a6-8beb-49db-ae11-efc052811d55\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"24fd3695-27de-4049-b096-ce0503d53818\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '521' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:38 GMT + - Tue, 09 Jun 2020 05:27:47 GMT expires: - '-1' pragma: @@ -1099,14 +1052,14 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "DNAT"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "description": "test", "ruleConditionType": "NetworkRuleCondition", "ipProtocols": - ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}], "provisioningState": - "Succeeded"}, "name": "myclirulecollectiongroup"}''' + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "DNAT"}, "rules": [{"name": "network-rule", "description": + "test", "ruleType": "NatRule", "ipProtocols": ["TCP", "UDP"], "sourceAddresses": + ["202.120.36.13", "202.120.36.14"], "destinationAddresses": ["202.120.36.15"], + "destinationPorts": ["12000", "12001"], "translatedAddress": "128.1.1.1", "translatedPort": + "1234"}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -1117,7 +1070,7 @@ interactions: Connection: - keep-alive Content-Length: - - '813' + - '791' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1125,40 +1078,41 @@ interactions: --rule-name --description --destination-addresses --source-addresses --translated-address --translated-port --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n }\r\n ],\r\n \"provisioningState\": - \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"261fcddb-f7a9-4d8a-95a9-2e0febf1077d\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n }\r\n + \ ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"5c78839a-8c1f-42a4-981a-2d1078ed7bbc\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/e0aff959-8baf-4fea-bdee-1484bf36439b?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/b406e499-d491-41c9-a11d-eb9fdb5e87a4?api-version=2020-05-01 cache-control: - no-cache content-length: - - '1275' + - '1396' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:39 GMT + - Tue, 09 Jun 2020 05:27:50 GMT expires: - '-1' pragma: @@ -1174,7 +1128,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -1194,10 +1148,10 @@ interactions: --rule-name --description --destination-addresses --source-addresses --translated-address --translated-port --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/e0aff959-8baf-4fea-bdee-1484bf36439b?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/b406e499-d491-41c9-a11d-eb9fdb5e87a4?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1209,7 +1163,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:50 GMT + - Tue, 09 Jun 2020 05:28:02 GMT expires: - '-1' pragma: @@ -1243,36 +1197,37 @@ interactions: --rule-name --description --destination-addresses --source-addresses --translated-address --translated-port --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n }\r\n ],\r\n \"provisioningState\": - \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"261fcddb-f7a9-4d8a-95a9-2e0febf1077d\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n }\r\n + \ ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"5c78839a-8c1f-42a4-981a-2d1078ed7bbc\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '1276' + - '1397' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:50 GMT + - Tue, 09 Jun 2020 05:28:02 GMT expires: - '-1' pragma: @@ -1306,38 +1261,39 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n }\r\n ],\r\n \"provisioningState\": - \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"261fcddb-f7a9-4d8a-95a9-2e0febf1077d\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n }\r\n + \ ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"5c78839a-8c1f-42a4-981a-2d1078ed7bbc\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '1276' + - '1397' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:53 GMT + - Tue, 09 Jun 2020 05:28:04 GMT expires: - '-1' pragma: @@ -1356,19 +1312,19 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-1", - "priority": 13000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "network-rule", "description": "test", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["Any", "ICMP"], - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}], "provisioningState": - "Succeeded"}, "name": "myclirulecollectiongroup"}''' + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-1", "priority": 13000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "network-rule", "description": "test", "ruleType": "NetworkRule", + "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}]}, + "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -1379,7 +1335,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1195' + - '1188' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1387,51 +1343,53 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"22b961f2-87df-4b9a-95a7-3389b7f70099\",\r\n \"location\": \"westcentralus\"\r\n}" + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n }\r\n ],\r\n \"provisioningState\": + \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"fe11f1f4-9cd0-42a4-bd0f-97145db4d9bd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/c9c4e8c5-95da-4991-b4d1-f34c11b8ba77?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9caee7cf-c949-427f-b689-61bec8f15f22?api-version=2020-05-01 cache-control: - no-cache content-length: - - '2018' + - '2244' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:08:54 GMT + - Tue, 09 Jun 2020 05:28:07 GMT expires: - '-1' pragma: @@ -1467,10 +1425,10 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/c9c4e8c5-95da-4991-b4d1-f34c11b8ba77?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9caee7cf-c949-427f-b689-61bec8f15f22?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1482,7 +1440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:04 GMT + - Tue, 09 Jun 2020 05:28:19 GMT expires: - '-1' pragma: @@ -1516,47 +1474,49 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"22b961f2-87df-4b9a-95a7-3389b7f70099\",\r\n \"location\": \"westcentralus\"\r\n}" + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n }\r\n ],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"fe11f1f4-9cd0-42a4-bd0f-97145db4d9bd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2019' + - '2245' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:05 GMT + - Tue, 09 Jun 2020 05:28:20 GMT expires: - '-1' pragma: @@ -1590,49 +1550,51 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --protocols --fqdn-tags User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"22b961f2-87df-4b9a-95a7-3389b7f70099\",\r\n \"location\": \"westcentralus\"\r\n}" + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n }\r\n ],\r\n \"provisioningState\": + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"fe11f1f4-9cd0-42a4-bd0f-97145db4d9bd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2019' + - '2245' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:08 GMT + - Tue, 09 Jun 2020 05:28:23 GMT expires: - '-1' pragma: @@ -1651,24 +1613,25 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-1", - "priority": 13000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "network-rule", "ruleConditionType": "NetworkRuleCondition", - "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}, - {"name": "filter-collection-2", "priority": 14000, "ruleType": "FirewallPolicyFilterRule", - "action": {"type": "Allow"}, "ruleConditions": [{"name": "application-rule", - "description": "test", "ruleConditionType": "ApplicationRuleCondition", "sourceAddresses": - ["202.120.36.13", "202.120.36.14"], "destinationAddresses": ["202.120.36.15", - "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": - "Https", "port": 12801}], "fqdnTags": ["AzureBackup", "HDInsight"]}]}], "provisioningState": - "Succeeded"}, "name": "myclirulecollectiongroup"}''' + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-1", "priority": 13000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "network-rule", "ruleType": "NetworkRule", "ipProtocols": ["Any", + "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15"], "destinationPorts": ["12003", "12004"], "sourceIpGroups": + [], "destinationIpGroups": [], "destinationFqdns": []}]}, {"name": "filter-collection-2", + "priority": 14000, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "action": {"type": "Allow"}, "rules": [{"name": "application-rule", "description": + "test", "ruleType": "ApplicationRule", "sourceAddresses": ["202.120.36.13", + "202.120.36.14"], "destinationAddresses": ["202.120.36.15", "202.120.36.16"], + "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": "Https", + "port": 12801}], "fqdnTags": ["AzureBackup", "HDInsight"]}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -1679,7 +1642,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1670' + - '1729' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1687,62 +1650,66 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --protocols --fqdn-tags User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n \ \"priority\": 14000\r\n }\r\n ],\r\n \"provisioningState\": - \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"47aa89d0-b878-49e4-8176-b5b3fb0b0bc2\",\r\n \"location\": \"westcentralus\"\r\n}" + \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"80c73418-86e2-4c44-95a4-d1734fd593dd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/baaaea6e-5a44-4ab5-a3a1-a317973e9d6d?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/d385909c-fdac-4427-be1b-2b2bd6ebe7f4?api-version=2020-05-01 cache-control: - no-cache content-length: - - '2885' + - '3257' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:08 GMT + - Tue, 09 Jun 2020 05:28:26 GMT expires: - '-1' pragma: @@ -1758,7 +1725,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1197' status: code: 200 message: OK @@ -1778,10 +1745,10 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --protocols --fqdn-tags User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/baaaea6e-5a44-4ab5-a3a1-a317973e9d6d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/d385909c-fdac-4427-be1b-2b2bd6ebe7f4?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1793,7 +1760,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:21 GMT + - Tue, 09 Jun 2020 05:28:38 GMT expires: - '-1' pragma: @@ -1827,58 +1794,62 @@ interactions: --rule-name --rule-type --description --destination-addresses --source-addresses --protocols --fqdn-tags User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n \ \"priority\": 14000\r\n }\r\n ],\r\n \"provisioningState\": - \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"47aa89d0-b878-49e4-8176-b5b3fb0b0bc2\",\r\n \"location\": \"westcentralus\"\r\n}" + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"80c73418-86e2-4c44-95a4-d1734fd593dd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2886' + - '3258' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:22 GMT + - Tue, 09 Jun 2020 05:28:39 GMT expires: - '-1' pragma: @@ -1910,60 +1881,64 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n \ \"priority\": 14000\r\n }\r\n ],\r\n \"provisioningState\": - \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"47aa89d0-b878-49e4-8176-b5b3fb0b0bc2\",\r\n \"location\": \"westcentralus\"\r\n}" + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"80c73418-86e2-4c44-95a4-d1734fd593dd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2886' + - '3258' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:25 GMT + - Tue, 09 Jun 2020 05:28:41 GMT expires: - '-1' pragma: @@ -1996,60 +1971,64 @@ interactions: - -g --policy-name --rule-collection-group-name --collection-name --name --rule-type --description --source-addresses --destination-addresses --protocols --target-fqdns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n }\r\n ],\r\n \"name\": \"filter-collection-2\",\r\n \ \"priority\": 14000\r\n }\r\n ],\r\n \"provisioningState\": - \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"47aa89d0-b878-49e4-8176-b5b3fb0b0bc2\",\r\n \"location\": \"westcentralus\"\r\n}" + \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"80c73418-86e2-4c44-95a4-d1734fd593dd\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2886' + - '3258' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:27 GMT + - Tue, 09 Jun 2020 05:28:42 GMT expires: - '-1' pragma: @@ -2068,27 +2047,29 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-1", - "priority": 13000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "network-rule", "ruleConditionType": "NetworkRuleCondition", - "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}, - {"name": "filter-collection-2", "priority": 14000, "ruleType": "FirewallPolicyFilterRule", - "action": {"type": "Allow"}, "ruleConditions": [{"name": "application-rule", - "ruleConditionType": "ApplicationRuleCondition", "sourceAddresses": ["202.120.36.13", - "202.120.36.14"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": - "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": ["AzureBackup", "HDInsight"]}, - {"name": "application-rule-2", "description": "test", "ruleConditionType": "ApplicationRuleCondition", - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-1", "priority": 13000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "network-rule", "ruleType": "NetworkRule", "ipProtocols": ["Any", + "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15"], "destinationPorts": ["12003", "12004"], "sourceIpGroups": + [], "destinationIpGroups": [], "destinationFqdns": []}]}, {"name": "filter-collection-2", + "priority": 14000, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "action": {"type": "Allow"}, "rules": [{"name": "application-rule", "ruleType": + "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": - 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": ["www.bing.com"]}]}], - "provisioningState": "Succeeded"}, "name": "myclirulecollectiongroup"}''' + 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": + ["AzureBackup", "HDInsight"], "sourceIpGroups": []}, {"name": "application-rule-2", + "description": "test", "ruleType": "ApplicationRule", "sourceAddresses": ["202.120.36.13", + "202.120.36.14"], "destinationAddresses": ["202.120.36.15", "202.120.36.16"], + "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": "Https", + "port": 12801}], "targetFqdns": ["www.bing.com"]}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -2099,78 +2080,83 @@ interactions: Connection: - keep-alive Content-Length: - - '1956' + - '2079' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --policy-name --rule-collection-group-name --collection-name --name --rule-type --description --source-addresses --destination-addresses --protocols --target-fqdns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"20d3840a-d2bc-4976-9d2f-1286335cb2ed\",\r\n \"location\": \"westcentralus\"\r\n}" + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"afeb4247-faa9-44c0-a1b0-9cdeb93b1ac9\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/3f723fe0-33d3-411e-9091-1801db090c1d?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9818ffd7-9611-4cbc-aafc-76d64a517310?api-version=2020-05-01 cache-control: - no-cache content-length: - - '3492' + - '3999' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:28 GMT + - Tue, 09 Jun 2020 05:28:45 GMT expires: - '-1' pragma: @@ -2186,7 +2172,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -2205,10 +2191,10 @@ interactions: - -g --policy-name --rule-collection-group-name --collection-name --name --rule-type --description --source-addresses --destination-addresses --protocols --target-fqdns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/3f723fe0-33d3-411e-9091-1801db090c1d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9818ffd7-9611-4cbc-aafc-76d64a517310?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2220,7 +2206,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:40 GMT + - Tue, 09 Jun 2020 05:28:58 GMT expires: - '-1' pragma: @@ -2253,67 +2239,72 @@ interactions: - -g --policy-name --rule-collection-group-name --collection-name --name --rule-type --description --source-addresses --destination-addresses --protocols --target-fqdns User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"20d3840a-d2bc-4976-9d2f-1286335cb2ed\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"afeb4247-faa9-44c0-a1b0-9cdeb93b1ac9\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '3493' + - '4000' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:41 GMT + - Tue, 09 Jun 2020 05:28:59 GMT expires: - '-1' pragma: @@ -2347,69 +2338,74 @@ interactions: --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"20d3840a-d2bc-4976-9d2f-1286335cb2ed\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"afeb4247-faa9-44c0-a1b0-9cdeb93b1ac9\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '3493' + - '4000' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:42 GMT + - Tue, 09 Jun 2020 05:29:02 GMT expires: - '-1' pragma: @@ -2428,30 +2424,32 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-1", "priority": 13000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "network-rule", "ruleType": "NetworkRule", "ipProtocols": ["Any", + "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15"], "destinationPorts": ["12003", "12004"], "sourceIpGroups": + [], "destinationIpGroups": [], "destinationFqdns": []}, {"name": "network-rule-2", + "description": "test", "ruleType": "NetworkRule", "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-1", - "priority": 13000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "network-rule", "ruleConditionType": "NetworkRuleCondition", - "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}, - {"name": "network-rule-2", "description": "test", "ruleConditionType": "NetworkRuleCondition", - "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}, - {"name": "filter-collection-2", "priority": 14000, "ruleType": "FirewallPolicyFilterRule", - "action": {"type": "Allow"}, "ruleConditions": [{"name": "application-rule", - "ruleConditionType": "ApplicationRuleCondition", "sourceAddresses": ["202.120.36.13", - "202.120.36.14"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": - "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": ["AzureBackup", "HDInsight"]}, - {"name": "application-rule-2", "ruleConditionType": "ApplicationRuleCondition", - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "protocols": [{"protocolType": + ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}, {"name": "filter-collection-2", + "priority": 14000, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "action": {"type": "Allow"}, "rules": [{"name": "application-rule", "ruleType": + "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": + 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": + ["AzureBackup", "HDInsight"], "sourceIpGroups": []}, {"name": "application-rule-2", + "ruleType": "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": - ["www.bing.com"], "fqdnTags": []}]}], "provisioningState": "Succeeded"}, "name": - "myclirulecollectiongroup"}''' + ["www.bing.com"], "fqdnTags": [], "sourceIpGroups": []}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -2462,7 +2460,7 @@ interactions: Connection: - keep-alive Content-Length: - - '2155' + - '2342' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -2470,78 +2468,85 @@ interactions: --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n },\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule-2\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n - \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ },\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n + \ \"name\": \"network-rule-2\",\r\n \"ipProtocols\": + [\r\n \"Any\",\r\n \"ICMP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationIpGroups\": [],\r\n \"destinationFqdns\": + [],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n \ \"12004\"\r\n ]\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ },\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": + \"application-rule\",\r\n \"protocols\": [\r\n {\r\n + \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n + \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n + \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": + [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n + \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n - \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n - \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"cfdd4e10-a4ba-4fff-a7e2-0e780c3054b8\",\r\n \"location\": \"westcentralus\"\r\n}" + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"781c6b38-4bba-42f1-af4f-da33899f306e\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/0225217b-fa2e-427f-acfc-6a55fc22c1c3?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/e7850293-59f1-477e-873b-8cacc9b36112?api-version=2020-05-01 cache-control: - no-cache content-length: - - '4002' + - '4603' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:43 GMT + - Tue, 09 Jun 2020 05:29:05 GMT expires: - '-1' pragma: @@ -2557,7 +2562,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1193' status: code: 200 message: OK @@ -2577,10 +2582,10 @@ interactions: --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/0225217b-fa2e-427f-acfc-6a55fc22c1c3?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/e7850293-59f1-477e-873b-8cacc9b36112?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2592,7 +2597,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:55 GMT + - Tue, 09 Jun 2020 05:29:16 GMT expires: - '-1' pragma: @@ -2626,74 +2631,81 @@ interactions: --description --destination-addresses --source-addresses --destination-ports --ip-protocols User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n },\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule-2\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n - \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ },\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n + \ \"name\": \"network-rule-2\",\r\n \"ipProtocols\": + [\r\n \"Any\",\r\n \"ICMP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationIpGroups\": [],\r\n \"destinationFqdns\": + [],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n \ \"12004\"\r\n ]\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ },\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": + \"application-rule\",\r\n \"protocols\": [\r\n {\r\n + \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n + \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n + \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": + [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n + \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n - \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n - \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"cfdd4e10-a4ba-4fff-a7e2-0e780c3054b8\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"781c6b38-4bba-42f1-af4f-da33899f306e\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '4003' + - '4604' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:57 GMT + - Tue, 09 Jun 2020 05:29:18 GMT expires: - '-1' pragma: @@ -2725,76 +2737,83 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --collection-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n },\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule-2\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n - \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ },\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n + \ \"name\": \"network-rule-2\",\r\n \"ipProtocols\": + [\r\n \"Any\",\r\n \"ICMP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationIpGroups\": [],\r\n \"destinationFqdns\": + [],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n \ \"12004\"\r\n ]\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ },\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": + \"application-rule\",\r\n \"protocols\": [\r\n {\r\n + \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n + \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n + \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": + [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n + \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n - \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n - \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": - [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"cfdd4e10-a4ba-4fff-a7e2-0e780c3054b8\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"781c6b38-4bba-42f1-af4f-da33899f306e\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '4003' + - '4604' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:58 GMT + - Tue, 09 Jun 2020 05:29:19 GMT expires: - '-1' pragma: @@ -2813,27 +2832,29 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-1", - "priority": 13000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "network-rule", "ruleConditionType": "NetworkRuleCondition", - "ipProtocols": ["Any", "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12003", "12004"]}]}, - {"name": "filter-collection-2", "priority": 14000, "ruleType": "FirewallPolicyFilterRule", - "action": {"type": "Allow"}, "ruleConditions": [{"name": "application-rule", - "ruleConditionType": "ApplicationRuleCondition", "sourceAddresses": ["202.120.36.13", - "202.120.36.14"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": - "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": ["AzureBackup", "HDInsight"]}, - {"name": "application-rule-2", "ruleConditionType": "ApplicationRuleCondition", - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "protocols": [{"protocolType": + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-1", "priority": 13000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "network-rule", "ruleType": "NetworkRule", "ipProtocols": ["Any", + "ICMP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15"], "destinationPorts": ["12003", "12004"], "sourceIpGroups": + [], "destinationIpGroups": [], "destinationFqdns": []}]}, {"name": "filter-collection-2", + "priority": 14000, "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "action": {"type": "Allow"}, "rules": [{"name": "application-rule", "ruleType": + "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": + ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": + 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": + ["AzureBackup", "HDInsight"], "sourceIpGroups": []}, {"name": "application-rule-2", + "ruleType": "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": - ["www.bing.com"], "fqdnTags": []}]}], "provisioningState": "Succeeded"}, "name": - "myclirulecollectiongroup"}''' + ["www.bing.com"], "fqdnTags": [], "sourceIpGroups": []}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -2844,77 +2865,82 @@ interactions: Connection: - keep-alive Content-Length: - - '1889' + - '2094' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --policy-name --rule-collection-group-name --collection-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"46c29ef8-c90f-433a-9218-ef977a2b4f44\",\r\n \"location\": \"westcentralus\"\r\n}" + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"755f4b4a-cdb5-4cce-b935-407afabeb5ce\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/e8038c80-26dd-4967-b56a-d6dc91c98cb4?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/41fbed38-639d-45bb-a664-f7a91ab3eb2c?api-version=2020-05-01 cache-control: - no-cache content-length: - - '3492' + - '3999' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:09:59 GMT + - Tue, 09 Jun 2020 05:29:22 GMT expires: - '-1' pragma: @@ -2948,10 +2974,10 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --collection-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/e8038c80-26dd-4967-b56a-d6dc91c98cb4?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/41fbed38-639d-45bb-a664-f7a91ab3eb2c?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2963,7 +2989,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:11 GMT + - Tue, 09 Jun 2020 05:29:34 GMT expires: - '-1' pragma: @@ -2995,67 +3021,72 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --collection-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"46c29ef8-c90f-433a-9218-ef977a2b4f44\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"755f4b4a-cdb5-4cce-b935-407afabeb5ce\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '3493' + - '4000' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:11 GMT + - Tue, 09 Jun 2020 05:29:35 GMT expires: - '-1' pragma: @@ -3087,69 +3118,74 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NetworkRule\",\r\n \"name\": \"network-rule\",\r\n \"ipProtocols\": [\r\n \"Any\",\r\n \ \"ICMP\"\r\n ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12003\",\r\n - \ \"12004\"\r\n ]\r\n }\r\n ],\r\n - \ \"name\": \"filter-collection-1\",\r\n \"priority\": 13000\r\n - \ },\r\n {\r\n \"ruleType\": \"FirewallPolicyFilterRule\",\r\n - \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"ruleConditions\": - [\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n - \ \"name\": \"application-rule\",\r\n \"protocols\": + \ ],\r\n \"sourceIpGroups\": [],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\"\r\n ],\r\n \"destinationIpGroups\": + [],\r\n \"destinationFqdns\": [],\r\n \"destinationPorts\": + [\r\n \"12003\",\r\n \"12004\"\r\n ]\r\n + \ }\r\n ],\r\n \"name\": \"filter-collection-1\",\r\n + \ \"priority\": 13000\r\n },\r\n {\r\n \"ruleCollectionType\": + \"FirewallPolicyFilterRuleCollection\",\r\n \"action\": {\r\n \"type\": + \"Allow\"\r\n },\r\n \"rules\": [\r\n {\r\n \"ruleType\": + \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n \ ],\r\n \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n - \ ]\r\n },\r\n {\r\n \"ruleConditionType\": - \"ApplicationRuleCondition\",\r\n \"name\": \"application-rule-2\",\r\n - \ \"protocols\": [\r\n {\r\n \"protocolType\": - \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n - \ \"protocolType\": \"Https\",\r\n \"port\": - 12801\r\n }\r\n ],\r\n \"fqdnTags\": [],\r\n - \ \"targetFqdns\": [\r\n \"www.bing.com\"\r\n ],\r\n - \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ ],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n + \ \"name\": \"application-rule-2\",\r\n \"protocols\": + [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": + 12800\r\n },\r\n {\r\n \"protocolType\": + \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n + \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n + \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"46c29ef8-c90f-433a-9218-ef977a2b4f44\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"755f4b4a-cdb5-4cce-b935-407afabeb5ce\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '3493' + - '4000' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:13 GMT + - Tue, 09 Jun 2020 05:29:37 GMT expires: - '-1' pragma: @@ -3168,23 +3204,24 @@ interactions: code: 200 message: OK - request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup", - "properties": {"priority": 12000, "rules": [{"name": "nat-collection", "priority": - 10005, "ruleType": "FirewallPolicyNatRule", "action": {"type": "Dnat"}, "translatedAddress": - "128.1.1.1", "translatedPort": "1234", "ruleCondition": {"name": "network-rule", - "ruleConditionType": "NetworkRuleCondition", "ipProtocols": ["TCP", "UDP"], + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup", + "properties": {"priority": 12000, "ruleCollections": [{"name": "nat-collection", + "priority": 10005, "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "action": {"type": "Dnat"}, "rules": [{"name": "network-rule", "ruleType": "NatRule", + "ipProtocols": ["TCP", "UDP"], "sourceAddresses": ["202.120.36.13", "202.120.36.14"], + "destinationAddresses": ["202.120.36.15"], "destinationPorts": ["12000", "12001"], + "translatedAddress": "128.1.1.1", "translatedPort": "1234", "sourceIpGroups": + []}]}, {"name": "filter-collection-2", "priority": 14000, "ruleCollectionType": + "FirewallPolicyFilterRuleCollection", "action": {"type": "Allow"}, "rules": + [{"name": "application-rule", "ruleType": "ApplicationRule", "sourceAddresses": + ["202.120.36.13", "202.120.36.14"], "destinationAddresses": ["202.120.36.15", + "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": + "Https", "port": 12801}], "targetFqdns": [], "fqdnTags": ["AzureBackup", "HDInsight"], + "sourceIpGroups": []}, {"name": "application-rule-2", "ruleType": "ApplicationRule", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "destinationAddresses": - ["202.120.36.15"], "destinationPorts": ["12000", "12001"]}}, {"name": "filter-collection-2", - "priority": 14000, "ruleType": "FirewallPolicyFilterRule", "action": {"type": - "Allow"}, "ruleConditions": [{"name": "application-rule", "ruleConditionType": - "ApplicationRuleCondition", "sourceAddresses": ["202.120.36.13", "202.120.36.14"], - "protocols": [{"protocolType": "Http", "port": 12800}, {"protocolType": "Https", - "port": 12801}], "targetFqdns": [], "fqdnTags": ["AzureBackup", "HDInsight"]}, - {"name": "application-rule-2", "ruleConditionType": "ApplicationRuleCondition", - "sourceAddresses": ["202.120.36.13", "202.120.36.14"], "protocols": [{"protocolType": - "Http", "port": 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": - ["www.bing.com"], "fqdnTags": []}]}], "provisioningState": "Succeeded"}, "name": - "myclirulecollectiongroup"}''' + ["202.120.36.15", "202.120.36.16"], "protocols": [{"protocolType": "Http", "port": + 12800}, {"protocolType": "Https", "port": 12801}], "targetFqdns": ["www.bing.com"], + "fqdnTags": [], "sourceIpGroups": []}]}]}, "name": "myclirulecollectiongroup"}''' headers: Accept: - application/json @@ -3195,66 +3232,71 @@ interactions: Connection: - keep-alive Content-Length: - - '1507' + - '1646' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --policy-name --rule-collection-group-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ]\r\n - \ },\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"27c030ea-6e5f-4ee1-804d-fe4bf1b83075\",\r\n \"location\": \"westcentralus\"\r\n}" + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"2df16b83-8176-4d65-a82c-3d7247c14507\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/6d2cf207-c898-40a0-bf5d-3a9229529126?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/8c829425-b480-4d5f-b92b-d520caf60b1c?api-version=2020-05-01 cache-control: - no-cache content-length: - - '2749' + - '3151' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:14 GMT + - Tue, 09 Jun 2020 05:29:40 GMT expires: - '-1' pragma: @@ -3270,7 +3312,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 200 message: OK @@ -3288,10 +3330,10 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/6d2cf207-c898-40a0-bf5d-3a9229529126?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/8c829425-b480-4d5f-b92b-d520caf60b1c?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3303,7 +3345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:25 GMT + - Tue, 09 Jun 2020 05:29:52 GMT expires: - '-1' pragma: @@ -3335,56 +3377,61 @@ interactions: ParameterSetName: - -g --policy-name --rule-collection-group-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ]\r\n - \ },\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"27c030ea-6e5f-4ee1-804d-fe4bf1b83075\",\r\n \"location\": \"westcentralus\"\r\n}" + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"2df16b83-8176-4d65-a82c-3d7247c14507\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: cache-control: - no-cache content-length: - - '2750' + - '3152' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:25 GMT + - Tue, 09 Jun 2020 05:29:53 GMT expires: - '-1' pragma: @@ -3418,64 +3465,69 @@ interactions: ParameterSetName: - -g --policy-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup?api-version=2020-05-01 response: body: - string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"rules\": - [\r\n {\r\n \"ruleType\": \"FirewallPolicyNatRule\",\r\n \"action\": - {\r\n \"type\": \"Dnat\"\r\n },\r\n \"translatedAddress\": - \"128.1.1.1\",\r\n \"translatedPort\": \"1234\",\r\n \"ruleCondition\": - {\r\n \"ruleConditionType\": \"NetworkRuleCondition\",\r\n \"name\": - \"network-rule\",\r\n \"ipProtocols\": [\r\n \"TCP\",\r\n - \ \"UDP\"\r\n ],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n - \ \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n - \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n - \ \"12001\"\r\n ]\r\n },\r\n \"name\": \"nat-collection\",\r\n - \ \"priority\": 10005\r\n },\r\n {\r\n \"ruleType\": - \"FirewallPolicyFilterRule\",\r\n \"action\": {\r\n \"type\": - \"Allow\"\r\n },\r\n \"ruleConditions\": [\r\n {\r\n - \ \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n \"name\": + string: "{\r\n \"properties\": {\r\n \"priority\": 12000,\r\n \"ruleCollections\": + [\r\n {\r\n \"ruleCollectionType\": \"FirewallPolicyNatRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Dnat\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"NatRule\",\r\n \"name\": + \"network-rule\",\r\n \"translatedAddress\": \"128.1.1.1\",\r\n + \ \"translatedPort\": \"1234\",\r\n \"ipProtocols\": + [\r\n \"TCP\",\r\n \"UDP\"\r\n ],\r\n + \ \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"sourceIpGroups\": + [],\r\n \"destinationAddresses\": [\r\n \"202.120.36.15\"\r\n + \ ],\r\n \"destinationPorts\": [\r\n \"12000\",\r\n + \ \"12001\"\r\n ]\r\n }\r\n ],\r\n + \ \"name\": \"nat-collection\",\r\n \"priority\": 10005\r\n },\r\n + \ {\r\n \"ruleCollectionType\": \"FirewallPolicyFilterRuleCollection\",\r\n + \ \"action\": {\r\n \"type\": \"Allow\"\r\n },\r\n \"rules\": + [\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \"name\": \"application-rule\",\r\n \"protocols\": [\r\n {\r\n \ \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n \ },\r\n {\r\n \"protocolType\": \"Https\",\r\n \ \"port\": 12801\r\n }\r\n ],\r\n \"fqdnTags\": [\r\n \"AzureBackup\",\r\n \"HDInsight\"\r\n ],\r\n \ \"targetFqdns\": [],\r\n \"sourceAddresses\": [\r\n - \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ]\r\n - \ },\r\n {\r\n \"ruleConditionType\": \"ApplicationRuleCondition\",\r\n + \ \"202.120.36.13\",\r\n \"202.120.36.14\"\r\n ],\r\n + \ \"destinationAddresses\": [\r\n \"202.120.36.15\",\r\n + \ \"202.120.36.16\"\r\n ],\r\n \"sourceIpGroups\": + []\r\n },\r\n {\r\n \"ruleType\": \"ApplicationRule\",\r\n \ \"name\": \"application-rule-2\",\r\n \"protocols\": [\r\n {\r\n \"protocolType\": \"Http\",\r\n \"port\": 12800\r\n },\r\n {\r\n \"protocolType\": \"Https\",\r\n \"port\": 12801\r\n }\r\n ],\r\n \ \"fqdnTags\": [],\r\n \"targetFqdns\": [\r\n \"www.bing.com\"\r\n \ ],\r\n \"sourceAddresses\": [\r\n \"202.120.36.13\",\r\n - \ \"202.120.36.14\"\r\n ]\r\n }\r\n ],\r\n + \ \"202.120.36.14\"\r\n ],\r\n \"destinationAddresses\": + [\r\n \"202.120.36.15\",\r\n \"202.120.36.16\"\r\n + \ ],\r\n \"sourceIpGroups\": []\r\n }\r\n ],\r\n \ \"name\": \"filter-collection-2\",\r\n \"priority\": 14000\r\n \ }\r\n ],\r\n \"provisioningState\": \"Deleting\"\r\n },\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups/myclirulecollectiongroup\",\r\n - \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleGroups\",\r\n - \ \"etag\": \"27c030ea-6e5f-4ee1-804d-fe4bf1b83075\",\r\n \"location\": \"westcentralus\"\r\n}" + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups/myclirulecollectiongroup\",\r\n + \ \"name\": \"myclirulecollectiongroup\",\r\n \"type\": \"Microsoft.Network/RuleCollectionGroups\",\r\n + \ \"etag\": \"2df16b83-8176-4d65-a82c-3d7247c14507\",\r\n \"location\": \"eastus2euap\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/70aceab6-d7ea-4fb3-92c2-eb40a5801d42?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9cd437eb-4652-4f9f-94f7-38de8edb2986?api-version=2020-05-01 cache-control: - no-cache content-length: - - '2749' + - '3151' content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:28 GMT + - Tue, 09 Jun 2020 05:29:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperationResults/70aceab6-d7ea-4fb3-92c2-eb40a5801d42?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperationResults/9cd437eb-4652-4f9f-94f7-38de8edb2986?api-version=2020-05-01 pragma: - no-cache server: @@ -3503,10 +3555,10 @@ interactions: ParameterSetName: - -g --policy-name --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/70aceab6-d7ea-4fb3-92c2-eb40a5801d42?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/nfvOperations/9cd437eb-4652-4f9f-94f7-38de8edb2986?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3518,7 +3570,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:38 GMT + - Tue, 09 Jun 2020 05:30:08 GMT expires: - '-1' pragma: @@ -3550,12 +3602,12 @@ interactions: ParameterSetName: - -g --policy-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleGroups?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy/ruleCollectionGroups?api-version=2020-05-01 response: body: string: "{\r\n \"value\": []\r\n}" @@ -3567,7 +3619,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 15 Jan 2020 14:10:41 GMT + - Tue, 09 Jun 2020 05:30:10 GMT expires: - '-1' pragma: @@ -3601,12 +3653,12 @@ interactions: ParameterSetName: - -g --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 - Azure-SDK-For-Python AZURECLI/2.0.79 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: '' @@ -3616,7 +3668,7 @@ interactions: content-length: - '0' date: - - Wed, 15 Jan 2020 14:10:49 GMT + - Tue, 09 Jun 2020 05:30:26 GMT expires: - '-1' pragma: diff --git a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py index da92a0244c7..1f17c1ee780 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py +++ b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py @@ -242,7 +242,7 @@ def test_azure_firewall_virtual_hub(self, resource_group): self.cmd('network vhub create -g {rg} -n {vhub2} --vwan {vwan2} --address-prefix 10.0.0.0/24 -l eastus --sku Standard') self.cmd('network firewall update -g {rg} -n {af} --vhub {vhub2}') - @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='eastus') + @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='eastus2euap') def test_azure_firewall_with_firewall_policy(self, resource_group): self.kwargs.update({ @@ -290,7 +290,7 @@ def test_azure_firewall_with_firewall_policy(self, resource_group): ]) self.cmd('network firewall update -g {rg} -n {af2} --firewall-policy {policy2}') - @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_policy', location='westcentralus') + @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_policy', location='eastus2euap') def test_azure_firewall_policy(self, resource_group, resource_group_location): from knack.util import CLIError self.kwargs.update({ @@ -324,25 +324,25 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): ]) self.cmd('network firewall policy rule-collection-group create -g {rg} --priority {collection_group_priority} --policy-name {policy} -n {collectiongroup}', checks=[ - self.check('type', 'Microsoft.Network/RuleGroups'), + self.check('type', 'Microsoft.Network/RuleCollectionGroups'), self.check('name', '{collectiongroup}') ]) self.cmd('network firewall policy rule-collection-group show -g {rg} --policy-name {policy} -n {collectiongroup}', checks=[ - self.check('type', 'Microsoft.Network/RuleGroups'), + self.check('type', 'Microsoft.Network/RuleCollectionGroups'), self.check('name', '{collectiongroup}'), self.check('priority', '{collection_group_priority}') ]) self.cmd('network firewall policy rule-collection-group list -g {rg} --policy-name {policy}', checks=[ self.check('length(@)', 1), - self.check('@[0].type', 'Microsoft.Network/RuleGroups'), + self.check('@[0].type', 'Microsoft.Network/RuleCollectionGroups'), self.check('@[0].name', '{collectiongroup}'), self.check('@[0].priority', '{collection_group_priority}') ]) self.cmd('network firewall policy rule-collection-group update -g {rg} --policy-name {policy} -n {collectiongroup} --priority 12000', checks=[ - self.check('type', 'Microsoft.Network/RuleGroups'), + self.check('type', 'Microsoft.Network/RuleCollectionGroups'), self.check('name', '{collectiongroup}'), self.check('priority', 12000) ]) @@ -353,9 +353,9 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): --destination-addresses "202.120.36.15" --source-addresses "202.120.36.13" "202.120.36.14" \ --translated-address 128.1.1.1 --translated-port 1234 \ --destination-ports 12000 12001 --ip-protocols TCP UDP', checks=[ - self.check('length(rules)', 1), - self.check('rules[0].ruleType', "FirewallPolicyNatRule"), - self.check('rules[0].name', "nat-collection") + self.check('length(ruleCollections)', 1), + self.check('ruleCollections[0].ruleCollectionType', "FirewallPolicyNatRuleCollection"), + self.check('ruleCollections[0].name', "nat-collection") ]) self.cmd('network firewall policy rule-collection-group collection add-filter-collection -g {rg} --policy-name {policy} \ @@ -363,9 +363,9 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): --action Allow --rule-name network-rule --rule-type NetworkRule \ --description "test" --destination-addresses "202.120.36.15" --source-addresses "202.120.36.13" "202.120.36.14" \ --destination-ports 12003 12004 --ip-protocols Any ICMP', checks=[ - self.check('length(rules)', 2), - self.check('rules[1].ruleType', "FirewallPolicyFilterRule"), - self.check('rules[1].name', "filter-collection-1") + self.check('length(ruleCollections)', 2), + self.check('ruleCollections[1].ruleCollectionType', "FirewallPolicyFilterRuleCollection"), + self.check('ruleCollections[1].name', "filter-collection-1") ]) self.cmd('network firewall policy rule-collection-group collection add-filter-collection -g {rg} --policy-name {policy} \ @@ -373,9 +373,9 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): --action Allow --rule-name application-rule --rule-type ApplicationRule \ --description "test" --destination-addresses "202.120.36.15" "202.120.36.16" --source-addresses "202.120.36.13" "202.120.36.14" --protocols Http=12800 Https=12801 \ --fqdn-tags AzureBackup HDInsight', checks=[ - self.check('length(rules)', 3), - self.check('rules[2].ruleType', "FirewallPolicyFilterRule"), - self.check('rules[2].name', "filter-collection-2") + self.check('length(ruleCollections)', 3), + self.check('ruleCollections[2].ruleCollectionType', "FirewallPolicyFilterRuleCollection"), + self.check('ruleCollections[2].name', "filter-collection-2") ]) self.cmd('network firewall policy rule-collection-group collection list -g {rg} --policy-name {policy} \ @@ -387,7 +387,7 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): --rule-collection-group-name {collectiongroup} --collection-name filter-collection-2 --name application-rule-2 \ --rule-type ApplicationRule --description "test" --source-addresses 202.120.36.13 202.120.36.14 \ --destination-addresses 202.120.36.15 202.120.36.16 --protocols Http=12800 Https=12801 --target-fqdns www.bing.com', checks=[ - self.check('length(rules[2].ruleConditions)', 2) + self.check('length(ruleCollections[2].rules)', 2) ]) self.cmd('network firewall policy rule-collection-group collection rule add -g {rg} --policy-name {policy} \ @@ -395,18 +395,18 @@ def test_azure_firewall_policy(self, resource_group, resource_group_location): --name network-rule-2 --rule-type NetworkRule \ --description "test" --destination-addresses "202.120.36.15" --source-addresses "202.120.36.13" "202.120.36.14" \ --destination-ports 12003 12004 --ip-protocols Any ICMP', checks=[ - self.check('length(rules[1].ruleConditions)', 2) + self.check('length(ruleCollections[1].rules)', 2) ]) self.cmd('network firewall policy rule-collection-group collection rule remove -g {rg} --policy-name {policy} \ --rule-collection-group-name {collectiongroup} --collection-name filter-collection-1 --name network-rule-2', checks=[ - self.check('length(rules[1].ruleConditions)', 1), - self.check('rules[1].ruleConditions[0].name', 'network-rule') + self.check('length(ruleCollections[1].rules)', 1), + self.check('ruleCollections[1].rules[0].name', 'network-rule') ]) self.cmd('network firewall policy rule-collection-group collection remove -g {rg} --policy-name {policy} \ --rule-collection-group-name {collectiongroup} --name filter-collection-1', checks=[ - self.check('length(rules)', 2) + self.check('length(ruleCollections)', 2) ]) self.cmd('network firewall policy rule-collection-group delete -g {rg} --policy-name {policy} --name {collectiongroup}') From fdaa60af973ea7bce8e97960769a9055b1a2ca07 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 9 Jun 2020 14:47:27 +0800 Subject: [PATCH 3/6] in progress --- .../test_azure_firewall_ip_config.yaml | 7627 +---------------- ...t_azure_firewall_with_firewall_policy.yaml | 4759 +++------- .../test_firewall_with_dns_proxy.yaml | 285 +- .../latest/test_azure_firewall_scenario.py | 2 +- 4 files changed, 1420 insertions(+), 11253 deletions(-) diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml index 3d450216990..0e0eb5dd672 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:31:38 GMT + - Tue, 09 Jun 2020 06:44:35 GMT expires: - '-1' pragma: @@ -45,7 +45,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"additionalProperties": {}}}' + body: '{"location": "westus", "properties": {"additionalProperties": {"DNSEnableProxy": + "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}' headers: Accept: - application/json @@ -56,14 +57,14 @@ interactions: Connection: - keep-alive Content-Length: - - '66' + - '152' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -71,24 +72,28 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"d27aca61-e790-4b17-a922-1f790b422e41\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"7a89eab3-fb24-4be2-a6f2-382faddb7e4c\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": - [],\r\n \"natRuleCollections\": []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": + null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\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/9dc1e96a-1a14-402f-bade-fa15b3d3bc26?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/75ee8903-aadf-4818-8ee4-7271d7002eff?api-version=2019-11-01 cache-control: - no-cache content-length: - - '690' + - '804' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:31:44 GMT + - Tue, 09 Jun 2020 06:44:38 GMT expires: - '-1' pragma: @@ -101,9 +106,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8d94a87-6810-4edd-8300-e77b8bbddd93 + - 854bce96-3cba-4867-b6bb-79f8e31f66d2 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -121,10 +126,10 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9dc1e96a-1a14-402f-bade-fa15b3d3bc26?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/75ee8903-aadf-4818-8ee4-7271d7002eff?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -136,7 +141,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:01 GMT + - Tue, 09 Jun 2020 06:44:49 GMT expires: - '-1' pragma: @@ -153,7 +158,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4e19f72e-7dcd-4669-9443-a647561270ed + - 1a96be68-053b-4ff1-b540-ac27c9705450 status: code: 200 message: OK @@ -171,31 +176,33 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"6e48698d-dc89-4799-b3fa-252f5df3b0f1\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d864afde-f64b-4d6a-a802-c818e04578ee\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": - [],\r\n \"natRuleCollections\": []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": + null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '691' + - '805' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:02 GMT + - Tue, 09 Jun 2020 06:44:50 GMT etag: - - W/"6e48698d-dc89-4799-b3fa-252f5df3b0f1" + - W/"d864afde-f64b-4d6a-a802-c818e04578ee" expires: - '-1' pragma: @@ -212,7 +219,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0e0a067f-b78b-4ba4-a8ec-3e3fbaf360c0 + - 05f46e47-fd2e-492f-acc3-bc66ec1031c2 status: code: 200 message: OK @@ -230,24 +237,24 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:04 GMT + - Tue, 09 Jun 2020 06:44:52 GMT expires: - '-1' pragma: @@ -280,8 +287,8 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -289,15 +296,17 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"c97ae51a-24de-4117-be91-63b666598148\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"5c1fcf2f-51d5-4816-90c0-8641857a4dd2\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"061eba7d-1a50-4088-803a-47553e90146d\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"7f9f7cd2-5545-4b3c-8938-45f1b3ca3f64\",\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 }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54302f83-aa97-40d9-8596-676492e04c05?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/304e7b3a-776e-4835-be72-ff2d235ec717?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -305,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:11 GMT + - Tue, 09 Jun 2020 06:44:56 GMT expires: - '-1' pragma: @@ -318,9 +327,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f3f5c713-902f-4250-b1da-c0ba635f2043 + - 6cfccb05-8aed-4c8e-8362-15e6d0b6de90 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1196' status: code: 201 message: Created @@ -338,10 +347,10 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54302f83-aa97-40d9-8596-676492e04c05?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/304e7b3a-776e-4835-be72-ff2d235ec717?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -353,7 +362,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:17 GMT + - Tue, 09 Jun 2020 06:44:58 GMT expires: - '-1' pragma: @@ -370,7 +379,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - afccf959-fe49-4fbd-a218-f44d27a904e7 + - a4f27a7c-ad90-48ac-a1cd-24f7bf3463ba status: code: 200 message: OK @@ -388,17 +397,17 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"ba845478-d268-4244-a98a-d2946384e3ac\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"90a75bb3-cc49-4b03-a560-7b159e4e7cf6\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"061eba7d-1a50-4088-803a-47553e90146d\",\r\n \"ipAddress\": - \"13.88.131.172\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"7f9f7cd2-5545-4b3c-8938-45f1b3ca3f64\",\r\n \"ipAddress\": + \"52.234.91.76\",\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 }\r\n}" @@ -406,13 +415,13 @@ interactions: cache-control: - no-cache content-length: - - '696' + - '695' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:17 GMT + - Tue, 09 Jun 2020 06:44:58 GMT etag: - - W/"ba845478-d268-4244-a98a-d2946384e3ac" + - W/"90a75bb3-cc49-4b03-a560-7b159e4e7cf6" expires: - '-1' pragma: @@ -429,7 +438,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 58c9bb64-14a4-4549-8308-74d3e4c6dab5 + - fc615a4c-16ea-41bd-b39c-f432dffac9ab status: code: 200 message: OK @@ -447,24 +456,24 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:20 GMT + - Tue, 09 Jun 2020 06:44:59 GMT expires: - '-1' pragma: @@ -497,8 +506,8 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -506,15 +515,17 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\",\r\n - \ \"etag\": \"W/\\\"66679ca8-8a33-4cb7-b4ca-6adfee3658fa\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"85d332ba-1c71-4739-921b-6804118f8f0e\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"ac215f44-b7f7-4bab-9b8e-a169afadb45b\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"d7bdb5ea-c61d-473c-9136-82aeef79a9e8\",\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 }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fdf28ea2-cafe-418f-aa5d-6489d936d605?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1616c6cc-df0c-4417-8dc2-c0ef245c133f?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -522,7 +533,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:29 GMT + - Tue, 09 Jun 2020 06:45:07 GMT expires: - '-1' pragma: @@ -535,7 +546,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65a178c1-89a1-421d-bd66-0a2fc41d84c5 + - 8337b45c-007e-407c-abb3-ea1906e93674 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -555,10 +566,10 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fdf28ea2-cafe-418f-aa5d-6489d936d605?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1616c6cc-df0c-4417-8dc2-c0ef245c133f?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -570,7 +581,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:32 GMT + - Tue, 09 Jun 2020 06:45:09 GMT expires: - '-1' pragma: @@ -587,7 +598,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b9ebeb0-d77a-4043-8e0b-57482782872a + - 3df287bf-1d7a-4388-9e4a-146c2ac206c8 status: code: 200 message: OK @@ -605,17 +616,17 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\",\r\n - \ \"etag\": \"W/\\\"b2ce4ba7-181a-4148-b96e-7f9a16cf6530\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"741e2eed-e55a-4f74-b753-c3a3b95b8d14\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ac215f44-b7f7-4bab-9b8e-a169afadb45b\",\r\n \"ipAddress\": - \"13.88.133.8\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"d7bdb5ea-c61d-473c-9136-82aeef79a9e8\",\r\n \"ipAddress\": + \"52.234.91.140\",\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 }\r\n}" @@ -623,13 +634,13 @@ interactions: cache-control: - no-cache content-length: - - '696' + - '698' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:32 GMT + - Tue, 09 Jun 2020 06:45:09 GMT etag: - - W/"b2ce4ba7-181a-4148-b96e-7f9a16cf6530" + - W/"741e2eed-e55a-4f74-b753-c3a3b95b8d14" expires: - '-1' pragma: @@ -646,7 +657,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 931a8fc4-c250-4e40-b449-61ddc6c2269d + - 85377642-971d-4a21-afe3-5cc954d048b3 status: code: 200 message: OK @@ -664,24 +675,24 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:35 GMT + - Tue, 09 Jun 2020 06:45:10 GMT expires: - '-1' pragma: @@ -715,8 +726,8 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -724,15 +735,15 @@ interactions: response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"55207bbb-871c-4854-94da-f2a3c3480ab1\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"89981de8-eeb0-4d24-9613-569dbe974ddd\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"567293a5-91f5-4897-8ddc-744850511b2b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"299c7aa3-a6ee-4fbd-894d-05e4adadeeeb\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"55207bbb-871c-4854-94da-f2a3c3480ab1\\\"\",\r\n + \ \"etag\": \"W/\\\"89981de8-eeb0-4d24-9613-569dbe974ddd\\\"\",\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\": @@ -740,8 +751,10 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": 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/721684d3-bbd1-44a3-a7a0-5573aab70f59?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2af822cb-010d-4675-9f07-6d41f283f175?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -749,7 +762,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:39 GMT + - Tue, 09 Jun 2020 06:45:17 GMT expires: - '-1' pragma: @@ -762,9 +775,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ecb4400f-3a9e-4a5a-b888-c0f5421a2b6a + - 447065c3-7f32-47ab-8f6b-23aeb244fbc2 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -782,10 +795,10 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/721684d3-bbd1-44a3-a7a0-5573aab70f59?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2af822cb-010d-4675-9f07-6d41f283f175?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -797,7 +810,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:46 GMT + - Tue, 09 Jun 2020 06:45:20 GMT expires: - '-1' pragma: @@ -814,7 +827,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3a34ee04-f3ff-4aca-8c1f-ce067fbc6711 + - 950504e0-c809-4b61-9b74-486295aa4f04 status: code: 200 message: OK @@ -832,22 +845,22 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"08996e11-48e6-4f78-b485-99ae5c3355a7\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"567293a5-91f5-4897-8ddc-744850511b2b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"299c7aa3-a6ee-4fbd-894d-05e4adadeeeb\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2\\\"\",\r\n + \ \"etag\": \"W/\\\"08996e11-48e6-4f78-b485-99ae5c3355a7\\\"\",\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\": @@ -862,9 +875,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:47 GMT + - Tue, 09 Jun 2020 06:45:21 GMT etag: - - W/"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2" + - W/"08996e11-48e6-4f78-b485-99ae5c3355a7" expires: - '-1' pragma: @@ -881,7 +894,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c2fbf15e-ab1a-4d5f-ada2-c7856243e555 + - a0d9611c-a653-44ff-a426-f1a782a91697 status: code: 200 message: OK @@ -899,8 +912,8 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET @@ -908,24 +921,26 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"6e48698d-dc89-4799-b3fa-252f5df3b0f1\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d864afde-f64b-4d6a-a802-c818e04578ee\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": - [],\r\n \"natRuleCollections\": []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": + null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '691' + - '805' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:50 GMT + - Tue, 09 Jun 2020 06:45:22 GMT etag: - - W/"6e48698d-dc89-4799-b3fa-252f5df3b0f1" + - W/"d864afde-f64b-4d6a-a802-c818e04578ee" expires: - '-1' pragma: @@ -942,7 +957,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a72d607e-5492-444c-9904-ad4ccaffd692 + - bbf5df95-8009-463a-a92c-342bccc41e03 status: code: 200 message: OK @@ -953,7 +968,8 @@ interactions: {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {}}}''' + "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": "False", "DNSRequireProxyForNetworkRules": + "True", "DNSServer": null}}}''' headers: Accept: - application/json @@ -964,14 +980,14 @@ interactions: Connection: - keep-alive Content-Length: - - '964' + - '1050' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -979,13 +995,15 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"77bdec02-651a-4e2a-a100-a297c70ee589\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6b94fc4c-200c-44d2-a7b6-dec8232d46f8\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"77bdec02-651a-4e2a-a100-a297c70ee589\\\"\",\r\n + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": + null\r\n },\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": + \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"6b94fc4c-200c-44d2-a7b6-dec8232d46f8\\\"\",\r\n \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -996,15 +1014,15 @@ interactions: []\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fdd68b6-76ee-4929-965a-2964d54237fb?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1815' + - '1929' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:51 GMT + - Tue, 09 Jun 2020 06:45:23 GMT expires: - '-1' pragma: @@ -1021,259 +1039,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e5b6e288-eea2-4482-a5d4-600f0314d0ae + - b1b0ccf4-dd05-44d5-b056-001b9706d4a2 x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:33: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: - - a8bff5c2-cc7c-4bf3-a4bf-741d0477a499 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:33: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-arm-service-request-id: - - a183b604-046c-4ecc-b8ce-9fc23c943625 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:33: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: - - 8ff713bf-bbd4-4737-8474-1f77267dfd97 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:33: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: - - 965bb55f-2eff-498e-add1-da527a7db376 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:33: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: - - 042058fc-ce7e-4c2e-bdfa-7fbe51bce57e + - '1197' status: code: 200 message: OK @@ -1291,7093 +1059,24 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fdd68b6-76ee-4929-965a-2964d54237fb?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"AzureFirewallInvalidAdditionalPropertyName\",\r\n + \ \"message\": \"'DNSEnableProxy' is not a valid property name for Azure + Firewall.\",\r\n \"details\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '209' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34: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: - - f5883014-aaae-476f-8dd0-ab3ae0b205bf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:34: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: - - d3265b2f-ebc1-4be0-8a23-c910c24ca081 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:34: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: - - ecc7dc9b-ce23-408c-bb17-9ca89a3e02eb - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:34:35 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: - - 410f2c93-56ab-4518-b6d2-f4667666b0be - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:34: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: - - 2844c156-6382-4cb1-aba5-0aac5863d390 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:34: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: - - 4586ae68-c5c5-48c5-93f5-f0d4b8d57257 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:35:09 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: - - 3ce23249-6d9c-4595-8b49-4e934e25521d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09: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-arm-service-request-id: - - 94b196e5-ffde-4ef6-bdb9-cf133775ba33 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:35: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: - - da30e7cf-b204-408e-b645-47023bd332f1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:35: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: - - f94ddc0b-2d49-4081-8179-6274d5503deb - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:35: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: - - 7937b22f-f861-4c41-90df-79def32b0b61 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09: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: - - fdff7bf1-38f3-4e61-9ef3-4f4deb5f7d95 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:36: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: - - 7bb1aee2-fdc2-417e-a864-d25fd763c367 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:36: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: - - 162af446-385a-4c70-8351-560134c70536 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:36:38 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: - - bf0b1d6f-44fb-4848-86c6-e5fcf76504be - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:36: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: - - 0a258470-0d0f-4776-aead-0c1beb32a249 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37: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: - - 30076084-60b7-4fe3-a427-4e0a411a0ca0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37: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: - - 5d7da7ea-f3bf-41a0-812b-1655ddd58b8b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37: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: - - 6d37981a-5d2b-4661-9dac-2601d83db126 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37:34 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: - - 16c71830-df83-41f3-8a5e-510290fe7a47 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37: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: - - bb3c5b1c-7f2d-4bd0-a09d-17d27d3f7bf3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:37: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: - - c527a812-0f7b-4cfd-a1f5-25bf62f17c14 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:38: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: - - b660489f-7998-4fe6-8382-538effbd7723 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:38:16 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: - - 5c12ca5b-1480-4329-b795-1f53e2d23def - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:38: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: - - 5eb399fd-61cd-4ea0-99ca-189394f381b3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: - - Wed, 12 Feb 2020 09:38: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: - - d3e68139-c3ba-4f01-b062-871bb6cea7ab - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1859' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:38:38 GMT - etag: - - W/"a9e97721-45a4-4633-a65a-042807c343d1" - 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: - - 5b879eea-3d4b-4c28-b773-db08bbc6611d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1859' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:38:40 GMT - etag: - - W/"a9e97721-45a4-4633-a65a-042807c343d1" - 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: - - f2b982d7-3911-4c7f-a310-f62842074f88 - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", - "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": - [], "networkRuleCollections": [], "ipConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, - "name": "myipconfig1"}, {"properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2"}}, - "name": "myipconfig2"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - Content-Length: - - '1472' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n - \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-11-01 - cache-control: - - no-cache - content-length: - - '2699' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:38: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: - - d247cc52-1534-4ee1-86d8-8c0a6bb8ba96 - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:38: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: - - 17fe9889-ba95-489e-a84a-6df1be4b7170 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39: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: - - 1ea9b435-eb71-467d-92f9-ef3979d16049 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39: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: - - 88b06548-c495-4b14-bdca-51fb7a01b4dd - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39: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: - - c9a47f9a-dd47-47f5-9cae-430e3bdf7958 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39: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: - - 44f3dc89-1acb-4239-ba46-0cc2a6d004ca - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39:46 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: - - 87573ba2-db83-48a8-9188-90c466b675d3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:39: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: - - 5c1c6c59-1514-4c4c-8a47-2b0b0f3bc6d7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:40:07 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: - - 6d129bdd-c6e5-4c89-8376-df8a8f0ac7e6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:40: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: - - ac5e197b-85a6-4e95-9871-fc7f3fd32015 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:40: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: - - eb5fb846-0caf-4e45-87d0-8ba4251bd9ca - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:40: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: - - 5305da53-9a2a-46f2-8064-0305428cec62 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:40: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: - - 99ed761c-5313-48a0-bdd4-886ba10ee455 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41: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: - - b1225495-e081-4ddb-9f0b-a6114d3a3db8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41: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: - - 1dab1aed-553c-42d8-8d88-86d67b680f4f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41: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-arm-service-request-id: - - 3286849f-c0ef-47da-bd22-96172f08a1df - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41:34 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: - - 862fb043-6b45-49ae-8d46-fa20417dbc67 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41: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: - - 524bcf03-73ec-4ba1-b172-97aa9f5b2bd9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:41: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: - - c8793451-cba1-47c9-88cb-18c44e6d8363 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42:07 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: - - d01cdd2c-03e9-43c1-8134-54cd6895ee67 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42:17 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: - - aee9593d-42c1-4f36-936c-0aea8540118a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42: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: - - 96766136-b769-4723-811e-490f8953f2e9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42:38 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: - - 8990c694-6e7b-4950-b2c5-8baaf739b79e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42: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: - - ed02c8c0-4f0f-4c6e-89dd-743b71b79f2a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:42: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: - - f15ab856-f756-4f20-8ef2-6b876b25a7c1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:43: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: - - 0b89e95c-5e8b-4adc-8bed-c4bf28d65fc3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:43: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: - - d41aec0f-fc46-4aa4-ae97-9f1d368ccd87 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:43: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: - - d4824298-eadd-4abc-bc8f-d46403d86dbf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:43: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: - - c0220e6d-fef5-4864-985b-8d1c98610338 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:43: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: - - af883b04-04d2-49df-beaf-4b2eb93593c5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:44: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: - - 853eb8f7-d111-4860-8887-4824da6428b5 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:44: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: - - 1ad778b9-4e41-42c0-aa09-c6d23af8fd3c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:44: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-arm-service-request-id: - - 6fd81e5b-8358-4c80-a957-cdd1da802f5f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: - - Wed, 12 Feb 2020 09:44:35 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: - - 72319215-2123-46c8-ba90-21e7670c4d03 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2700' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:44:35 GMT - etag: - - W/"cb7f3403-5297-426f-8c81-a496c2d5387d" - 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: - - 9abc2953-d2ea-4365-944b-30b655633009 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n - \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2700' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:44:37 GMT - etag: - - W/"cb7f3403-5297-426f-8c81-a496c2d5387d" - 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: - - bb46692c-5d24-44c4-8526-acab4fca2eef - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", - "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": - [], "networkRuleCollections": [], "ipConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, - "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - Content-Length: - - '1205' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"7a363217-6a52-41ff-bcd2-5c5d5e97f3ae\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"7a363217-6a52-41ff-bcd2-5c5d5e97f3ae\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-11-01 - cache-control: - - no-cache - content-length: - - '1858' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:44:38 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: - - d7e233ec-01f8-49bd-9a79-c4f5acd8b2a6 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:44: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: - - 6541d982-8417-4424-9437-b5f35022e59e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - b376d962-bb0d-4ce0-9efd-6586664cc939 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - 1cdfa187-f694-4389-bf17-d837905a39db - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - 7e22a082-65b3-4096-a298-d9edf4fafc6a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - 172f334c-235b-4deb-bc28-840f2a58e5bf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - 97b05f59-421d-4ff4-9ceb-fd21a23e5c3c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1859' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:45:43 GMT - etag: - - W/"f78c715d-62e7-44f2-970e-fee9664905a4" - 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: - - da4df3df-377e-45ff-8b14-21a082314b09 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1859' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:45:45 GMT - etag: - - W/"f78c715d-62e7-44f2-970e-fee9664905a4" - 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: - - 18a026b6-a765-4f35-b349-a51f03bfbda6 - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", - "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": - [], "networkRuleCollections": [], "threatIntelMode": "Alert", "sku": {"name": - "AZFW_VNet", "tier": "Standard"}, "additionalProperties": {}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - Content-Length: - - '433' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"295b9021-b6e6-4f42-9c8f-641318513b41\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": - [],\r\n \"natRuleCollections\": []\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-11-01 - cache-control: - - no-cache - content-length: - - '690' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:45: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: - - 4a8ff497-31c6-49a8-9bcf-e8069d054021 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:45: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: - - 9c1d0aee-763d-4d19-9df3-a730358e5818 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:46:07 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: - - 1a0a2a0f-c8a7-462d-ac67-d77a79cbe6a3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:46:17 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: - - c7ff00dd-5666-44db-b58e-c0ae98db8ae0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09: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: - - 6bcfb090-86c1-479f-99af-2254e0d84587 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:46:38 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: - - 94a53465-b263-4a4c-b016-ab2a0daf79f7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:46: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: - - b91613ca-7747-4919-abec-f6a3810ea25b - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:46: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: - - 14c7149f-6607-4cf5-94b2-c28765081677 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:47: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: - - a001d287-6872-444a-be04-90da4a384630 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:47: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: - - fb8725c3-d294-47d4-98bc-e0bd50aa33c6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:47: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: - - 6b56c9cd-b3e4-449b-96b1-85804eaf425e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:47:46 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: - - 532c27ec-5e1b-4c45-adcf-f59b199ed8d0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:47: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: - - f673258f-20df-490e-ba3a-65ac1905b990 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48: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-arm-service-request-id: - - 6384bdaf-e143-4067-b6df-b9318acedb0e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48:16 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: - - 0ddc0e70-6034-4f1a-86bd-d7a075cdf69f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48: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: - - 016279d0-3b35-4b80-a409-9275a38783da - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48: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: - - 07e4d6f9-3978-4677-84b3-660579aac253 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48: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: - - 96ea5e0b-49f5-416c-9b14-00b0f70a6c55 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:48: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: - - 734c7286-c77d-4e41-b0ca-a38f982723cc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:49:09 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: - - 32903593-c19f-436f-84fe-369ce38ab614 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:49: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-arm-service-request-id: - - d1fe04f1-d818-42de-a06f-0a06301cbba8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:49: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: - - 7f08ee5c-71a9-4371-b938-14420f2a9960 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:49: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: - - 2f07e7a1-c75e-451e-8168-43dc27b1ce19 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:49: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: - - 4d4963fb-a099-4e8f-8421-0bf0f4c33b74 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:50: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: - - bc05d348-7749-4fff-8887-868ad47659ac - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:50: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: - - 99957d3b-4e01-4eb9-b08a-21ca928f2c7c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09: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: - - 359962a1-f29c-4f46-a3a5-aa890316f288 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:50:34 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: - - 0ec56cc4-30db-4b59-8f91-42da37c03d9a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:50: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: - - 2568b659-03a2-4c92-a071-f02245a08de2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:50: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: - - 861eb4fc-1c91-4ef8-8df0-8155a1ba1e0c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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: - - 110fc21e-7ca9-4568-a156-dee7106360f6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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: - - 8518473e-bf32-4154-b2a5-86f7dc996602 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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: - - 6ad522f3-0174-49f9-983e-a47e324cd9bf - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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: - - ffb25b9f-b4b8-4d31-b8e2-b3589f8f97c0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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: - - a7e13295-609a-48a1-9534-9de6c34bbf9f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:51: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-arm-service-request-id: - - ab384a2c-c277-4c0a-9312-a016796b66c7 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:52:09 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: - - 2381dbc2-f011-4854-9122-452fa4d4e589 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:52: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-arm-service-request-id: - - 7a0363ee-53eb-49fa-864f-05352bb08213 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:52: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: - - cb94b713-adb7-43fa-b5a7-6debb5f38c39 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:52: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: - - f9d01617-57b2-4e17-9720-b3d5af93273a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:52: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: - - 4e72cadc-046d-4106-a718-a120b1deed3a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53: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: - - f66a5920-d377-4c6d-ad75-1b4ee37e1798 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53: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: - - 00428e19-fc42-4d7c-8e54-944773a955fa - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53: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: - - 43b5a471-3faa-496c-a82f-dd0554e88368 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53:34 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: - - 06c000bc-8808-49a1-86f6-4d698a9a872e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53: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: - - 6b6905e4-395f-48a0-91f8-9214e60b8b47 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:53: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: - - 2ee4330c-ac08-475a-b70b-298ac487a382 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - 3f89ca42-7096-4e5c-9fdd-c921932bc443 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - d0d4d739-0126-4e60-9cc1-239ebed0e098 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - a9a8aec4-840b-4fb3-a4a4-f8ca537819a0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - 051ce726-1fb9-46db-b163-6b634a483992 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - da519707-26ff-47d8-b5d7-d7ab3f645612 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:54: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: - - c6a1c07c-f333-4571-a555-2b826fbc7b41 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:55: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: - - 6337a7a8-7675-45f3-a5ce-61d15f0eb965 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:55: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-arm-service-request-id: - - b0096248-bc5d-436b-b9e9-1fd53ee5966f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:55: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: - - 9faab0b9-ef99-46c5-adae-39e13b0a26c6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:55: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: - - 0a0c959d-57c1-484e-8f6c-5ed880703143 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:55: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: - - cd174ebb-e16a-4f78-b89b-0afd5abfb777 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09: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: - - d36f46e4-1af1-42d8-a97b-80639d063225 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:56: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: - - 11076077-36f3-46f6-8f7b-1813090f3487 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:56: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: - - a5cb69ba-1d9e-4ee0-992d-0b2b69bd503e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:56: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: - - ada48bf7-1a27-4cb9-b81a-ec4e3dc27dcc - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:56: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: - - 6ae683c1-79aa-4756-ae6a-b97bfaaec023 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: - - Wed, 12 Feb 2020 09:56: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: - - cee7908a-fb9d-4f4a-ab3c-6725dda82800 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config delete - Connection: - - keep-alive - ParameterSetName: - - -g -n -f - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"b7e02a10-f90d-4f90-aa4d-badbbcd6b68b\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": - \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": - [],\r\n \"natRuleCollections\": []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '691' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:56:53 GMT - etag: - - W/"b7e02a10-f90d-4f90-aa4d-badbbcd6b68b" + - Tue, 09 Jun 2020 06:45:33 GMT expires: - '-1' pragma: @@ -8394,7 +1093,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59df23b0-9781-4a94-8162-6800057d07ec + - 03dc5775-7415-44c2-84b0-68d0f357ce84 status: code: 200 message: OK diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml index f84f50d7362..e6ba764c358 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:06:46Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:31:39 GMT + - Tue, 09 Jun 2020 06:06:51 GMT expires: - '-1' pragma: @@ -62,8 +62,8 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -71,22 +71,24 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\",\r\n - \ \"etag\": \"W/\\\"defb9b87-10fc-4ed8-94cc-69dfcbe11876\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"e93ff6b5-fbf6-4fc9-b0a3-3ea53c83f533\\\"\",\r\n \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"allowVnetToVnetTraffic\": - false,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" + true,\r\n \"office365LocalBreakoutCategory\": \"None\"\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/5cc773d9-d9f0-44e9-95a4-c7da1d4cabf2?api-version=2018-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5e144746-a54b-437d-80c1-2a2008685478?api-version=2018-08-01 cache-control: - no-cache content-length: - - '586' + - '585' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:31:49 GMT + - Tue, 09 Jun 2020 06:06:57 GMT expires: - '-1' pragma: @@ -99,9 +101,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ef07d9d5-c211-492c-a9b4-c68dda6c1308 + - ec7b0cfc-1802-48a2-ba7f-b3532d7b170a x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -119,10 +121,10 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5cc773d9-d9f0-44e9-95a4-c7da1d4cabf2?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5e144746-a54b-437d-80c1-2a2008685478?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -134,7 +136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:03 GMT + - Tue, 09 Jun 2020 06:07:08 GMT expires: - '-1' pragma: @@ -151,7 +153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f05b2e2-0d80-4a3a-8052-9ebbbf8b7c6d + - 2318a969-b028-4b02-a0c9-52831abfc6d7 status: code: 200 message: OK @@ -169,29 +171,29 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan?api-version=2018-08-01 response: body: string: "{\r\n \"name\": \"clitestvwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\",\r\n - \ \"etag\": \"W/\\\"6c88f5ec-06db-4adb-a0fb-fc13d6a11753\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"96b733ec-b188-4b72-860c-175c851e19cb\\\"\",\r\n \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"allowVnetToVnetTraffic\": - false,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" + true,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '587' + - '586' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:05 GMT + - Tue, 09 Jun 2020 06:07:09 GMT etag: - - W/"6c88f5ec-06db-4adb-a0fb-fc13d6a11753" + - W/"96b733ec-b188-4b72-860c-175c851e19cb" expires: - '-1' pragma: @@ -208,7 +210,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0069d14a-bb6f-4362-83ed-aa2c651ee6aa + - 24b3d152-370e-41c6-925d-c06c33b8c59d status: code: 200 message: OK @@ -231,8 +233,8 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -240,23 +242,26 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n - \ \"etag\": \"W/\\\"831d8b0b-1825-44c5-83a5-6275af8c6b3c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"e603457d-f1f7-4909-892e-7ab23a324533\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualNetworkConnections\": - [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"routeTable\": {\r\n - \ \"routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n + [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\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/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 cache-control: - no-cache content-length: - - '787' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:16 GMT + - Tue, 09 Jun 2020 06:07:19 GMT expires: - '-1' pragma: @@ -269,7 +274,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 84d8a4f9-22dc-4096-95a1-c347ee7b748e + - 1135d8cc-6e9a-434c-8ab1-41f7f771476a x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -289,10 +294,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -304,7 +309,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:28 GMT + - Tue, 09 Jun 2020 06:07:31 GMT expires: - '-1' pragma: @@ -321,7 +326,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8e33a9a-75c4-4ec3-8e6b-91e4ec65babe + - 001538b6-f325-42f9-a25d-2aadd6662271 status: code: 200 message: OK @@ -339,10 +344,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -354,7 +359,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:40 GMT + - Tue, 09 Jun 2020 06:07:41 GMT expires: - '-1' pragma: @@ -371,7 +376,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fa2a797e-be73-42b5-b433-004f8514f0e1 + - cdf74e56-e180-428d-98a3-60e8f976a988 status: code: 200 message: OK @@ -389,10 +394,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -404,7 +409,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:32:56 GMT + - Tue, 09 Jun 2020 06:07:52 GMT expires: - '-1' pragma: @@ -421,7 +426,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e5c16258-7cbc-43a0-9f8d-d7b5408c6748 + - 14b4332c-d5c4-49c9-89aa-7d1bdacd6832 status: code: 200 message: OK @@ -439,10 +444,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -454,7 +459,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:33:10 GMT + - Tue, 09 Jun 2020 06:08:03 GMT expires: - '-1' pragma: @@ -471,7 +476,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 35a7a7b2-0fe1-4c1e-bd1d-62e693d0039a + - ed84bd64-77f3-4409-8225-12231a1d980d status: code: 200 message: OK @@ -489,10 +494,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -504,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:33:31 GMT + - Tue, 09 Jun 2020 06:08:14 GMT expires: - '-1' pragma: @@ -521,7 +526,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 79db70b5-89fe-433f-8c7f-aee41da18f5c + - cc66d047-15c4-4908-b33e-2c4fe7b3433a status: code: 200 message: OK @@ -539,10 +544,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -554,7 +559,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:33:43 GMT + - Tue, 09 Jun 2020 06:08:25 GMT expires: - '-1' pragma: @@ -571,7 +576,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0f16242-f605-4c49-81ed-d1a6a78c161f + - 8100dfff-59ae-4320-9e3c-b6713751a016 status: code: 200 message: OK @@ -589,10 +594,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -604,7 +609,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:33:56 GMT + - Tue, 09 Jun 2020 06:08:36 GMT expires: - '-1' pragma: @@ -621,7 +626,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 879c412b-81fe-45dd-b93e-22dc284fa61a + - c5a1d54f-7ffe-4418-b3b6-1a9fee0c02fc status: code: 200 message: OK @@ -639,10 +644,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -654,7 +659,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34:08 GMT + - Tue, 09 Jun 2020 06:08:46 GMT expires: - '-1' pragma: @@ -671,7 +676,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 79bd2dda-29d5-4330-a3bd-0d166f62ec96 + - 67237418-5f56-43fa-982f-f727000cf659 status: code: 200 message: OK @@ -689,10 +694,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -704,7 +709,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34:20 GMT + - Tue, 09 Jun 2020 06:08:57 GMT expires: - '-1' pragma: @@ -721,7 +726,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ade80d85-2393-449b-ba65-46124056376e + - 934725af-31d0-4d6f-ba44-8f588554b062 status: code: 200 message: OK @@ -739,10 +744,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -754,7 +759,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34:32 GMT + - Tue, 09 Jun 2020 06:09:08 GMT expires: - '-1' pragma: @@ -771,7 +776,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 87146709-a332-46ec-b5e0-ce1b77b1a2cb + - 1768f2c8-5211-464c-9020-18d6d464b5dc status: code: 200 message: OK @@ -789,10 +794,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -804,7 +809,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34:44 GMT + - Tue, 09 Jun 2020 06:09:20 GMT expires: - '-1' pragma: @@ -821,7 +826,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d727f3a0-360a-44dc-8ed8-d729d23d81e0 + - 7b0b08cb-b140-4534-a533-dcd83d470a29 status: code: 200 message: OK @@ -839,22 +844,22 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:34:58 GMT + - Tue, 09 Jun 2020 06:09:31 GMT expires: - '-1' pragma: @@ -871,7 +876,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fbd7fda2-1edc-45f3-854d-80c247bd2ac3 + - 60c297b2-bb0b-4bf2-acf6-0b39ed08e272 status: code: 200 message: OK @@ -889,28 +894,22 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n - \ \"etag\": \"W/\\\"026a306a-5132-4555-b4b8-9bed76df4d9b\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualNetworkConnections\": - [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"routeTable\": {\r\n - \ \"routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n - \ }\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '788' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:00 GMT + - Tue, 09 Jun 2020 06:09:42 GMT expires: - '-1' pragma: @@ -927,67 +926,10 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2cabae22-a99b-4f8a-9ddb-6e27a6d5dc3f + - a18e182d-de1a-4064-82bd-b575d77f1d7d status: code: 200 message: OK -- request: - body: '{"location": "westcentralus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall policy create - Connection: - - keep-alive - Content-Length: - - '29' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 - response: - body: - string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": - [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n - \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"d49ce5d4-8c71-486c-b8d8-d9d9ce04bf3b\",\r\n \"location\": \"westcentralus\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 - cache-control: - - no-cache - content-length: - - '539' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 09:35:12 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-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 201 - message: Created - request: body: null headers: @@ -996,34 +938,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall policy create + - network vhub create Connection: - keep-alive ParameterSetName: - - -g -n -l + - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:25 GMT + - Tue, 09 Jun 2020 06:09: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: @@ -1032,6 +975,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 21cbd203-c833-4e6a-9be9-8be0dc9d9b84 status: code: 200 message: OK @@ -1043,38 +988,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall policy create + - network vhub create Connection: - keep-alive ParameterSetName: - - -g -n -l + - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n - \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"d49ce5d4-8c71-486c-b8d8-d9d9ce04bf3b\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '540' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:27 GMT + - Tue, 09 Jun 2020 06:10: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: @@ -1083,6 +1025,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 957937be-c2eb-4c51-9ee5-b5508bd34c74 status: code: 200 message: OK @@ -1094,90 +1038,78 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network vhub create Connection: - keep-alive ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '428' + - '30' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:30 GMT + - Tue, 09 Jun 2020 06:10:16 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: + - 0277dfce-90bf-4a98-89f4-7dcc68336927 status: code: 200 message: OK - request: - body: 'b''{"location": "eastus", "properties": {"virtualHub": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub"}, - "firewallPolicy": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy"}, - "sku": {"name": "AZFW_Hub", "tier": "Standard"}, "additionalProperties": {}}}''' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network vhub create Connection: - keep-alive - Content-Length: - - '564' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 response: body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"4f41faee-81f5-4fae-a05a-6abc53af6ad9\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n - \ },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\r\n - \ }\r\n }\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1009' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:42 GMT + - Tue, 09 Jun 2020 06:10:28 GMT expires: - '-1' pragma: @@ -1187,15 +1119,17 @@ interactions: - 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: - - d7970eba-780d-44c2-9cbc-0c16f72524f8 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - 84bfed18-8da1-49b6-a9aa-e869a9f57ea9 status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -1204,28 +1138,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network vhub create Connection: - keep-alive ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub?api-version=2018-08-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n + \ \"etag\": \"W/\\\"bb38f967-6586-4768-931b-40deb1d48f1f\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualNetworkConnections\": + [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"virtualRouterIps\": + [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '817' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:35:55 GMT + - Tue, 09 Jun 2020 06:10:28 GMT expires: - '-1' pragma: @@ -1242,60 +1183,67 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 18a1a593-b080-4d95-a966-13ae00af217f + - 566c691a-9c1b-4673-9a08-7d3dc0d0cdfe status: code: 200 message: OK - request: - body: null + body: '{"location": "westcentralus"}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network firewall policy create Connection: - keep-alive + Content-Length: + - '29' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"properties\": {\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n + \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"e8dd7e61-f703-4c73-8732-1a9f98b36cba\",\r\n \"location\": \"westcentralus\"\r\n}" headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/7b787bea-4cf5-4f50-bea5-fda627fd853b?api-version=2020-05-01 cache-control: - no-cache content-length: - - '30' + - '549' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:36:05 GMT + - Tue, 09 Jun 2020 06:10: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: - - 23cec267-782a-4143-ad89-badc63337bbf + x-ms-ratelimit-remaining-subscription-writes: + - '1197' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1304,35 +1252,34 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network firewall policy create Connection: - keep-alive ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/7b787bea-4cf5-4f50-bea5-fda627fd853b?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:36:16 GMT + - Tue, 09 Jun 2020 06:10: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: @@ -1341,8 +1288,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 44823273-c37b-4783-a2f8-dba8fa75ad60 status: code: 200 message: OK @@ -1354,35 +1299,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall create + - network firewall policy create Connection: - keep-alive ParameterSetName: - - -g -n --sku --vhub --firewall-policy + - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"properties\": {\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n + \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"e8dd7e61-f703-4c73-8732-1a9f98b36cba\",\r\n \"location\": \"westcentralus\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '550' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:36:27 GMT + - Tue, 09 Jun 2020 06:10: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: @@ -1391,8 +1339,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 0828a165-bcc1-4ee3-a782-52ad86c25645 status: code: 200 message: OK @@ -1410,44 +1356,42 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:06:46Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '30' + - '471' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:36:38 GMT + - Tue, 09 Jun 2020 06:10: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: - - af616f32-e60a-434e-a714-80c97fc5080e status: code: 200 message: OK - request: - body: null + body: 'b''{"location": "eastus", "properties": {"virtualHub": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub"}, + "firewallPolicy": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy"}, + "sku": {"name": "AZFW_Hub", "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": + "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}''' headers: Accept: - application/json @@ -1457,25 +1401,44 @@ interactions: - network firewall create Connection: - keep-alive + Content-Length: + - '650' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"14b93ece-1f01-43fb-a3fb-1ad0a7bc0513\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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 \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"virtualHub\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n + \ },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\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/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 cache-control: - no-cache content-length: - - '30' + - '1123' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:36:50 GMT + - Tue, 09 Jun 2020 06:11:01 GMT expires: - '-1' pragma: @@ -1485,17 +1448,15 @@ interactions: - 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: - - 90a3239b-3ff0-42e7-b27c-5976457d6a65 + - c4422509-fe15-40d6-8e5e-f8162610b482 + x-ms-ratelimit-remaining-subscription-writes: + - '1195' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1510,10 +1471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1525,7 +1486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:02 GMT + - Tue, 09 Jun 2020 06:11:12 GMT expires: - '-1' pragma: @@ -1542,7 +1503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d6b48781-8ccd-4fac-9fd1-696029257b44 + - e2c6667d-3e55-4836-b189-54644b084bc8 status: code: 200 message: OK @@ -1560,10 +1521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1575,7 +1536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:12 GMT + - Tue, 09 Jun 2020 06:11:22 GMT expires: - '-1' pragma: @@ -1592,7 +1553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 622df910-f379-41ce-9983-4efdc391d7b9 + - 529bace2-a63c-4f11-b8ea-e6ab8404964f status: code: 200 message: OK @@ -1610,10 +1571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1625,7 +1586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:23 GMT + - Tue, 09 Jun 2020 06:11:34 GMT expires: - '-1' pragma: @@ -1642,7 +1603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 368838de-1c49-483c-93e1-b269253149af + - a030e57c-c8eb-4b3d-9667-70b890736834 status: code: 200 message: OK @@ -1660,10 +1621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1675,7 +1636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:34 GMT + - Tue, 09 Jun 2020 06:11:44 GMT expires: - '-1' pragma: @@ -1692,7 +1653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8dcccf0-9374-4592-9f24-d220429f76e1 + - 0a4049aa-4b18-4b75-876b-f63c70280803 status: code: 200 message: OK @@ -1710,10 +1671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1725,7 +1686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:44 GMT + - Tue, 09 Jun 2020 06:11:54 GMT expires: - '-1' pragma: @@ -1742,7 +1703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d4fcd3c0-10c5-4c22-a5ff-58e3abbc7bfd + - 27046c4f-f71c-4d11-9a71-ccc3d5778406 status: code: 200 message: OK @@ -1760,10 +1721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1775,7 +1736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:37:55 GMT + - Tue, 09 Jun 2020 06:12:04 GMT expires: - '-1' pragma: @@ -1792,7 +1753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 16869733-83d1-4a2d-81ae-748648b4c96d + - 7b3987db-7c25-4924-9871-795f476dc99a status: code: 200 message: OK @@ -1810,10 +1771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1825,7 +1786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:38:06 GMT + - Tue, 09 Jun 2020 06:12:15 GMT expires: - '-1' pragma: @@ -1842,7 +1803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8c030b73-b24e-463d-9fec-7ed59620c27a + - 48aad311-9b19-48c1-b5ee-44105cf61cfe status: code: 200 message: OK @@ -1860,10 +1821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1875,7 +1836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:38:20 GMT + - Tue, 09 Jun 2020 06:12:25 GMT expires: - '-1' pragma: @@ -1892,7 +1853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3fb1ffa9-c704-486c-b466-810456ea439d + - f9c7ac8b-6f7f-46ca-a2a7-1f9108c41dc3 status: code: 200 message: OK @@ -1910,10 +1871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1925,7 +1886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:38:30 GMT + - Tue, 09 Jun 2020 06:12:35 GMT expires: - '-1' pragma: @@ -1942,7 +1903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dbb37d5f-9d5a-486d-9057-39c25afe7332 + - ff99c301-ce4a-4102-abae-ddefb121bf3b status: code: 200 message: OK @@ -1960,10 +1921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1975,7 +1936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:38:40 GMT + - Tue, 09 Jun 2020 06:12:45 GMT expires: - '-1' pragma: @@ -1992,7 +1953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0bcc2ae6-d909-4875-aabe-99c51e1c7e00 + - 0457e6ca-5858-4395-b4bb-f9d649310181 status: code: 200 message: OK @@ -2010,10 +1971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2025,7 +1986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:38:51 GMT + - Tue, 09 Jun 2020 06:12:56 GMT expires: - '-1' pragma: @@ -2042,7 +2003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 95ab97ec-a71d-49e8-9bd2-1e36dccc5303 + - 349d71de-6867-4c6e-b0a1-e78be399a923 status: code: 200 message: OK @@ -2060,10 +2021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2075,7 +2036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:01 GMT + - Tue, 09 Jun 2020 06:13:06 GMT expires: - '-1' pragma: @@ -2092,7 +2053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b9af1204-f3d5-4da3-a801-753faadb1c4e + - e02a799d-fe84-494c-b198-40f600a65ae0 status: code: 200 message: OK @@ -2110,10 +2071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2125,7 +2086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:13 GMT + - Tue, 09 Jun 2020 06:13:17 GMT expires: - '-1' pragma: @@ -2142,7 +2103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b0042201-092f-49e8-a4c2-1e2085cace84 + - 8363d7f8-3f31-4902-941b-3f45f9700db0 status: code: 200 message: OK @@ -2160,10 +2121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2175,7 +2136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:24 GMT + - Tue, 09 Jun 2020 06:13:27 GMT expires: - '-1' pragma: @@ -2192,7 +2153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ec2efa45-e4e0-4d5f-be30-0a38ba73958b + - a73050ab-f215-4a2c-a2fb-362d3a102b8d status: code: 200 message: OK @@ -2210,10 +2171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2225,7 +2186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:34 GMT + - Tue, 09 Jun 2020 06:13:38 GMT expires: - '-1' pragma: @@ -2242,7 +2203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2080c59e-9472-442e-a8a8-6ecb87df3312 + - cfd3a273-674a-4988-b185-6e77b545cb7d status: code: 200 message: OK @@ -2260,10 +2221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2275,7 +2236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:45 GMT + - Tue, 09 Jun 2020 06:13:48 GMT expires: - '-1' pragma: @@ -2292,7 +2253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3388ea3a-cc38-4723-8638-2acca0bedd4e + - 5ba42887-b2a0-4348-b777-3d848c79dd01 status: code: 200 message: OK @@ -2310,10 +2271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2325,7 +2286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:39:55 GMT + - Tue, 09 Jun 2020 06:13:58 GMT expires: - '-1' pragma: @@ -2342,7 +2303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d8c36533-c03c-4ad3-8d3f-62d86a8f27a7 + - 6c090c72-1723-4d1d-8f16-5a87e895e7cd status: code: 200 message: OK @@ -2360,10 +2321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2375,7 +2336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:40:06 GMT + - Tue, 09 Jun 2020 06:14:09 GMT expires: - '-1' pragma: @@ -2392,7 +2353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 06c64040-5f50-4108-8967-e5e9aea16214 + - 08e4a60e-0735-40bb-8623-bc1c127d991c status: code: 200 message: OK @@ -2410,10 +2371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2425,7 +2386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:40:17 GMT + - Tue, 09 Jun 2020 06:14:19 GMT expires: - '-1' pragma: @@ -2442,7 +2403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 31227d84-077c-4959-8986-f49b88b5b3dd + - 4d1589af-197e-4d5d-8f6b-40d658fb395c status: code: 200 message: OK @@ -2460,10 +2421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2475,7 +2436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:40:28 GMT + - Tue, 09 Jun 2020 06:14:29 GMT expires: - '-1' pragma: @@ -2492,7 +2453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2994242c-731f-464d-932b-89455fb68bc3 + - 512d4591-cf54-4988-b095-6d15523cfaa0 status: code: 200 message: OK @@ -2510,10 +2471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2525,7 +2486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:40:38 GMT + - Tue, 09 Jun 2020 06:14:39 GMT expires: - '-1' pragma: @@ -2542,7 +2503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 497ad6bb-79c0-414b-9046-61079d71d690 + - 9dce2f43-fc52-4ca6-a6b6-750b01aa1a0e status: code: 200 message: OK @@ -2560,10 +2521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2575,7 +2536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:40:48 GMT + - Tue, 09 Jun 2020 06:14:50 GMT expires: - '-1' pragma: @@ -2592,7 +2553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0cf8c484-09c8-42a1-b037-030ba18cf222 + - a95e65b6-f88b-4e7e-878c-fdcf06cd493e status: code: 200 message: OK @@ -2610,10 +2571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2625,7 +2586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:00 GMT + - Tue, 09 Jun 2020 06:15:00 GMT expires: - '-1' pragma: @@ -2642,7 +2603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 80e8d0ec-98ca-49d9-aaba-624f4fd6a2c1 + - 423f3342-c657-4ad7-ad63-43e2a87acca7 status: code: 200 message: OK @@ -2660,10 +2621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2675,7 +2636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:10 GMT + - Tue, 09 Jun 2020 06:15:10 GMT expires: - '-1' pragma: @@ -2692,7 +2653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - aaa4f4c3-e370-4d4f-bd69-68fa27b6f9a9 + - f28c3337-8d64-462d-ba77-373bb991fd04 status: code: 200 message: OK @@ -2710,10 +2671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2725,7 +2686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:22 GMT + - Tue, 09 Jun 2020 06:15:20 GMT expires: - '-1' pragma: @@ -2742,7 +2703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59da862f-4eac-48a0-8608-afa5f8238adc + - 5e9c734d-1634-4fa1-beac-48440eba28d6 status: code: 200 message: OK @@ -2760,10 +2721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2775,7 +2736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:33 GMT + - Tue, 09 Jun 2020 06:15:32 GMT expires: - '-1' pragma: @@ -2792,7 +2753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 561bcc44-7fd4-4a2e-a871-db04144c710c + - 47f463ac-7c8b-4da3-b3db-a443bdf9b39a status: code: 200 message: OK @@ -2810,10 +2771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2825,7 +2786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:43 GMT + - Tue, 09 Jun 2020 06:15:42 GMT expires: - '-1' pragma: @@ -2842,7 +2803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d61f5a1a-43da-4368-9d00-5f7baca4b7b2 + - 12648163-17be-475b-9341-8eceb8448cf8 status: code: 200 message: OK @@ -2860,10 +2821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2875,7 +2836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:41:53 GMT + - Tue, 09 Jun 2020 06:15:52 GMT expires: - '-1' pragma: @@ -2892,7 +2853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2a1adf8e-0056-4e28-ad4e-928d62842a20 + - 3e50436f-05f8-438b-bd87-eb636c6fee20 status: code: 200 message: OK @@ -2910,10 +2871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2925,7 +2886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:04 GMT + - Tue, 09 Jun 2020 06:16:03 GMT expires: - '-1' pragma: @@ -2942,7 +2903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8c45eab-255b-464b-a552-5e5dec33876d + - 5928691c-f63b-4202-bd02-4f3a7aca29b2 status: code: 200 message: OK @@ -2960,10 +2921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2975,7 +2936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:14 GMT + - Tue, 09 Jun 2020 06:16:13 GMT expires: - '-1' pragma: @@ -2992,7 +2953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 845e9bcd-24f3-4ee2-aac4-8dd22cecc91b + - 58f7d543-ec50-4554-928b-d3947f29d06e status: code: 200 message: OK @@ -3010,10 +2971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3025,7 +2986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:26 GMT + - Tue, 09 Jun 2020 06:16:23 GMT expires: - '-1' pragma: @@ -3042,7 +3003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 22020c0e-0448-4fcb-971c-dcb2a7e77136 + - 30e14478-ce38-4435-9008-a138b020a3b1 status: code: 200 message: OK @@ -3060,10 +3021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3075,7 +3036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:36 GMT + - Tue, 09 Jun 2020 06:16:34 GMT expires: - '-1' pragma: @@ -3092,7 +3053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bb181c0a-ded0-49d1-bfca-ac2bc6c60de6 + - 631b7f06-09ae-4038-83b0-8efcc0128039 status: code: 200 message: OK @@ -3110,10 +3071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3125,7 +3086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:47 GMT + - Tue, 09 Jun 2020 06:16:44 GMT expires: - '-1' pragma: @@ -3142,7 +3103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b217839-5173-4b6b-8b1b-7a9d681d4230 + - a4caa7de-77d3-47c2-9249-4f7835109406 status: code: 200 message: OK @@ -3160,10 +3121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3175,7 +3136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:42:57 GMT + - Tue, 09 Jun 2020 06:16:54 GMT expires: - '-1' pragma: @@ -3192,7 +3153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1805fc22-641d-4d7c-8b9e-ab89f1f450fc + - ef463305-7813-47ec-8b06-b91a21259861 status: code: 200 message: OK @@ -3210,10 +3171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3225,7 +3186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:43:11 GMT + - Tue, 09 Jun 2020 06:17:04 GMT expires: - '-1' pragma: @@ -3242,7 +3203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1ee0bf73-fee9-46c0-bfef-95ae7b694414 + - f4304001-d88a-46b2-b908-1c547c44a80f status: code: 200 message: OK @@ -3260,10 +3221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3275,7 +3236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:43:21 GMT + - Tue, 09 Jun 2020 06:17:15 GMT expires: - '-1' pragma: @@ -3292,7 +3253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 50bf8dd3-bf61-4a44-bfad-bf20d856c4ee + - 20dc83db-676b-4d63-8f65-d1bbf94746b3 status: code: 200 message: OK @@ -3310,10 +3271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3325,7 +3286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:43:33 GMT + - Tue, 09 Jun 2020 06:17:25 GMT expires: - '-1' pragma: @@ -3342,7 +3303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cb3ae288-c6c7-4299-b0a7-da5750a92737 + - 5c211a1a-d8e1-453e-82ad-2caf1bfad3a1 status: code: 200 message: OK @@ -3360,10 +3321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3375,7 +3336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:43:44 GMT + - Tue, 09 Jun 2020 06:17:37 GMT expires: - '-1' pragma: @@ -3392,7 +3353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 564bdc19-e53b-40c9-a8a4-65390758caea + - e8e26dcc-928b-41a8-83a4-9d42caa4a8a5 status: code: 200 message: OK @@ -3410,10 +3371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3425,7 +3386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:43:54 GMT + - Tue, 09 Jun 2020 06:17:47 GMT expires: - '-1' pragma: @@ -3442,7 +3403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eab71a97-c0c1-430a-bfd5-c3db8498fb8c + - b9598c27-ba35-4196-9211-3ab50a19916e status: code: 200 message: OK @@ -3460,10 +3421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3475,7 +3436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:05 GMT + - Tue, 09 Jun 2020 06:17:57 GMT expires: - '-1' pragma: @@ -3492,7 +3453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0df93017-152c-4e78-aef1-c9e16cb8e0b2 + - 059dbd5d-ff4a-463f-af8a-ebec8d82ad34 status: code: 200 message: OK @@ -3510,10 +3471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3525,7 +3486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:15 GMT + - Tue, 09 Jun 2020 06:18:07 GMT expires: - '-1' pragma: @@ -3542,7 +3503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8110cbb-1daf-414f-bcfc-461a173b5012 + - 420f6512-5adc-4dfb-b59c-80c5c3a40ea3 status: code: 200 message: OK @@ -3560,10 +3521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3575,7 +3536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:25 GMT + - Tue, 09 Jun 2020 06:18:18 GMT expires: - '-1' pragma: @@ -3592,7 +3553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f0d40e67-6d78-449e-9078-a3016d62387e + - abab6d22-7420-4858-af76-1a027f6901d2 status: code: 200 message: OK @@ -3610,10 +3571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3625,7 +3586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:36 GMT + - Tue, 09 Jun 2020 06:18:28 GMT expires: - '-1' pragma: @@ -3642,7 +3603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6edbc1ff-759e-4191-934d-4ce0d80b8f50 + - b9adfe00-960d-4df1-84c9-381ca84ed71c status: code: 200 message: OK @@ -3660,10 +3621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3675,7 +3636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:46 GMT + - Tue, 09 Jun 2020 06:18:38 GMT expires: - '-1' pragma: @@ -3692,7 +3653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f99f9401-8a68-489f-96bd-2619f114dd51 + - 84d3842c-6c13-43b7-ae4a-579ded2c30a4 status: code: 200 message: OK @@ -3710,10 +3671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3725,7 +3686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:44:58 GMT + - Tue, 09 Jun 2020 06:18:49 GMT expires: - '-1' pragma: @@ -3742,7 +3703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4243d5ba-d1c7-47e1-a962-6547644a485e + - 2de61918-10a9-4dc9-a6a9-f81a02257c62 status: code: 200 message: OK @@ -3760,10 +3721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3775,7 +3736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:45:08 GMT + - Tue, 09 Jun 2020 06:18:59 GMT expires: - '-1' pragma: @@ -3792,7 +3753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4d670995-ab26-4fc1-b1d1-1755cc67edf5 + - fa77da68-1470-4ebf-bc9a-85a22faf8dd8 status: code: 200 message: OK @@ -3810,10 +3771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3825,7 +3786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:45:18 GMT + - Tue, 09 Jun 2020 06:19:09 GMT expires: - '-1' pragma: @@ -3842,7 +3803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cb0fd204-08b1-4cd4-aed7-06d33ac342b8 + - 546f2f87-8687-49ad-935f-2410c8b63453 status: code: 200 message: OK @@ -3860,10 +3821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3875,7 +3836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:45:28 GMT + - Tue, 09 Jun 2020 06:19:19 GMT expires: - '-1' pragma: @@ -3892,7 +3853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3c9f708-10f8-46c6-812a-c8e079d4386a + - 694e2d08-b9c2-43e4-8802-1ee25eb7af83 status: code: 200 message: OK @@ -3910,10 +3871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3925,7 +3886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:45:40 GMT + - Tue, 09 Jun 2020 06:19:29 GMT expires: - '-1' pragma: @@ -3942,7 +3903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d72f33c4-4353-4f49-90ac-4353fb89b05d + - b5aa6280-28da-400c-922a-cefaf4b1757f status: code: 200 message: OK @@ -3960,10 +3921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3975,7 +3936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:45:50 GMT + - Tue, 09 Jun 2020 06:19:41 GMT expires: - '-1' pragma: @@ -3992,7 +3953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7bf7afb8-8e65-478e-9a09-06a428362ce3 + - a292c9d8-9fcc-4e59-b667-95d7e2090a3f status: code: 200 message: OK @@ -4010,10 +3971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4025,7 +3986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:00 GMT + - Tue, 09 Jun 2020 06:19:51 GMT expires: - '-1' pragma: @@ -4042,7 +4003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f52439a3-95eb-4449-b4f1-c6c47ce88652 + - 33d195fa-8ace-4303-9a82-8137bf61cf26 status: code: 200 message: OK @@ -4060,10 +4021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4075,7 +4036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:12 GMT + - Tue, 09 Jun 2020 06:20:01 GMT expires: - '-1' pragma: @@ -4092,7 +4053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6ded88b0-9748-44f9-83e7-19191c2b45b8 + - 51dc87f8-a535-4472-b205-693a21517ebf status: code: 200 message: OK @@ -4110,10 +4071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4125,7 +4086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:22 GMT + - Tue, 09 Jun 2020 06:20:11 GMT expires: - '-1' pragma: @@ -4142,7 +4103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 582d677e-a0fb-49f6-a6b0-e91e5a2a6905 + - 1400bdd5-0117-46ce-b246-305fbe8643fb status: code: 200 message: OK @@ -4160,10 +4121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4175,7 +4136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:32 GMT + - Tue, 09 Jun 2020 06:20:22 GMT expires: - '-1' pragma: @@ -4192,7 +4153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d299afd-89ea-44f6-ae90-47df49b645d8 + - 4bed6027-1c56-4bfa-95bc-c17a729c50ad status: code: 200 message: OK @@ -4210,10 +4171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4225,7 +4186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:43 GMT + - Tue, 09 Jun 2020 06:20:32 GMT expires: - '-1' pragma: @@ -4242,7 +4203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f4e0fb2d-6b8b-41f2-ade3-ea99222902ef + - 51af11d3-c728-40c7-856b-a6352bd7dc24 status: code: 200 message: OK @@ -4260,10 +4221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4275,7 +4236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:46:53 GMT + - Tue, 09 Jun 2020 06:20:42 GMT expires: - '-1' pragma: @@ -4292,7 +4253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 55f510bc-b209-44b2-94fe-e51609b9ac75 + - cdaaf733-4302-4570-92e3-df8e1482cf5e status: code: 200 message: OK @@ -4310,10 +4271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4325,7 +4286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:04 GMT + - Tue, 09 Jun 2020 06:20:53 GMT expires: - '-1' pragma: @@ -4342,7 +4303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 59045e32-c34d-45cb-a226-c329ebe280fe + - fed77ce8-a97d-48b8-85d7-ec29129b4b5d status: code: 200 message: OK @@ -4360,10 +4321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4375,7 +4336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:14 GMT + - Tue, 09 Jun 2020 06:21:04 GMT expires: - '-1' pragma: @@ -4392,7 +4353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b07583b0-2496-48df-b33f-525a06b7611f + - b658aa7a-11db-4751-8c54-75f2d966e6e0 status: code: 200 message: OK @@ -4410,10 +4371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4425,7 +4386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:26 GMT + - Tue, 09 Jun 2020 06:21:14 GMT expires: - '-1' pragma: @@ -4442,7 +4403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b226787e-e629-46e0-99b6-8d55784d2954 + - 936fa115-dfd0-46b0-a35a-97bbd54fb7c6 status: code: 200 message: OK @@ -4460,10 +4421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4475,7 +4436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:36 GMT + - Tue, 09 Jun 2020 06:21:25 GMT expires: - '-1' pragma: @@ -4492,7 +4453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ae058896-ed6f-4ac8-8009-4defb5d7413d + - 7788d318-ef7c-42b0-880b-a9c444d03f94 status: code: 200 message: OK @@ -4510,10 +4471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4525,7 +4486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:47 GMT + - Tue, 09 Jun 2020 06:21:36 GMT expires: - '-1' pragma: @@ -4542,7 +4503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d63e65b-08ce-4760-bf1b-2e44b06db199 + - 996cfc28-8b55-4e9b-949e-6ad78e155850 status: code: 200 message: OK @@ -4560,10 +4521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4575,7 +4536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:47:58 GMT + - Tue, 09 Jun 2020 06:21:46 GMT expires: - '-1' pragma: @@ -4592,7 +4553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 103179e5-0a2c-4864-aec4-e03af34bb112 + - 152f4ba4-fa05-418f-909b-5f5049b12b86 status: code: 200 message: OK @@ -4610,10 +4571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4625,7 +4586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:48:09 GMT + - Tue, 09 Jun 2020 06:21:56 GMT expires: - '-1' pragma: @@ -4642,7 +4603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ff07a2e3-0799-4278-8b46-6856dfcd17c9 + - c5aa24a1-3c74-4de4-9b3e-2d12e74a6480 status: code: 200 message: OK @@ -4660,10 +4621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4675,7 +4636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:48:19 GMT + - Tue, 09 Jun 2020 06:22:06 GMT expires: - '-1' pragma: @@ -4692,7 +4653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c6f8474f-f42e-43f7-8b41-33510fc048b8 + - c3781dbe-7523-426c-a7fd-a02995f407a0 status: code: 200 message: OK @@ -4710,10 +4671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4725,7 +4686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:48:29 GMT + - Tue, 09 Jun 2020 06:22:16 GMT expires: - '-1' pragma: @@ -4742,7 +4703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 05963a71-b1ad-4e94-ad68-95a2be9245d9 + - 0946ee25-072b-4609-b40f-b9bbac900e06 status: code: 200 message: OK @@ -4760,10 +4721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4775,7 +4736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:48:40 GMT + - Tue, 09 Jun 2020 06:22:27 GMT expires: - '-1' pragma: @@ -4792,7 +4753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9eec6d0d-9777-4293-b062-65156dc546ba + - 9fd59411-5c76-4212-bb46-7aaac61bb7a8 status: code: 200 message: OK @@ -4810,10 +4771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4825,7 +4786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:48:51 GMT + - Tue, 09 Jun 2020 06:22:37 GMT expires: - '-1' pragma: @@ -4842,7 +4803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5122800-9cc4-4dbd-8ba4-9cb9e51944cb + - c3bd805a-46c6-47c6-a983-506270d9987f status: code: 200 message: OK @@ -4860,10 +4821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4875,7 +4836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:02 GMT + - Tue, 09 Jun 2020 06:22:47 GMT expires: - '-1' pragma: @@ -4892,7 +4853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08a0732d-dcf1-48f4-8030-9910172c812e + - 5c38302b-69a5-4c3f-a192-90a2e66c39de status: code: 200 message: OK @@ -4910,10 +4871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4925,7 +4886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:12 GMT + - Tue, 09 Jun 2020 06:22:58 GMT expires: - '-1' pragma: @@ -4942,7 +4903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b1d8414d-1714-4e55-bfc8-a90920b81d6f + - 57e3e0a8-56b0-478d-ab30-3137bdf2899b status: code: 200 message: OK @@ -4960,10 +4921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4975,7 +4936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:22 GMT + - Tue, 09 Jun 2020 06:23:08 GMT expires: - '-1' pragma: @@ -4992,7 +4953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7144dca7-83f8-4aaf-a8a2-ffb3289c06bb + - c0e4d696-e163-408a-9458-86a4bae7f9a3 status: code: 200 message: OK @@ -5010,10 +4971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5025,7 +4986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:33 GMT + - Tue, 09 Jun 2020 06:23:19 GMT expires: - '-1' pragma: @@ -5042,7 +5003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e5671319-0fa5-4db8-a84b-46c6a0927229 + - 4d04d6cd-e3f0-4f82-90ec-530fbc1ab433 status: code: 200 message: OK @@ -5060,10 +5021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5075,7 +5036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:43 GMT + - Tue, 09 Jun 2020 06:23:29 GMT expires: - '-1' pragma: @@ -5092,7 +5053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65ef41c3-01ef-4210-90d9-18560b42ad9a + - 53966661-a16d-43a2-ac8a-917b6b945106 status: code: 200 message: OK @@ -5110,10 +5071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5125,7 +5086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:49:55 GMT + - Tue, 09 Jun 2020 06:23:40 GMT expires: - '-1' pragma: @@ -5142,7 +5103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b47e425f-a5bf-4332-91bf-f87ddc25cf23 + - 518bc4e0-6a38-4e8c-bba9-0a4f5912c977 status: code: 200 message: OK @@ -5160,10 +5121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5175,7 +5136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:05 GMT + - Tue, 09 Jun 2020 06:23:50 GMT expires: - '-1' pragma: @@ -5192,7 +5153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3980f21b-aef9-4016-b24f-ccc522d3ac57 + - 46571dcd-1b97-44a5-a928-d69f0aede10c status: code: 200 message: OK @@ -5210,10 +5171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5225,7 +5186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:16 GMT + - Tue, 09 Jun 2020 06:24:00 GMT expires: - '-1' pragma: @@ -5242,7 +5203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5b861216-3e14-4e04-bb0e-1830eeff877c + - 9b83919c-3764-4ad2-954e-13bb62126a18 status: code: 200 message: OK @@ -5260,10 +5221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5275,7 +5236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:26 GMT + - Tue, 09 Jun 2020 06:24:10 GMT expires: - '-1' pragma: @@ -5292,7 +5253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 51d89c1f-1ad5-4e5f-9998-756cfb8502f9 + - 8a838f9d-4169-4d57-ba1f-4f318cc94f4b status: code: 200 message: OK @@ -5310,10 +5271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5325,7 +5286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:36 GMT + - Tue, 09 Jun 2020 06:24:21 GMT expires: - '-1' pragma: @@ -5342,7 +5303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7ed241b2-3b4d-4669-abdf-b60601d511e1 + - bc4068ff-3f96-462d-a375-4914fed82105 status: code: 200 message: OK @@ -5360,10 +5321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5375,7 +5336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:47 GMT + - Tue, 09 Jun 2020 06:24:31 GMT expires: - '-1' pragma: @@ -5392,7 +5353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8d15ffd8-a8a5-4033-848b-f83d55f63a80 + - 0b6158f3-a506-4346-b898-efe16771eb5a status: code: 200 message: OK @@ -5410,10 +5371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5425,7 +5386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:50:58 GMT + - Tue, 09 Jun 2020 06:24:41 GMT expires: - '-1' pragma: @@ -5442,7 +5403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ecc59517-aeb9-4de7-8b7f-0d139a0e1b56 + - ec8da407-d81d-4a92-beee-3768a5784cd5 status: code: 200 message: OK @@ -5460,10 +5421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5475,7 +5436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:51:08 GMT + - Tue, 09 Jun 2020 06:24:52 GMT expires: - '-1' pragma: @@ -5492,7 +5453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d5f5c6c8-f454-4d87-a234-7f12782a4d39 + - 614f121d-23e9-475e-bd6f-a06e047cf5c5 status: code: 200 message: OK @@ -5510,10 +5471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5525,7 +5486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:51:19 GMT + - Tue, 09 Jun 2020 06:25:02 GMT expires: - '-1' pragma: @@ -5542,7 +5503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 07bc65b5-671c-488a-a68c-ed1af6e34dbe + - 363e45eb-f3b8-4dd2-a756-c946ce16a2b4 status: code: 200 message: OK @@ -5560,10 +5521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5575,7 +5536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:51:30 GMT + - Tue, 09 Jun 2020 06:25:12 GMT expires: - '-1' pragma: @@ -5592,7 +5553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6fe48fa9-539d-46c2-b43d-413a3463751f + - c287a0fb-5f78-4c7e-bea6-3661c2a10aea status: code: 200 message: OK @@ -5610,10 +5571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5625,7 +5586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:51:40 GMT + - Tue, 09 Jun 2020 06:25:23 GMT expires: - '-1' pragma: @@ -5642,7 +5603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 97ce66a6-4d67-431b-9dd3-ec5651baf4d9 + - 6c3907a4-4ef6-4f3a-a214-7fd34e0a9f1b status: code: 200 message: OK @@ -5660,10 +5621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5675,7 +5636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:51:50 GMT + - Tue, 09 Jun 2020 06:25:33 GMT expires: - '-1' pragma: @@ -5692,7 +5653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d7c2fd31-48e7-4903-8f2b-a3592f70e01c + - 9f00877a-ee51-4d38-9a6c-ff970bfd71ea status: code: 200 message: OK @@ -5710,10 +5671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5725,7 +5686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:01 GMT + - Tue, 09 Jun 2020 06:25:44 GMT expires: - '-1' pragma: @@ -5742,7 +5703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cc102de6-1a2b-4881-9b42-24e3d31369ed + - eb3a0dc7-ce89-4af6-8733-c07d2cbca0f4 status: code: 200 message: OK @@ -5760,10 +5721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5775,7 +5736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:12 GMT + - Tue, 09 Jun 2020 06:25:54 GMT expires: - '-1' pragma: @@ -5792,7 +5753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a36d0f73-8a7d-4cec-9f5c-446235f69437 + - af109af9-e4ae-41c0-b4e3-e8b3a7797159 status: code: 200 message: OK @@ -5810,10 +5771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5825,7 +5786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:23 GMT + - Tue, 09 Jun 2020 06:26:05 GMT expires: - '-1' pragma: @@ -5842,7 +5803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9e55ce98-d6f4-4ef7-b557-b84c542626cd + - f5962a8f-b35b-438f-929d-fe57fdb83afa status: code: 200 message: OK @@ -5860,10 +5821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5875,7 +5836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:33 GMT + - Tue, 09 Jun 2020 06:26:15 GMT expires: - '-1' pragma: @@ -5892,7 +5853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fbd39735-8871-454e-b886-0bab1a844801 + - 50ada49a-ac0a-4aeb-9766-485ac818f844 status: code: 200 message: OK @@ -5910,10 +5871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5925,7 +5886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:43 GMT + - Tue, 09 Jun 2020 06:26:25 GMT expires: - '-1' pragma: @@ -5942,7 +5903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ef748ff9-d7f8-4dc4-b35b-a6295dafd869 + - ca89daeb-58bd-4763-a767-f3c272a5ac79 status: code: 200 message: OK @@ -5960,10 +5921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5975,7 +5936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:52:55 GMT + - Tue, 09 Jun 2020 06:26:35 GMT expires: - '-1' pragma: @@ -5992,7 +5953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b827488c-c845-49fe-8bd0-f7b97ff3f9c6 + - ca9f2ea5-b917-4156-be0f-1c52cc494a0a status: code: 200 message: OK @@ -6010,10 +5971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6025,7 +5986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:06 GMT + - Tue, 09 Jun 2020 06:26:46 GMT expires: - '-1' pragma: @@ -6042,7 +6003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a900f793-a616-4ce2-8c7e-c049b5da13ec + - 8ff2d457-da99-4154-a318-1c32583d981b status: code: 200 message: OK @@ -6060,10 +6021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6075,7 +6036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:16 GMT + - Tue, 09 Jun 2020 06:26:56 GMT expires: - '-1' pragma: @@ -6092,7 +6053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bdf7efa1-3019-4f7b-80f6-7581d4a7a1d9 + - 9524709f-f656-4b32-8a8a-b67a8fdf71e4 status: code: 200 message: OK @@ -6110,10 +6071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6125,7 +6086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:27 GMT + - Tue, 09 Jun 2020 06:27:06 GMT expires: - '-1' pragma: @@ -6142,7 +6103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ee48591f-17c9-47af-92fc-43f2de67c275 + - dfd12d3e-916a-4777-987e-079b1556aae9 status: code: 200 message: OK @@ -6160,10 +6121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6175,7 +6136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:37 GMT + - Tue, 09 Jun 2020 06:27:17 GMT expires: - '-1' pragma: @@ -6192,7 +6153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9978835e-2e73-4342-a50a-d018fdf62b50 + - 241107ca-6204-4451-bd9f-62c21286362a status: code: 200 message: OK @@ -6210,10 +6171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6225,7 +6186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:47 GMT + - Tue, 09 Jun 2020 06:27:27 GMT expires: - '-1' pragma: @@ -6242,7 +6203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08475c6c-87d9-48b1-88d7-baf950ce6924 + - 68bcbc32-6b14-4173-a0ce-f13547bb1cbe status: code: 200 message: OK @@ -6260,10 +6221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6275,7 +6236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:53:58 GMT + - Tue, 09 Jun 2020 06:27:39 GMT expires: - '-1' pragma: @@ -6292,7 +6253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fa493457-5cd9-4cfa-acd1-1418db157ea9 + - 1013c841-4df4-4bc7-9ab7-d505ef1469d2 status: code: 200 message: OK @@ -6310,10 +6271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6325,7 +6286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:54:09 GMT + - Tue, 09 Jun 2020 06:27:49 GMT expires: - '-1' pragma: @@ -6342,7 +6303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8ce52cd3-02db-4e8d-b15f-c52a3ccd1f94 + - 092a92f5-09f9-496b-92e9-2be9977e557a status: code: 200 message: OK @@ -6360,10 +6321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6375,7 +6336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:54:21 GMT + - Tue, 09 Jun 2020 06:27:59 GMT expires: - '-1' pragma: @@ -6392,7 +6353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 65ac319d-deae-4e86-ab7f-6babdcaf4a8c + - 0874aeda-afc5-4dad-9ac4-caa1e0a42d15 status: code: 200 message: OK @@ -6410,10 +6371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6425,7 +6386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:54:31 GMT + - Tue, 09 Jun 2020 06:28:09 GMT expires: - '-1' pragma: @@ -6442,7 +6403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5db7446-02dd-4aea-842f-3d41ab189c65 + - 7498f717-823b-4b7c-8915-cb632262ef6f status: code: 200 message: OK @@ -6460,10 +6421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6475,7 +6436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:54:41 GMT + - Tue, 09 Jun 2020 06:28:20 GMT expires: - '-1' pragma: @@ -6492,7 +6453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a53f630-827b-439e-bdf1-ddc1383d35ae + - 9ff0c820-2a73-4dcc-9b17-5bb6b9b8d1ac status: code: 200 message: OK @@ -6510,10 +6471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6525,7 +6486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:54:52 GMT + - Tue, 09 Jun 2020 06:28:30 GMT expires: - '-1' pragma: @@ -6542,7 +6503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4f555a1b-f4de-4fb2-b5e6-9be2e5141c2e + - a54ddcd3-9d4e-474b-9583-344bcb7b848f status: code: 200 message: OK @@ -6560,10 +6521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6575,7 +6536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:02 GMT + - Tue, 09 Jun 2020 06:28:40 GMT expires: - '-1' pragma: @@ -6592,7 +6553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 83479abd-7eb6-4c61-aaff-03955fa13e4b + - b8b552c5-3dd0-434d-9430-5857f6a27420 status: code: 200 message: OK @@ -6610,10 +6571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6625,7 +6586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:13 GMT + - Tue, 09 Jun 2020 06:28:50 GMT expires: - '-1' pragma: @@ -6642,7 +6603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d822513-faf3-482b-8704-9b3ea1e5ab5c + - 96650aa8-c8e5-4e5c-a64b-ab1abc0bd75d status: code: 200 message: OK @@ -6660,10 +6621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6675,7 +6636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:23 GMT + - Tue, 09 Jun 2020 06:29:00 GMT expires: - '-1' pragma: @@ -6692,7 +6653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7c1916b5-81a2-46cc-a47a-b1d591680a2e + - 5ce23733-97b6-4372-a1b4-74533c6396d8 status: code: 200 message: OK @@ -6710,10 +6671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6725,7 +6686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:34 GMT + - Tue, 09 Jun 2020 06:29:11 GMT expires: - '-1' pragma: @@ -6742,7 +6703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - da73896d-3cf3-485b-a47d-8dd22073be3d + - 34a7ef07-9a9d-4091-b8f5-79ef9efb279e status: code: 200 message: OK @@ -6760,10 +6721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6775,7 +6736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:45 GMT + - Tue, 09 Jun 2020 06:29:22 GMT expires: - '-1' pragma: @@ -6792,7 +6753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8b51838b-07d2-4236-a2cc-0eb49810a742 + - 82cdacbc-cc56-412b-8e71-6fca6906f211 status: code: 200 message: OK @@ -6810,10 +6771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6825,7 +6786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:55:55 GMT + - Tue, 09 Jun 2020 06:29:32 GMT expires: - '-1' pragma: @@ -6842,7 +6803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - efe2cfc3-ac8e-4a1f-bce7-bc79c11a7416 + - e1208a29-1a29-41a6-9f43-9d19744c7240 status: code: 200 message: OK @@ -6860,10 +6821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6875,7 +6836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:05 GMT + - Tue, 09 Jun 2020 06:29:43 GMT expires: - '-1' pragma: @@ -6892,7 +6853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 96a7a840-2a3c-4848-abad-b41cb1774119 + - 702fd428-0d31-48b1-baa4-fd380fdf8417 status: code: 200 message: OK @@ -6910,10 +6871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6925,7 +6886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:16 GMT + - Tue, 09 Jun 2020 06:29:53 GMT expires: - '-1' pragma: @@ -6942,7 +6903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 37b6574e-2750-4f37-8737-3798b6c64532 + - 5a5af88a-d2ee-4320-a300-ceb0faa22562 status: code: 200 message: OK @@ -6960,10 +6921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6975,7 +6936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:27 GMT + - Tue, 09 Jun 2020 06:30:03 GMT expires: - '-1' pragma: @@ -6992,7 +6953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 23616526-526e-4dca-9590-fbbb630d03c7 + - a1ba829c-f4c6-4f0f-85e0-2bd6df9861b0 status: code: 200 message: OK @@ -7010,10 +6971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7025,7 +6986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:37 GMT + - Tue, 09 Jun 2020 06:30:13 GMT expires: - '-1' pragma: @@ -7042,7 +7003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5fd7bb2e-f300-4cc8-ba29-947cbb42f4aa + - 8291d7a9-7959-47c7-9cee-ed21a1f6ff86 status: code: 200 message: OK @@ -7060,10 +7021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7075,7 +7036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:47 GMT + - Tue, 09 Jun 2020 06:30:24 GMT expires: - '-1' pragma: @@ -7092,7 +7053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9037e278-bba6-418c-9e9a-3caa39b39bba + - 5cfdc049-a06e-41bb-8244-a7a4ba051def status: code: 200 message: OK @@ -7110,10 +7071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7125,7 +7086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:56:59 GMT + - Tue, 09 Jun 2020 06:30:34 GMT expires: - '-1' pragma: @@ -7142,7 +7103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 255b1240-883d-4fd8-bbba-f0c9dd4fe44d + - 5a2fe915-0e3f-49ee-aa74-c49f3c815c71 status: code: 200 message: OK @@ -7160,10 +7121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7175,7 +7136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:57:09 GMT + - Tue, 09 Jun 2020 06:30:44 GMT expires: - '-1' pragma: @@ -7192,7 +7153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd4bcc43-37fb-4613-afd9-0c9845bc9328 + - 191e72bb-999f-4f4a-b292-58f9446b21e2 status: code: 200 message: OK @@ -7210,10 +7171,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7225,7 +7186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:57:20 GMT + - Tue, 09 Jun 2020 06:30:54 GMT expires: - '-1' pragma: @@ -7242,7 +7203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cde36812-ae25-4c13-8818-7383370b6534 + - 0991f8f9-2ee4-4dbb-8a30-29735cac8634 status: code: 200 message: OK @@ -7260,10 +7221,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7275,7 +7236,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:57:30 GMT + - Tue, 09 Jun 2020 06:31:05 GMT expires: - '-1' pragma: @@ -7292,7 +7253,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b9a1f7f0-86d7-4489-8176-fd0907dfc928 + - b5a72940-1162-4bce-b0d9-17112107e0fc status: code: 200 message: OK @@ -7310,10 +7271,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7325,7 +7286,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:57:40 GMT + - Tue, 09 Jun 2020 06:31:15 GMT expires: - '-1' pragma: @@ -7342,7 +7303,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0084079d-1225-49fe-b3ec-6362089a8d75 + - 7e0caf1d-616b-497c-8d1b-23c3ea1b41cf status: code: 200 message: OK @@ -7360,10 +7321,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7375,7 +7336,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:57:51 GMT + - Tue, 09 Jun 2020 06:31:26 GMT expires: - '-1' pragma: @@ -7392,7 +7353,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0d3f653c-aaba-43bc-a9f6-49b6af279424 + - edd52d25-506a-4ce7-90ef-5ed014d15708 status: code: 200 message: OK @@ -7410,10 +7371,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7425,7 +7386,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:01 GMT + - Tue, 09 Jun 2020 06:31:36 GMT expires: - '-1' pragma: @@ -7442,7 +7403,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5f0a5311-3e09-4132-9456-b3238e08af89 + - c31b6a75-b6a2-4a42-8b5f-5c3c9936f0f5 status: code: 200 message: OK @@ -7460,10 +7421,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7475,7 +7436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:12 GMT + - Tue, 09 Jun 2020 06:31:47 GMT expires: - '-1' pragma: @@ -7492,7 +7453,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 36f75eaa-617e-4c0f-bebd-cf654113f048 + - 55b28337-39dc-46a1-ab7b-9dfecce68598 status: code: 200 message: OK @@ -7510,10 +7471,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7525,7 +7486,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:23 GMT + - Tue, 09 Jun 2020 06:31:57 GMT expires: - '-1' pragma: @@ -7542,7 +7503,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 35d188d4-9849-42c2-a4e7-cf8cab8f98b1 + - dc26c8b0-af85-485d-8eee-4b4b6174c91c status: code: 200 message: OK @@ -7560,10 +7521,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7575,7 +7536,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:33 GMT + - Tue, 09 Jun 2020 06:32:07 GMT expires: - '-1' pragma: @@ -7592,7 +7553,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d566b8db-9a5f-4bbd-b859-881663feed16 + - cd4222e6-8b86-4f7c-bd4b-ed23ad6cb7eb status: code: 200 message: OK @@ -7610,10 +7571,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7625,7 +7586,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:44 GMT + - Tue, 09 Jun 2020 06:32:17 GMT expires: - '-1' pragma: @@ -7642,7 +7603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 33bbf526-477c-4ad5-90f3-7bc794d1a6ad + - aab3ee53-7658-489a-aeab-663caf061e5b status: code: 200 message: OK @@ -7660,10 +7621,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7675,7 +7636,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:58:54 GMT + - Tue, 09 Jun 2020 06:32:28 GMT expires: - '-1' pragma: @@ -7692,7 +7653,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 48c77944-31f6-4bb3-a10a-a5e7d8fc89dc + - b5bcbe56-3525-4c84-8ff1-dfd531fd6936 status: code: 200 message: OK @@ -7710,10 +7671,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7725,7 +7686,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:04 GMT + - Tue, 09 Jun 2020 06:32:38 GMT expires: - '-1' pragma: @@ -7742,7 +7703,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d55a78e-54cc-4d14-8a52-96fe6e4034e4 + - 38685351-4973-48cf-80ff-938157f2a24f status: code: 200 message: OK @@ -7760,10 +7721,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7775,7 +7736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:15 GMT + - Tue, 09 Jun 2020 06:32:48 GMT expires: - '-1' pragma: @@ -7792,7 +7753,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 01c8aaea-7afc-42d4-903d-f8bad41b8509 + - b929bbe3-6b3b-4cb7-8887-fe3d8e21fb84 status: code: 200 message: OK @@ -7810,10 +7771,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7825,7 +7786,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:27 GMT + - Tue, 09 Jun 2020 06:32:58 GMT expires: - '-1' pragma: @@ -7842,7 +7803,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f9b94f30-2079-44c8-9ae0-b098896d6dd9 + - 6e78eb4c-3322-4549-bdc5-bce82fe2fb6b status: code: 200 message: OK @@ -7860,10 +7821,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7875,7 +7836,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:37 GMT + - Tue, 09 Jun 2020 06:33:09 GMT expires: - '-1' pragma: @@ -7892,7 +7853,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e8e65fa-9ade-46c1-9468-b5e79ca33fb6 + - 97e69d8e-08e0-43a8-a41a-03a2b7b443d9 status: code: 200 message: OK @@ -7910,10 +7871,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7925,7 +7886,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:47 GMT + - Tue, 09 Jun 2020 06:33:19 GMT expires: - '-1' pragma: @@ -7942,7 +7903,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c553ecb1-cd56-4f53-8ef9-b19fd7e5f044 + - 673a222d-544e-4533-807b-099d31ead27e status: code: 200 message: OK @@ -7960,10 +7921,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7975,7 +7936,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 09:59:58 GMT + - Tue, 09 Jun 2020 06:33:31 GMT expires: - '-1' pragma: @@ -7992,7 +7953,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ddf643f9-1617-4495-9143-14a13a1bbcc2 + - 60e810a0-e8de-4662-a3db-e8df80ff7e68 status: code: 200 message: OK @@ -8010,10 +7971,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -8025,7 +7986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:08 GMT + - Tue, 09 Jun 2020 06:33:41 GMT expires: - '-1' pragma: @@ -8042,7 +8003,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - da22e266-a53a-48d1-912c-1e7d63dce7a9 + - 181950c9-315d-4839-be62-5e1b854c3552 status: code: 200 message: OK @@ -8060,10 +8021,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -8075,7 +8036,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:18 GMT + - Tue, 09 Jun 2020 06:33:51 GMT expires: - '-1' pragma: @@ -8092,7 +8053,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 299c6a98-a2a8-4428-a913-964d5f40e039 + - c134287a-c71e-46a2-b98f-44e0d6abfc6b status: code: 200 message: OK @@ -8110,10 +8071,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -8125,7 +8086,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:29 GMT + - Tue, 09 Jun 2020 06:34:02 GMT expires: - '-1' pragma: @@ -8142,7 +8103,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b3210e85-8e41-4dd9-b5ee-dbf7ff6f99df + - 8a902404-e8ea-4483-867a-f2a75ad635fb status: code: 200 message: OK @@ -8160,10 +8121,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8175,7 +8136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:40 GMT + - Tue, 09 Jun 2020 06:34:12 GMT expires: - '-1' pragma: @@ -8192,7 +8153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d5b47d21-7c21-4f6b-86ae-f538880769f3 + - 3f441706-6091-4ba0-a2e8-f89ce61c5421 status: code: 200 message: OK @@ -8210,20 +8171,22 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"5d26493d-c4d3-4f47-92b8-9883681f4b40\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3e5332a2-d1c2-4edf-a07f-b7c2ac5849aa\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n + {\r\n \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"virtualHub\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.0.0.68\",\r\n - \ \"publicIPAddresses\": [\r\n {\r\n \"address\": \"52.152.200.195\"\r\n + \ \"publicIPAddresses\": [\r\n {\r\n \"address\": \"52.142.33.201\"\r\n \ }\r\n ]\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\r\n \ }\r\n }\r\n}" @@ -8231,13 +8194,13 @@ interactions: cache-control: - no-cache content-length: - - '1183' + - '1296' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:40 GMT + - Tue, 09 Jun 2020 06:34:12 GMT etag: - - W/"5d26493d-c4d3-4f47-92b8-9883681f4b40" + - W/"3e5332a2-d1c2-4edf-a07f-b7c2ac5849aa" expires: - '-1' pragma: @@ -8254,12 +8217,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c85bd35b-6307-4a4a-bb9f-e8eb17de8ddd + - c1f1c609-5a5b-4ee5-8f9b-1eacda41598f status: code: 200 message: OK - request: - body: '{"location": "centraluseuap", "properties": {"additionalProperties": {}}}' + body: '{"location": "centraluseuap", "properties": {"additionalProperties": {"DNSEnableProxy": + "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}' headers: Accept: - application/json @@ -8270,14 +8234,14 @@ interactions: Connection: - keep-alive Content-Length: - - '73' + - '159' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -8285,26 +8249,28 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"3b88e7cc-9a8e-475e-88fb-368135502a6a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"70427d22-f173-471d-bd87-358343307920\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n + \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/61b2943a-fb80-4372-b922-4431190b8d59?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-11-01 cache-control: - no-cache content-length: - - '697' + - '811' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:00:51 GMT + - Tue, 09 Jun 2020 06:34:18 GMT expires: - '-1' pragma: @@ -8317,9 +8283,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ac51996c-7066-47ac-8ab1-784500f6b656 + - 56129f4f-8078-486f-abb8-4c6a3c61d80b x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -8337,39 +8303,87 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/61b2943a-fb80-4372-b922-4431190b8d59?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: '{"error":{"code":"ServerTimeout","message":"The request timed out. + Diagnostic information: timestamp ''20200609T063449Z'', subscription id ''0b1f6471-1bf0-4dda-aec3-cb9272f09590'', + tracking id ''96aed39d-bd53-4ade-9b3c-3c66b8aa8345'', request correlation + id ''96aed39d-bd53-4ade-9b3c-3c66b8aa8345''."}}' headers: cache-control: - no-cache + connection: + - close content-length: - - '29' + - '294' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:03 GMT + - Tue, 09 Jun 2020 06: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-failure-cause: + - gateway + status: + code: 503 + message: Service Unavailable +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-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 Jun 2020 06:34: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: - - 370f35a1-e375-4687-956d-c267e4fd0d62 + - a2a76d1c-7026-4f8d-af6b-2183c676d067 status: code: 200 message: OK @@ -8387,31 +8401,33 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"a09f9341-03a9-41b9-8086-2fbee8774aca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c5763109-f53b-48ac-a672-c13153e318c7\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n + \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '698' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:03 GMT + - Tue, 09 Jun 2020 06:34:51 GMT etag: - - W/"a09f9341-03a9-41b9-8086-2fbee8774aca" + - W/"c5763109-f53b-48ac-a672-c13153e318c7" expires: - '-1' pragma: @@ -8428,7 +8444,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0f71fe95-3075-4817-8b9c-dd33f62f630e + - ee8e09a7-08e7-4add-b3bb-fcc33ffa2936 status: code: 200 message: OK @@ -8452,8 +8468,8 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -8461,9 +8477,9 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"b0351008-7aaf-48fd-82a3-67bfc81770e4\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"edcdbc07-0a8d-4a87-8c4e-481e922f0725\\\"\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"cf638648-884b-4956-a96a-b37cc03d8408\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"0931bf44-27a1-4793-93b9-3c7585926efb\",\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 }\r\n}" @@ -8471,7 +8487,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2e00fc43-ab4d-42b2-bec3-a29846f0a4e8?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6c557622-44c5-42da-b719-03c605163768?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -8479,7 +8495,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:16 GMT + - Tue, 09 Jun 2020 06:35:02 GMT expires: - '-1' pragma: @@ -8492,9 +8508,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a6ddda1a-7748-43d0-ba65-591386ca9425 + - 801ea6c4-b936-49be-a9e7-654be4de954b x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -8512,10 +8528,10 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2e00fc43-ab4d-42b2-bec3-a29846f0a4e8?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6c557622-44c5-42da-b719-03c605163768?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8527,7 +8543,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:18 GMT + - Tue, 09 Jun 2020 06:35:04 GMT expires: - '-1' pragma: @@ -8544,7 +8560,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2a5c48c6-bd6d-44cd-845a-6619e93e0818 + - 0823bfa2-1431-4519-9c6d-b07afcc8b789 status: code: 200 message: OK @@ -8562,17 +8578,17 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"999670b6-f7bc-4e58-b08b-3c6ba26f9a4a\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7e05ae55-167e-40ba-b72b-a22bcd1a2310\\\"\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"cf638648-884b-4956-a96a-b37cc03d8408\",\r\n \"ipAddress\": - \"40.89.57.217\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"0931bf44-27a1-4793-93b9-3c7585926efb\",\r\n \"ipAddress\": + \"52.253.157.74\",\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 }\r\n}" @@ -8580,13 +8596,13 @@ interactions: cache-control: - no-cache content-length: - - '702' + - '703' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:19 GMT + - Tue, 09 Jun 2020 06:35:05 GMT etag: - - W/"999670b6-f7bc-4e58-b08b-3c6ba26f9a4a" + - W/"7e05ae55-167e-40ba-b72b-a22bcd1a2310" expires: - '-1' pragma: @@ -8603,7 +8619,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ee0e8d28-1fc3-4731-93bb-3d97ab84a21f + - 8db3ad5c-7ee9-4c1f-8475-28be11369b7e status: code: 200 message: OK @@ -8627,8 +8643,8 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -8636,15 +8652,15 @@ interactions: response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"724b6141-72a6-4a74-a29e-94db4818ecdc\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"56229dba-8a2c-4b4a-a2f6-0105a5071286\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"ece88504-6938-4e6b-8048-b1b3dd49d030\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"f5e89fa3-7878-4c07-80e5-32640a9048d8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"724b6141-72a6-4a74-a29e-94db4818ecdc\\\"\",\r\n + \ \"etag\": \"W/\\\"56229dba-8a2c-4b4a-a2f6-0105a5071286\\\"\",\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\": @@ -8655,7 +8671,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/49469c71-85f3-4d59-99ee-57a92ca2196b?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2d869e04-9c50-4dd6-a738-06e5b3ad052f?api-version=2020-04-01 cache-control: - no-cache content-length: @@ -8663,7 +8679,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:29 GMT + - Tue, 09 Jun 2020 06:35:09 GMT expires: - '-1' pragma: @@ -8676,9 +8692,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0c894600-9bdf-44a1-b618-c295876ba266 + - 302d470c-cac0-4158-b015-59c6a4ade459 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -8696,10 +8712,10 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/49469c71-85f3-4d59-99ee-57a92ca2196b?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2d869e04-9c50-4dd6-a738-06e5b3ad052f?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8711,7 +8727,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:34 GMT + - Tue, 09 Jun 2020 06:35:13 GMT expires: - '-1' pragma: @@ -8728,7 +8744,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c396c71f-3b6f-4fc1-bea1-845c48787945 + - dc97ef63-e1b5-41b6-bc5d-24e616a9ef27 status: code: 200 message: OK @@ -8746,22 +8762,22 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"162c1969-5aeb-44e1-9a8d-736f0b7bd537\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"2e838bf6-7a32-4c22-aea4-278967d44cbe\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ece88504-6938-4e6b-8048-b1b3dd49d030\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"f5e89fa3-7878-4c07-80e5-32640a9048d8\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"162c1969-5aeb-44e1-9a8d-736f0b7bd537\\\"\",\r\n + \ \"etag\": \"W/\\\"2e838bf6-7a32-4c22-aea4-278967d44cbe\\\"\",\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\": @@ -8776,9 +8792,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:34 GMT + - Tue, 09 Jun 2020 06:35:13 GMT etag: - - W/"162c1969-5aeb-44e1-9a8d-736f0b7bd537" + - W/"2e838bf6-7a32-4c22-aea4-278967d44cbe" expires: - '-1' pragma: @@ -8795,7 +8811,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b133294b-0e1e-4e34-991b-ccfead4e9643 + - 0a7a1929-2686-4d19-be64-f7f8e4d08638 status: code: 200 message: OK @@ -8813,8 +8829,8 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET @@ -8822,24 +8838,26 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"a09f9341-03a9-41b9-8086-2fbee8774aca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c5763109-f53b-48ac-a672-c13153e318c7\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n + \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '698' + - '812' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:36 GMT + - Tue, 09 Jun 2020 06:35:16 GMT etag: - - W/"a09f9341-03a9-41b9-8086-2fbee8774aca" + - W/"c5763109-f53b-48ac-a672-c13153e318c7" expires: - '-1' pragma: @@ -8856,7 +8874,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f8636340-a279-4544-8cbe-cf48f50dedd2 + - b8f6b159-af3f-4811-a17c-73fea989b281 status: code: 200 message: OK @@ -8867,7 +8885,8 @@ interactions: [{"properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {}}}''' + "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": "False", "DNSRequireProxyForNetworkRules": + "True", "DNSServer": null}}}''' headers: Accept: - application/json @@ -8878,14 +8897,14 @@ interactions: Connection: - keep-alive Content-Length: - - '971' + - '1057' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT @@ -8893,14 +8912,15 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"22c59bac-17d8-4631-8a3e-750eb8e4a1f8\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"17aaadfc-3e0d-46a0-844c-15d22c923fe5\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"22c59bac-17d8-4631-8a3e-750eb8e4a1f8\\\"\",\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n + \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": + \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"17aaadfc-3e0d-46a0-844c-15d22c923fe5\\\"\",\r\n \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -8911,15 +8931,15 @@ interactions: []\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/aabb5c45-5fdf-4865-a348-acc5df24a4c3?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1822' + - '1936' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:01:37 GMT + - Tue, 09 Jun 2020 06:35:16 GMT expires: - '-1' pragma: @@ -8936,7 +8956,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7853aed9-9abc-4643-a204-c1e9b9766d5b + - 744d454a-5b1c-4f1c-8536-7eb6d95a8f7e x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -8956,2569 +8976,24 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:01: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: - - d48ccdc4-145c-4c55-8378-63d5db5344a1 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:01: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: - - ba70fd36-7c15-411d-bb36-661c3ba02bd4 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:02:09 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: - - 8e83fc8e-e036-43cb-859e-4fdc5335e49d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:02: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-arm-service-request-id: - - ee9d9d7e-bc6e-4506-a706-54f0c2ab1414 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/aabb5c45-5fdf-4865-a348-acc5df24a4c3?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"AzureFirewallInvalidAdditionalPropertyName\",\r\n + \ \"message\": \"'DNSEnableProxy' is not a valid property name for Azure + Firewall.\",\r\n \"details\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '209' content-type: - application/json; charset=utf-8 date: - - Wed, 12 Feb 2020 10:02: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: - - 9fd40d8e-d405-4c95-b1cf-629d3c882106 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:02: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: - - 5d6bc6b1-8916-47c0-bd6e-c1a36de07c7d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:02: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: - - d953646c-7e30-483b-bd0b-4369ec82e477 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - 4b0341e1-52e5-47dd-b729-4e2815449efe - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - 6585d6d9-60f6-4d0f-9bc0-1d9b5b64c0ea - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - cbe4f754-ae5a-4bd8-91d2-c926befc3c36 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - 7a3d1ba6-c061-4cb3-995d-70d5620d0a23 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - d06159a7-2c7a-405d-9c86-d3b48e7bd9f3 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:03: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: - - d53b341a-acec-4942-bf54-898bed6cf4c9 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:04: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: - - b237bc90-c692-4505-ac64-da5508a68c9f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:04: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: - - 44df7c3a-3e1d-4502-ae98-f3add0fc649d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:04: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: - - 3dc25c73-52d4-4d18-ba9e-9758125afef2 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:04: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: - - 6c9dcd34-5b71-46e8-bea6-e559d05c78d0 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: - - Wed, 12 Feb 2020 10:04: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: - - 2652d6ae-8094-4490-acba-1c3039305072 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall ip-config create - Connection: - - keep-alive - ParameterSetName: - - -g -n -f --public-ip-address --vnet-name - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": - {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1866' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:04:48 GMT - etag: - - W/"477c6fe4-64f4-419e-b985-9782cd1303a0" - 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: - - 78cbb63f-2b1e-4424-a12a-fa62fbd7790e - status: - code: 200 - message: OK -- request: - body: '{"location": "westcentralus"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall policy create - Connection: - - keep-alive - Content-Length: - - '29' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 - response: - body: - string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": - [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\",\r\n - \ \"name\": \"myclipolicy2\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"ab87c416-dfa9-46d6-80ae-5538d9eabc77\",\r\n \"location\": \"westcentralus\"\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-01 - cache-control: - - no-cache - content-length: - - '541' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:04:58 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-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall policy create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-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: - - Wed, 12 Feb 2020 10:05:10 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 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall policy create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 - response: - body: - string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n - \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": - [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\",\r\n - \ \"name\": \"myclipolicy2\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"ab87c416-dfa9-46d6-80ae-5538d9eabc77\",\r\n \"location\": \"westcentralus\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '542' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:05:11 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 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": - {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1866' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:05:14 GMT - etag: - - W/"477c6fe4-64f4-419e-b985-9782cd1303a0" - 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: - - 65468115-f4b4-48a7-9622-c2d03a2edd14 - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2", - "location": "centraluseuap", "properties": {"applicationRuleCollections": [], - "natRuleCollections": [], "networkRuleCollections": [], "ipConfigurations": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1", - "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, - "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, - "name": "myipconfig1"}], "threatIntelMode": "Alert", "firewallPolicy": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2"}, - "sku": {"name": "AZFW_VNet", "tier": "Standard"}, "additionalProperties": {}}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - Content-Length: - - '1442' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"84a0ae6a-3601-4c80-a06d-06883b082d3a\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": - {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"84a0ae6a-3601-4c80-a06d-06883b082d3a\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - [],\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\"\r\n - \ }\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-11-01 - cache-control: - - no-cache - content-length: - - '2114' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:05:17 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: - - 688dc764-b5b4-4ada-b3ce-d3d371d0781c - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:05: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: - - b208ed4b-4e84-4f2b-a7c5-1e9662388933 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:05: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: - - dd6e4c5a-32c4-4784-ab85-acc27ff9318e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:05: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: - - 0e560b70-f93a-4511-804f-f146fe8e7660 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - d476a7f1-ee5f-4186-ac49-165a7d16da7f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - 2de5886d-504c-4e86-a5d0-99f99882638f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - 4931398c-9e5b-43be-80e9-8a77e86c70ae - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - 836b62c7-b582-43b9-b4dc-bca88a83c602 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - 9513b36d-ddd7-48f9-a05b-b1ed1dde243f - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:06: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: - - e7a348d4-5a7a-4d51-a533-ae5bc593e1c8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07: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: - - 87fde9c8-c01f-4d04-87ff-e2182314e99e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07: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: - - 02a9d3c2-be8d-4902-8304-e9aa7f64256a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07: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: - - c44fd6c7-0ab2-47e8-87a9-0f5175e3c145 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07:35 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: - - 3a02e41b-54fc-4f52-b8b2-7a8ae61834af - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07: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: - - 24f9ba02-b827-4c02-b590-6bdca9c94bc4 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:07: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: - - 363bac21-d24c-44d8-90e3-e3178067a511 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08:07 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: - - 2659051f-2d34-4c0d-96fc-855b065f40e8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08:17 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: - - fd828518-1867-4407-b34e-54baeeaf2dcb - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08: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: - - 2b9bf98e-589a-485b-a5f4-03ff703c36b8 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08:38 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: - - 62d323ac-1180-4ae2-9cf6-4797ed6b06a6 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08: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: - - 49ac9c7e-6939-4d8e-95ea-9363c59c6d2c - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:08: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: - - a488ea83-04cc-4969-86d0-dff64d9fac64 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:09: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: - - 8ffd0b0a-f730-4276-9179-0de4bd65d02e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:09: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: - - 95d653de-ee51-4bb0-b9a1-544da209f958 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:09: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: - - 3535f61b-fac9-4666-a69b-76dd05b10b81 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: - - Wed, 12 Feb 2020 10:09: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: - - fd93baa6-c5cf-4c31-9ba6-28489dfbae67 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall update - Connection: - - keep-alive - ParameterSetName: - - -g -n --firewall-policy - User-Agent: - - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"d561f516-1385-4157-a7a0-e63b3246c928\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": - {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n - \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"d561f516-1385-4157-a7a0-e63b3246c928\\\"\",\r\n - \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n - \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n - \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - [],\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\"\r\n - \ }\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '2115' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 12 Feb 2020 10:09:42 GMT - etag: - - W/"d561f516-1385-4157-a7a0-e63b3246c928" + - Tue, 09 Jun 2020 06:35:27 GMT expires: - '-1' pragma: @@ -11535,7 +9010,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3f1c15f-2792-4385-b911-981d512008b0 + - cd66b233-d7b4-4d56-a425-5dcf9788ce6b status: code: 200 message: OK diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_firewall_with_dns_proxy.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_firewall_with_dns_proxy.yaml index 94f00291068..5446fb897b9 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_firewall_with_dns_proxy.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_firewall_with_dns_proxy.yaml @@ -11,17 +11,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-servers --dns-proxy-enabled --dns-require-proxy-for-network-rules + - -g -n --dns-servers --enable-dns-proxy --require-dns-proxy-for-network-rules User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_firewall_with_dns_proxy000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001","name":"test_firewall_with_dns_proxy000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-01T08:30:44Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001","name":"test_firewall_with_dns_proxy000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:40:56Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:30:47 GMT + - Tue, 09 Jun 2020 06:41:00 GMT expires: - '-1' pragma: @@ -62,32 +62,31 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -g -n --dns-servers --dns-proxy-enabled --dns-require-proxy-for-network-rules + - -g -n --dns-servers --enable-dns-proxy --require-dns-proxy-for-network-rules User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"be67484c-e034-4bf8-b703-094328e0f8e3\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"d55f829b-51b1-47da-8907-5dbb0dd211a8\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\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/0fcb15d5-8798-407a-8807-13d6491ac9ee?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/893e3373-b662-484c-aa97-f40b708235d6?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -95,7 +94,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:30:53 GMT + - Tue, 09 Jun 2020 06:41:06 GMT expires: - '-1' pragma: @@ -108,9 +107,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9025b040-2c74-46c4-8365-c1032f641617 + - b12b27a2-6e71-4ab6-891b-595e5b93daf8 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 201 message: Created @@ -126,12 +125,12 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-servers --dns-proxy-enabled --dns-require-proxy-for-network-rules + - -g -n --dns-servers --enable-dns-proxy --require-dns-proxy-for-network-rules User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0fcb15d5-8798-407a-8807-13d6491ac9ee?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/893e3373-b662-484c-aa97-f40b708235d6?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -143,7 +142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:04 GMT + - Tue, 09 Jun 2020 06:41:18 GMT expires: - '-1' pragma: @@ -160,7 +159,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a7e19e51-ed79-4d81-98f5-d64ee543e876 + - e9149b17-204f-484e-9f67-e5ee566b592f status: code: 200 message: OK @@ -176,25 +175,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-servers --dns-proxy-enabled --dns-require-proxy-for-network-rules + - -g -n --dns-servers --enable-dns-proxy --require-dns-proxy-for-network-rules User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"71ed3ada-1a10-4d1c-9a88-ac658a1743aa\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"910b6c5d-5d99-44c2-9cc6-051a416fbf41\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache @@ -203,9 +201,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:05 GMT + - Tue, 09 Jun 2020 06:41:18 GMT etag: - - W/"71ed3ada-1a10-4d1c-9a88-ac658a1743aa" + - W/"910b6c5d-5d99-44c2-9cc6-051a416fbf41" expires: - '-1' pragma: @@ -222,7 +220,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3213d278-3905-4ff9-86ba-0e1e3f08a55d + - a4c8255c-46c4-4480-b40f-1a539281ecf6 status: code: 200 message: OK @@ -240,25 +238,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"71ed3ada-1a10-4d1c-9a88-ac658a1743aa\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"910b6c5d-5d99-44c2-9cc6-051a416fbf41\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache @@ -267,9 +264,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:05 GMT + - Tue, 09 Jun 2020 06:41:19 GMT etag: - - W/"71ed3ada-1a10-4d1c-9a88-ac658a1743aa" + - W/"910b6c5d-5d99-44c2-9cc6-051a416fbf41" expires: - '-1' pragma: @@ -286,7 +283,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7fb472a4-f395-4701-b893-26d41748cfff + - c72f2b7c-984b-4edd-9b0c-49b7f5b20a34 status: code: 200 message: OK @@ -302,27 +299,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-proxy-enabled + - -g -n --enable-dns-proxy User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"71ed3ada-1a10-4d1c-9a88-ac658a1743aa\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"910b6c5d-5d99-44c2-9cc6-051a416fbf41\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache @@ -331,9 +327,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:07 GMT + - Tue, 09 Jun 2020 06:41:21 GMT etag: - - W/"71ed3ada-1a10-4d1c-9a88-ac658a1743aa" + - W/"910b6c5d-5d99-44c2-9cc6-051a416fbf41" expires: - '-1' pragma: @@ -350,7 +346,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5e4f3e55-7cdd-40bc-a63f-972a22e6d91e + - 69144407-a1ac-4d6a-ad9c-9a52fc434a62 status: code: 200 message: OK @@ -375,30 +371,29 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -g -n --dns-proxy-enabled + - -g -n --enable-dns-proxy User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"b31ab246-14d7-481b-a14f-1c0abf861264\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"True\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"fa0ed692-164e-46ba-88bd-4df5973b0a7a\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"True\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3a2fe600-4230-4a1e-8280-fa876f4eb198?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9214df53-f233-492e-9c8e-144f228ab523?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -406,7 +401,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:08 GMT + - Tue, 09 Jun 2020 06:41:22 GMT expires: - '-1' pragma: @@ -423,7 +418,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 269142ab-934c-4344-83f8-527dc85bbd7d + - 0c866eb9-bc88-45df-8f80-3b9ca961e9db x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -441,12 +436,12 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-proxy-enabled + - -g -n --enable-dns-proxy User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3a2fe600-4230-4a1e-8280-fa876f4eb198?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9214df53-f233-492e-9c8e-144f228ab523?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -458,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:19 GMT + - Tue, 09 Jun 2020 06:41:33 GMT expires: - '-1' pragma: @@ -475,7 +470,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f9ece1a5-9c7b-4d81-8c62-9b89ccba86e0 + - b730792b-6064-435c-adbb-488316bd45af status: code: 200 message: OK @@ -491,25 +486,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --dns-proxy-enabled + - -g -n --enable-dns-proxy User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"4d908590-c125-4f7f-bb03-f87318852b9c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"True\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"465ca08a-0afb-4377-8589-f7d2adc97425\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"True\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache @@ -518,9 +512,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:19 GMT + - Tue, 09 Jun 2020 06:41:33 GMT etag: - - W/"4d908590-c125-4f7f-bb03-f87318852b9c" + - W/"465ca08a-0afb-4377-8589-f7d2adc97425" expires: - '-1' pragma: @@ -537,7 +531,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a3722b9a-bb7d-4ca0-9402-6227ff8d6e0a + - 77d87aaa-084a-4bf0-910e-4830f4833f73 status: code: 200 message: OK @@ -555,25 +549,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\"\ - ,\r\n \"etag\": \"W/\\\"4d908590-c125-4f7f-bb03-f87318852b9c\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\ - \r\n },\r\n \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\"\ - : {\r\n \"DNSEnableProxy\": \"True\",\r\n \"DNSRequireProxyForNetworkRules\"\ - : \"False\",\r\n \"DNSServer\": \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\ - \n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n\ - \ \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\ - \n }\r\n}" + string: "{\r\n \"name\": \"fw01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_firewall_with_dns_proxy000001/providers/Microsoft.Network/azureFirewalls/fw01\",\r\n + \ \"etag\": \"W/\\\"465ca08a-0afb-4377-8589-f7d2adc97425\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": + \"True\",\r\n \"DNSRequireProxyForNetworkRules\": \"False\",\r\n \"DNSServer\": + \"['10.0.0.2', '10.0.0.3']\"\r\n },\r\n \"ipConfigurations\": [],\r\n + \ \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache @@ -582,9 +575,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:20 GMT + - Tue, 09 Jun 2020 06:41:34 GMT etag: - - W/"4d908590-c125-4f7f-bb03-f87318852b9c" + - W/"465ca08a-0afb-4377-8589-f7d2adc97425" expires: - '-1' pragma: @@ -601,7 +594,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a1c7ca3c-967d-4629-9e50-30f6aec8d6ef + - 87b049a0-65f8-4bb7-a5ed-a50a1a6be1a5 status: code: 200 message: OK @@ -621,8 +614,8 @@ interactions: ParameterSetName: - -g --name User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 accept-language: - en-US method: DELETE @@ -634,17 +627,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e8008a5c-7597-4aec-a6fd-7b34406f102c?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e65b2a06-51f2-45d4-b1f9-10ad1f8525b2?api-version=2019-11-01 cache-control: - no-cache content-length: - '0' date: - - Mon, 01 Jun 2020 08:31:21 GMT + - Tue, 09 Jun 2020 06:41:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e8008a5c-7597-4aec-a6fd-7b34406f102c?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/e65b2a06-51f2-45d4-b1f9-10ad1f8525b2?api-version=2019-11-01 pragma: - no-cache server: @@ -655,7 +648,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 20838281-f55c-4b5a-8d0e-7ec5969a8fa2 + - e5bbae9d-7623-441c-a60d-5011f93ad149 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -675,10 +668,10 @@ interactions: ParameterSetName: - -g --name User-Agent: - - python/3.7.4 (Linux-4.15.0-99-generic-x86_64-with-debian-buster-sid) msrest/0.6.9 - msrest_azure/0.6.3 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 + Azure-SDK-For-Python AZURECLI/2.7.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e8008a5c-7597-4aec-a6fd-7b34406f102c?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e65b2a06-51f2-45d4-b1f9-10ad1f8525b2?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -690,7 +683,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 01 Jun 2020 08:31:32 GMT + - Tue, 09 Jun 2020 06:41:46 GMT expires: - '-1' pragma: @@ -707,7 +700,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 75870380-59e0-45c8-a2bb-cf3a243900d9 + - 88f8ddf3-0976-4f71-95db-5f6d8006c8d0 status: code: 200 message: OK diff --git a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py index 1f17c1ee780..08feb01b9db 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py +++ b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py @@ -242,7 +242,7 @@ def test_azure_firewall_virtual_hub(self, resource_group): self.cmd('network vhub create -g {rg} -n {vhub2} --vwan {vwan2} --address-prefix 10.0.0.0/24 -l eastus --sku Standard') self.cmd('network firewall update -g {rg} -n {af} --vhub {vhub2}') - @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='eastus2euap') + @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='eastus') def test_azure_firewall_with_firewall_policy(self, resource_group): self.kwargs.update({ From a9358f4557375028de8b06f98d127e5b8c459a44 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 9 Jun 2020 14:51:12 +0800 Subject: [PATCH 4/6] revert --- .../test_azure_firewall_ip_config.yaml | 7627 ++++++++++++++++- ...t_azure_firewall_with_firewall_policy.yaml | 4759 +++++++--- 2 files changed, 11106 insertions(+), 1280 deletions(-) diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml index 0e0eb5dd672..3d450216990 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_ip_config.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:35 GMT + - Wed, 12 Feb 2020 09:31:38 GMT expires: - '-1' pragma: @@ -45,8 +45,7 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"additionalProperties": {"DNSEnableProxy": - "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}' + body: '{"location": "westus", "properties": {"additionalProperties": {}}}' headers: Accept: - application/json @@ -57,14 +56,14 @@ interactions: Connection: - keep-alive Content-Length: - - '152' + - '66' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -72,28 +71,24 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"7a89eab3-fb24-4be2-a6f2-382faddb7e4c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d27aca61-e790-4b17-a922-1f790b422e41\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": - \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": - null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\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/75ee8903-aadf-4818-8ee4-7271d7002eff?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9dc1e96a-1a14-402f-bade-fa15b3d3bc26?api-version=2019-11-01 cache-control: - no-cache content-length: - - '804' + - '690' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:38 GMT + - Wed, 12 Feb 2020 09:31:44 GMT expires: - '-1' pragma: @@ -106,9 +101,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 854bce96-3cba-4867-b6bb-79f8e31f66d2 + - a8d94a87-6810-4edd-8300-e77b8bbddd93 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -126,10 +121,10 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/75ee8903-aadf-4818-8ee4-7271d7002eff?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9dc1e96a-1a14-402f-bade-fa15b3d3bc26?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -141,7 +136,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:49 GMT + - Wed, 12 Feb 2020 09:32:01 GMT expires: - '-1' pragma: @@ -158,7 +153,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1a96be68-053b-4ff1-b540-ac27c9705450 + - 4e19f72e-7dcd-4669-9443-a647561270ed status: code: 200 message: OK @@ -176,33 +171,31 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"d864afde-f64b-4d6a-a802-c818e04578ee\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6e48698d-dc89-4799-b3fa-252f5df3b0f1\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": - \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": - null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '805' + - '691' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:50 GMT + - Wed, 12 Feb 2020 09:32:02 GMT etag: - - W/"d864afde-f64b-4d6a-a802-c818e04578ee" + - W/"6e48698d-dc89-4799-b3fa-252f5df3b0f1" expires: - '-1' pragma: @@ -219,7 +212,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 05f46e47-fd2e-492f-acc3-bc66ec1031c2 + - 0e0a067f-b78b-4ba4-a8ec-3e3fbaf360c0 status: code: 200 message: OK @@ -237,24 +230,24 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:52 GMT + - Wed, 12 Feb 2020 09:32:04 GMT expires: - '-1' pragma: @@ -287,8 +280,8 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -296,17 +289,15 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"5c1fcf2f-51d5-4816-90c0-8641857a4dd2\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"c97ae51a-24de-4117-be91-63b666598148\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"7f9f7cd2-5545-4b3c-8938-45f1b3ca3f64\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"061eba7d-1a50-4088-803a-47553e90146d\",\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 }\r\n}" headers: - azure-asyncnotification: - - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/304e7b3a-776e-4835-be72-ff2d235ec717?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54302f83-aa97-40d9-8596-676492e04c05?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -314,7 +305,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:56 GMT + - Wed, 12 Feb 2020 09:32:11 GMT expires: - '-1' pragma: @@ -327,9 +318,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6cfccb05-8aed-4c8e-8362-15e6d0b6de90 + - f3f5c713-902f-4250-b1da-c0ba635f2043 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -347,10 +338,10 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/304e7b3a-776e-4835-be72-ff2d235ec717?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54302f83-aa97-40d9-8596-676492e04c05?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -362,7 +353,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:58 GMT + - Wed, 12 Feb 2020 09:32:17 GMT expires: - '-1' pragma: @@ -379,7 +370,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a4f27a7c-ad90-48ac-a1cd-24f7bf3463ba + - afccf959-fe49-4fbd-a218-f44d27a904e7 status: code: 200 message: OK @@ -397,17 +388,17 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"90a75bb3-cc49-4b03-a560-7b159e4e7cf6\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"ba845478-d268-4244-a98a-d2946384e3ac\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7f9f7cd2-5545-4b3c-8938-45f1b3ca3f64\",\r\n \"ipAddress\": - \"52.234.91.76\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"061eba7d-1a50-4088-803a-47553e90146d\",\r\n \"ipAddress\": + \"13.88.131.172\",\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 }\r\n}" @@ -415,13 +406,13 @@ interactions: cache-control: - no-cache content-length: - - '695' + - '696' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:58 GMT + - Wed, 12 Feb 2020 09:32:17 GMT etag: - - W/"90a75bb3-cc49-4b03-a560-7b159e4e7cf6" + - W/"ba845478-d268-4244-a98a-d2946384e3ac" expires: - '-1' pragma: @@ -438,7 +429,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fc615a4c-16ea-41bd-b39c-f432dffac9ab + - 58c9bb64-14a4-4549-8308-74d3e4c6dab5 status: code: 200 message: OK @@ -456,24 +447,24 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:44:59 GMT + - Wed, 12 Feb 2020 09:32:20 GMT expires: - '-1' pragma: @@ -506,8 +497,8 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -515,17 +506,15 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\",\r\n - \ \"etag\": \"W/\\\"85d332ba-1c71-4739-921b-6804118f8f0e\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"66679ca8-8a33-4cb7-b4ca-6adfee3658fa\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"d7bdb5ea-c61d-473c-9136-82aeef79a9e8\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"ac215f44-b7f7-4bab-9b8e-a169afadb45b\",\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 }\r\n}" headers: - azure-asyncnotification: - - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1616c6cc-df0c-4417-8dc2-c0ef245c133f?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fdf28ea2-cafe-418f-aa5d-6489d936d605?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -533,7 +522,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:07 GMT + - Wed, 12 Feb 2020 09:32:29 GMT expires: - '-1' pragma: @@ -546,7 +535,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8337b45c-007e-407c-abb3-ea1906e93674 + - 65a178c1-89a1-421d-bd66-0a2fc41d84c5 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -566,10 +555,10 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1616c6cc-df0c-4417-8dc2-c0ef245c133f?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fdf28ea2-cafe-418f-aa5d-6489d936d605?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -581,7 +570,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:09 GMT + - Wed, 12 Feb 2020 09:32:32 GMT expires: - '-1' pragma: @@ -598,7 +587,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3df287bf-1d7a-4388-9e4a-146c2ac206c8 + - 4b9ebeb0-d77a-4043-8e0b-57482782872a status: code: 200 message: OK @@ -616,17 +605,17 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\",\r\n - \ \"etag\": \"W/\\\"741e2eed-e55a-4f74-b753-c3a3b95b8d14\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b2ce4ba7-181a-4148-b96e-7f9a16cf6530\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"d7bdb5ea-c61d-473c-9136-82aeef79a9e8\",\r\n \"ipAddress\": - \"52.234.91.140\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"ac215f44-b7f7-4bab-9b8e-a169afadb45b\",\r\n \"ipAddress\": + \"13.88.133.8\",\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 }\r\n}" @@ -634,13 +623,13 @@ interactions: cache-control: - no-cache content-length: - - '698' + - '696' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:09 GMT + - Wed, 12 Feb 2020 09:32:32 GMT etag: - - W/"741e2eed-e55a-4f74-b753-c3a3b95b8d14" + - W/"b2ce4ba7-181a-4148-b96e-7f9a16cf6530" expires: - '-1' pragma: @@ -657,7 +646,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 85377642-971d-4a21-afe3-5cc954d048b3 + - 931a8fc4-c250-4e40-b449-61ddc6c2269d status: code: 200 message: OK @@ -675,24 +664,24 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_ip_config000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:44:31Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001","name":"cli_test_azure_firewall_ip_config000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:10 GMT + - Wed, 12 Feb 2020 09:32:35 GMT expires: - '-1' pragma: @@ -726,8 +715,8 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -735,15 +724,15 @@ interactions: response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"89981de8-eeb0-4d24-9613-569dbe974ddd\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"55207bbb-871c-4854-94da-f2a3c3480ab1\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"299c7aa3-a6ee-4fbd-894d-05e4adadeeeb\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"567293a5-91f5-4897-8ddc-744850511b2b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"89981de8-eeb0-4d24-9613-569dbe974ddd\\\"\",\r\n + \ \"etag\": \"W/\\\"55207bbb-871c-4854-94da-f2a3c3480ab1\\\"\",\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\": @@ -751,10 +740,8 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": 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/2af822cb-010d-4675-9f07-6d41f283f175?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/721684d3-bbd1-44a3-a7a0-5573aab70f59?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -762,7 +749,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:17 GMT + - Wed, 12 Feb 2020 09:32:39 GMT expires: - '-1' pragma: @@ -775,9 +762,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 447065c3-7f32-47ab-8f6b-23aeb244fbc2 + - ecb4400f-3a9e-4a5a-b888-c0f5421a2b6a x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -795,10 +782,10 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2af822cb-010d-4675-9f07-6d41f283f175?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/721684d3-bbd1-44a3-a7a0-5573aab70f59?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -810,7 +797,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:20 GMT + - Wed, 12 Feb 2020 09:32:46 GMT expires: - '-1' pragma: @@ -827,7 +814,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 950504e0-c809-4b61-9b74-486295aa4f04 + - 3a34ee04-f3ff-4aca-8c1f-ce067fbc6711 status: code: 200 message: OK @@ -845,22 +832,22 @@ interactions: ParameterSetName: - -g -n --subnet-name --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"08996e11-48e6-4f78-b485-99ae5c3355a7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"299c7aa3-a6ee-4fbd-894d-05e4adadeeeb\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"567293a5-91f5-4897-8ddc-744850511b2b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"08996e11-48e6-4f78-b485-99ae5c3355a7\\\"\",\r\n + \ \"etag\": \"W/\\\"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2\\\"\",\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\": @@ -875,9 +862,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:21 GMT + - Wed, 12 Feb 2020 09:32:47 GMT etag: - - W/"08996e11-48e6-4f78-b485-99ae5c3355a7" + - W/"cdec0274-2951-4c8d-8e05-4fd2cf14cfb2" expires: - '-1' pragma: @@ -894,7 +881,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a0d9611c-a653-44ff-a426-f1a782a91697 + - c2fbf15e-ab1a-4d5f-ada2-c7856243e555 status: code: 200 message: OK @@ -912,8 +899,8 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -921,26 +908,24 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"d864afde-f64b-4d6a-a802-c818e04578ee\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6e48698d-dc89-4799-b3fa-252f5df3b0f1\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": - \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": - null\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkRuleCollections\": - [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": - []\r\n }\r\n}" + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '805' + - '691' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:22 GMT + - Wed, 12 Feb 2020 09:32:50 GMT etag: - - W/"d864afde-f64b-4d6a-a802-c818e04578ee" + - W/"6e48698d-dc89-4799-b3fa-252f5df3b0f1" expires: - '-1' pragma: @@ -957,7 +942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bbf5df95-8009-463a-a92c-342bccc41e03 + - a72d607e-5492-444c-9904-ad4ccaffd692 status: code: 200 message: OK @@ -968,8 +953,7 @@ interactions: {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": "False", "DNSRequireProxyForNetworkRules": - "True", "DNSServer": null}}}''' + "tier": "Standard"}, "additionalProperties": {}}}''' headers: Accept: - application/json @@ -980,14 +964,14 @@ interactions: Connection: - keep-alive Content-Length: - - '1050' + - '964' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -995,15 +979,13 @@ interactions: response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"6b94fc4c-200c-44d2-a7b6-dec8232d46f8\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"77bdec02-651a-4e2a-a100-a297c70ee589\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": - \"Alert\",\r\n \"additionalProperties\": {\r\n \"DNSEnableProxy\": - \"False\",\r\n \"DNSRequireProxyForNetworkRules\": \"True\",\r\n \"DNSServer\": - null\r\n },\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": - \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"6b94fc4c-200c-44d2-a7b6-dec8232d46f8\\\"\",\r\n + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"77bdec02-651a-4e2a-a100-a297c70ee589\\\"\",\r\n \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1014,15 +996,15 @@ interactions: []\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fdd68b6-76ee-4929-965a-2964d54237fb?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1929' + - '1815' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:23 GMT + - Wed, 12 Feb 2020 09:32:51 GMT expires: - '-1' pragma: @@ -1039,9 +1021,259 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b1b0ccf4-dd05-44d5-b056-001b9706d4a2 + - e5b6e288-eea2-4482-a5d4-600f0314d0ae x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:33: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: + - a8bff5c2-cc7c-4bf3-a4bf-741d0477a499 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:33: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-arm-service-request-id: + - a183b604-046c-4ecc-b8ce-9fc23c943625 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:33: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: + - 8ff713bf-bbd4-4737-8474-1f77267dfd97 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:33: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: + - 965bb55f-2eff-498e-add1-da527a7db376 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:33: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: + - 042058fc-ce7e-4c2e-bdfa-7fbe51bce57e status: code: 200 message: OK @@ -1059,24 +1291,7093 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fdd68b6-76ee-4929-965a-2964d54237fb?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"AzureFirewallInvalidAdditionalPropertyName\",\r\n - \ \"message\": \"'DNSEnableProxy' is not a valid property name for Azure - Firewall.\",\r\n \"details\": []\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '209' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:45:33 GMT + - Wed, 12 Feb 2020 09:34: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: + - f5883014-aaae-476f-8dd0-ab3ae0b205bf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:34: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: + - d3265b2f-ebc1-4be0-8a23-c910c24ca081 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:34: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: + - ecc7dc9b-ce23-408c-bb17-9ca89a3e02eb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:34:35 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: + - 410f2c93-56ab-4518-b6d2-f4667666b0be + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:34: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: + - 2844c156-6382-4cb1-aba5-0aac5863d390 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:34: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: + - 4586ae68-c5c5-48c5-93f5-f0d4b8d57257 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:35:09 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: + - 3ce23249-6d9c-4595-8b49-4e934e25521d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09: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-arm-service-request-id: + - 94b196e5-ffde-4ef6-bdb9-cf133775ba33 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:35: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: + - da30e7cf-b204-408e-b645-47023bd332f1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:35: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: + - f94ddc0b-2d49-4081-8179-6274d5503deb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:35: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: + - 7937b22f-f861-4c41-90df-79def32b0b61 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09: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: + - fdff7bf1-38f3-4e61-9ef3-4f4deb5f7d95 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:36: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: + - 7bb1aee2-fdc2-417e-a864-d25fd763c367 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:36: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: + - 162af446-385a-4c70-8351-560134c70536 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:36:38 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: + - bf0b1d6f-44fb-4848-86c6-e5fcf76504be + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:36: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: + - 0a258470-0d0f-4776-aead-0c1beb32a249 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37: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: + - 30076084-60b7-4fe3-a427-4e0a411a0ca0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37: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: + - 5d7da7ea-f3bf-41a0-812b-1655ddd58b8b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37: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: + - 6d37981a-5d2b-4661-9dac-2601d83db126 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37:34 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: + - 16c71830-df83-41f3-8a5e-510290fe7a47 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37: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: + - bb3c5b1c-7f2d-4bd0-a09d-17d27d3f7bf3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:37: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: + - c527a812-0f7b-4cfd-a1f5-25bf62f17c14 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:38: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: + - b660489f-7998-4fe6-8382-538effbd7723 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:38:16 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: + - 5c12ca5b-1480-4329-b795-1f53e2d23def + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:38: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: + - 5eb399fd-61cd-4ea0-99ca-189394f381b3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/33f43bdb-8726-406b-92ea-6743ad0cc453?api-version=2019-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: + - Wed, 12 Feb 2020 09:38: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: + - d3e68139-c3ba-4f01-b062-871bb6cea7ab + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:38:38 GMT + etag: + - W/"a9e97721-45a4-4633-a65a-042807c343d1" + 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: + - 5b879eea-3d4b-4c28-b773-db08bbc6611d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"a9e97721-45a4-4633-a65a-042807c343d1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:38:40 GMT + etag: + - W/"a9e97721-45a4-4633-a65a-042807c343d1" + 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: + - f2b982d7-3911-4c7f-a310-f62842074f88 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", + "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": + [], "networkRuleCollections": [], "ipConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, + "name": "myipconfig1"}, {"properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2"}}, + "name": "myipconfig2"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", + "tier": "Standard"}, "additionalProperties": {}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + Content-Length: + - '1472' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n + \ \"etag\": \"W/\\\"89261bdf-5e30-4d70-8b16-404fde55db69\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2699' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:38: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: + - d247cc52-1534-4ee1-86d8-8c0a6bb8ba96 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:38: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: + - 17fe9889-ba95-489e-a84a-6df1be4b7170 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39: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: + - 1ea9b435-eb71-467d-92f9-ef3979d16049 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39: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: + - 88b06548-c495-4b14-bdca-51fb7a01b4dd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39: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: + - c9a47f9a-dd47-47f5-9cae-430e3bdf7958 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39: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: + - 44f3dc89-1acb-4239-ba46-0cc2a6d004ca + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39:46 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: + - 87573ba2-db83-48a8-9188-90c466b675d3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:39: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: + - 5c1c6c59-1514-4c4c-8a47-2b0b0f3bc6d7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:40:07 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: + - 6d129bdd-c6e5-4c89-8376-df8a8f0ac7e6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:40: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: + - ac5e197b-85a6-4e95-9871-fc7f3fd32015 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:40: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: + - eb5fb846-0caf-4e45-87d0-8ba4251bd9ca + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:40: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: + - 5305da53-9a2a-46f2-8064-0305428cec62 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:40: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: + - 99ed761c-5313-48a0-bdd4-886ba10ee455 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41: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: + - b1225495-e081-4ddb-9f0b-a6114d3a3db8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41: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: + - 1dab1aed-553c-42d8-8d88-86d67b680f4f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41: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-arm-service-request-id: + - 3286849f-c0ef-47da-bd22-96172f08a1df + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41:34 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: + - 862fb043-6b45-49ae-8d46-fa20417dbc67 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41: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: + - 524bcf03-73ec-4ba1-b172-97aa9f5b2bd9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:41: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: + - c8793451-cba1-47c9-88cb-18c44e6d8363 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42:07 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: + - d01cdd2c-03e9-43c1-8134-54cd6895ee67 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42:17 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: + - aee9593d-42c1-4f36-936c-0aea8540118a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42: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: + - 96766136-b769-4723-811e-490f8953f2e9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42:38 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: + - 8990c694-6e7b-4950-b2c5-8baaf739b79e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42: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: + - ed02c8c0-4f0f-4c6e-89dd-743b71b79f2a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:42: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: + - f15ab856-f756-4f20-8ef2-6b876b25a7c1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:43: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: + - 0b89e95c-5e8b-4adc-8bed-c4bf28d65fc3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:43: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: + - d41aec0f-fc46-4aa4-ae97-9f1d368ccd87 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:43: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: + - d4824298-eadd-4abc-bc8f-d46403d86dbf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:43: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: + - c0220e6d-fef5-4864-985b-8d1c98610338 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:43: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: + - af883b04-04d2-49df-beaf-4b2eb93593c5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:44: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: + - 853eb8f7-d111-4860-8887-4824da6428b5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:44: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: + - 1ad778b9-4e41-42c0-aa09-c6d23af8fd3c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:44: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-arm-service-request-id: + - 6fd81e5b-8358-4c80-a957-cdd1da802f5f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2c9ff2a8-2fa7-4c65-908b-5a7fa9d608f5?api-version=2019-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: + - Wed, 12 Feb 2020 09:44:35 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: + - 72319215-2123-46c8-ba90-21e7670c4d03 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2700' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:44:35 GMT + etag: + - W/"cb7f3403-5297-426f-8c81-a496c2d5387d" + 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: + - 9abc2953-d2ea-4365-944b-30b655633009 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n },\r\n {\r\n \"name\": \"myipconfig2\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig2\",\r\n + \ \"etag\": \"W/\\\"cb7f3403-5297-426f-8c81-a496c2d5387d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip2\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2700' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:44:37 GMT + etag: + - W/"cb7f3403-5297-426f-8c81-a496c2d5387d" + 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: + - bb46692c-5d24-44c4-8526-acab4fca2eef + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", + "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": + [], "networkRuleCollections": [], "ipConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, + "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", + "tier": "Standard"}, "additionalProperties": {}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + Content-Length: + - '1205' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"7a363217-6a52-41ff-bcd2-5c5d5e97f3ae\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"7a363217-6a52-41ff-bcd2-5c5d5e97f3ae\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '1858' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:44:38 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: + - d7e233ec-01f8-49bd-9a79-c4f5acd8b2a6 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:44: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: + - 6541d982-8417-4424-9437-b5f35022e59e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - b376d962-bb0d-4ce0-9efd-6586664cc939 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - 1cdfa187-f694-4389-bf17-d837905a39db + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - 7e22a082-65b3-4096-a298-d9edf4fafc6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - 172f334c-235b-4deb-bc28-840f2a58e5bf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5aae0ac0-77d0-45c4-a160-379c68f3efe6?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - 97b05f59-421d-4ff4-9ceb-fd21a23e5c3c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:45:43 GMT + etag: + - W/"f78c715d-62e7-44f2-970e-fee9664905a4" + 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: + - da4df3df-377e-45ff-8b14-21a082314b09 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"f78c715d-62e7-44f2-970e-fee9664905a4\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1859' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:45:45 GMT + etag: + - W/"f78c715d-62e7-44f2-970e-fee9664905a4" + 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: + - 18a026b6-a765-4f35-b349-a51f03bfbda6 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1", + "location": "westus", "properties": {"applicationRuleCollections": [], "natRuleCollections": + [], "networkRuleCollections": [], "threatIntelMode": "Alert", "sku": {"name": + "AZFW_VNet", "tier": "Standard"}, "additionalProperties": {}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + Content-Length: + - '433' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"295b9021-b6e6-4f42-9c8f-641318513b41\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '690' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:45: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: + - 4a8ff497-31c6-49a8-9bcf-e8069d054021 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:45: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: + - 9c1d0aee-763d-4d19-9df3-a730358e5818 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:46:07 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: + - 1a0a2a0f-c8a7-462d-ac67-d77a79cbe6a3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:46:17 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: + - c7ff00dd-5666-44db-b58e-c0ae98db8ae0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09: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: + - 6bcfb090-86c1-479f-99af-2254e0d84587 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:46:38 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: + - 94a53465-b263-4a4c-b016-ab2a0daf79f7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:46: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: + - b91613ca-7747-4919-abec-f6a3810ea25b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:46: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: + - 14c7149f-6607-4cf5-94b2-c28765081677 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:47: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: + - a001d287-6872-444a-be04-90da4a384630 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:47: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: + - fb8725c3-d294-47d4-98bc-e0bd50aa33c6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:47: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: + - 6b56c9cd-b3e4-449b-96b1-85804eaf425e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:47:46 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: + - 532c27ec-5e1b-4c45-adcf-f59b199ed8d0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:47: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: + - f673258f-20df-490e-ba3a-65ac1905b990 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48: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-arm-service-request-id: + - 6384bdaf-e143-4067-b6df-b9318acedb0e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48:16 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: + - 0ddc0e70-6034-4f1a-86bd-d7a075cdf69f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48: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: + - 016279d0-3b35-4b80-a409-9275a38783da + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48: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: + - 07e4d6f9-3978-4677-84b3-660579aac253 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48: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: + - 96ea5e0b-49f5-416c-9b14-00b0f70a6c55 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:48: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: + - 734c7286-c77d-4e41-b0ca-a38f982723cc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:49:09 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: + - 32903593-c19f-436f-84fe-369ce38ab614 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:49: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-arm-service-request-id: + - d1fe04f1-d818-42de-a06f-0a06301cbba8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:49: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: + - 7f08ee5c-71a9-4371-b938-14420f2a9960 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:49: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: + - 2f07e7a1-c75e-451e-8168-43dc27b1ce19 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:49: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: + - 4d4963fb-a099-4e8f-8421-0bf0f4c33b74 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:50: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: + - bc05d348-7749-4fff-8887-868ad47659ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:50: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: + - 99957d3b-4e01-4eb9-b08a-21ca928f2c7c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09: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: + - 359962a1-f29c-4f46-a3a5-aa890316f288 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:50:34 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: + - 0ec56cc4-30db-4b59-8f91-42da37c03d9a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:50: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: + - 2568b659-03a2-4c92-a071-f02245a08de2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:50: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: + - 861eb4fc-1c91-4ef8-8df0-8155a1ba1e0c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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: + - 110fc21e-7ca9-4568-a156-dee7106360f6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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: + - 8518473e-bf32-4154-b2a5-86f7dc996602 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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: + - 6ad522f3-0174-49f9-983e-a47e324cd9bf + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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: + - ffb25b9f-b4b8-4d31-b8e2-b3589f8f97c0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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: + - a7e13295-609a-48a1-9534-9de6c34bbf9f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:51: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-arm-service-request-id: + - ab384a2c-c277-4c0a-9312-a016796b66c7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:52:09 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: + - 2381dbc2-f011-4854-9122-452fa4d4e589 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:52: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-arm-service-request-id: + - 7a0363ee-53eb-49fa-864f-05352bb08213 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:52: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: + - cb94b713-adb7-43fa-b5a7-6debb5f38c39 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:52: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: + - f9d01617-57b2-4e17-9720-b3d5af93273a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:52: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: + - 4e72cadc-046d-4106-a718-a120b1deed3a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53: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: + - f66a5920-d377-4c6d-ad75-1b4ee37e1798 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53: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: + - 00428e19-fc42-4d7c-8e54-944773a955fa + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53: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: + - 43b5a471-3faa-496c-a82f-dd0554e88368 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53:34 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: + - 06c000bc-8808-49a1-86f6-4d698a9a872e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53: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: + - 6b6905e4-395f-48a0-91f8-9214e60b8b47 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:53: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: + - 2ee4330c-ac08-475a-b70b-298ac487a382 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - 3f89ca42-7096-4e5c-9fdd-c921932bc443 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - d0d4d739-0126-4e60-9cc1-239ebed0e098 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - a9a8aec4-840b-4fb3-a4a4-f8ca537819a0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - 051ce726-1fb9-46db-b163-6b634a483992 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - da519707-26ff-47d8-b5d7-d7ab3f645612 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:54: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: + - c6a1c07c-f333-4571-a555-2b826fbc7b41 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:55: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: + - 6337a7a8-7675-45f3-a5ce-61d15f0eb965 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:55: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-arm-service-request-id: + - b0096248-bc5d-436b-b9e9-1fd53ee5966f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:55: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: + - 9faab0b9-ef99-46c5-adae-39e13b0a26c6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:55: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: + - 0a0c959d-57c1-484e-8f6c-5ed880703143 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:55: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: + - cd174ebb-e16a-4f78-b89b-0afd5abfb777 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09: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: + - d36f46e4-1af1-42d8-a97b-80639d063225 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:56: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: + - 11076077-36f3-46f6-8f7b-1813090f3487 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:56: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: + - a5cb69ba-1d9e-4ee0-992d-0b2b69bd503e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:56: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: + - ada48bf7-1a27-4cb9-b81a-ec4e3dc27dcc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:56: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: + - 6ae683c1-79aa-4756-ae6a-b97bfaaec023 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7f44ed06-1621-4f29-8d4d-65a22171af7a?api-version=2019-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: + - Wed, 12 Feb 2020 09:56: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: + - cee7908a-fb9d-4f4a-ab3c-6725dda82800 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -f + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_ip_config000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"b7e02a10-f90d-4f90-aa4d-badbbcd6b68b\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"westus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": + \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"threatIntelMode\": + \"Alert\",\r\n \"additionalProperties\": {},\r\n \"ipConfigurations\": + [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + [],\r\n \"natRuleCollections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:56:53 GMT + etag: + - W/"b7e02a10-f90d-4f90-aa4d-badbbcd6b68b" expires: - '-1' pragma: @@ -1093,7 +8394,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 03dc5775-7415-44c2-84b0-68d0f357ce84 + - 59df23b0-9781-4a94-8162-6800057d07ec status: code: 200 message: OK diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml index e6ba764c358..f84f50d7362 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml @@ -13,24 +13,24 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:06:46Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '471' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:06:51 GMT + - Wed, 12 Feb 2020 09:31:39 GMT expires: - '-1' pragma: @@ -62,8 +62,8 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -71,24 +71,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\",\r\n - \ \"etag\": \"W/\\\"e93ff6b5-fbf6-4fc9-b0a3-3ea53c83f533\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"defb9b87-10fc-4ed8-94cc-69dfcbe11876\\\"\",\r\n \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"allowVnetToVnetTraffic\": - true,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" + false,\r\n \"office365LocalBreakoutCategory\": \"None\"\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/5e144746-a54b-437d-80c1-2a2008685478?api-version=2018-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5cc773d9-d9f0-44e9-95a4-c7da1d4cabf2?api-version=2018-08-01 cache-control: - no-cache content-length: - - '585' + - '586' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:06:57 GMT + - Wed, 12 Feb 2020 09:31:49 GMT expires: - '-1' pragma: @@ -101,9 +99,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ec7b0cfc-1802-48a2-ba7f-b3532d7b170a + - ef07d9d5-c211-492c-a9b4-c68dda6c1308 x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -121,10 +119,10 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5e144746-a54b-437d-80c1-2a2008685478?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/5cc773d9-d9f0-44e9-95a4-c7da1d4cabf2?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -136,7 +134,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:08 GMT + - Wed, 12 Feb 2020 09:32:03 GMT expires: - '-1' pragma: @@ -153,7 +151,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2318a969-b028-4b02-a0c9-52831abfc6d7 + - 2f05b2e2-0d80-4a3a-8052-9ebbbf8b7c6d status: code: 200 message: OK @@ -171,29 +169,29 @@ interactions: ParameterSetName: - -n -g --type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan?api-version=2018-08-01 response: body: string: "{\r\n \"name\": \"clitestvwan\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\",\r\n - \ \"etag\": \"W/\\\"96b733ec-b188-4b72-860c-175c851e19cb\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6c88f5ec-06db-4adb-a0fb-fc13d6a11753\\\"\",\r\n \"type\": \"Microsoft.Network/virtualWans\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"disableVpnEncryption\": false,\r\n \"allowBranchToBranchTraffic\": true,\r\n \"allowVnetToVnetTraffic\": - true,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" + false,\r\n \"office365LocalBreakoutCategory\": \"None\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '586' + - '587' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:09 GMT + - Wed, 12 Feb 2020 09:32:05 GMT etag: - - W/"96b733ec-b188-4b72-860c-175c851e19cb" + - W/"6c88f5ec-06db-4adb-a0fb-fc13d6a11753" expires: - '-1' pragma: @@ -210,7 +208,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 24b3d152-370e-41c6-925d-c06c33b8c59d + - 0069d14a-bb6f-4362-83ed-aa2c651ee6aa status: code: 200 message: OK @@ -233,8 +231,8 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -242,26 +240,23 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n - \ \"etag\": \"W/\\\"e603457d-f1f7-4909-892e-7ab23a324533\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"831d8b0b-1825-44c5-83a5-6275af8c6b3c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualNetworkConnections\": - [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"virtualRouterIps\": - [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n + [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"routeTable\": {\r\n + \ \"routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\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/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 cache-control: - no-cache content-length: - - '816' + - '787' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:19 GMT + - Wed, 12 Feb 2020 09:32:16 GMT expires: - '-1' pragma: @@ -274,7 +269,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1135d8cc-6e9a-434c-8ab1-41f7f771476a + - 84d8a4f9-22dc-4096-95a1-c347ee7b748e x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -294,10 +289,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -309,7 +304,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:31 GMT + - Wed, 12 Feb 2020 09:32:28 GMT expires: - '-1' pragma: @@ -326,7 +321,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 001538b6-f325-42f9-a25d-2aadd6662271 + - a8e33a9a-75c4-4ec3-8e6b-91e4ec65babe status: code: 200 message: OK @@ -344,10 +339,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -359,7 +354,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:41 GMT + - Wed, 12 Feb 2020 09:32:40 GMT expires: - '-1' pragma: @@ -376,7 +371,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cdf74e56-e180-428d-98a3-60e8f976a988 + - fa2a797e-be73-42b5-b433-004f8514f0e1 status: code: 200 message: OK @@ -394,10 +389,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -409,7 +404,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:07:52 GMT + - Wed, 12 Feb 2020 09:32:56 GMT expires: - '-1' pragma: @@ -426,7 +421,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 14b4332c-d5c4-49c9-89aa-7d1bdacd6832 + - e5c16258-7cbc-43a0-9f8d-d7b5408c6748 status: code: 200 message: OK @@ -444,10 +439,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -459,7 +454,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:03 GMT + - Wed, 12 Feb 2020 09:33:10 GMT expires: - '-1' pragma: @@ -476,7 +471,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ed84bd64-77f3-4409-8225-12231a1d980d + - 35a7a7b2-0fe1-4c1e-bd1d-62e693d0039a status: code: 200 message: OK @@ -494,10 +489,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -509,7 +504,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:14 GMT + - Wed, 12 Feb 2020 09:33:31 GMT expires: - '-1' pragma: @@ -526,7 +521,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cc66d047-15c4-4908-b33e-2c4fe7b3433a + - 79db70b5-89fe-433f-8c7f-aee41da18f5c status: code: 200 message: OK @@ -544,10 +539,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -559,7 +554,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:25 GMT + - Wed, 12 Feb 2020 09:33:43 GMT expires: - '-1' pragma: @@ -576,7 +571,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8100dfff-59ae-4320-9e3c-b6713751a016 + - d0f16242-f605-4c49-81ed-d1a6a78c161f status: code: 200 message: OK @@ -594,10 +589,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -609,7 +604,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:36 GMT + - Wed, 12 Feb 2020 09:33:56 GMT expires: - '-1' pragma: @@ -626,7 +621,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5a1d54f-7ffe-4418-b3b6-1a9fee0c02fc + - 879c412b-81fe-45dd-b93e-22dc284fa61a status: code: 200 message: OK @@ -644,10 +639,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -659,7 +654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:46 GMT + - Wed, 12 Feb 2020 09:34:08 GMT expires: - '-1' pragma: @@ -676,7 +671,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 67237418-5f56-43fa-982f-f727000cf659 + - 79bd2dda-29d5-4330-a3bd-0d166f62ec96 status: code: 200 message: OK @@ -694,10 +689,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -709,7 +704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:08:57 GMT + - Wed, 12 Feb 2020 09:34:20 GMT expires: - '-1' pragma: @@ -726,7 +721,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 934725af-31d0-4d6f-ba44-8f588554b062 + - ade80d85-2393-449b-ba65-46124056376e status: code: 200 message: OK @@ -744,10 +739,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -759,7 +754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:09:08 GMT + - Wed, 12 Feb 2020 09:34:32 GMT expires: - '-1' pragma: @@ -776,7 +771,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1768f2c8-5211-464c-9020-18d6d464b5dc + - 87146709-a332-46ec-b5e0-ce1b77b1a2cb status: code: 200 message: OK @@ -794,10 +789,10 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -809,7 +804,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:09:20 GMT + - Wed, 12 Feb 2020 09:34:44 GMT expires: - '-1' pragma: @@ -826,7 +821,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7b0b08cb-b140-4534-a533-dcd83d470a29 + - d727f3a0-360a-44dc-8ed8-d729d23d81e0 status: code: 200 message: OK @@ -844,22 +839,22 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/23ed80db-f329-43c4-ad5e-f5f0c733805f?api-version=2018-08-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:09:31 GMT + - Wed, 12 Feb 2020 09:34:58 GMT expires: - '-1' pragma: @@ -876,7 +871,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60c297b2-bb0b-4bf2-acf6-0b39ed08e272 + - fbd7fda2-1edc-45f3-854d-80c247bd2ac3 status: code: 200 message: OK @@ -894,22 +889,28 @@ interactions: ParameterSetName: - -g -n --vwan --address-prefix -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + networkmanagementclient/2.2.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub?api-version=2018-08-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n + \ \"etag\": \"W/\\\"026a306a-5132-4555-b4b8-9bed76df4d9b\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualNetworkConnections\": + [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"routeTable\": {\r\n + \ \"routes\": []\r\n },\r\n \"virtualWan\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n + \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '788' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:09:42 GMT + - Wed, 12 Feb 2020 09:35:00 GMT expires: - '-1' pragma: @@ -926,10 +927,67 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a18e182d-de1a-4064-82bd-b575d77f1d7d + - 2cabae22-a99b-4f8a-9ddb-6e27a6d5dc3f status: code: 200 message: OK +- request: + body: '{"location": "westcentralus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall policy create + Connection: + - keep-alive + Content-Length: + - '29' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n + \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n + \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"d49ce5d4-8c71-486c-b8d8-d9d9ce04bf3b\",\r\n \"location\": \"westcentralus\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '539' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 09:35:12 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-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created - request: body: null headers: @@ -938,35 +996,34 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network vhub create + - network firewall policy create Connection: - keep-alive ParameterSetName: - - -g -n --vwan --address-prefix -l --sku + - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:09:53 GMT + - Wed, 12 Feb 2020 09:35: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: @@ -975,8 +1032,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 21cbd203-c833-4e6a-9be9-8be0dc9d9b84 status: code: 200 message: OK @@ -988,35 +1043,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network vhub create + - network firewall policy create Connection: - keep-alive ParameterSetName: - - -g -n --vwan --address-prefix -l --sku + - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n + \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n + \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"d49ce5d4-8c71-486c-b8d8-d9d9ce04bf3b\",\r\n \"location\": \"westcentralus\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '540' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:05 GMT + - Wed, 12 Feb 2020 09:35: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: @@ -1025,8 +1083,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - 957937be-c2eb-4c51-9ee5-b5508bd34c74 status: code: 200 message: OK @@ -1038,78 +1094,90 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network vhub create + - network firewall create Connection: - keep-alive ParameterSetName: - - -g -n --vwan --address-prefix -l --sku + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '30' + - '428' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:16 GMT + - Wed, 12 Feb 2020 09:35: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: - - 0277dfce-90bf-4a98-89f4-7dcc68336927 status: code: 200 message: OK - request: - body: null + body: 'b''{"location": "eastus", "properties": {"virtualHub": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub"}, + "firewallPolicy": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy"}, + "sku": {"name": "AZFW_Hub", "tier": "Standard"}, "additionalProperties": {}}}''' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network vhub create + - network firewall create Connection: - keep-alive + Content-Length: + - '564' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -g -n --vwan --address-prefix -l --sku + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ec9017ab-9fe5-470c-8575-37dc5c6db934?api-version=2018-08-01 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n + \ \"etag\": \"W/\\\"4f41faee-81f5-4fae-a05a-6abc53af6ad9\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n + \ },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\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/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 cache-control: - no-cache content-length: - - '29' + - '1009' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:28 GMT + - Wed, 12 Feb 2020 09:35:42 GMT expires: - '-1' pragma: @@ -1119,17 +1187,15 @@ interactions: - 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: - - 84bfed18-8da1-49b6-a9aa-e869a9f57ea9 + - d7970eba-780d-44c2-9cbc-0c16f72524f8 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1138,35 +1204,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network vhub create + - network firewall create Connection: - keep-alive ParameterSetName: - - -g -n --vwan --address-prefix -l --sku + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 networkmanagementclient/2.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"clitestvhub\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\",\r\n - \ \"etag\": \"W/\\\"bb38f967-6586-4768-931b-40deb1d48f1f\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"eastus\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualNetworkConnections\": - [],\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"virtualRouterIps\": - [],\r\n \"routeTable\": {\r\n \"routes\": []\r\n },\r\n \"virtualWan\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualWans/clitestvwan\"\r\n - \ }\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '817' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:28 GMT + - Wed, 12 Feb 2020 09:35:55 GMT expires: - '-1' pragma: @@ -1183,67 +1242,60 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 566c691a-9c1b-4673-9a08-7d3dc0d0cdfe + - 18a1a593-b080-4d95-a966-13ae00af217f status: code: 200 message: OK - request: - body: '{"location": "westcentralus"}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network firewall policy create + - network firewall create Connection: - keep-alive - Content-Length: - - '29' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g -n -l + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: "{\r\n \"properties\": {\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n - \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"e8dd7e61-f703-4c73-8732-1a9f98b36cba\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/7b787bea-4cf5-4f50-bea5-fda627fd853b?api-version=2020-05-01 cache-control: - no-cache content-length: - - '549' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:41 GMT + - Wed, 12 Feb 2020 09:36: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-ratelimit-remaining-subscription-writes: - - '1197' + x-ms-arm-service-request-id: + - 23cec267-782a-4143-ad89-badc63337bbf status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -1252,34 +1304,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall policy create + - network firewall create Connection: - keep-alive ParameterSetName: - - -g -n -l + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/7b787bea-4cf5-4f50-bea5-fda627fd853b?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:53 GMT + - Wed, 12 Feb 2020 09:36:16 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1288,6 +1341,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 44823273-c37b-4783-a2f8-dba8fa75ad60 status: code: 200 message: OK @@ -1299,38 +1354,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network firewall policy create + - network firewall create Connection: - keep-alive ParameterSetName: - - -g -n -l + - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: "{\r\n \"properties\": {\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\",\r\n - \ \"name\": \"myclipolicy\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n - \ \"etag\": \"e8dd7e61-f703-4c73-8732-1a9f98b36cba\",\r\n \"location\": \"westcentralus\"\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '550' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:54 GMT + - Wed, 12 Feb 2020 09:36: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: @@ -1339,6 +1391,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - 0828a165-bcc1-4ee3-a782-52ad86c25645 status: code: 200 message: OK @@ -1356,42 +1410,44 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_azure_firewall_with_firewall_policy000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001","name":"cli_test_azure_firewall_with_firewall_policy000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2020-06-09T06:06:46Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}' + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '471' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:10:55 GMT + - Wed, 12 Feb 2020 09:36:38 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: + - af616f32-e60a-434e-a714-80c97fc5080e status: code: 200 message: OK - request: - body: 'b''{"location": "eastus", "properties": {"virtualHub": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub"}, - "firewallPolicy": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy"}, - "sku": {"name": "AZFW_Hub", "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": - "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}''' + body: null headers: Accept: - application/json @@ -1401,44 +1457,25 @@ interactions: - network firewall create Connection: - keep-alive - Content-Length: - - '650' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: - string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"14b93ece-1f01-43fb-a3fb-1ad0a7bc0513\\\"\",\r\n \"type\": - \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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 \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"virtualHub\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n - \ },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\r\n - \ }\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: - azure-asyncnotification: - - Enabled - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1123' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:01 GMT + - Wed, 12 Feb 2020 09:36:50 GMT expires: - '-1' pragma: @@ -1448,15 +1485,17 @@ interactions: - 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: - - c4422509-fe15-40d6-8e5e-f8162610b482 - x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - 90a3239b-3ff0-42e7-b27c-5976457d6a65 status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -1471,10 +1510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1486,7 +1525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:12 GMT + - Wed, 12 Feb 2020 09:37:02 GMT expires: - '-1' pragma: @@ -1503,7 +1542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e2c6667d-3e55-4836-b189-54644b084bc8 + - d6b48781-8ccd-4fac-9fd1-696029257b44 status: code: 200 message: OK @@ -1521,10 +1560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1536,7 +1575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:22 GMT + - Wed, 12 Feb 2020 09:37:12 GMT expires: - '-1' pragma: @@ -1553,7 +1592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 529bace2-a63c-4f11-b8ea-e6ab8404964f + - 622df910-f379-41ce-9983-4efdc391d7b9 status: code: 200 message: OK @@ -1571,10 +1610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1586,7 +1625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:34 GMT + - Wed, 12 Feb 2020 09:37:23 GMT expires: - '-1' pragma: @@ -1603,7 +1642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a030e57c-c8eb-4b3d-9667-70b890736834 + - 368838de-1c49-483c-93e1-b269253149af status: code: 200 message: OK @@ -1621,10 +1660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1636,7 +1675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:44 GMT + - Wed, 12 Feb 2020 09:37:34 GMT expires: - '-1' pragma: @@ -1653,7 +1692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a4049aa-4b18-4b75-876b-f63c70280803 + - a8dcccf0-9374-4592-9f24-d220429f76e1 status: code: 200 message: OK @@ -1671,10 +1710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1686,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:11:54 GMT + - Wed, 12 Feb 2020 09:37:44 GMT expires: - '-1' pragma: @@ -1703,7 +1742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 27046c4f-f71c-4d11-9a71-ccc3d5778406 + - d4fcd3c0-10c5-4c22-a5ff-58e3abbc7bfd status: code: 200 message: OK @@ -1721,10 +1760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1736,7 +1775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:04 GMT + - Wed, 12 Feb 2020 09:37:55 GMT expires: - '-1' pragma: @@ -1753,7 +1792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7b3987db-7c25-4924-9871-795f476dc99a + - 16869733-83d1-4a2d-81ae-748648b4c96d status: code: 200 message: OK @@ -1771,10 +1810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1786,7 +1825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:15 GMT + - Wed, 12 Feb 2020 09:38:06 GMT expires: - '-1' pragma: @@ -1803,7 +1842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 48aad311-9b19-48c1-b5ee-44105cf61cfe + - 8c030b73-b24e-463d-9fec-7ed59620c27a status: code: 200 message: OK @@ -1821,10 +1860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1836,7 +1875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:25 GMT + - Wed, 12 Feb 2020 09:38:20 GMT expires: - '-1' pragma: @@ -1853,7 +1892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f9c7ac8b-6f7f-46ca-a2a7-1f9108c41dc3 + - 3fb1ffa9-c704-486c-b466-810456ea439d status: code: 200 message: OK @@ -1871,10 +1910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1886,7 +1925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:35 GMT + - Wed, 12 Feb 2020 09:38:30 GMT expires: - '-1' pragma: @@ -1903,7 +1942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ff99c301-ce4a-4102-abae-ddefb121bf3b + - dbb37d5f-9d5a-486d-9057-39c25afe7332 status: code: 200 message: OK @@ -1921,10 +1960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1936,7 +1975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:45 GMT + - Wed, 12 Feb 2020 09:38:40 GMT expires: - '-1' pragma: @@ -1953,7 +1992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0457e6ca-5858-4395-b4bb-f9d649310181 + - 0bcc2ae6-d909-4875-aabe-99c51e1c7e00 status: code: 200 message: OK @@ -1971,10 +2010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1986,7 +2025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:12:56 GMT + - Wed, 12 Feb 2020 09:38:51 GMT expires: - '-1' pragma: @@ -2003,7 +2042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 349d71de-6867-4c6e-b0a1-e78be399a923 + - 95ab97ec-a71d-49e8-9bd2-1e36dccc5303 status: code: 200 message: OK @@ -2021,10 +2060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2036,7 +2075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:06 GMT + - Wed, 12 Feb 2020 09:39:01 GMT expires: - '-1' pragma: @@ -2053,7 +2092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e02a799d-fe84-494c-b198-40f600a65ae0 + - b9af1204-f3d5-4da3-a801-753faadb1c4e status: code: 200 message: OK @@ -2071,10 +2110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2086,7 +2125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:17 GMT + - Wed, 12 Feb 2020 09:39:13 GMT expires: - '-1' pragma: @@ -2103,7 +2142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8363d7f8-3f31-4902-941b-3f45f9700db0 + - b0042201-092f-49e8-a4c2-1e2085cace84 status: code: 200 message: OK @@ -2121,10 +2160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2136,7 +2175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:27 GMT + - Wed, 12 Feb 2020 09:39:24 GMT expires: - '-1' pragma: @@ -2153,7 +2192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a73050ab-f215-4a2c-a2fb-362d3a102b8d + - ec2efa45-e4e0-4d5f-be30-0a38ba73958b status: code: 200 message: OK @@ -2171,10 +2210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2186,7 +2225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:38 GMT + - Wed, 12 Feb 2020 09:39:34 GMT expires: - '-1' pragma: @@ -2203,7 +2242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cfd3a273-674a-4988-b185-6e77b545cb7d + - 2080c59e-9472-442e-a8a8-6ecb87df3312 status: code: 200 message: OK @@ -2221,10 +2260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2236,7 +2275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:48 GMT + - Wed, 12 Feb 2020 09:39:45 GMT expires: - '-1' pragma: @@ -2253,7 +2292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5ba42887-b2a0-4348-b777-3d848c79dd01 + - 3388ea3a-cc38-4723-8638-2acca0bedd4e status: code: 200 message: OK @@ -2271,10 +2310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2286,7 +2325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:13:58 GMT + - Wed, 12 Feb 2020 09:39:55 GMT expires: - '-1' pragma: @@ -2303,7 +2342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6c090c72-1723-4d1d-8f16-5a87e895e7cd + - d8c36533-c03c-4ad3-8d3f-62d86a8f27a7 status: code: 200 message: OK @@ -2321,10 +2360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2336,7 +2375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:14:09 GMT + - Wed, 12 Feb 2020 09:40:06 GMT expires: - '-1' pragma: @@ -2353,7 +2392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 08e4a60e-0735-40bb-8623-bc1c127d991c + - 06c64040-5f50-4108-8967-e5e9aea16214 status: code: 200 message: OK @@ -2371,10 +2410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2386,7 +2425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:14:19 GMT + - Wed, 12 Feb 2020 09:40:17 GMT expires: - '-1' pragma: @@ -2403,7 +2442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4d1589af-197e-4d5d-8f6b-40d658fb395c + - 31227d84-077c-4959-8986-f49b88b5b3dd status: code: 200 message: OK @@ -2421,10 +2460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2436,7 +2475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:14:29 GMT + - Wed, 12 Feb 2020 09:40:28 GMT expires: - '-1' pragma: @@ -2453,7 +2492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 512d4591-cf54-4988-b095-6d15523cfaa0 + - 2994242c-731f-464d-932b-89455fb68bc3 status: code: 200 message: OK @@ -2471,10 +2510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2486,7 +2525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:14:39 GMT + - Wed, 12 Feb 2020 09:40:38 GMT expires: - '-1' pragma: @@ -2503,7 +2542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9dce2f43-fc52-4ca6-a6b6-750b01aa1a0e + - 497ad6bb-79c0-414b-9046-61079d71d690 status: code: 200 message: OK @@ -2521,10 +2560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2536,7 +2575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:14:50 GMT + - Wed, 12 Feb 2020 09:40:48 GMT expires: - '-1' pragma: @@ -2553,7 +2592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a95e65b6-f88b-4e7e-878c-fdcf06cd493e + - 0cf8c484-09c8-42a1-b037-030ba18cf222 status: code: 200 message: OK @@ -2571,10 +2610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2586,7 +2625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:00 GMT + - Wed, 12 Feb 2020 09:41:00 GMT expires: - '-1' pragma: @@ -2603,7 +2642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 423f3342-c657-4ad7-ad63-43e2a87acca7 + - 80e8d0ec-98ca-49d9-aaba-624f4fd6a2c1 status: code: 200 message: OK @@ -2621,10 +2660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2636,7 +2675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:10 GMT + - Wed, 12 Feb 2020 09:41:10 GMT expires: - '-1' pragma: @@ -2653,7 +2692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f28c3337-8d64-462d-ba77-373bb991fd04 + - aaa4f4c3-e370-4d4f-bd69-68fa27b6f9a9 status: code: 200 message: OK @@ -2671,10 +2710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2686,7 +2725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:20 GMT + - Wed, 12 Feb 2020 09:41:22 GMT expires: - '-1' pragma: @@ -2703,7 +2742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5e9c734d-1634-4fa1-beac-48440eba28d6 + - 59da862f-4eac-48a0-8608-afa5f8238adc status: code: 200 message: OK @@ -2721,10 +2760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2736,7 +2775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:32 GMT + - Wed, 12 Feb 2020 09:41:33 GMT expires: - '-1' pragma: @@ -2753,7 +2792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 47f463ac-7c8b-4da3-b3db-a443bdf9b39a + - 561bcc44-7fd4-4a2e-a871-db04144c710c status: code: 200 message: OK @@ -2771,10 +2810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2786,7 +2825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:42 GMT + - Wed, 12 Feb 2020 09:41:43 GMT expires: - '-1' pragma: @@ -2803,7 +2842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 12648163-17be-475b-9341-8eceb8448cf8 + - d61f5a1a-43da-4368-9d00-5f7baca4b7b2 status: code: 200 message: OK @@ -2821,10 +2860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2836,7 +2875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:15:52 GMT + - Wed, 12 Feb 2020 09:41:53 GMT expires: - '-1' pragma: @@ -2853,7 +2892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e50436f-05f8-438b-bd87-eb636c6fee20 + - 2a1adf8e-0056-4e28-ad4e-928d62842a20 status: code: 200 message: OK @@ -2871,10 +2910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2886,7 +2925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:03 GMT + - Wed, 12 Feb 2020 09:42:04 GMT expires: - '-1' pragma: @@ -2903,7 +2942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5928691c-f63b-4202-bd02-4f3a7aca29b2 + - e8c45eab-255b-464b-a552-5e5dec33876d status: code: 200 message: OK @@ -2921,10 +2960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2936,7 +2975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:13 GMT + - Wed, 12 Feb 2020 09:42:14 GMT expires: - '-1' pragma: @@ -2953,7 +2992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 58f7d543-ec50-4554-928b-d3947f29d06e + - 845e9bcd-24f3-4ee2-aac4-8dd22cecc91b status: code: 200 message: OK @@ -2971,10 +3010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2986,7 +3025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:23 GMT + - Wed, 12 Feb 2020 09:42:26 GMT expires: - '-1' pragma: @@ -3003,7 +3042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 30e14478-ce38-4435-9008-a138b020a3b1 + - 22020c0e-0448-4fcb-971c-dcb2a7e77136 status: code: 200 message: OK @@ -3021,10 +3060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3036,7 +3075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:34 GMT + - Wed, 12 Feb 2020 09:42:36 GMT expires: - '-1' pragma: @@ -3053,7 +3092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 631b7f06-09ae-4038-83b0-8efcc0128039 + - bb181c0a-ded0-49d1-bfca-ac2bc6c60de6 status: code: 200 message: OK @@ -3071,10 +3110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3086,7 +3125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:44 GMT + - Wed, 12 Feb 2020 09:42:47 GMT expires: - '-1' pragma: @@ -3103,7 +3142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a4caa7de-77d3-47c2-9249-4f7835109406 + - 6b217839-5173-4b6b-8b1b-7a9d681d4230 status: code: 200 message: OK @@ -3121,10 +3160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3136,7 +3175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:16:54 GMT + - Wed, 12 Feb 2020 09:42:57 GMT expires: - '-1' pragma: @@ -3153,7 +3192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ef463305-7813-47ec-8b06-b91a21259861 + - 1805fc22-641d-4d7c-8b9e-ab89f1f450fc status: code: 200 message: OK @@ -3171,10 +3210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3186,7 +3225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:04 GMT + - Wed, 12 Feb 2020 09:43:11 GMT expires: - '-1' pragma: @@ -3203,7 +3242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f4304001-d88a-46b2-b908-1c547c44a80f + - 1ee0bf73-fee9-46c0-bfef-95ae7b694414 status: code: 200 message: OK @@ -3221,10 +3260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3236,7 +3275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:15 GMT + - Wed, 12 Feb 2020 09:43:21 GMT expires: - '-1' pragma: @@ -3253,7 +3292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 20dc83db-676b-4d63-8f65-d1bbf94746b3 + - 50bf8dd3-bf61-4a44-bfad-bf20d856c4ee status: code: 200 message: OK @@ -3271,10 +3310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3286,7 +3325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:25 GMT + - Wed, 12 Feb 2020 09:43:33 GMT expires: - '-1' pragma: @@ -3303,7 +3342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c211a1a-d8e1-453e-82ad-2caf1bfad3a1 + - cb3ae288-c6c7-4299-b0a7-da5750a92737 status: code: 200 message: OK @@ -3321,10 +3360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3336,7 +3375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:37 GMT + - Wed, 12 Feb 2020 09:43:44 GMT expires: - '-1' pragma: @@ -3353,7 +3392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e8e26dcc-928b-41a8-83a4-9d42caa4a8a5 + - 564bdc19-e53b-40c9-a8a4-65390758caea status: code: 200 message: OK @@ -3371,10 +3410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3386,7 +3425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:47 GMT + - Wed, 12 Feb 2020 09:43:54 GMT expires: - '-1' pragma: @@ -3403,7 +3442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b9598c27-ba35-4196-9211-3ab50a19916e + - eab71a97-c0c1-430a-bfd5-c3db8498fb8c status: code: 200 message: OK @@ -3421,10 +3460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3436,7 +3475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:17:57 GMT + - Wed, 12 Feb 2020 09:44:05 GMT expires: - '-1' pragma: @@ -3453,7 +3492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 059dbd5d-ff4a-463f-af8a-ebec8d82ad34 + - 0df93017-152c-4e78-aef1-c9e16cb8e0b2 status: code: 200 message: OK @@ -3471,10 +3510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3486,7 +3525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:07 GMT + - Wed, 12 Feb 2020 09:44:15 GMT expires: - '-1' pragma: @@ -3503,7 +3542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 420f6512-5adc-4dfb-b59c-80c5c3a40ea3 + - e8110cbb-1daf-414f-bcfc-461a173b5012 status: code: 200 message: OK @@ -3521,10 +3560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3536,7 +3575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:18 GMT + - Wed, 12 Feb 2020 09:44:25 GMT expires: - '-1' pragma: @@ -3553,7 +3592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - abab6d22-7420-4858-af76-1a027f6901d2 + - f0d40e67-6d78-449e-9078-a3016d62387e status: code: 200 message: OK @@ -3571,10 +3610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3586,7 +3625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:28 GMT + - Wed, 12 Feb 2020 09:44:36 GMT expires: - '-1' pragma: @@ -3603,7 +3642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b9adfe00-960d-4df1-84c9-381ca84ed71c + - 6edbc1ff-759e-4191-934d-4ce0d80b8f50 status: code: 200 message: OK @@ -3621,10 +3660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3636,7 +3675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:38 GMT + - Wed, 12 Feb 2020 09:44:46 GMT expires: - '-1' pragma: @@ -3653,7 +3692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 84d3842c-6c13-43b7-ae4a-579ded2c30a4 + - f99f9401-8a68-489f-96bd-2619f114dd51 status: code: 200 message: OK @@ -3671,10 +3710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3686,7 +3725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:49 GMT + - Wed, 12 Feb 2020 09:44:58 GMT expires: - '-1' pragma: @@ -3703,7 +3742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2de61918-10a9-4dc9-a6a9-f81a02257c62 + - 4243d5ba-d1c7-47e1-a962-6547644a485e status: code: 200 message: OK @@ -3721,10 +3760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3736,7 +3775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:18:59 GMT + - Wed, 12 Feb 2020 09:45:08 GMT expires: - '-1' pragma: @@ -3753,7 +3792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fa77da68-1470-4ebf-bc9a-85a22faf8dd8 + - 4d670995-ab26-4fc1-b1d1-1755cc67edf5 status: code: 200 message: OK @@ -3771,10 +3810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3786,7 +3825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:19:09 GMT + - Wed, 12 Feb 2020 09:45:18 GMT expires: - '-1' pragma: @@ -3803,7 +3842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 546f2f87-8687-49ad-935f-2410c8b63453 + - cb0fd204-08b1-4cd4-aed7-06d33ac342b8 status: code: 200 message: OK @@ -3821,10 +3860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3836,7 +3875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:19:19 GMT + - Wed, 12 Feb 2020 09:45:28 GMT expires: - '-1' pragma: @@ -3853,7 +3892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 694e2d08-b9c2-43e4-8802-1ee25eb7af83 + - d3c9f708-10f8-46c6-812a-c8e079d4386a status: code: 200 message: OK @@ -3871,10 +3910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3886,7 +3925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:19:29 GMT + - Wed, 12 Feb 2020 09:45:40 GMT expires: - '-1' pragma: @@ -3903,7 +3942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b5aa6280-28da-400c-922a-cefaf4b1757f + - d72f33c4-4353-4f49-90ac-4353fb89b05d status: code: 200 message: OK @@ -3921,10 +3960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3936,7 +3975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:19:41 GMT + - Wed, 12 Feb 2020 09:45:50 GMT expires: - '-1' pragma: @@ -3953,7 +3992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a292c9d8-9fcc-4e59-b667-95d7e2090a3f + - 7bf7afb8-8e65-478e-9a09-06a428362ce3 status: code: 200 message: OK @@ -3971,10 +4010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3986,7 +4025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:19:51 GMT + - Wed, 12 Feb 2020 09:46:00 GMT expires: - '-1' pragma: @@ -4003,7 +4042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 33d195fa-8ace-4303-9a82-8137bf61cf26 + - f52439a3-95eb-4449-b4f1-c6c47ce88652 status: code: 200 message: OK @@ -4021,10 +4060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4036,7 +4075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:01 GMT + - Wed, 12 Feb 2020 09:46:12 GMT expires: - '-1' pragma: @@ -4053,7 +4092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 51dc87f8-a535-4472-b205-693a21517ebf + - 6ded88b0-9748-44f9-83e7-19191c2b45b8 status: code: 200 message: OK @@ -4071,10 +4110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4086,7 +4125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:11 GMT + - Wed, 12 Feb 2020 09:46:22 GMT expires: - '-1' pragma: @@ -4103,7 +4142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1400bdd5-0117-46ce-b246-305fbe8643fb + - 582d677e-a0fb-49f6-a6b0-e91e5a2a6905 status: code: 200 message: OK @@ -4121,10 +4160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4136,7 +4175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:22 GMT + - Wed, 12 Feb 2020 09:46:32 GMT expires: - '-1' pragma: @@ -4153,7 +4192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4bed6027-1c56-4bfa-95bc-c17a729c50ad + - 1d299afd-89ea-44f6-ae90-47df49b645d8 status: code: 200 message: OK @@ -4171,10 +4210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4186,7 +4225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:32 GMT + - Wed, 12 Feb 2020 09:46:43 GMT expires: - '-1' pragma: @@ -4203,7 +4242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 51af11d3-c728-40c7-856b-a6352bd7dc24 + - f4e0fb2d-6b8b-41f2-ade3-ea99222902ef status: code: 200 message: OK @@ -4221,10 +4260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4236,7 +4275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:42 GMT + - Wed, 12 Feb 2020 09:46:53 GMT expires: - '-1' pragma: @@ -4253,7 +4292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cdaaf733-4302-4570-92e3-df8e1482cf5e + - 55f510bc-b209-44b2-94fe-e51609b9ac75 status: code: 200 message: OK @@ -4271,10 +4310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4286,7 +4325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:20:53 GMT + - Wed, 12 Feb 2020 09:47:04 GMT expires: - '-1' pragma: @@ -4303,7 +4342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fed77ce8-a97d-48b8-85d7-ec29129b4b5d + - 59045e32-c34d-45cb-a226-c329ebe280fe status: code: 200 message: OK @@ -4321,10 +4360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4336,7 +4375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:04 GMT + - Wed, 12 Feb 2020 09:47:14 GMT expires: - '-1' pragma: @@ -4353,7 +4392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b658aa7a-11db-4751-8c54-75f2d966e6e0 + - b07583b0-2496-48df-b33f-525a06b7611f status: code: 200 message: OK @@ -4371,10 +4410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4386,7 +4425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:14 GMT + - Wed, 12 Feb 2020 09:47:26 GMT expires: - '-1' pragma: @@ -4403,7 +4442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 936fa115-dfd0-46b0-a35a-97bbd54fb7c6 + - b226787e-e629-46e0-99b6-8d55784d2954 status: code: 200 message: OK @@ -4421,10 +4460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4436,7 +4475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:25 GMT + - Wed, 12 Feb 2020 09:47:36 GMT expires: - '-1' pragma: @@ -4453,7 +4492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7788d318-ef7c-42b0-880b-a9c444d03f94 + - ae058896-ed6f-4ac8-8009-4defb5d7413d status: code: 200 message: OK @@ -4471,10 +4510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4486,7 +4525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:36 GMT + - Wed, 12 Feb 2020 09:47:47 GMT expires: - '-1' pragma: @@ -4503,7 +4542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 996cfc28-8b55-4e9b-949e-6ad78e155850 + - 1d63e65b-08ce-4760-bf1b-2e44b06db199 status: code: 200 message: OK @@ -4521,10 +4560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4536,7 +4575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:46 GMT + - Wed, 12 Feb 2020 09:47:58 GMT expires: - '-1' pragma: @@ -4553,7 +4592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 152f4ba4-fa05-418f-909b-5f5049b12b86 + - 103179e5-0a2c-4864-aec4-e03af34bb112 status: code: 200 message: OK @@ -4571,10 +4610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4586,7 +4625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:21:56 GMT + - Wed, 12 Feb 2020 09:48:09 GMT expires: - '-1' pragma: @@ -4603,7 +4642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5aa24a1-3c74-4de4-9b3e-2d12e74a6480 + - ff07a2e3-0799-4278-8b46-6856dfcd17c9 status: code: 200 message: OK @@ -4621,10 +4660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4636,7 +4675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:06 GMT + - Wed, 12 Feb 2020 09:48:19 GMT expires: - '-1' pragma: @@ -4653,7 +4692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c3781dbe-7523-426c-a7fd-a02995f407a0 + - c6f8474f-f42e-43f7-8b41-33510fc048b8 status: code: 200 message: OK @@ -4671,10 +4710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4686,7 +4725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:16 GMT + - Wed, 12 Feb 2020 09:48:29 GMT expires: - '-1' pragma: @@ -4703,7 +4742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0946ee25-072b-4609-b40f-b9bbac900e06 + - 05963a71-b1ad-4e94-ad68-95a2be9245d9 status: code: 200 message: OK @@ -4721,10 +4760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4736,7 +4775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:27 GMT + - Wed, 12 Feb 2020 09:48:40 GMT expires: - '-1' pragma: @@ -4753,7 +4792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9fd59411-5c76-4212-bb46-7aaac61bb7a8 + - 9eec6d0d-9777-4293-b062-65156dc546ba status: code: 200 message: OK @@ -4771,10 +4810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4786,7 +4825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:37 GMT + - Wed, 12 Feb 2020 09:48:51 GMT expires: - '-1' pragma: @@ -4803,7 +4842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c3bd805a-46c6-47c6-a983-506270d9987f + - c5122800-9cc4-4dbd-8ba4-9cb9e51944cb status: code: 200 message: OK @@ -4821,10 +4860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4836,7 +4875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:47 GMT + - Wed, 12 Feb 2020 09:49:02 GMT expires: - '-1' pragma: @@ -4853,7 +4892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c38302b-69a5-4c3f-a192-90a2e66c39de + - 08a0732d-dcf1-48f4-8030-9910172c812e status: code: 200 message: OK @@ -4871,10 +4910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4886,7 +4925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:22:58 GMT + - Wed, 12 Feb 2020 09:49:12 GMT expires: - '-1' pragma: @@ -4903,7 +4942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 57e3e0a8-56b0-478d-ab30-3137bdf2899b + - b1d8414d-1714-4e55-bfc8-a90920b81d6f status: code: 200 message: OK @@ -4921,10 +4960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4936,7 +4975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:23:08 GMT + - Wed, 12 Feb 2020 09:49:22 GMT expires: - '-1' pragma: @@ -4953,7 +4992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c0e4d696-e163-408a-9458-86a4bae7f9a3 + - 7144dca7-83f8-4aaf-a8a2-ffb3289c06bb status: code: 200 message: OK @@ -4971,10 +5010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4986,7 +5025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:23:19 GMT + - Wed, 12 Feb 2020 09:49:33 GMT expires: - '-1' pragma: @@ -5003,7 +5042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4d04d6cd-e3f0-4f82-90ec-530fbc1ab433 + - e5671319-0fa5-4db8-a84b-46c6a0927229 status: code: 200 message: OK @@ -5021,10 +5060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5036,7 +5075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:23:29 GMT + - Wed, 12 Feb 2020 09:49:43 GMT expires: - '-1' pragma: @@ -5053,7 +5092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 53966661-a16d-43a2-ac8a-917b6b945106 + - 65ef41c3-01ef-4210-90d9-18560b42ad9a status: code: 200 message: OK @@ -5071,10 +5110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5086,7 +5125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:23:40 GMT + - Wed, 12 Feb 2020 09:49:55 GMT expires: - '-1' pragma: @@ -5103,7 +5142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 518bc4e0-6a38-4e8c-bba9-0a4f5912c977 + - b47e425f-a5bf-4332-91bf-f87ddc25cf23 status: code: 200 message: OK @@ -5121,10 +5160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5136,7 +5175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:23:50 GMT + - Wed, 12 Feb 2020 09:50:05 GMT expires: - '-1' pragma: @@ -5153,7 +5192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 46571dcd-1b97-44a5-a928-d69f0aede10c + - 3980f21b-aef9-4016-b24f-ccc522d3ac57 status: code: 200 message: OK @@ -5171,10 +5210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5186,7 +5225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:00 GMT + - Wed, 12 Feb 2020 09:50:16 GMT expires: - '-1' pragma: @@ -5203,7 +5242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9b83919c-3764-4ad2-954e-13bb62126a18 + - 5b861216-3e14-4e04-bb0e-1830eeff877c status: code: 200 message: OK @@ -5221,10 +5260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5236,7 +5275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:10 GMT + - Wed, 12 Feb 2020 09:50:26 GMT expires: - '-1' pragma: @@ -5253,7 +5292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a838f9d-4169-4d57-ba1f-4f318cc94f4b + - 51d89c1f-1ad5-4e5f-9998-756cfb8502f9 status: code: 200 message: OK @@ -5271,10 +5310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5286,7 +5325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:21 GMT + - Wed, 12 Feb 2020 09:50:36 GMT expires: - '-1' pragma: @@ -5303,7 +5342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bc4068ff-3f96-462d-a375-4914fed82105 + - 7ed241b2-3b4d-4669-abdf-b60601d511e1 status: code: 200 message: OK @@ -5321,10 +5360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5336,7 +5375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:31 GMT + - Wed, 12 Feb 2020 09:50:47 GMT expires: - '-1' pragma: @@ -5353,7 +5392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0b6158f3-a506-4346-b898-efe16771eb5a + - 8d15ffd8-a8a5-4033-848b-f83d55f63a80 status: code: 200 message: OK @@ -5371,10 +5410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5386,7 +5425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:41 GMT + - Wed, 12 Feb 2020 09:50:58 GMT expires: - '-1' pragma: @@ -5403,7 +5442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ec8da407-d81d-4a92-beee-3768a5784cd5 + - ecc59517-aeb9-4de7-8b7f-0d139a0e1b56 status: code: 200 message: OK @@ -5421,10 +5460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5436,7 +5475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:24:52 GMT + - Wed, 12 Feb 2020 09:51:08 GMT expires: - '-1' pragma: @@ -5453,7 +5492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 614f121d-23e9-475e-bd6f-a06e047cf5c5 + - d5f5c6c8-f454-4d87-a234-7f12782a4d39 status: code: 200 message: OK @@ -5471,10 +5510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5486,7 +5525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:02 GMT + - Wed, 12 Feb 2020 09:51:19 GMT expires: - '-1' pragma: @@ -5503,7 +5542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 363e45eb-f3b8-4dd2-a756-c946ce16a2b4 + - 07bc65b5-671c-488a-a68c-ed1af6e34dbe status: code: 200 message: OK @@ -5521,10 +5560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5536,7 +5575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:12 GMT + - Wed, 12 Feb 2020 09:51:30 GMT expires: - '-1' pragma: @@ -5553,7 +5592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c287a0fb-5f78-4c7e-bea6-3661c2a10aea + - 6fe48fa9-539d-46c2-b43d-413a3463751f status: code: 200 message: OK @@ -5571,10 +5610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5586,7 +5625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:23 GMT + - Wed, 12 Feb 2020 09:51:40 GMT expires: - '-1' pragma: @@ -5603,7 +5642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6c3907a4-4ef6-4f3a-a214-7fd34e0a9f1b + - 97ce66a6-4d67-431b-9dd3-ec5651baf4d9 status: code: 200 message: OK @@ -5621,10 +5660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5636,7 +5675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:33 GMT + - Wed, 12 Feb 2020 09:51:50 GMT expires: - '-1' pragma: @@ -5653,7 +5692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9f00877a-ee51-4d38-9a6c-ff970bfd71ea + - d7c2fd31-48e7-4903-8f2b-a3592f70e01c status: code: 200 message: OK @@ -5671,10 +5710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5686,7 +5725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:44 GMT + - Wed, 12 Feb 2020 09:52:01 GMT expires: - '-1' pragma: @@ -5703,7 +5742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eb3a0dc7-ce89-4af6-8733-c07d2cbca0f4 + - cc102de6-1a2b-4881-9b42-24e3d31369ed status: code: 200 message: OK @@ -5721,10 +5760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5736,7 +5775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:25:54 GMT + - Wed, 12 Feb 2020 09:52:12 GMT expires: - '-1' pragma: @@ -5753,7 +5792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - af109af9-e4ae-41c0-b4e3-e8b3a7797159 + - a36d0f73-8a7d-4cec-9f5c-446235f69437 status: code: 200 message: OK @@ -5771,10 +5810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5786,7 +5825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:05 GMT + - Wed, 12 Feb 2020 09:52:23 GMT expires: - '-1' pragma: @@ -5803,7 +5842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5962a8f-b35b-438f-929d-fe57fdb83afa + - 9e55ce98-d6f4-4ef7-b557-b84c542626cd status: code: 200 message: OK @@ -5821,10 +5860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5836,7 +5875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:15 GMT + - Wed, 12 Feb 2020 09:52:33 GMT expires: - '-1' pragma: @@ -5853,7 +5892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 50ada49a-ac0a-4aeb-9766-485ac818f844 + - fbd39735-8871-454e-b886-0bab1a844801 status: code: 200 message: OK @@ -5871,10 +5910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5886,7 +5925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:25 GMT + - Wed, 12 Feb 2020 09:52:43 GMT expires: - '-1' pragma: @@ -5903,7 +5942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ca89daeb-58bd-4763-a767-f3c272a5ac79 + - ef748ff9-d7f8-4dc4-b35b-a6295dafd869 status: code: 200 message: OK @@ -5921,10 +5960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5936,7 +5975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:35 GMT + - Wed, 12 Feb 2020 09:52:55 GMT expires: - '-1' pragma: @@ -5953,7 +5992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ca9f2ea5-b917-4156-be0f-1c52cc494a0a + - b827488c-c845-49fe-8bd0-f7b97ff3f9c6 status: code: 200 message: OK @@ -5971,10 +6010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5986,7 +6025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:46 GMT + - Wed, 12 Feb 2020 09:53:06 GMT expires: - '-1' pragma: @@ -6003,7 +6042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8ff2d457-da99-4154-a318-1c32583d981b + - a900f793-a616-4ce2-8c7e-c049b5da13ec status: code: 200 message: OK @@ -6021,10 +6060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6036,7 +6075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:26:56 GMT + - Wed, 12 Feb 2020 09:53:16 GMT expires: - '-1' pragma: @@ -6053,7 +6092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9524709f-f656-4b32-8a8a-b67a8fdf71e4 + - bdf7efa1-3019-4f7b-80f6-7581d4a7a1d9 status: code: 200 message: OK @@ -6071,10 +6110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6086,7 +6125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:06 GMT + - Wed, 12 Feb 2020 09:53:27 GMT expires: - '-1' pragma: @@ -6103,7 +6142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dfd12d3e-916a-4777-987e-079b1556aae9 + - ee48591f-17c9-47af-92fc-43f2de67c275 status: code: 200 message: OK @@ -6121,10 +6160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6136,7 +6175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:17 GMT + - Wed, 12 Feb 2020 09:53:37 GMT expires: - '-1' pragma: @@ -6153,7 +6192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 241107ca-6204-4451-bd9f-62c21286362a + - 9978835e-2e73-4342-a50a-d018fdf62b50 status: code: 200 message: OK @@ -6171,10 +6210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6186,7 +6225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:27 GMT + - Wed, 12 Feb 2020 09:53:47 GMT expires: - '-1' pragma: @@ -6203,7 +6242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 68bcbc32-6b14-4173-a0ce-f13547bb1cbe + - 08475c6c-87d9-48b1-88d7-baf950ce6924 status: code: 200 message: OK @@ -6221,10 +6260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6236,7 +6275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:39 GMT + - Wed, 12 Feb 2020 09:53:58 GMT expires: - '-1' pragma: @@ -6253,7 +6292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1013c841-4df4-4bc7-9ab7-d505ef1469d2 + - fa493457-5cd9-4cfa-acd1-1418db157ea9 status: code: 200 message: OK @@ -6271,10 +6310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6286,7 +6325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:49 GMT + - Wed, 12 Feb 2020 09:54:09 GMT expires: - '-1' pragma: @@ -6303,7 +6342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 092a92f5-09f9-496b-92e9-2be9977e557a + - 8ce52cd3-02db-4e8d-b15f-c52a3ccd1f94 status: code: 200 message: OK @@ -6321,10 +6360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6336,7 +6375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:27:59 GMT + - Wed, 12 Feb 2020 09:54:21 GMT expires: - '-1' pragma: @@ -6353,7 +6392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0874aeda-afc5-4dad-9ac4-caa1e0a42d15 + - 65ac319d-deae-4e86-ab7f-6babdcaf4a8c status: code: 200 message: OK @@ -6371,10 +6410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6386,7 +6425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:28:09 GMT + - Wed, 12 Feb 2020 09:54:31 GMT expires: - '-1' pragma: @@ -6403,7 +6442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7498f717-823b-4b7c-8915-cb632262ef6f + - c5db7446-02dd-4aea-842f-3d41ab189c65 status: code: 200 message: OK @@ -6421,10 +6460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6436,7 +6475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:28:20 GMT + - Wed, 12 Feb 2020 09:54:41 GMT expires: - '-1' pragma: @@ -6453,7 +6492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ff0c820-2a73-4dcc-9b17-5bb6b9b8d1ac + - 0a53f630-827b-439e-bdf1-ddc1383d35ae status: code: 200 message: OK @@ -6471,10 +6510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6486,7 +6525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:28:30 GMT + - Wed, 12 Feb 2020 09:54:52 GMT expires: - '-1' pragma: @@ -6503,7 +6542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a54ddcd3-9d4e-474b-9583-344bcb7b848f + - 4f555a1b-f4de-4fb2-b5e6-9be2e5141c2e status: code: 200 message: OK @@ -6521,10 +6560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6536,7 +6575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:28:40 GMT + - Wed, 12 Feb 2020 09:55:02 GMT expires: - '-1' pragma: @@ -6553,7 +6592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b8b552c5-3dd0-434d-9430-5857f6a27420 + - 83479abd-7eb6-4c61-aaff-03955fa13e4b status: code: 200 message: OK @@ -6571,10 +6610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6586,7 +6625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:28:50 GMT + - Wed, 12 Feb 2020 09:55:13 GMT expires: - '-1' pragma: @@ -6603,7 +6642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 96650aa8-c8e5-4e5c-a64b-ab1abc0bd75d + - 1d822513-faf3-482b-8704-9b3ea1e5ab5c status: code: 200 message: OK @@ -6621,10 +6660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6636,7 +6675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:00 GMT + - Wed, 12 Feb 2020 09:55:23 GMT expires: - '-1' pragma: @@ -6653,7 +6692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5ce23733-97b6-4372-a1b4-74533c6396d8 + - 7c1916b5-81a2-46cc-a47a-b1d591680a2e status: code: 200 message: OK @@ -6671,10 +6710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6686,7 +6725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:11 GMT + - Wed, 12 Feb 2020 09:55:34 GMT expires: - '-1' pragma: @@ -6703,7 +6742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 34a7ef07-9a9d-4091-b8f5-79ef9efb279e + - da73896d-3cf3-485b-a47d-8dd22073be3d status: code: 200 message: OK @@ -6721,10 +6760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6736,7 +6775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:22 GMT + - Wed, 12 Feb 2020 09:55:45 GMT expires: - '-1' pragma: @@ -6753,7 +6792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 82cdacbc-cc56-412b-8e71-6fca6906f211 + - 8b51838b-07d2-4236-a2cc-0eb49810a742 status: code: 200 message: OK @@ -6771,10 +6810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6786,7 +6825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:32 GMT + - Wed, 12 Feb 2020 09:55:55 GMT expires: - '-1' pragma: @@ -6803,7 +6842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e1208a29-1a29-41a6-9f43-9d19744c7240 + - efe2cfc3-ac8e-4a1f-bce7-bc79c11a7416 status: code: 200 message: OK @@ -6821,10 +6860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6836,7 +6875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:43 GMT + - Wed, 12 Feb 2020 09:56:05 GMT expires: - '-1' pragma: @@ -6853,7 +6892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 702fd428-0d31-48b1-baa4-fd380fdf8417 + - 96a7a840-2a3c-4848-abad-b41cb1774119 status: code: 200 message: OK @@ -6871,10 +6910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6886,7 +6925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:29:53 GMT + - Wed, 12 Feb 2020 09:56:16 GMT expires: - '-1' pragma: @@ -6903,7 +6942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5a5af88a-d2ee-4320-a300-ceb0faa22562 + - 37b6574e-2750-4f37-8737-3798b6c64532 status: code: 200 message: OK @@ -6921,10 +6960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6936,7 +6975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:03 GMT + - Wed, 12 Feb 2020 09:56:27 GMT expires: - '-1' pragma: @@ -6953,7 +6992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a1ba829c-f4c6-4f0f-85e0-2bd6df9861b0 + - 23616526-526e-4dca-9590-fbbb630d03c7 status: code: 200 message: OK @@ -6971,10 +7010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -6986,7 +7025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:13 GMT + - Wed, 12 Feb 2020 09:56:37 GMT expires: - '-1' pragma: @@ -7003,7 +7042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8291d7a9-7959-47c7-9cee-ed21a1f6ff86 + - 5fd7bb2e-f300-4cc8-ba29-947cbb42f4aa status: code: 200 message: OK @@ -7021,10 +7060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7036,7 +7075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:24 GMT + - Wed, 12 Feb 2020 09:56:47 GMT expires: - '-1' pragma: @@ -7053,7 +7092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5cfdc049-a06e-41bb-8244-a7a4ba051def + - 9037e278-bba6-418c-9e9a-3caa39b39bba status: code: 200 message: OK @@ -7071,10 +7110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7086,7 +7125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:34 GMT + - Wed, 12 Feb 2020 09:56:59 GMT expires: - '-1' pragma: @@ -7103,7 +7142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5a2fe915-0e3f-49ee-aa74-c49f3c815c71 + - 255b1240-883d-4fd8-bbba-f0c9dd4fe44d status: code: 200 message: OK @@ -7121,10 +7160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7136,7 +7175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:44 GMT + - Wed, 12 Feb 2020 09:57:09 GMT expires: - '-1' pragma: @@ -7153,7 +7192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 191e72bb-999f-4f4a-b292-58f9446b21e2 + - cd4bcc43-37fb-4613-afd9-0c9845bc9328 status: code: 200 message: OK @@ -7171,10 +7210,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7186,7 +7225,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:30:54 GMT + - Wed, 12 Feb 2020 09:57:20 GMT expires: - '-1' pragma: @@ -7203,7 +7242,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0991f8f9-2ee4-4dbb-8a30-29735cac8634 + - cde36812-ae25-4c13-8818-7383370b6534 status: code: 200 message: OK @@ -7221,10 +7260,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7236,7 +7275,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:05 GMT + - Wed, 12 Feb 2020 09:57:30 GMT expires: - '-1' pragma: @@ -7253,7 +7292,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b5a72940-1162-4bce-b0d9-17112107e0fc + - b9a1f7f0-86d7-4489-8176-fd0907dfc928 status: code: 200 message: OK @@ -7271,10 +7310,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7286,7 +7325,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:15 GMT + - Wed, 12 Feb 2020 09:57:40 GMT expires: - '-1' pragma: @@ -7303,7 +7342,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7e0caf1d-616b-497c-8d1b-23c3ea1b41cf + - 0084079d-1225-49fe-b3ec-6362089a8d75 status: code: 200 message: OK @@ -7321,10 +7360,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7336,7 +7375,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:26 GMT + - Wed, 12 Feb 2020 09:57:51 GMT expires: - '-1' pragma: @@ -7353,7 +7392,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - edd52d25-506a-4ce7-90ef-5ed014d15708 + - 0d3f653c-aaba-43bc-a9f6-49b6af279424 status: code: 200 message: OK @@ -7371,10 +7410,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7386,7 +7425,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:36 GMT + - Wed, 12 Feb 2020 09:58:01 GMT expires: - '-1' pragma: @@ -7403,7 +7442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c31b6a75-b6a2-4a42-8b5f-5c3c9936f0f5 + - 5f0a5311-3e09-4132-9456-b3238e08af89 status: code: 200 message: OK @@ -7421,10 +7460,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7436,7 +7475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:47 GMT + - Wed, 12 Feb 2020 09:58:12 GMT expires: - '-1' pragma: @@ -7453,7 +7492,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 55b28337-39dc-46a1-ab7b-9dfecce68598 + - 36f75eaa-617e-4c0f-bebd-cf654113f048 status: code: 200 message: OK @@ -7471,10 +7510,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7486,7 +7525,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:31:57 GMT + - Wed, 12 Feb 2020 09:58:23 GMT expires: - '-1' pragma: @@ -7503,7 +7542,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dc26c8b0-af85-485d-8eee-4b4b6174c91c + - 35d188d4-9849-42c2-a4e7-cf8cab8f98b1 status: code: 200 message: OK @@ -7521,10 +7560,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7536,7 +7575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:07 GMT + - Wed, 12 Feb 2020 09:58:33 GMT expires: - '-1' pragma: @@ -7553,7 +7592,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd4222e6-8b86-4f7c-bd4b-ed23ad6cb7eb + - d566b8db-9a5f-4bbd-b859-881663feed16 status: code: 200 message: OK @@ -7571,10 +7610,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7586,7 +7625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:17 GMT + - Wed, 12 Feb 2020 09:58:44 GMT expires: - '-1' pragma: @@ -7603,7 +7642,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - aab3ee53-7658-489a-aeab-663caf061e5b + - 33bbf526-477c-4ad5-90f3-7bc794d1a6ad status: code: 200 message: OK @@ -7621,10 +7660,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7636,7 +7675,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:28 GMT + - Wed, 12 Feb 2020 09:58:54 GMT expires: - '-1' pragma: @@ -7653,7 +7692,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b5bcbe56-3525-4c84-8ff1-dfd531fd6936 + - 48c77944-31f6-4bb3-a10a-a5e7d8fc89dc status: code: 200 message: OK @@ -7671,10 +7710,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7686,7 +7725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:38 GMT + - Wed, 12 Feb 2020 09:59:04 GMT expires: - '-1' pragma: @@ -7703,7 +7742,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 38685351-4973-48cf-80ff-938157f2a24f + - 1d55a78e-54cc-4d14-8a52-96fe6e4034e4 status: code: 200 message: OK @@ -7721,10 +7760,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7736,7 +7775,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:48 GMT + - Wed, 12 Feb 2020 09:59:15 GMT expires: - '-1' pragma: @@ -7753,7 +7792,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b929bbe3-6b3b-4cb7-8887-fe3d8e21fb84 + - 01c8aaea-7afc-42d4-903d-f8bad41b8509 status: code: 200 message: OK @@ -7771,10 +7810,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7786,7 +7825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:32:58 GMT + - Wed, 12 Feb 2020 09:59:27 GMT expires: - '-1' pragma: @@ -7803,7 +7842,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6e78eb4c-3322-4549-bdc5-bce82fe2fb6b + - f9b94f30-2079-44c8-9ae0-b098896d6dd9 status: code: 200 message: OK @@ -7821,10 +7860,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7836,7 +7875,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:33:09 GMT + - Wed, 12 Feb 2020 09:59:37 GMT expires: - '-1' pragma: @@ -7853,7 +7892,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 97e69d8e-08e0-43a8-a41a-03a2b7b443d9 + - 3e8e65fa-9ade-46c1-9468-b5e79ca33fb6 status: code: 200 message: OK @@ -7871,10 +7910,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7886,7 +7925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:33:19 GMT + - Wed, 12 Feb 2020 09:59:47 GMT expires: - '-1' pragma: @@ -7903,7 +7942,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 673a222d-544e-4533-807b-099d31ead27e + - c553ecb1-cd56-4f53-8ef9-b19fd7e5f044 status: code: 200 message: OK @@ -7921,10 +7960,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7936,7 +7975,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:33:31 GMT + - Wed, 12 Feb 2020 09:59:58 GMT expires: - '-1' pragma: @@ -7953,7 +7992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60e810a0-e8de-4662-a3db-e8df80ff7e68 + - ddf643f9-1617-4495-9143-14a13a1bbcc2 status: code: 200 message: OK @@ -7971,10 +8010,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -7986,7 +8025,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:33:41 GMT + - Wed, 12 Feb 2020 10:00:08 GMT expires: - '-1' pragma: @@ -8003,7 +8042,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 181950c9-315d-4839-be62-5e1b854c3552 + - da22e266-a53a-48d1-912c-1e7d63dce7a9 status: code: 200 message: OK @@ -8021,10 +8060,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -8036,7 +8075,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:33:51 GMT + - Wed, 12 Feb 2020 10:00:18 GMT expires: - '-1' pragma: @@ -8053,7 +8092,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c134287a-c71e-46a2-b98f-44e0d6abfc6b + - 299c6a98-a2a8-4428-a913-964d5f40e039 status: code: 200 message: OK @@ -8071,10 +8110,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -8086,7 +8125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:02 GMT + - Wed, 12 Feb 2020 10:00:29 GMT expires: - '-1' pragma: @@ -8103,7 +8142,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8a902404-e8ea-4483-867a-f2a75ad635fb + - b3210e85-8e41-4dd9-b5ee-dbf7ff6f99df status: code: 200 message: OK @@ -8121,10 +8160,10 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3291627d-9ce9-4653-8204-f2da74cc7cd9?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/28d8f3aa-79e9-4398-9c5b-a19ee4d76bd7?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8136,7 +8175,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:12 GMT + - Wed, 12 Feb 2020 10:00:40 GMT expires: - '-1' pragma: @@ -8153,7 +8192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3f441706-6091-4ba0-a2e8-f89ce61c5421 + - d5b47d21-7c21-4f6b-86ae-f538880769f3 status: code: 200 message: OK @@ -8171,22 +8210,20 @@ interactions: ParameterSetName: - -g -n --sku --vhub --firewall-policy User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af1\",\r\n - \ \"etag\": \"W/\\\"3e5332a2-d1c2-4edf-a07f-b7c2ac5849aa\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"5d26493d-c4d3-4f47-92b8-9883681f4b40\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"eastus\",\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 \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"virtualHub\": {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n + {},\r\n \"virtualHub\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualHubs/clitestvhub\"\r\n \ },\r\n \"hubIPAddresses\": {\r\n \"privateIPAddress\": \"10.0.0.68\",\r\n - \ \"publicIPAddresses\": [\r\n {\r\n \"address\": \"52.142.33.201\"\r\n + \ \"publicIPAddresses\": [\r\n {\r\n \"address\": \"52.152.200.195\"\r\n \ }\r\n ]\r\n },\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy\"\r\n \ }\r\n }\r\n}" @@ -8194,13 +8231,13 @@ interactions: cache-control: - no-cache content-length: - - '1296' + - '1183' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:12 GMT + - Wed, 12 Feb 2020 10:00:40 GMT etag: - - W/"3e5332a2-d1c2-4edf-a07f-b7c2ac5849aa" + - W/"5d26493d-c4d3-4f47-92b8-9883681f4b40" expires: - '-1' pragma: @@ -8217,13 +8254,12 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c1f1c609-5a5b-4ee5-8f9b-1eacda41598f + - c85bd35b-6307-4a4a-bb9f-e8eb17de8ddd status: code: 200 message: OK - request: - body: '{"location": "centraluseuap", "properties": {"additionalProperties": {"DNSEnableProxy": - "False", "DNSRequireProxyForNetworkRules": "True", "DNSServer": null}}}' + body: '{"location": "centraluseuap", "properties": {"additionalProperties": {}}}' headers: Accept: - application/json @@ -8234,14 +8270,14 @@ interactions: Connection: - keep-alive Content-Length: - - '159' + - '73' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -8249,28 +8285,26 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"70427d22-f173-471d-bd87-358343307920\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3b88e7cc-9a8e-475e-88fb-368135502a6a\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n - \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/61b2943a-fb80-4372-b922-4431190b8d59?api-version=2019-11-01 cache-control: - no-cache content-length: - - '811' + - '697' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:18 GMT + - Wed, 12 Feb 2020 10:00:51 GMT expires: - '-1' pragma: @@ -8283,9 +8317,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 56129f4f-8078-486f-abb8-4c6a3c61d80b + - ac51996c-7066-47ac-8ab1-784500f6b656 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 201 message: Created @@ -8303,87 +8337,39 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/61b2943a-fb80-4372-b922-4431190b8d59?api-version=2019-11-01 response: body: - string: '{"error":{"code":"ServerTimeout","message":"The request timed out. - Diagnostic information: timestamp ''20200609T063449Z'', subscription id ''0b1f6471-1bf0-4dda-aec3-cb9272f09590'', - tracking id ''96aed39d-bd53-4ade-9b3c-3c66b8aa8345'', request correlation - id ''96aed39d-bd53-4ade-9b3c-3c66b8aa8345''."}}' + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache - connection: - - close content-length: - - '294' + - '29' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:49 GMT + - Wed, 12 Feb 2020 10:01: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-failure-cause: - - gateway - status: - code: 503 - message: Service Unavailable -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network firewall create - Connection: - - keep-alive - ParameterSetName: - - -g -n -l - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6191e0bd-3b60-4699-9de4-164c52daba8b?api-version=2019-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 Jun 2020 06:34: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 + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a2a76d1c-7026-4f8d-af6b-2183c676d067 + - 370f35a1-e375-4687-956d-c267e4fd0d62 status: code: 200 message: OK @@ -8401,33 +8387,31 @@ interactions: ParameterSetName: - -g -n -l User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"c5763109-f53b-48ac-a672-c13153e318c7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a09f9341-03a9-41b9-8086-2fbee8774aca\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n - \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '812' + - '698' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:34:51 GMT + - Wed, 12 Feb 2020 10:01:03 GMT etag: - - W/"c5763109-f53b-48ac-a672-c13153e318c7" + - W/"a09f9341-03a9-41b9-8086-2fbee8774aca" expires: - '-1' pragma: @@ -8444,7 +8428,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ee8e09a7-08e7-4add-b3bb-fcc33ffa2936 + - 0f71fe95-3075-4817-8b9c-dd33f62f630e status: code: 200 message: OK @@ -8468,8 +8452,8 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -8477,9 +8461,9 @@ interactions: response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"edcdbc07-0a8d-4a87-8c4e-481e922f0725\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"b0351008-7aaf-48fd-82a3-67bfc81770e4\\\"\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"0931bf44-27a1-4793-93b9-3c7585926efb\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"cf638648-884b-4956-a96a-b37cc03d8408\",\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 }\r\n}" @@ -8487,7 +8471,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6c557622-44c5-42da-b719-03c605163768?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2e00fc43-ab4d-42b2-bec3-a29846f0a4e8?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -8495,7 +8479,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:02 GMT + - Wed, 12 Feb 2020 10:01:16 GMT expires: - '-1' pragma: @@ -8508,9 +8492,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 801ea6c4-b936-49be-a9e7-654be4de954b + - a6ddda1a-7748-43d0-ba65-591386ca9425 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 201 message: Created @@ -8528,10 +8512,10 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/6c557622-44c5-42da-b719-03c605163768?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2e00fc43-ab4d-42b2-bec3-a29846f0a4e8?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8543,7 +8527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:04 GMT + - Wed, 12 Feb 2020 10:01:18 GMT expires: - '-1' pragma: @@ -8560,7 +8544,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0823bfa2-1431-4519-9c6d-b07afcc8b789 + - 2a5c48c6-bd6d-44cd-845a-6619e93e0818 status: code: 200 message: OK @@ -8578,17 +8562,17 @@ interactions: ParameterSetName: - -g -n -l --sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"pubip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\",\r\n - \ \"etag\": \"W/\\\"7e05ae55-167e-40ba-b72b-a22bcd1a2310\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"999670b6-f7bc-4e58-b08b-3c6ba26f9a4a\\\"\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"0931bf44-27a1-4793-93b9-3c7585926efb\",\r\n \"ipAddress\": - \"52.253.157.74\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"cf638648-884b-4956-a96a-b37cc03d8408\",\r\n \"ipAddress\": + \"40.89.57.217\",\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 }\r\n}" @@ -8596,13 +8580,13 @@ interactions: cache-control: - no-cache content-length: - - '703' + - '702' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:05 GMT + - Wed, 12 Feb 2020 10:01:19 GMT etag: - - W/"7e05ae55-167e-40ba-b72b-a22bcd1a2310" + - W/"999670b6-f7bc-4e58-b08b-3c6ba26f9a4a" expires: - '-1' pragma: @@ -8619,7 +8603,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8db3ad5c-7ee9-4c1f-8475-28be11369b7e + - ee0e8d28-1fc3-4731-93bb-3d97ab84a21f status: code: 200 message: OK @@ -8643,8 +8627,8 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -8652,15 +8636,15 @@ interactions: response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"56229dba-8a2c-4b4a-a2f6-0105a5071286\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"724b6141-72a6-4a74-a29e-94db4818ecdc\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"f5e89fa3-7878-4c07-80e5-32640a9048d8\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ece88504-6938-4e6b-8048-b1b3dd49d030\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"56229dba-8a2c-4b4a-a2f6-0105a5071286\\\"\",\r\n + \ \"etag\": \"W/\\\"724b6141-72a6-4a74-a29e-94db4818ecdc\\\"\",\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\": @@ -8671,7 +8655,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2d869e04-9c50-4dd6-a738-06e5b3ad052f?api-version=2020-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/49469c71-85f3-4d59-99ee-57a92ca2196b?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -8679,7 +8663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:09 GMT + - Wed, 12 Feb 2020 10:01:29 GMT expires: - '-1' pragma: @@ -8692,9 +8676,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 302d470c-cac0-4158-b015-59c6a4ade459 + - 0c894600-9bdf-44a1-b618-c295876ba266 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -8712,10 +8696,10 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2d869e04-9c50-4dd6-a738-06e5b3ad052f?api-version=2020-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/49469c71-85f3-4d59-99ee-57a92ca2196b?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -8727,7 +8711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:13 GMT + - Wed, 12 Feb 2020 10:01:34 GMT expires: - '-1' pragma: @@ -8744,7 +8728,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dc97ef63-e1b5-41b6-bc5d-24e616a9ef27 + - c396c71f-3b6f-4fc1-bea1-845c48787945 status: code: 200 message: OK @@ -8762,22 +8746,22 @@ interactions: ParameterSetName: - -g -n --subnet-name -l --address-prefixes --subnet-prefixes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.2.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet?api-version=2020-04-01 response: body: string: "{\r\n \"name\": \"myvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet\",\r\n - \ \"etag\": \"W/\\\"2e838bf6-7a32-4c22-aea4-278967d44cbe\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"162c1969-5aeb-44e1-9a8d-736f0b7bd537\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"f5e89fa3-7878-4c07-80e5-32640a9048d8\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ece88504-6938-4e6b-8048-b1b3dd49d030\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"AzureFirewallSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\",\r\n - \ \"etag\": \"W/\\\"2e838bf6-7a32-4c22-aea4-278967d44cbe\\\"\",\r\n + \ \"etag\": \"W/\\\"162c1969-5aeb-44e1-9a8d-736f0b7bd537\\\"\",\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\": @@ -8792,9 +8776,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:13 GMT + - Wed, 12 Feb 2020 10:01:34 GMT etag: - - W/"2e838bf6-7a32-4c22-aea4-278967d44cbe" + - W/"162c1969-5aeb-44e1-9a8d-736f0b7bd537" expires: - '-1' pragma: @@ -8811,7 +8795,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0a7a1929-2686-4d19-be64-f7f8e4d08638 + - b133294b-0e1e-4e34-991b-ccfead4e9643 status: code: 200 message: OK @@ -8829,8 +8813,8 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -8838,26 +8822,24 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"c5763109-f53b-48ac-a672-c13153e318c7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a09f9341-03a9-41b9-8086-2fbee8774aca\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n - \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": - [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [],\r\n \"networkRuleCollections\": [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '812' + - '698' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:16 GMT + - Wed, 12 Feb 2020 10:01:36 GMT etag: - - W/"c5763109-f53b-48ac-a672-c13153e318c7" + - W/"a09f9341-03a9-41b9-8086-2fbee8774aca" expires: - '-1' pragma: @@ -8874,7 +8856,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b8f6b159-af3f-4811-a17c-73fea989b281 + - f8636340-a279-4544-8cbe-cf48f50dedd2 status: code: 200 message: OK @@ -8885,8 +8867,7 @@ interactions: [{"properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, "name": "myipconfig1"}], "threatIntelMode": "Alert", "sku": {"name": "AZFW_VNet", - "tier": "Standard"}, "additionalProperties": {"DNSEnableProxy": "False", "DNSRequireProxyForNetworkRules": - "True", "DNSServer": null}}}''' + "tier": "Standard"}, "additionalProperties": {}}}''' headers: Accept: - application/json @@ -8897,14 +8878,14 @@ interactions: Connection: - keep-alive Content-Length: - - '1057' + - '971' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -8912,15 +8893,14 @@ interactions: response: body: string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n - \ \"etag\": \"W/\\\"17aaadfc-3e0d-46a0-844c-15d22c923fe5\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"22c59bac-17d8-4631-8a3e-750eb8e4a1f8\\\"\",\r\n \"type\": \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n - \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {\r\n - \ \"DNSEnableProxy\": \"False\",\r\n \"DNSRequireProxyForNetworkRules\": - \"True\",\r\n \"DNSServer\": null\r\n },\r\n \"ipConfigurations\": - [\r\n {\r\n \"name\": \"myipconfig1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n - \ \"etag\": \"W/\\\"17aaadfc-3e0d-46a0-844c-15d22c923fe5\\\"\",\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"22c59bac-17d8-4631-8a3e-750eb8e4a1f8\\\"\",\r\n \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -8931,15 +8911,15 @@ interactions: []\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/aabb5c45-5fdf-4865-a348-acc5df24a4c3?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1936' + - '1822' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:16 GMT + - Wed, 12 Feb 2020 10:01:37 GMT expires: - '-1' pragma: @@ -8956,7 +8936,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 744d454a-5b1c-4f1c-8536-7eb6d95a8f7e + - 7853aed9-9abc-4643-a204-c1e9b9766d5b x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -8976,24 +8956,2569 @@ interactions: ParameterSetName: - -g -n -f --public-ip-address --vnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/9.0.0 - Azure-SDK-For-Python AZURECLI/2.7.0 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:01: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: + - d48ccdc4-145c-4c55-8378-63d5db5344a1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:01: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: + - ba70fd36-7c15-411d-bb36-661c3ba02bd4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:02:09 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: + - 8e83fc8e-e036-43cb-859e-4fdc5335e49d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:02: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-arm-service-request-id: + - ee9d9d7e-bc6e-4506-a706-54f0c2ab1414 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/aabb5c45-5fdf-4865-a348-acc5df24a4c3?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"AzureFirewallInvalidAdditionalPropertyName\",\r\n - \ \"message\": \"'DNSEnableProxy' is not a valid property name for Azure - Firewall.\",\r\n \"details\": []\r\n }\r\n}" + string: "{\r\n \"status\": \"InProgress\"\r\n}" headers: cache-control: - no-cache content-length: - - '209' + - '30' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Jun 2020 06:35:27 GMT + - Wed, 12 Feb 2020 10:02: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: + - 9fd40d8e-d405-4c95-b1cf-629d3c882106 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:02: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: + - 5d6bc6b1-8916-47c0-bd6e-c1a36de07c7d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:02: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: + - d953646c-7e30-483b-bd0b-4369ec82e477 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - 4b0341e1-52e5-47dd-b729-4e2815449efe + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - 6585d6d9-60f6-4d0f-9bc0-1d9b5b64c0ea + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - cbe4f754-ae5a-4bd8-91d2-c926befc3c36 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - 7a3d1ba6-c061-4cb3-995d-70d5620d0a23 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - d06159a7-2c7a-405d-9c86-d3b48e7bd9f3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:03: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: + - d53b341a-acec-4942-bf54-898bed6cf4c9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:04: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: + - b237bc90-c692-4505-ac64-da5508a68c9f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:04: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: + - 44df7c3a-3e1d-4502-ae98-f3add0fc649d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:04: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: + - 3dc25c73-52d4-4d18-ba9e-9758125afef2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:04: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: + - 6c9dcd34-5b71-46e8-bea6-e559d05c78d0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/55d2a0b6-6ee1-43c7-b3d9-bb906d1e0204?api-version=2019-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: + - Wed, 12 Feb 2020 10:04: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: + - 2652d6ae-8094-4490-acba-1c3039305072 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall ip-config create + Connection: + - keep-alive + ParameterSetName: + - -g -n -f --public-ip-address --vnet-name + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n + \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": + {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1866' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:04:48 GMT + etag: + - W/"477c6fe4-64f4-419e-b985-9782cd1303a0" + 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: + - 78cbb63f-2b1e-4424-a12a-fa62fbd7790e + status: + code: 200 + message: OK +- request: + body: '{"location": "westcentralus"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall policy create + Connection: + - keep-alive + Content-Length: + - '29' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n + \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + [],\r\n \"provisioningState\": \"Updating\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\",\r\n + \ \"name\": \"myclipolicy2\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"ab87c416-dfa9-46d6-80ae-5538d9eabc77\",\r\n \"location\": \"westcentralus\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '541' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:04:58 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-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall policy create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-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: + - Wed, 12 Feb 2020 10:05:10 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall policy create + Connection: + - keep-alive + ParameterSetName: + - -g -n -l + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 + response: + body: + string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n + \ \"childPolicies\": [],\r\n \"ruleGroups\": [],\r\n \"firewalls\": + [],\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\",\r\n + \ \"name\": \"myclipolicy2\",\r\n \"type\": \"Microsoft.Network/FirewallPolicies\",\r\n + \ \"etag\": \"ab87c416-dfa9-46d6-80ae-5538d9eabc77\",\r\n \"location\": \"westcentralus\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:05:11 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 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n + \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": + {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"477c6fe4-64f4-419e-b985-9782cd1303a0\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1866' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:05:14 GMT + etag: + - W/"477c6fe4-64f4-419e-b985-9782cd1303a0" + 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: + - 65468115-f4b4-48a7-9622-c2d03a2edd14 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2", + "location": "centraluseuap", "properties": {"applicationRuleCollections": [], + "natRuleCollections": [], "networkRuleCollections": [], "ipConfigurations": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip"}}, + "name": "myipconfig1"}], "threatIntelMode": "Alert", "firewallPolicy": {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2"}, + "sku": {"name": "AZFW_VNet", "tier": "Standard"}, "additionalProperties": {}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + Content-Length: + - '1442' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n + \ \"etag\": \"W/\\\"84a0ae6a-3601-4c80-a06d-06883b082d3a\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"sku\": + {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"84a0ae6a-3601-4c80-a06d-06883b082d3a\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + [],\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\"\r\n + \ }\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2114' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:05:17 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: + - 688dc764-b5b4-4ada-b3ce-d3d371d0781c + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:05: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: + - b208ed4b-4e84-4f2b-a7c5-1e9662388933 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:05: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: + - dd6e4c5a-32c4-4784-ab85-acc27ff9318e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:05: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: + - 0e560b70-f93a-4511-804f-f146fe8e7660 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - d476a7f1-ee5f-4186-ac49-165a7d16da7f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - 2de5886d-504c-4e86-a5d0-99f99882638f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - 4931398c-9e5b-43be-80e9-8a77e86c70ae + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - 836b62c7-b582-43b9-b4dc-bca88a83c602 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - 9513b36d-ddd7-48f9-a05b-b1ed1dde243f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:06: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: + - e7a348d4-5a7a-4d51-a533-ae5bc593e1c8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07: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: + - 87fde9c8-c01f-4d04-87ff-e2182314e99e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07: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: + - 02a9d3c2-be8d-4902-8304-e9aa7f64256a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07: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: + - c44fd6c7-0ab2-47e8-87a9-0f5175e3c145 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07:35 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: + - 3a02e41b-54fc-4f52-b8b2-7a8ae61834af + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07: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: + - 24f9ba02-b827-4c02-b590-6bdca9c94bc4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:07: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: + - 363bac21-d24c-44d8-90e3-e3178067a511 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08:07 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: + - 2659051f-2d34-4c0d-96fc-855b065f40e8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08:17 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: + - fd828518-1867-4407-b34e-54baeeaf2dcb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08: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: + - 2b9bf98e-589a-485b-a5f4-03ff703c36b8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08:38 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: + - 62d323ac-1180-4ae2-9cf6-4797ed6b06a6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08: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: + - 49ac9c7e-6939-4d8e-95ea-9363c59c6d2c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:08: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: + - a488ea83-04cc-4969-86d0-dff64d9fac64 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:09: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: + - 8ffd0b0a-f730-4276-9179-0de4bd65d02e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:09: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: + - 95d653de-ee51-4bb0-b9a1-544da209f958 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:09: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: + - 3535f61b-fac9-4666-a69b-76dd05b10b81 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/57d7a5fe-efd6-4c08-8011-393badc9c110?api-version=2019-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: + - Wed, 12 Feb 2020 10:09: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: + - fd93baa6-c5cf-4c31-9ba6-28489dfbae67 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network firewall update + Connection: + - keep-alive + ParameterSetName: + - -g -n --firewall-policy + User-Agent: + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"af2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2\",\r\n + \ \"etag\": \"W/\\\"d561f516-1385-4157-a7a0-e63b3246c928\\\"\",\r\n \"type\": + \"Microsoft.Network/azureFirewalls\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": + {\r\n \"name\": \"AZFW_VNet\",\r\n \"tier\": \"Standard\"\r\n },\r\n + \ \"threatIntelMode\": \"Alert\",\r\n \"additionalProperties\": {},\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"myipconfig1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/azureFirewalls/af2/azureFirewallIpConfigurations/myipconfig1\",\r\n + \ \"etag\": \"W/\\\"d561f516-1385-4157-a7a0-e63b3246c928\\\"\",\r\n + \ \"type\": \"Microsoft.Network/azureFirewalls/azureFirewallIpConfigurations\",\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/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/publicIPAddresses/pubip\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/AzureFirewallSubnet\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"networkRuleCollections\": + [],\r\n \"applicationRuleCollections\": [],\r\n \"natRuleCollections\": + [],\r\n \"firewallPolicy\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2\"\r\n + \ }\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2115' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 12 Feb 2020 10:09:42 GMT + etag: + - W/"d561f516-1385-4157-a7a0-e63b3246c928" expires: - '-1' pragma: @@ -9010,7 +11535,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd66b233-d7b4-4d56-a425-5dcf9788ce6b + - d3f1c15f-2792-4385-b911-981d512008b0 status: code: 200 message: OK From 6242ad601681e40575af023bba5429c3755d3ed2 Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 9 Jun 2020 15:25:01 +0800 Subject: [PATCH 5/6] fix tests --- ...test_azure_firewall_with_firewall_policy.yaml | 16 ++++++++-------- .../tests/latest/test_azure_firewall_scenario.py | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml index f84f50d7362..2767a965259 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml +++ b/src/azure-firewall/azext_firewall/tests/latest/recordings/test_azure_firewall_with_firewall_policy.yaml @@ -954,7 +954,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n @@ -964,7 +964,7 @@ interactions: \ \"etag\": \"d49ce5d4-8c71-486c-b8d8-d9d9ce04bf3b\",\r\n \"location\": \"westcentralus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -1005,7 +1005,7 @@ interactions: - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/a0d8ed98-39ba-48b4-a831-451a24908dc7?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1052,7 +1052,7 @@ interactions: - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n @@ -9933,7 +9933,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n @@ -9943,7 +9943,7 @@ interactions: \ \"etag\": \"ab87c416-dfa9-46d6-80ae-5538d9eabc77\",\r\n \"location\": \"westcentralus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -9984,7 +9984,7 @@ interactions: - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/nfvOperations/8655b1b6-ae36-4099-8ffc-1a7fd19edf30?api-version=2020-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -10031,7 +10031,7 @@ interactions: - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_azure_firewall_with_firewall_policy000001/providers/Microsoft.Network/firewallPolicies/myclipolicy2?api-version=2020-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"threatIntelMode\": \"Alert\",\r\n diff --git a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py index 08feb01b9db..ee6750264f4 100644 --- a/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py +++ b/src/azure-firewall/azext_firewall/tests/latest/test_azure_firewall_scenario.py @@ -242,7 +242,7 @@ def test_azure_firewall_virtual_hub(self, resource_group): self.cmd('network vhub create -g {rg} -n {vhub2} --vwan {vwan2} --address-prefix 10.0.0.0/24 -l eastus --sku Standard') self.cmd('network firewall update -g {rg} -n {af} --vhub {vhub2}') - @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='eastus') + @ResourceGroupPreparer(name_prefix='cli_test_azure_firewall_with_firewall_policy', location='westcentralus') def test_azure_firewall_with_firewall_policy(self, resource_group): self.kwargs.update({ @@ -261,7 +261,7 @@ def test_azure_firewall_with_firewall_policy(self, resource_group): # test firewall policy with vhub firewall # self.cmd('extension add -n virtual-wan') self.cmd('network vwan create -n {vwan} -g {rg} --type Standard') - self.cmd('network vhub create -g {rg} -n {vhub} --vwan {vwan} --address-prefix 10.0.0.0/24 -l eastus --sku Standard') + self.cmd('network vhub create -g {rg} -n {vhub} --vwan {vwan} --address-prefix 10.0.0.0/24 -l westcentralus --sku Standard') self.cmd('network firewall policy create -g {rg} -n {policy} -l westcentralus', checks=[ self.check('type', 'Microsoft.Network/FirewallPolicies'), From 72acc160c8fdee782824c23dc7bdb32dc6ea6f5e Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Tue, 9 Jun 2020 15:27:31 +0800 Subject: [PATCH 6/6] fix style --- src/azure-firewall/azext_firewall/custom.py | 37 +++++++++++++-------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/src/azure-firewall/azext_firewall/custom.py b/src/azure-firewall/azext_firewall/custom.py index b6eef2e4059..8fc3584a49d 100644 --- a/src/azure-firewall/azext_firewall/custom.py +++ b/src/azure-firewall/azext_firewall/custom.py @@ -455,7 +455,8 @@ def update_azure_firewall_policy_rule_collection_group(instance, priority=None, return instance -def add_azure_firewall_policy_nat_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, +def add_azure_firewall_policy_nat_rule_collection(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_name, rule_priority, translated_address=None, translated_port=None, nat_action=None, condition_name=None, description=None, ip_protocols=None, @@ -475,8 +476,8 @@ def add_azure_firewall_policy_nat_rule_collection(cmd, resource_group_name, fire source_addresses=source_addresses, destination_addresses=destination_addresses, destination_ports=destination_ports, - translated_address = translated_address, - translated_port = translated_port, + translated_address=translated_address, + translated_port=translated_port, source_ip_groups=source_ip_groups) nat_rule_collection = FirewallPolicyNatRuleCollection(name=rule_collection_name, priority=rule_priority, @@ -486,7 +487,8 @@ def add_azure_firewall_policy_nat_rule_collection(cmd, resource_group_name, fire ), rules=[nat_rule]) rule_collection_group.rule_collections.append(nat_rule_collection) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + return client.create_or_update(resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_group) # pylint: disable=too-many-locals @@ -500,7 +502,8 @@ def add_azure_firewall_policy_filter_rule_collection(cmd, resource_group_name, f NetworkRule, FirewallPolicyRuleApplicationProtocol,\ ApplicationRule, FirewallPolicyFilterRuleCollectionAction, FirewallPolicyFilterRuleCollection =\ cmd.get_models('NetworkRule', 'FirewallPolicyRuleApplicationProtocol', - 'ApplicationRule', 'FirewallPolicyFilterRuleCollectionAction', 'FirewallPolicyFilterRuleCollection') + 'ApplicationRule', 'FirewallPolicyFilterRuleCollectionAction', + 'FirewallPolicyFilterRuleCollection') client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) rule = None @@ -534,26 +537,31 @@ def map_application_rule_protocol(item): ), rules=[rule]) rule_collection_group.rule_collections.append(filter_rule_collection) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + return client.create_or_update(resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_group) -def remove_azure_firewall_policy_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_name): +def remove_azure_firewall_policy_rule_collection(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) for rule_collection in rule_collection_group.rule_collections: if rule_collection.name == rule_collection_name: rule_collection_group.rule_collections.remove(rule_collection) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + return client.create_or_update(resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_group) -def list_azure_firewall_policy_rule_collection(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name): +def list_azure_firewall_policy_rule_collection(cmd, resource_group_name, + firewall_policy_name, rule_collection_group_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) return rule_collection_group.rule_collections # pylint: disable=too-many-locals -def add_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, +def add_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_name, condition_name, condition_type, description=None, ip_protocols=None, source_addresses=None, destination_addresses=None, destination_ports=None, @@ -596,10 +604,12 @@ def map_application_rule_protocol(item): fqdn_tags=fqdn_tags, target_fqdns=target_fqdns) target_rule_collection.rules.append(rule) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + return client.create_or_update(resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_group) -def remove_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, rule_collection_group_name, +def remove_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_name, condition_name): client = network_client_policy_factory(cmd.cli_ctx).firewall_policy_rule_collection_groups rule_collection_group = client.get(resource_group_name, firewall_policy_name, rule_collection_group_name) @@ -614,5 +624,6 @@ def remove_azure_firewall_policy_filter_rule(cmd, resource_group_name, firewall_ for rule in target_rule_collection.rules: if rule.name == condition_name: target_rule_collection.rules.remove(rule) - return client.create_or_update(resource_group_name, firewall_policy_name, rule_collection_group_name, rule_collection_group) + return client.create_or_update(resource_group_name, firewall_policy_name, + rule_collection_group_name, rule_collection_group) # endregion