diff --git a/src/azure-cli/azure/cli/command_modules/network/_help.py b/src/azure-cli/azure/cli/command_modules/network/_help.py index 069d369fb04..cc89594f52e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -384,6 +384,55 @@ -n MyHttpListener --host-name www.mynewhost.com """ +helps['network application-gateway listener'] = """ +type: group +short-summary: Manage listeners of an application gateway. +""" + +helps['network application-gateway listener create'] = """ +type: command +short-summary: Create a listener. +examples: + - name: Create a listener. + text: | + az network application-gateway listener create -g MyResourceGroup --gateway-name MyAppGateway \\ + --frontend-port MyFrontendPort -n MyListener --frontend-ip MyAppGatewayPublicIp +""" + +helps['network application-gateway listener delete'] = """ +type: command +short-summary: Delete a listener. +examples: + - name: Delete a listener. + text: az network application-gateway listener delete -g MyResourceGroup --gateway-name MyAppGateway -n MyListener +""" + +helps['network application-gateway listener list'] = """ +type: command +short-summary: List listeners. +examples: + - name: List listeners. + text: az network application-gateway listener list -g MyResourceGroup --gateway-name MyAppGateway +""" + +helps['network application-gateway listener show'] = """ +type: command +short-summary: Get the details of a listener. +examples: + - name: Get the details of a listener. + text: az network application-gateway listener show -g MyResourceGroup --gateway-name MyAppGateway -n MyListener +""" + +helps['network application-gateway listener update'] = """ +type: command +short-summary: Update a listener. +examples: + - name: Update a listener to use a different frontend port. + text: | + az network application-gateway listener update -g MyResourceGroup --gateway-name MyAppGateway \\ + -n MyListener --frontend-port MyNewFrontendPort +""" + helps['network application-gateway http-settings'] = """ type: group short-summary: Manage HTTP settings of an application gateway. @@ -445,6 +494,68 @@ crafted: true """ +helps['network application-gateway settings'] = """ +type: group +short-summary: Manage settings of an application gateway. +""" + +helps['network application-gateway settings create'] = """ +type: command +short-summary: Create settings. +examples: + - name: Create settings. + text: | + az network application-gateway settings create -g MyResourceGroup --gateway-name MyAppGateway \\ + -n MySettings --port 80 --protocol Http --timeout 30 + - name: Create settings. (autogenerated) + text: | + az network application-gateway settings create --gateway-name MyAppGateway --host-name MyHost --name MySettings \ + --port 80 --probe MyNewProbe --protocol Tcp --resource-group MyResourceGroup + crafted: true +""" + +helps['network application-gateway settings delete'] = """ +type: command +short-summary: Delete settings. +examples: + - name: Delete settings. + text: az network application-gateway settings delete -g MyResourceGroup --gateway-name MyAppGateway -n MyHttpSettings +""" + +helps['network application-gateway settings list'] = """ +type: command +short-summary: List settings. +examples: + - name: List settings. + text: az network application-gateway settings list -g MyResourceGroup --gateway-name MyAppGateway +""" + +helps['network application-gateway settings show'] = """ +type: command +short-summary: Get the details of a gateway's settings. +examples: + - name: Get the details of a gateway's settings. + text: az network application-gateway settings show -g MyResourceGroup --gateway-name MyAppGateway -n MySettings +""" + +helps['network application-gateway settings update'] = """ +type: command +short-summary: Update settings. +examples: + - name: Update settings to use a new probe. + text: | + az network application-gateway settings update -g MyResourceGroup --gateway-name MyAppGateway \\ + -n MySettings --probe MyNewProbe + - name: Update settings. + text: | + az network application-gateway settings update --gateway-name MyAppGateway --name MySettings --probe MyNewProbe --resource-group MyResourceGroup + crafted: true + - name: Update settings to use a new port. + text: | + az network application-gateway settings update --gateway-name MyAppGateway --backend-pool-host-name true --name MySettings --port 80 --probe MyNewProbe --resource-group MyResourceGroup + crafted: true +""" + helps['network application-gateway identity'] = """ type: group short-summary: Manage the managed service identity of an application gateway. @@ -801,7 +912,7 @@ helps['network application-gateway rule'] = """ type: group -short-summary: Evaluate probe information and define routing rules. +short-summary: Evaluate probe information and define http/https routing rules. long-summary: > For more information, visit, https://docs.microsoft.com/azure/application-gateway/application-gateway-customize-waf-rules-cli """ @@ -855,6 +966,60 @@ crafted: true """ +helps['network application-gateway routing-rule'] = """ +type: group +short-summary: Evaluate probe information and define tcp/tls routing rules. +""" + +helps['network application-gateway routing-rule create'] = """ +type: command +short-summary: Create a rule. +long-summary: Rules are executed in the order in which they are created. +examples: + - name: Create a basic rule. + text: | + az network application-gateway routing-rule create -g MyResourceGroup --gateway-name MyAppGateway \\ + -n MyRule --listener MyBackendListener --rule-type Basic --address-pool MyAddressPool --settings MySettings +""" + +helps['network application-gateway routing-rule delete'] = """ +type: command +short-summary: Delete a rule. +examples: + - name: Delete a rule. + text: az network application-gateway routing-rule delete -g MyResourceGroup --gateway-name MyAppGateway -n MyRule +""" + +helps['network application-gateway routing-rule list'] = """ +type: command +short-summary: List rules. +examples: + - name: List rules. + text: az network application-gateway routing-rule list -g MyResourceGroup --gateway-name MyAppGateway +""" + +helps['network application-gateway routing-rule show'] = """ +type: command +short-summary: Get the details of a rule. +examples: + - name: Get the details of a rule. + text: az network application-gateway routing-rule show -g MyResourceGroup --gateway-name MyAppGateway -n MyRule +""" + +helps['network application-gateway routing-rule update'] = """ +type: command +short-summary: Update a rule. +examples: + - name: Update a rule use a new listener. + text: | + az network application-gateway routing-rule update -g MyResourceGroup --gateway-name MyAppGateway \\ + -n MyRule --listener MyNewBackendListener + - name: Update a rule. + text: | + az network application-gateway routing-rule update --address-pool MyAddressPool --gateway-name MyAppGateway --name MyRule --resource-group MyResourceGroup + crafted: true +""" + helps['network application-gateway show'] = """ type: command short-summary: Get the details of an application gateway. diff --git a/src/azure-cli/azure/cli/command_modules/network/_params.py b/src/azure-cli/azure/cli/command_modules/network/_params.py index 5a5f4ba07ab..02daaf6e5d5 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -139,6 +139,7 @@ def load_arguments(self, _): c.argument('zones', zones_type) c.argument('custom_error_pages', min_api='2018-08-01', nargs='+', help='Space-separated list of custom error pages in `STATUS_CODE=URL` format.', validator=validate_custom_error_pages) c.argument('firewall_policy', options_list='--waf-policy', min_api='2018-12-01', help='Name or ID of a web application firewall (WAF) policy.', validator=validate_waf_policy) + c.argument('priority', min_api='2021-08-01', type=int, help='Priority of the request routing rule. Supported SKU tiers are Standard_v2, WAF_v2.') with self.argument_context('network application-gateway', arg_group='Identity') as c: c.argument('user_assigned_identity', options_list='--identity', help="Name or ID of the ManagedIdentity Resource", validator=validate_user_assigned_identity) @@ -216,6 +217,10 @@ def load_arguments(self, _): ag_subresources.append({'name': 'root-cert', 'display': 'trusted root certificate', 'ref': 'trusted_root_certificates'}) if self.supported_api_version(min_api='2018-12-01'): ag_subresources.append({'name': 'rewrite-rule set', 'display': 'rewrite rule set', 'ref': 'rewrite_rule_sets'}) + if self.supported_api_version(min_api='2021-08-01'): + ag_subresources.append({'name': 'settings', 'display': 'backed settings', 'ref': 'backend_settings_collection'}) + ag_subresources.append({'name': 'listener', 'display': 'listener', 'ref': 'listeners'}) + ag_subresources.append({'name': 'routing-rule', 'display': 'routing rule', 'ref': 'routing_rules'}) for item in ag_subresources: with self.argument_context('network application-gateway {}'.format(item['name'])) as c: @@ -256,25 +261,29 @@ def load_arguments(self, _): with self.argument_context('network application-gateway frontend-ip update') as c: c.argument('public_ip_address', validator=get_public_ip_validator(), help='The name or ID of the public IP address.', completer=get_resource_name_completion_list('Microsoft.Network/publicIPAddresses'), deprecate_info=c.deprecate(hide=True)) - for item in ['frontend-port', 'http-settings']: + for item in ['frontend-port', 'http-settings', 'settings']: with self.argument_context('network application-gateway {}'.format(item)) as c: c.argument('port', help='The port number.', type=int) - for item in ['http-settings', 'probe']: + for item in ['http-settings', 'settings', 'probe']: with self.argument_context('network application-gateway {}'.format(item)) as c: - c.argument('protocol', http_protocol_type, help='The HTTP settings protocol.') + c.argument('protocol', http_protocol_type, help='The settings protocol.') + + for item in ['http-listener', 'listener']: + with self.argument_context('network application-gateway {}'.format(item)) as c: + c.argument('frontend_ip', help='The name or ID of the frontend IP configuration.', completer=get_ag_subresource_completion_list('frontend_ip_configurations')) + c.argument('frontend_port', help='The name or ID of the frontend port.', completer=get_ag_subresource_completion_list('frontend_ports')) + c.argument('ssl_cert', help='The name or ID of the SSL certificate to use.', completer=get_ag_subresource_completion_list('ssl_certificates')) + c.ignore('protocol') with self.argument_context('network application-gateway http-listener') as c: - c.argument('frontend_ip', help='The name or ID of the frontend IP configuration.', completer=get_ag_subresource_completion_list('frontend_ip_configurations')) - c.argument('frontend_port', help='The name or ID of the frontend port.', completer=get_ag_subresource_completion_list('frontend_ports')) - c.argument('ssl_cert', help='The name or ID of the SSL certificate to use.', completer=get_ag_subresource_completion_list('ssl_certificates')) - c.ignore('protocol') c.argument('host_name', help='Host name to use for multisite gateways.') c.argument('host_names', nargs='+', is_preview=True, help='Space-separated list of host names that allows special wildcard characters as well.', min_api='2019-11-01') c.argument('firewall_policy', min_api='2019-09-01', help='Name or ID of a Firewall Policy resource.') - with self.argument_context('network application-gateway http-listener create') as c: - c.argument('frontend_ip', help='The name or ID of the frontend IP configuration. {}'.format(default_existing)) + for item in ['http-listener', 'listener']: + with self.argument_context('network application-gateway {} create'.format(item)) as c: + c.argument('frontend_ip', help='The name or ID of the frontend IP configuration. {}'.format(default_existing)) with self.argument_context('network application-gateway private-link', arg_group=None) as c: c.argument('frontend_ip', help='The frontend IP which the Private Link will associate to') @@ -321,6 +330,11 @@ def load_arguments(self, _): c.argument('http_settings', help='The name or ID of the HTTP settings. {}'.format(default_existing)) c.argument('http_listener', help='The name or ID of the HTTP listener. {}'.format(default_existing)) + with self.argument_context('network application-gateway routing-rule create') as c: + c.argument('address_pool', help='The name or ID of the backend address pool. {}'.format(default_existing)) + c.argument('settings', help='The name or ID of the settings. {}'.format(default_existing)) + c.argument('listener', help='The name or ID of the listener. {}'.format(default_existing)) + for scope in ['rewrite-rule list', 'rewrite-rule condition list']: with self.argument_context('network application-gateway {}'.format(scope)) as c: c.argument('application_gateway_name', app_gateway_name_type, id_part=None) @@ -332,9 +346,17 @@ def load_arguments(self, _): c.argument('auth_certs', nargs='+', min_api='2016-09-01', help='Space-separated list of authentication certificates (names or IDs) to associate with the HTTP settings.') c.argument('root_certs', nargs='+', min_api='2019-04-01', help='Space-separated list of trusted root certificates (names or IDs) to associate with the HTTP settings. --host-name or --host-name-from-backend-pool is required when this field is set.') + with self.argument_context('network application-gateway settings') as c: + c.argument('timeout', help='Request timeout in seconds.') + c.argument('probe', help='Name or ID of the probe to associate with the settings.', completer=get_ag_subresource_completion_list('probes')) + c.argument('root_certs', nargs='+', help='Space-separated list of trusted root certificates (names or IDs) to associate with the settings. --host-name or --host-name-from-backend-pool is required when this field is set.') + c.argument('host_name', help='Host header sent to the backend servers.') + c.argument('host_name_from_backend_pool', options_list=['--backend-pool-host-name'], help='Use host name of the backend server as the host header.', arg_type=get_three_state_flag()) + c.argument('path', help='Path that will prefix all requests.') + with self.argument_context('network application-gateway probe') as c: c.argument('host', help='The name of the host to send the probe.') - c.argument('path', help='The relative path of the probe. Valid paths start from "/"') + c.argument('path', required=False, help='The relative path of the probe. Valid paths start from "/"') c.argument('interval', help='The time interval in seconds between consecutive probes.') c.argument('threshold', help='The number of failed probes after which the back end server is marked down.') c.argument('timeout', help='The probe timeout in seconds.') @@ -343,15 +365,24 @@ def load_arguments(self, _): 'The valid value ranges from 1 to 65535. ' 'In case not set, port from http settings will be used. ' 'This property is valid for Standard_v2 and WAF_v2 only.') + c.argument('host_name_from_settings', min_api='2021-08-01', options_list=['--host-name-from-settings', '-s'], help='Use host header from settings. Pick hostname from settings is currently not supported, now only support false', arg_type=get_three_state_flag()) + + for scope in ['rule', 'routing-rule']: + with self.argument_context('network application-gateway {}'.format(scope)) as c: + c.argument('address_pool', help='The name or ID of the backend address pool.', + completer=get_ag_subresource_completion_list('backend_address_pools')) + c.argument('rule_type', help='The rule type (Basic, PathBasedRouting).') + c.argument('priority', type=int, help='Priority of the rule.') with self.argument_context('network application-gateway rule') as c: - c.argument('address_pool', help='The name or ID of the backend address pool.', completer=get_ag_subresource_completion_list('backend_address_pools')) c.argument('http_listener', help='The name or ID of the HTTP listener.', completer=get_ag_subresource_completion_list('http_listeners')) c.argument('http_settings', help='The name or ID of the backend HTTP settings.', completer=get_ag_subresource_completion_list('backend_http_settings_collection')) - c.argument('rule_type', help='The rule type (Basic, PathBasedRouting).') c.argument('url_path_map', help='The name or ID of the URL path map.', completer=get_ag_subresource_completion_list('url_path_maps')) c.argument('rewrite_rule_set', min_api='2019-04-01', help='The name or ID of the rewrite rule set.') - c.argument('priority', type=int, help='Priority of the request routing rule. Range from 1 to 2000') + + with self.argument_context('network application-gateway routing-rule') as c: + c.argument('listener', help='The name or ID of the listener.', completer=get_ag_subresource_completion_list('listeners')) + c.argument('settings', help='The name or ID of the settings.', completer=get_ag_subresource_completion_list('backend_settings_collection')) with self.argument_context('network application-gateway ssl-cert') as c: c.argument('cert_data', options_list='--cert-file', type=file_type, completer=FilesCompleter(), help='The path to the PFX certificate file.', validator=validate_ssl_cert) diff --git a/src/azure-cli/azure/cli/command_modules/network/_template_builder.py b/src/azure-cli/azure/cli/command_modules/network/_template_builder.py index 1c209d376fc..ee1fa8372d0 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_template_builder.py +++ b/src/azure-cli/azure/cli/command_modules/network/_template_builder.py @@ -59,7 +59,7 @@ def _build_appgw_private_link_ip_configuration(name, # pylint: disable=too-many-locals, too-many-statements, too-many-branches def build_application_gateway_resource(cmd, name, location, tags, sku_name, sku_tier, capacity, servers, frontend_port, - private_ip_address, private_ip_allocation, + private_ip_address, private_ip_allocation, priority, cert_data, cert_password, key_vault_secret_id, cookie_based_affinity, http_settings_protocol, http_settings_port, http_listener_protocol, routing_rule_type, public_ip_id, subnet_id, @@ -258,6 +258,9 @@ def _ag_subresource_id(_type, name): ], 'privateLinkConfigurations': privateLinkConfigurations, } + if sku_name.lower() == 'standard_v2' or sku_name.lower() == 'waf_v2': + if cmd.supported_api_version(min_api='2021-08-01') and priority: + ag_properties['requestRoutingRules'][0]['properties'].update({'priority': priority}) if ssl_cert: ag_properties.update({'sslCertificates': [ssl_cert]}) if enable_http2 and cmd.supported_api_version(min_api='2017-10-01'): diff --git a/src/azure-cli/azure/cli/command_modules/network/_validators.py b/src/azure-cli/azure/cli/command_modules/network/_validators.py index 5a58ebe905e..2e01fd9412a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/network/_validators.py @@ -774,7 +774,7 @@ def complex_validator_with_type(cmd, namespace): # COMMAND NAMESPACE VALIDATORS -def process_ag_listener_create_namespace(cmd, namespace): # pylint: disable=unused-argument +def process_ag_http_listener_create_namespace(cmd, namespace): # pylint: disable=unused-argument from msrestazure.tools import is_valid_resource_id, resource_id if namespace.frontend_ip and not is_valid_resource_id(namespace.frontend_ip): namespace.frontend_ip = _generate_ag_subproperty_id( @@ -798,6 +798,21 @@ def process_ag_listener_create_namespace(cmd, namespace): # pylint: disable=unu ) +def process_ag_listener_create_namespace(cmd, namespace): # pylint: disable=unused-argument + from msrestazure.tools import is_valid_resource_id + if namespace.frontend_ip and not is_valid_resource_id(namespace.frontend_ip): + namespace.frontend_ip = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'frontendIpConfigurations', namespace.frontend_ip) + + if namespace.frontend_port and not is_valid_resource_id(namespace.frontend_port): + namespace.frontend_port = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'frontendPorts', namespace.frontend_port) + + if namespace.ssl_cert and not is_valid_resource_id(namespace.ssl_cert): + namespace.ssl_cert = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'sslCertificates', namespace.ssl_cert) + + def process_ag_http_settings_create_namespace(cmd, namespace): # pylint: disable=unused-argument from msrestazure.tools import is_valid_resource_id if namespace.probe and not is_valid_resource_id(namespace.probe): @@ -817,6 +832,19 @@ def _validate_name_or_id(val): namespace.root_certs = [_validate_name_or_id(x) for x in namespace.root_certs] +def process_ag_settings_create_namespace(cmd, namespace): # pylint: disable=unused-argument + from msrestazure.tools import is_valid_resource_id + if namespace.probe and not is_valid_resource_id(namespace.probe): + namespace.probe = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'probes', namespace.probe) + if namespace.root_certs: + def _validate_name_or_id(val): + return val if is_valid_resource_id(val) else _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'trustedRootCertificates', val) + + namespace.root_certs = [_validate_name_or_id(x) for x in namespace.root_certs] + + def process_ag_rule_create_namespace(cmd, namespace): # pylint: disable=unused-argument from msrestazure.tools import is_valid_resource_id if namespace.address_pool and not is_valid_resource_id(namespace.address_pool): @@ -844,6 +872,21 @@ def process_ag_rule_create_namespace(cmd, namespace): # pylint: disable=unused- cmd.cli_ctx, namespace, 'rewriteRuleSets', namespace.rewrite_rule_set) +def process_ag_routing_rule_create_namespace(cmd, namespace): # pylint: disable=unused-argument + from msrestazure.tools import is_valid_resource_id + if namespace.address_pool and not is_valid_resource_id(namespace.address_pool): + namespace.address_pool = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'backendAddressPools', namespace.address_pool) + + if namespace.listener and not is_valid_resource_id(namespace.listener): + namespace.listener = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'listeners', namespace.listener) + + if namespace.settings and not is_valid_resource_id(namespace.settings): + namespace.settings = _generate_ag_subproperty_id( + cmd.cli_ctx, namespace, 'backendSettingsCollection', namespace.settings) + + def process_ag_ssl_policy_set_namespace(namespace): if namespace.disabled_ssl_protocols and getattr(namespace, 'clear', None): raise ValueError('incorrect usage: --disabled-ssl-protocols PROTOCOL [...] | --clear') diff --git a/src/azure-cli/azure/cli/command_modules/network/commands.py b/src/azure-cli/azure/cli/command_modules/network/commands.py index a2987165653..a7d6a7cc4b1 100644 --- a/src/azure-cli/azure/cli/command_modules/network/commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/commands.py @@ -48,8 +48,8 @@ transform_vnet_gateway_routes_table, transform_vnet_gateway_bgp_peer_table) from azure.cli.command_modules.network._validators import ( get_network_watcher_from_location, - process_ag_create_namespace, process_ag_listener_create_namespace, process_ag_http_settings_create_namespace, - process_ag_rule_create_namespace, process_ag_ssl_policy_set_namespace, process_ag_url_path_map_create_namespace, + process_ag_create_namespace, process_ag_http_listener_create_namespace, process_ag_listener_create_namespace, process_ag_settings_create_namespace, process_ag_http_settings_create_namespace, + process_ag_rule_create_namespace, process_ag_routing_rule_create_namespace, process_ag_ssl_policy_set_namespace, process_ag_url_path_map_create_namespace, process_ag_url_path_map_rule_create_namespace, process_auth_create_namespace, process_nic_create_namespace, process_lb_create_namespace, process_lb_frontend_ip_namespace, process_local_gateway_create_namespace, process_nw_cm_create_namespace, @@ -499,7 +499,7 @@ def load_command_table(self, _): {'prop': 'frontend_ports', 'name': 'frontend-port'}, {'prop': 'backend_address_pools', 'name': 'address-pool'}, {'prop': 'backend_http_settings_collection', 'name': 'http-settings', 'validator': process_ag_http_settings_create_namespace}, - {'prop': 'http_listeners', 'name': 'http-listener', 'validator': process_ag_listener_create_namespace}, + {'prop': 'http_listeners', 'name': 'http-listener', 'validator': process_ag_http_listener_create_namespace}, {'prop': 'request_routing_rules', 'name': 'rule', 'validator': process_ag_rule_create_namespace}, {'prop': 'probes', 'name': 'probe'}, {'prop': 'url_path_maps', 'name': 'url-path-map', 'validator': process_ag_url_path_map_create_namespace}, @@ -507,6 +507,10 @@ def load_command_table(self, _): ] if self.supported_api_version(min_api='2018-08-01'): subresource_properties.append({'prop': 'trusted_root_certificates', 'name': 'root-cert'}) + if self.supported_api_version(min_api='2021-08-01'): + subresource_properties.append({'prop': 'backend_settings_collection', 'name': 'settings', 'validator': process_ag_settings_create_namespace}) + subresource_properties.append({'prop': 'listeners', 'name': 'listener', 'validator': process_ag_listener_create_namespace}) + subresource_properties.append({'prop': 'routing_rules', 'name': 'routing-rule', 'validator': process_ag_routing_rule_create_namespace}) def _make_singular(value): try: diff --git a/src/azure-cli/azure/cli/command_modules/network/custom.py b/src/azure-cli/azure/cli/command_modules/network/custom.py index fad2bd7f130..0136ff4bdd7 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -149,7 +149,7 @@ def create_application_gateway(cmd, application_gateway_name, resource_group_nam frontend_port=None, http_settings_cookie_based_affinity='disabled', http_settings_port=80, http_settings_protocol='Http', routing_rule_type='Basic', servers=None, - sku=None, + sku=None, priority=None, private_ip_address=None, public_ip_address=None, public_ip_address_allocation=None, subnet='default', subnet_address_prefix='10.0.0.0/24', @@ -231,7 +231,7 @@ def create_application_gateway(cmd, application_gateway_name, resource_group_nam app_gateway_resource = build_application_gateway_resource( cmd, application_gateway_name, location, tags, sku, sku_tier, capacity, servers, frontend_port, - private_ip_address, private_ip_allocation, cert_data, cert_password, key_vault_secret_id, + private_ip_address, private_ip_allocation, priority, cert_data, cert_password, key_vault_secret_id, http_settings_cookie_based_affinity, http_settings_protocol, http_settings_port, http_listener_protocol, routing_rule_type, public_ip_id, subnet_id, connection_draining_timeout, enable_http2, min_capacity, zones, custom_error_pages, @@ -445,6 +445,50 @@ def update_ag_http_listener(cmd, instance, parent, item_name, frontend_ip=None, return parent +def create_ag_listener(cmd, resource_group_name, application_gateway_name, item_name, + frontend_port, frontend_ip=None, ssl_cert=None, + ssl_profile_id=None, no_wait=False): + ApplicationGatewayListener, SubResource = cmd.get_models('ApplicationGatewayListener', 'SubResource') + ncf = network_client_factory(cmd.cli_ctx) + ag = ncf.application_gateways.get(resource_group_name, application_gateway_name) + if not frontend_ip: + frontend_ip = _get_default_id(ag, 'frontend_ip_configurations', '--frontend-ip') + new_listener = ApplicationGatewayListener( + name=item_name, + frontend_ip_configuration=SubResource(id=frontend_ip), + frontend_port=SubResource(id=frontend_port), + protocol='tls' if ssl_cert else 'tcp', + ssl_certificate=SubResource(id=ssl_cert) if ssl_cert else None, + ) + + new_listener.ssl_profile = SubResource(id=ssl_profile_id) if ssl_profile_id else None + + upsert_to_collection(ag, 'listeners', new_listener, 'name') + return sdk_no_wait(no_wait, ncf.application_gateways.begin_create_or_update, + resource_group_name, application_gateway_name, ag) + + +def update_ag_listener(cmd, instance, parent, item_name, frontend_ip=None, frontend_port=None, + ssl_cert=None, ssl_profile_id=None): + SubResource = cmd.get_models('SubResource') + if frontend_ip is not None: + instance.frontend_ip_configuration = SubResource(id=frontend_ip) + if frontend_port is not None: + instance.frontend_port = SubResource(id=frontend_port) + if ssl_cert is not None: + if ssl_cert: + instance.ssl_certificate = SubResource(id=ssl_cert) + instance.protocol = 'tls' + else: + instance.ssl_certificate = None + instance.protocol = 'tcp' + + if ssl_profile_id is not None: + instance.ssl_profile = SubResource(id=ssl_profile_id) + + return parent + + def assign_ag_identity(cmd, resource_group_name, application_gateway_name, user_assigned_identity, no_wait=False): ncf = network_client_factory(cmd.cli_ctx).application_gateways @@ -1080,6 +1124,56 @@ def update_ag_backend_http_settings_collection(cmd, instance, parent, item_name, return parent +def create_ag_backend_settings_collection(cmd, resource_group_name, application_gateway_name, item_name, port, + probe=None, protocol='tcp', timeout=None, + no_wait=False, + host_name=None, host_name_from_backend_pool=None, + path=None, root_certs=None): + ApplicationGatewayBackendSettings, SubResource = cmd.get_models( + 'ApplicationGatewayBackendSettings', 'SubResource') + ncf = network_client_factory(cmd.cli_ctx) + ag = ncf.application_gateways.get(resource_group_name, application_gateway_name) + new_settings = ApplicationGatewayBackendSettings( + port=port, + protocol=protocol, + timeout=timeout, + probe=SubResource(id=probe) if probe else None, + name=item_name) + new_settings.host_name = host_name + new_settings.pick_host_name_from_backend_address = host_name_from_backend_pool + new_settings.path = path + new_settings.trusted_root_certificates = [SubResource(id=x) for x in root_certs or []] + upsert_to_collection(ag, 'backend_settings_collection', new_settings, 'name') + return sdk_no_wait(no_wait, ncf.application_gateways.begin_create_or_update, + resource_group_name, application_gateway_name, ag) + + +def update_ag_backend_settings_collection(cmd, instance, parent, item_name, port=None, probe=None, protocol=None, + timeout=None, + host_name=None, host_name_from_backend_pool=None, + path=None, root_certs=None): + SubResource = cmd.get_models('SubResource') + if root_certs == "": + instance.trusted_root_certificates = None + elif root_certs is not None: + instance.trusted_root_certificates = [SubResource(id=x) for x in root_certs] + if port is not None: + instance.port = port + if probe is not None: + instance.probe = SubResource(id=probe) + if protocol is not None: + instance.protocol = protocol + if timeout is not None: + instance.timeout = timeout + if host_name is not None: + instance.host_name = host_name + if host_name_from_backend_pool is not None: + instance.pick_host_name_from_backend_address = host_name_from_backend_pool + if path is not None: + instance.path = path + return parent + + def create_ag_redirect_configuration(cmd, resource_group_name, application_gateway_name, item_name, redirect_type, target_listener=None, target_url=None, include_path=None, include_query_string=None, no_wait=False): @@ -1268,9 +1362,9 @@ def delete_ag_rewrite_rule_condition(cmd, resource_group_name, application_gatew sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, application_gateway_name, gateway) -def create_ag_probe(cmd, resource_group_name, application_gateway_name, item_name, protocol, host, - path, interval=30, timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, - min_servers=None, match_body=None, match_status_codes=None, port=None): +def create_ag_probe(cmd, resource_group_name, application_gateway_name, item_name, protocol, host, path, interval=30, + timeout=120, threshold=8, no_wait=False, host_name_from_http_settings=None, min_servers=None, + match_body=None, match_status_codes=None, host_name_from_settings=None, port=None): ApplicationGatewayProbe, ProbeMatchCriteria = cmd.get_models( 'ApplicationGatewayProbe', 'ApplicationGatewayProbeHealthResponseMatch') ncf = network_client_factory(cmd.cli_ctx) @@ -1289,6 +1383,8 @@ def create_ag_probe(cmd, resource_group_name, application_gateway_name, item_nam new_probe.match = ProbeMatchCriteria(body=match_body, status_codes=match_status_codes) if cmd.supported_api_version(min_api='2019-04-01'): new_probe.port = port + if cmd.supported_api_version(min_api='2021-08-01'): + new_probe.pick_host_name_from_backend_settings = host_name_from_settings upsert_to_collection(ag, 'probes', new_probe, 'name') return sdk_no_wait(no_wait, ncf.application_gateways.begin_create_or_update, @@ -1296,8 +1392,8 @@ def create_ag_probe(cmd, resource_group_name, application_gateway_name, item_nam def update_ag_probe(cmd, instance, parent, item_name, protocol=None, host=None, path=None, - interval=None, timeout=None, threshold=None, host_name_from_http_settings=None, - min_servers=None, match_body=None, match_status_codes=None, port=None): + interval=None, timeout=None, threshold=None, host_name_from_http_settings=None, min_servers=None, + match_body=None, match_status_codes=None, host_name_from_settings=None, port=None): if protocol is not None: instance.protocol = protocol if host is not None: @@ -1312,6 +1408,8 @@ def update_ag_probe(cmd, instance, parent, item_name, protocol=None, host=None, instance.unhealthy_threshold = threshold if host_name_from_http_settings is not None: instance.pick_host_name_from_backend_http_settings = host_name_from_http_settings + if host_name_from_settings is not None: + instance.pick_host_name_from_backend_settings = host_name_from_settings if min_servers is not None: instance.min_servers = min_servers if match_body is not None or match_status_codes is not None: @@ -1383,6 +1481,50 @@ def update_ag_request_routing_rule(cmd, instance, parent, item_name, address_poo return parent +def create_ag_routing_rule(cmd, resource_group_name, application_gateway_name, item_name, + address_pool=None, settings=None, listener=None, + rule_type='Basic', no_wait=False, + priority=None): + ApplicationGatewayRoutingRule, SubResource = cmd.get_models( + 'ApplicationGatewayRoutingRule', 'SubResource') + ncf = network_client_factory(cmd.cli_ctx) + ag = ncf.application_gateways.get(resource_group_name, application_gateway_name) + if not address_pool: + address_pool = _get_default_id(ag, 'backend_address_pools', '--address-pool') + if not settings: + settings = _get_default_id(ag, 'backend_settings_collection', '--settings') + if not listener: + listener = _get_default_id(ag, 'listeners', '--listener') + new_rule = ApplicationGatewayRoutingRule( + name=item_name, + rule_type=rule_type, + priority=priority, + backend_address_pool=SubResource(id=address_pool) if address_pool else None, + backend_settings=SubResource(id=settings) if settings else None, + listener=SubResource(id=listener)) + + upsert_to_collection(ag, 'routing_rules', new_rule, 'name') + return sdk_no_wait(no_wait, ncf.application_gateways.begin_create_or_update, + resource_group_name, application_gateway_name, ag) + + +def update_ag_routing_rule(cmd, instance, parent, item_name, address_pool=None, + settings=None, listener=None, + rule_type=None, priority=None): + SubResource = cmd.get_models('SubResource') + if address_pool is not None: + instance.backend_address_pool = SubResource(id=address_pool) + if settings is not None: + instance.backend_settings = SubResource(id=settings) + if listener is not None: + instance.listener = SubResource(id=listener) + if rule_type is not None: + instance.rule_type = rule_type + with cmd.update_context(instance) as c: + c.set_param('priority', priority) + return parent + + def create_ag_ssl_certificate(cmd, resource_group_name, application_gateway_name, item_name, cert_data=None, cert_password=None, key_vault_secret_id=None, no_wait=False): ApplicationGatewaySslCertificate = cmd.get_models('ApplicationGatewaySslCertificate') @@ -2266,7 +2408,7 @@ def _type_to_property_name(key): return type_dict[key.lower()] -def export_zone(cmd, resource_group_name, zone_name, file_name=None): +def export_zone(cmd, resource_group_name, zone_name, file_name=None): # pylint: disable=too-many-branches from time import localtime, strftime client = get_mgmt_service_client(cmd.cli_ctx, ResourceType.MGMT_NETWORK_DNS) @@ -2292,10 +2434,11 @@ def export_zone(cmd, resource_group_name, zone_name, file_name=None): if record_set_name not in zone_obj: zone_obj[record_set_name] = OrderedDict() - zone_obj[record_set_name][record_type] = [] - for record in record_data: record_obj = {'ttl': record_set.ttl} + + if record_type not in zone_obj[record_set_name]: + zone_obj[record_set_name][record_type] = [] if record_type == 'aaaa': record_obj.update({'ip': record.ipv6_address}) elif record_type == 'a': @@ -2328,6 +2471,9 @@ def export_zone(cmd, resource_group_name, zone_name, file_name=None): if len(record_data) == 0: record_obj = {'ttl': record_set.ttl} + + if record_type not in zone_obj[record_set_name]: + zone_obj[record_set_name][record_type] = [] if record_type == 'aaaa' or record_type == 'a': record_obj.update({'ip': ''}) elif record_type == 'cname': diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_with_tcp.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_with_tcp.yaml new file mode 100644 index 00000000000..0f07d730f94 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_appgw_with_tcp.yaml @@ -0,0 +1,4590 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001","name":"test_appgw_with_tcp000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '328' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:23 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: '{"location": "westus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": + "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"81f27150-f2d4-4dcd-9c0c-76914ee643af\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"58839a06-09ad-4e88-8e12-47fb784027ae\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f2c2ab2b-5150-4ab8-a65f-61db558fefb8?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '649' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 681eb979-5b51-49a7-861a-4b3465c8005e + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f2c2ab2b-5150-4ab8-a65f-61db558fefb8?api-version=2021-08-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: + - Thu, 12 May 2022 09:31: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: + - 29e19e0a-f107-4a61-8265-0d97c0094249 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"e39c1734-17f5-4392-8287-8f5ec805cb38\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"58839a06-09ad-4e88-8e12-47fb784027ae\",\r\n \"ipAddress\": + \"20.237.200.215\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '686' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:32 GMT + etag: + - W/"e39c1734-17f5-4392-8287-8f5ec805cb38" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 48e240c8-ec50-410c-bd89-5b0cca518e6a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001","name":"test_appgw_with_tcp000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-12T09:31:21Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '328' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:32 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27test_appgw_with_tcp000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:34 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27test_appgw_with_tcp000001%27%20and%20name%20eq%20%27testPublicIp%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp","name":"testPublicIp","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}' + headers: + cache-control: + - no-cache + content-length: + - '303' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:34 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": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {"appGwID": "[resourceId(''Microsoft.Network/applicationGateways'', + ''appgw'')]"}, "resources": [{"name": "appgwVnet", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "appgw", "location": "westus", + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/appgwVnet"], + "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": + [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": + "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": + false, "drainTimeoutInSec": 1}}}], "frontendIPConfigurations": [{"name": "appGatewayFrontendIP", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(''appGwID''), ''/frontendIPConfigurations/appGatewayFrontendIP'')]"}, + "FrontendPort": {"Id": "[concat(variables(''appGwID''), ''/frontendPorts/appGatewayFrontendPort'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "requestRoutingRules": [{"Name": "rule1", + "properties": {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), + ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": + "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''appgw'')]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + Content-Length: + - '2697' + Content-Type: + - application/json + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/ag_deploy_uqNjvVM4S6u1alJHG8IDKiIxk0oXdKcH","name":"ag_deploy_uqNjvVM4S6u1alJHG8IDKiIxk0oXdKcH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14656566512382058302","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-12T09:31:41.0066726Z","duration":"PT0.0005127S","correlationId":"6f4aae2a-8531-49a3-97e7-2748c379bf7b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/ag_deploy_uqNjvVM4S6u1alJHG8IDKiIxk0oXdKcH/operationStatuses/08585492589869956668?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '1209' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:31:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:32:12 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:32:42 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:33:13 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:33:44 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:34:14 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:34:46 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:35:17 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:35:47 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585492589869956668?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:18 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Resources/deployments/ag_deploy_uqNjvVM4S6u1alJHG8IDKiIxk0oXdKcH","name":"ag_deploy_uqNjvVM4S6u1alJHG8IDKiIxk0oXdKcH","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14656566512382058302","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-12T09:35:52.6499367Z","duration":"PT4M11.6437768S","correlationId":"6f4aae2a-8531-49a3-97e7-2748c379bf7b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"6b793733-9ec9-4ce3-b93f-ef200eb27be1","sku":{"name":"Standard_v2","tier":"Standard_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1","etag":"W/\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '7911' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:19 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8422' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:20 GMT + etag: + - W/"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2e2a2a22-7526-42da-b8e2-cb77361afda4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8422' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:21 GMT + etag: + - W/"92fc3199-9b8c-4346-9ed2-d6d92dc7ca23" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 35b6e90a-b2f3-4ca6-ac4f-be79a560abd5 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"name": "testFrontendPort", + "properties": {"port": 8080}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4447' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"40ee5c06-c41a-46bd-bd6f-269c6b7738e5\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/2655def4-7dd2-4b9a-83b5-2e780870cd76?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '8905' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36: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: + - c52ce25e-23a7-4d37-87b8-bb8f733f7c8a + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2655def4-7dd2-4b9a-83b5-2e780870cd76?api-version=2021-08-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: + - Thu, 12 May 2022 09:36: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: + - d0bfa73f-d6ac-4484-99a6-6dc292d6c225 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8914' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:28 GMT + etag: + - W/"06bff5b2-c180-4668-ae9b-706e50374dc6" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ce824626-be10-4dbc-a657-61c871ff98aa + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"06bff5b2-c180-4668-ae9b-706e50374dc6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8914' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:29 GMT + etag: + - W/"06bff5b2-c180-4668-ae9b-706e50374dc6" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5f2afb3e-e350-4aea-9e2c-dfe18987cf53 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort", + "name": "testFrontendPort", "properties": {"port": 8080}}], "probes": [], "backendAddressPools": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"name": "testListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIpConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort"}, + "protocol": "tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + Content-Length: + - '5129' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"db3e5e95-2955-4a97-bb65-0e6a270d8af3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/b228f331-bcf7-4add-b49f-0127e37f0521?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '10426' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36: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: + - d0c2f0b3-dafc-4eb9-9ded-78e2a044d9f4 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b228f331-bcf7-4add-b49f-0127e37f0521?api-version=2021-08-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: + - Thu, 12 May 2022 09:36: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: + - f41ef96b-270c-4bfb-ba2c-ad1640448068 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:37 GMT + etag: + - W/"97a199d3-252e-4d63-8079-56ec562774f1" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d435d6c6-38ea-41d3-be16-ff60bf5def69 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"97a199d3-252e-4d63-8079-56ec562774f1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:38 GMT + etag: + - W/"97a199d3-252e-4d63-8079-56ec562774f1" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 63c04cb6-4260-4b93-860b-274ec8cb50d3 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort", + "name": "testFrontendPort", "properties": {"port": 8080}}], "probes": [], "backendAddressPools": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"name": "testSettings", "properties": + {"port": 8080, "protocol": "tcp", "trustedRootCertificates": []}}], "httpListeners": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener", + "name": "testListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + Content-Length: + - '5412' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"a7537932-fcfb-4024-bec2-bed920a336a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/4f76b0dc-5167-4925-bcd6-7d737f5265a4?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '10994' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36: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: + - 01e0bae8-480e-446e-978e-d1052cfea6ea + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4f76b0dc-5167-4925-bcd6-7d737f5265a4?api-version=2021-08-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: + - Thu, 12 May 2022 09:36: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: + - 7e85e33d-030f-40f8-b6f6-9081238738a6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11005' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:47 GMT + etag: + - W/"d6497340-4f57-463d-876b-8db8eccb3da1" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - fd53b0df-579f-4a71-8958-0341b48601fd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d6497340-4f57-463d-876b-8db8eccb3da1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11005' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:48 GMT + etag: + - W/"d6497340-4f57-463d-876b-8db8eccb3da1" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 661016c6-df67-4330-b86d-de733ef526a0 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort", + "name": "testFrontendPort", "properties": {"port": 8080}}], "probes": [], "backendAddressPools": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"name": + "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": "10.0.0.4"}, + {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener", + "name": "testListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + Content-Length: + - '5712' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"dde86aa6-eeca-4ba4-9fd4-d8f98a29df0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/6f81d120-ed8d-4d0b-b135-0493d574f3e3?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '11656' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36: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: + - b9fd0d22-a31a-4d86-974a-262ec338e79a + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6f81d120-ed8d-4d0b-b135-0493d574f3e3?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 8f553046-5b32-4c58-8e28-f56a61e2d4ec + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6f81d120-ed8d-4d0b-b135-0493d574f3e3?api-version=2021-08-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: + - Thu, 12 May 2022 09:36: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: + - b579a61f-ede0-4c5c-94a3-94573a806fe7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11668' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:57 GMT + etag: + - W/"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3f9c563e-b415-4e1c-b67b-32c9207637ed + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11668' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36:57 GMT + etag: + - W/"d27c8532-0d5b-4ce4-8a9a-8fff51532a2e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 6e05ce30-0f11-463b-873d-111de7d63b0f + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort", + "name": "testFrontendPort", "properties": {"port": 8080}}], "probes": [], "backendAddressPools": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool", + "name": "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": + "10.0.0.4"}, {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener", + "name": "testListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [{"name": "testRule", "properties": {"ruleType": "Basic", "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool"}, + "backendSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings"}, + "listener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener"}}}], + "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + Content-Length: + - '6586' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"79dac28e-51df-4990-9452-3d831d110bca\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '13672' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:36: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: + - 593335d6-0b66-485d-be3e-f96187df98fb + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - 18b96304-0267-40d9-9393-6bfa6d1296ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - bed6a26a-2104-455d-9d48-9d01be4f6da5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - 2198fc0b-ebd5-4e61-a65c-3ac7ba1a78f6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 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: + - 5e701d2d-40a0-46f5-badf-7f79d393646d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - 956069c8-d72f-43ac-905e-a704c7a5ed10 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - 0df30265-c356-41ff-baa5-13d9a458fef8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - a273b8c7-6582-460e-a945-3c973b8f9fdc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/245bc95d-6b65-45d9-94d0-44c6f2ceb2ac?api-version=2021-08-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: + - Thu, 12 May 2022 09:37: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: + - 18911385-19a5-4ae2-88f7-c10fc9a9dd65 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"6b793733-9ec9-4ce3-b93f-ef200eb27be1\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"d53a2250-82c6-47c0-ad14-3609084b0d9e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13685' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37:37 GMT + etag: + - W/"d53a2250-82c6-47c0-ad14-3609084b0d9e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0f10c287-e1d0-45c3-9507-6234c055aca2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_appgw_with_tcp000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: '' + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 12 May 2022 09:37:39 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 74a0a868-6ece-4147-b058-a92cfc2147bf + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:37: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: + - a69141ed-4f5a-43fe-abd8-68e37572ebab + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:38: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: + - 1b4e6afd-f8f5-4af0-adf9-292eeb28290b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:38: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: + - 5ef7229a-0f33-4cfa-b519-bd1b41d7657d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:38: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: + - 9624440e-7833-4b20-9ecf-cb3c74432ed8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:39: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: + - 8d5e2f2e-e469-4f0e-afc4-89874315f445 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:40: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: + - 3f1ad48e-6899-4403-90a3-68d6c168f1a7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:41: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: + - 6c2826ac-70ac-4834-b899-373338b0afe9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:44: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: + - 2951ffb0-0e22-438d-b4ea-2b978d2f6d8f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:45: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: + - 7fc26679-d180-4e45-8d0b-f06f0d11991e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 May 2022 09:47: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: + - a090fb30-fb9e-4803-bcdf-1a96eed4e2e8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway delete + Connection: + - keep-alive + ParameterSetName: + - --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c4bdcf68-c1ba-465b-b6a8-10a86342e626?api-version=2021-08-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: + - Thu, 12 May 2022 09:49: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: + - 7705286b-14ed-46e3-b8f6-c86e9a4912d3 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_listener.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_listener.yaml new file mode 100644 index 00000000000..470dd03220c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_listener.yaml @@ -0,0 +1,3839 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001","name":"cli_test_ag_listener000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:24:20Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '330' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:22 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: '{"location": "westus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": + "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"0198dd09-a508-44af-b74f-8d4f7d0a5977\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"b31f0137-76c1-490e-858d-83e9e080b4f7\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c0d7961-18d2-4031-adbc-2e684697c777?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f6f156b4-b8be-4742-9051-6fa2f795d70d + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c0d7961-18d2-4031-adbc-2e684697c777?api-version=2021-08-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: + - Thu, 19 May 2022 03:24: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: + - 36f16feb-79b1-446a-8130-9243f0a87773 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"729a9246-724d-4e25-b2d8-b3c7d107394c\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"b31f0137-76c1-490e-858d-83e9e080b4f7\",\r\n \"ipAddress\": + \"20.245.152.244\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '687' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:28 GMT + etag: + - W/"729a9246-724d-4e25-b2d8-b3c7d107394c" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ef8c0c97-7129-4908-b7a7-f3af26d1af3d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001","name":"cli_test_ag_listener000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:24:20Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '330' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:29 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_listener000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:30 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_listener000001%27%20and%20name%20eq%20%27testPublicIp%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp","name":"testPublicIp","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:30 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": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {"appGwID": "[resourceId(''Microsoft.Network/applicationGateways'', + ''appgw'')]"}, "resources": [{"name": "appgwVnet", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "appgw", "location": "westus", + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/appgwVnet"], + "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": + [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": + "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": + false, "drainTimeoutInSec": 1}}}], "frontendIPConfigurations": [{"name": "appGatewayFrontendIP", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(''appGwID''), ''/frontendIPConfigurations/appGatewayFrontendIP'')]"}, + "FrontendPort": {"Id": "[concat(variables(''appGwID''), ''/frontendPorts/appGatewayFrontendPort'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "requestRoutingRules": [{"Name": "rule1", + "properties": {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), + ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": + "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''appgw'')]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + Content-Length: + - '2699' + Content-Type: + - application/json + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/ag_deploy_EHEsHbI0GRmLH9vb6HrhahZN7JLsE92c","name":"ag_deploy_EHEsHbI0GRmLH9vb6HrhahZN7JLsE92c","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11539030601058509070","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-19T03:24:34.9271976Z","duration":"PT0.0008224S","correlationId":"4ab31dc9-075f-4f7a-9581-16c8e69d12c0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/ag_deploy_EHEsHbI0GRmLH9vb6HrhahZN7JLsE92c/operationStatuses/08585486762127795339?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:24:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:25:05 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:25:36 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:26:06 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:26:37 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:27:07 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:27:39 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:10 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486762127795339?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:40 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Resources/deployments/ag_deploy_EHEsHbI0GRmLH9vb6HrhahZN7JLsE92c","name":"ag_deploy_EHEsHbI0GRmLH9vb6HrhahZN7JLsE92c","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11539030601058509070","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-19T03:28:29.6803097Z","duration":"PT3M54.7539345S","correlationId":"4ab31dc9-075f-4f7a-9581-16c8e69d12c0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"19385f29-dfbe-481b-aebb-e143fe567cb3","sku":{"name":"Standard_v2","tier":"Standard_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1","etag":"W/\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '7935' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:40 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d7eeb40b-a047-4985-adb6-d4d4a34c5131\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8442' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:41 GMT + etag: + - W/"d7eeb40b-a047-4985-adb6-d4d4a34c5131" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 96c84f51-b407-484f-8355-1b23aab170c3 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"name": "testFrontendPort01", + "properties": {"port": 8080}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4464' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9dd385d9-55f8-4173-b41f-1b0bda6a2927\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/455b479d-b4f7-4f9e-a083-00360784e043?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '8930' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28: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: + - 3df375a3-341a-434f-8afe-5a750048840d + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/455b479d-b4f7-4f9e-a083-00360784e043?api-version=2021-08-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: + - Thu, 19 May 2022 03:28: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: + - 8a02f8b0-e17a-466e-be9a-b1f3b853d6b1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8939' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:49 GMT + etag: + - W/"5aad4274-a537-4389-b7dc-6f215960f5df" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ab05668f-de2e-4b35-b13f-f51c33a1deb0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"5aad4274-a537-4389-b7dc-6f215960f5df\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8939' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:51 GMT + etag: + - W/"5aad4274-a537-4389-b7dc-6f215960f5df" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7551acdc-dc05-4940-8028-ae70b7aa6b37 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"name": "testFrontendPort02", + "properties": {"port": 8081}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4716' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"975d03e2-ff7b-4324-80d3-38ac0ef9f426\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/b7f8789b-ca00-4dec-ad11-3c2fb2d3231c?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9426' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - dbe16e11-61f2-4eff-8ce8-ad6fb7996763 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b7f8789b-ca00-4dec-ad11-3c2fb2d3231c?api-version=2021-08-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: + - Thu, 19 May 2022 03:28:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d40e4582-d380-4d9a-ad9d-d1cd667b6008 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:28:59 GMT + etag: + - W/"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 539da879-558d-4f12-bdf8-129f4ef89772 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:02 GMT + etag: + - W/"3eb0c120-03ec-4fa2-86d1-d297bfbdc13f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - e0dedf6d-c015-4d5c-8e4f-2f85ad398ce1 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"name": "testListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIpConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + Content-Length: + - '5405' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ecc094c1-1fa6-4d47-a496-bc700380231c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/242922de-4f41-4a81-a87e-283f518f93a6?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '10954' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 8929648a-270e-40d6-9593-cf60c57d26b1 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/242922de-4f41-4a81-a87e-283f518f93a6?api-version=2021-08-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: + - Thu, 19 May 2022 03:29:09 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4f28b391-2c97-4341-b95e-cf7995eb92bc + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:09 GMT + etag: + - W/"07bacbe9-d5b0-4ebe-8ba9-134218f20684" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 339f09f3-fab0-4bdb-8f8f-749387240842 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:10 GMT + etag: + - W/"07bacbe9-d5b0-4ebe-8ba9-134218f20684" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - cf86b55c-5b92-4594-bd65-75a80905ec63 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"07bacbe9-d5b0-4ebe-8ba9-134218f20684\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:11 GMT + etag: + - W/"07bacbe9-d5b0-4ebe-8ba9-134218f20684" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 922fb4ac-22c1-4145-86ed-426d599131b0 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener", + "name": "testListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener update + Connection: + - keep-alive + Content-Length: + - '5585' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --frontend-port -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"e6b863b4-f38b-48a6-a360-2834cf22fd16\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/840d1bc3-a108-4a41-82fc-4d76c427b11a?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '10954' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29: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: + - b091e2f2-3846-419a-9e3f-f866930e5d7c + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/840d1bc3-a108-4a41-82fc-4d76c427b11a?api-version=2021-08-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: + - Thu, 19 May 2022 03:29:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 28723633-7344-4d47-a26b-f2f0ce874400 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:19 GMT + etag: + - W/"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4941c423-982f-49af-9646-3262261d01a2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:20 GMT + etag: + - W/"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 361b9a03-9c8a-4275-82bd-cb7de4fcf8d3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:20 GMT + etag: + - W/"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d1f9b79c-c310-4ce4-9e5f-8f3cc5501377 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener delete + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10965' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:21 GMT + etag: + - W/"1eb8bd92-1ee0-4ad7-8088-cd1e2e437cde" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 002296af-4e74-4b0d-9725-11abab733070 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener delete + Connection: + - keep-alive + Content-Length: + - '4906' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"6e526057-e044-48ca-8da6-eb5a88b34676\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/6c11cb07-0965-4128-b383-7b10c0bd04be?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9426' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 79e672e8-cb3b-44e9-b59e-a1c8120b914a + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener delete + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6c11cb07-0965-4128-b383-7b10c0bd04be?api-version=2021-08-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: + - Thu, 19 May 2022 03:29:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9d17d100-58bf-475a-87a0-8b0c582ac4a3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener delete + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:28 GMT + etag: + - W/"26c3d3dd-6034-4333-9566-0186ffe8daad" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0f65bc42-4f15-446c-aab0-72273ab21c04 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"19385f29-dfbe-481b-aebb-e143fe567cb3\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"26c3d3dd-6034-4333-9566-0186ffe8daad\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_listener000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:29:30 GMT + etag: + - W/"26c3d3dd-6034-4333-9566-0186ffe8daad" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 65863ec7-94d8-44e6-99a4-6b629c8fbdd7 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe.yaml index a4fdb3ff49d..ce73058748b 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe.yaml @@ -13,21 +13,21 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001","name":"cli_test_ag_probe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-11-03T04:49:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001","name":"cli_test_ag_probe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-17T05:55:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '324' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:49:50 GMT + - Tue, 17 May 2022 05:55:27 GMT expires: - '-1' pragma: @@ -60,15 +60,15 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"gateway_ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\",\r\n - \ \"etag\": \"W/\\\"52f0b33b-91ab-4b15-bdeb-0affd89ecd35\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"5b83587b-c683-4eb7-bbc6-53e1351f5038\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5256494b-9ace-477c-a293-ceb2d420810d\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"0f7530a3-01c2-4e08-a8af-62451de5c4d1\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n @@ -77,15 +77,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f9ff1483-f873-468d-8020-b5b06c02e1dd?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/104724cb-a331-489a-8097-ecaa01c65db2?api-version=2021-08-01 cache-control: - no-cache content-length: - - '695' + - '643' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:49:56 GMT + - Tue, 17 May 2022 05:55:36 GMT expires: - '-1' pragma: @@ -98,9 +98,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 652fb4d3-9413-4af0-ae5b-862b7c83fd1a + - 23c03a0e-5d76-44f3-bb84-731479615f4f x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -118,9 +118,9 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f9ff1483-f873-468d-8020-b5b06c02e1dd?api-version=2021-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/104724cb-a331-489a-8097-ecaa01c65db2?api-version=2021-08-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:49:58 GMT + - Tue, 17 May 2022 05:55:37 GMT expires: - '-1' pragma: @@ -149,7 +149,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0999d329-c24b-4da8-a22b-f9fff23a1a85 + - 63c7a937-645f-480c-b076-bcc2a12a96cf status: code: 200 message: OK @@ -167,16 +167,16 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"gateway_ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\",\r\n - \ \"etag\": \"W/\\\"26e8c931-9787-43b7-98e9-b1e1bbdcab8d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"55b8dc87-d08c-456f-8418-4d47ea6b77f1\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5256494b-9ace-477c-a293-ceb2d420810d\",\r\n \"ipAddress\": - \"13.87.203.178\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \ \"resourceGuid\": \"0f7530a3-01c2-4e08-a8af-62451de5c4d1\",\r\n \"ipAddress\": + \"20.237.177.194\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" @@ -184,13 +184,13 @@ interactions: cache-control: - no-cache content-length: - - '731' + - '680' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:49:58 GMT + - Tue, 17 May 2022 05:55:37 GMT etag: - - W/"26e8c931-9787-43b7-98e9-b1e1bbdcab8d" + - W/"55b8dc87-d08c-456f-8418-4d47ea6b77f1" expires: - '-1' pragma: @@ -207,7 +207,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7a6bc1a7-6e78-4b24-8771-2cdb3363253a + - fe5e45d8-6359-47af-bb6b-b15bf639d762 status: code: 200 message: OK @@ -223,23 +223,23 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001","name":"cli_test_ag_probe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-11-03T04:49:46Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001","name":"cli_test_ag_probe000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-17T05:55:24Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '324' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:50:00 GMT + - Tue, 17 May 2022 05:55:38 GMT expires: - '-1' pragma: @@ -265,9 +265,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_probe000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 response: @@ -281,7 +281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:50:01 GMT + - Tue, 17 May 2022 05:55:38 GMT expires: - '-1' pragma: @@ -307,9 +307,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_probe000001%27%20and%20name%20eq%20%27gateway_ip%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 response: @@ -319,11 +319,11 @@ interactions: cache-control: - no-cache content-length: - - '349' + - '297' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:50:02 GMT + - Tue, 17 May 2022 05:55:40 GMT expires: - '-1' pragma: @@ -345,7 +345,7 @@ interactions: "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": "Microsoft.Network/applicationGateways", "name": "ag1", "location": "westus", - "tags": {}, "apiVersion": "2021-05-01", "dependsOn": ["Microsoft.Network/virtualNetworks/ag1Vnet"], + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/ag1Vnet"], "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": @@ -362,10 +362,10 @@ interactions: {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, - "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}}}], - "privateLinkConfigurations": []}, "zones": null}], "outputs": {"applicationGateway": - {"type": "object", "value": "[reference(''ag1'')]"}}}, "parameters": {}, "mode": - "incremental"}}' + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''ag1'')]"}}}, + "parameters": {}, "mode": "incremental"}}' headers: Accept: - application/json @@ -376,29 +376,29 @@ interactions: Connection: - keep-alive Content-Length: - - '2755' + - '2669' Content-Type: - application/json ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_x0Kvl8z8cbjGpl0lGc6n1K6FIz8qM5L8","name":"ag_deploy_x0Kvl8z8cbjGpl0lGc6n1K6FIz8qM5L8","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9366577130665396432","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-11-03T04:50:08.3524028Z","duration":"PT2.3029277S","correlationId":"c5b2961f-8382-4f2b-bddb-421af2ce0ece","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_CXUHYJqB6sAZeEc9QBSiSzUBmD98CjZj","name":"ag_deploy_CXUHYJqB6sAZeEc9QBSiSzUBmD98CjZj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10827783822690362890","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-17T05:55:44.9777299Z","duration":"PT0.000503S","correlationId":"2a9151e4-37d7-4931-96d2-4ca80de54aad","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_x0Kvl8z8cbjGpl0lGc6n1K6FIz8qM5L8/operationStatuses/08585656918794281468?api-version=2021-04-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_CXUHYJqB6sAZeEc9QBSiSzUBmD98CjZj/operationStatuses/08585488399430375627?api-version=2021-04-01 cache-control: - no-cache content-length: - - '1350' + - '1194' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:50:09 GMT + - Tue, 17 May 2022 05:55:45 GMT expires: - '-1' pragma: @@ -408,7 +408,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 201 message: Created @@ -424,11 +424,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -440,7 +440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:50:39 GMT + - Tue, 17 May 2022 05:56:16 GMT expires: - '-1' pragma: @@ -466,11 +466,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -482,7 +482,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:51:10 GMT + - Tue, 17 May 2022 05:56:46 GMT expires: - '-1' pragma: @@ -508,11 +508,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -524,7 +524,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:51:41 GMT + - Tue, 17 May 2022 05:57:17 GMT expires: - '-1' pragma: @@ -550,11 +550,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -566,7 +566,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:52:11 GMT + - Tue, 17 May 2022 05:57:48 GMT expires: - '-1' pragma: @@ -592,11 +592,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -608,7 +608,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:52:41 GMT + - Tue, 17 May 2022 05:58:19 GMT expires: - '-1' pragma: @@ -634,11 +634,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -650,7 +650,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:53:12 GMT + - Tue, 17 May 2022 05:58:49 GMT expires: - '-1' pragma: @@ -676,11 +676,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Running"}' @@ -692,7 +692,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:53:43 GMT + - Tue, 17 May 2022 05:59:19 GMT expires: - '-1' pragma: @@ -718,11 +718,95 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585656918794281468?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 May 2022 05:59:50 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 17 May 2022 06:00:21 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585488399430375627?api-version=2021-04-01 response: body: string: '{"status":"Succeeded"}' @@ -734,7 +818,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:14 GMT + - Tue, 17 May 2022 06:00:51 GMT expires: - '-1' pragma: @@ -760,23 +844,23 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n --sku --public-ip-address + - -g -n --sku --priority --public-ip-address User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-resource/19.0.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_x0Kvl8z8cbjGpl0lGc6n1K6FIz8qM5L8","name":"ag_deploy_x0Kvl8z8cbjGpl0lGc6n1K6FIz8qM5L8","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9366577130665396432","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-11-03T04:54:11.8513994Z","duration":"PT4M5.8019243S","correlationId":"c5b2961f-8382-4f2b-bddb-421af2ce0ece","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"5318a975-a390-40b5-b9f2-89d65c0dc8bd","sku":{"name":"WAF_v2","tier":"WAF_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1","etag":"W/\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Resources/deployments/ag_deploy_CXUHYJqB6sAZeEc9QBSiSzUBmD98CjZj","name":"ag_deploy_CXUHYJqB6sAZeEc9QBSiSzUBmD98CjZj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"10827783822690362890","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-17T06:00:22.3031909Z","duration":"PT4M37.325964S","correlationId":"2a9151e4-37d7-4931-96d2-4ca80de54aad","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"db8717ca-7917-4350-95ef-8c7ed50671f4","sku":{"name":"WAF_v2","tier":"WAF_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1","etag":"W/\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet"}]}}' headers: cache-control: - no-cache content-length: - - '8969' + - '7802' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:14 GMT + - Tue, 17 May 2022 06:00:52 GMT expires: - '-1' pragma: @@ -805,21 +889,21 @@ interactions: - -g --gateway-name -n --no-wait --path --protocol --interval --timeout --threshold --min-servers --host --match-status-codes --host-name-from-http-settings --port User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -827,7 +911,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -837,14 +921,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -852,7 +936,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -860,9 +944,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -870,31 +955,32 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"75f51e79-21c4-4f6e-9d7e-76a75de19a1c\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n - \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '9256' + - '8330' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:16 GMT + - Tue, 17 May 2022 06:00:54 GMT etag: - - W/"75f51e79-21c4-4f6e-9d7e-76a75de19a1c" + - W/"5141d0b8-c8ca-48f8-8525-9cb4ebaf686b" expires: - '-1' pragma: @@ -911,7 +997,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7bb4859c-4d37-4b7f-be7e-bd6f597e327b + - c193078a-aa78-4123-8e4a-97eaba428f91 status: code: 200 message: OK @@ -935,17 +1021,18 @@ interactions: "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": - false}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], - "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", - "name": "rule1", "properties": {"ruleType": "Basic", "backendAddressPool": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], - "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": [], "loadDistributionPolicies": []}}' headers: Accept: @@ -957,28 +1044,28 @@ interactions: Connection: - keep-alive Content-Length: - - '5282' + - '4590' Content-Type: - application/json ParameterSetName: - -g --gateway-name -n --no-wait --path --protocol --interval --timeout --threshold --min-servers --host --match-status-codes --host-name-from-http-settings --port User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -986,7 +1073,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -996,14 +1083,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -1011,7 +1098,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -1019,9 +1106,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -1029,20 +1117,21 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"ea2a3ae9-cae6-4dba-b33c-2615f0a64479\\\"\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"b88ebdf8-8bcd-4a25-80b2-2e7ce695c0d0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Http\",\r\n \"host\": \"www.test.com\",\r\n \ \"port\": 2048,\r\n \"path\": \"/test\",\r\n \"interval\": @@ -1057,15 +1146,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1e39fe0d-0e6e-40a8-bb05-598508b6ce32?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9a0f92fb-6e53-48f5-a3ba-d155a5baef5c?api-version=2021-08-01 cache-control: - no-cache content-length: - - '10154' + - '9176' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:17 GMT + - Tue, 17 May 2022 06:00:55 GMT expires: - '-1' pragma: @@ -1082,9 +1171,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bec5ebae-b233-49cc-a8f3-f8f1892abfeb + - 8169ae97-0e3a-495e-a52d-b9739ca6afac x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1196' status: code: 200 message: OK @@ -1102,21 +1191,21 @@ interactions: ParameterSetName: - -g --gateway-name -n User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -1124,7 +1213,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1134,14 +1223,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -1149,7 +1238,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -1157,9 +1246,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -1167,20 +1257,21 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Http\",\r\n \"host\": \"www.test.com\",\r\n \ \"port\": 2048,\r\n \"path\": \"/test\",\r\n \"interval\": @@ -1195,13 +1286,13 @@ interactions: cache-control: - no-cache content-length: - - '10154' + - '9176' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:19 GMT + - Tue, 17 May 2022 06:00:57 GMT etag: - - W/"b784d39f-b04f-4e6b-8351-9d7c822cec90" + - W/"0391e75b-c941-4e40-bd86-d870b232ddc0" expires: - '-1' pragma: @@ -1218,7 +1309,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e3707a06-9297-4cfa-80e3-891867b74000 + - 8caadfaa-7b9a-44fd-aa31-80acea4bffef status: code: 200 message: OK @@ -1237,21 +1328,21 @@ interactions: - -g --gateway-name -n --no-wait --path --protocol --interval --timeout --threshold --min-servers --host --match-status-codes --host-name-from-http-settings --port User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -1259,7 +1350,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1269,14 +1360,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -1284,7 +1375,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -1292,9 +1383,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -1302,20 +1394,21 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"b784d39f-b04f-4e6b-8351-9d7c822cec90\\\"\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"0391e75b-c941-4e40-bd86-d870b232ddc0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Http\",\r\n \"host\": \"www.test.com\",\r\n \ \"port\": 2048,\r\n \"path\": \"/test\",\r\n \"interval\": @@ -1330,13 +1423,13 @@ interactions: cache-control: - no-cache content-length: - - '10154' + - '9176' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:20 GMT + - Tue, 17 May 2022 06:00:58 GMT etag: - - W/"b784d39f-b04f-4e6b-8351-9d7c822cec90" + - W/"0391e75b-c941-4e40-bd86-d870b232ddc0" expires: - '-1' pragma: @@ -1353,7 +1446,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 864ad98d-beb8-4c24-9305-093af9080b08 + - 54481fb8-d9bd-4c77-8aba-53b88d107dc0 status: code: 200 message: OK @@ -1378,17 +1471,18 @@ interactions: "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": - false}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], - "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", - "name": "rule1", "properties": {"ruleType": "Basic", "backendAddressPool": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], - "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": [], "loadDistributionPolicies": []}}' headers: Accept: @@ -1400,28 +1494,28 @@ interactions: Connection: - keep-alive Content-Length: - - '5483' + - '4739' Content-Type: - application/json ParameterSetName: - -g --gateway-name -n --no-wait --path --protocol --interval --timeout --threshold --min-servers --host --match-status-codes --host-name-from-http-settings --port User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -1429,7 +1523,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1439,14 +1533,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -1454,7 +1548,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -1462,9 +1556,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -1472,20 +1567,21 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"ba6d4cf3-5c83-4246-bc80-4d6667115ea2\\\"\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"11233525-8eed-4431-aadf-12f04fb49c89\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Https\",\r\n \"host\": \"\",\r\n \"port\": 4096,\r\n \"path\": \"/test2\",\r\n \"interval\": 26,\r\n @@ -1500,15 +1596,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b581eb2c-9c2a-4914-9b3b-7a01ef016389?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e96e83-c04a-437a-8888-577369a468fe?api-version=2021-08-01 cache-control: - no-cache content-length: - - '10121' + - '9143' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:24 GMT + - Tue, 17 May 2022 06:01:01 GMT expires: - '-1' pragma: @@ -1525,9 +1621,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bb286cc1-a1e9-4cc3-a776-6e8830a0ca35 + - 1e27e934-9f92-4d95-b83e-3bdd969107c6 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1195' status: code: 200 message: OK @@ -1545,21 +1641,21 @@ interactions: ParameterSetName: - -g --gateway-name -n User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -1567,7 +1663,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1577,14 +1673,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -1592,7 +1688,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -1600,9 +1696,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -1610,20 +1707,21 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"e439f968-7e82-4c4c-9d71-c309aeae449d\\\"\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Https\",\r\n \"host\": \"\",\r\n \"port\": 4096,\r\n \"path\": \"/test2\",\r\n \"interval\": 26,\r\n @@ -1638,13 +1736,13 @@ interactions: cache-control: - no-cache content-length: - - '10121' + - '9143' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:25 GMT + - Tue, 17 May 2022 06:01:02 GMT etag: - - W/"e439f968-7e82-4c4c-9d71-c309aeae449d" + - W/"730de402-54f8-487c-a552-3a513f07e487" expires: - '-1' pragma: @@ -1661,7 +1759,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0b1e26d2-2da7-4005-83a4-330f6c8ec715 + - 6a7f071f-578b-4d3f-b1db-3f17f9f27108 status: code: 200 message: OK @@ -1679,31 +1777,31 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": @@ -1711,54 +1809,56 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Https\",\r\n \"host\": \"\",\r\n \"port\": 4096,\r\n \"path\": \"/test2\",\r\n \"interval\": 26,\r\n \ \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n \"pickHostNameFromBackendHttpSettings\": @@ -1772,13 +1872,13 @@ interactions: cache-control: - no-cache content-length: - - '10130' + - '9143' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:28 GMT + - Tue, 17 May 2022 06:01:04 GMT etag: - - W/"a6526a6a-0a1e-496b-bfcd-bd6a1a178518" + - W/"730de402-54f8-487c-a552-3a513f07e487" expires: - '-1' pragma: @@ -1795,7 +1895,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3babc52-5f27-41ee-b076-e1f664a54ac8 + - 41e295e0-5700-4c71-a699-6e8ed88daf92 status: code: 200 message: OK @@ -1813,31 +1913,31 @@ interactions: ParameterSetName: - -g --gateway-name --no-wait -n User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": @@ -1845,54 +1945,56 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [\r\n {\r\n \"name\": \"myprobe\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n - \ \"etag\": \"W/\\\"a6526a6a-0a1e-496b-bfcd-bd6a1a178518\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"730de402-54f8-487c-a552-3a513f07e487\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"protocol\": \"Https\",\r\n \"host\": \"\",\r\n \"port\": 4096,\r\n \"path\": \"/test2\",\r\n \"interval\": 26,\r\n \ \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n \"pickHostNameFromBackendHttpSettings\": @@ -1906,13 +2008,13 @@ interactions: cache-control: - no-cache content-length: - - '10130' + - '9143' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:29 GMT + - Tue, 17 May 2022 06:01:05 GMT etag: - - W/"a6526a6a-0a1e-496b-bfcd-bd6a1a178518" + - W/"730de402-54f8-487c-a552-3a513f07e487" expires: - '-1' pragma: @@ -1929,7 +2031,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bb51accb-dd36-4906-aff3-7bba25008810 + - 73a152c2-fa6c-437f-aa63-6dd0d3e342d2 status: code: 200 message: OK @@ -1950,17 +2052,18 @@ interactions: "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": - false}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], - "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", - "name": "rule1", "properties": {"ruleType": "Basic", "backendAddressPool": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], - "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": [], "loadDistributionPolicies": []}}' headers: Accept: @@ -1972,27 +2075,27 @@ interactions: Connection: - keep-alive Content-Length: - - '5009' + - '4317' Content-Type: - application/json ParameterSetName: - -g --gateway-name --no-wait -n User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -2000,7 +2103,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2010,14 +2113,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -2025,7 +2128,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -2033,9 +2136,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -2043,33 +2147,34 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"e1839032-7f8b-4eb1-bdbe-688fa69f4bcf\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9a3f0e7b-0bc8-441a-b5d8-84c303c87fae\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n - \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": []\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/612599ac-69d4-4f6f-84d8-cd8be82de5a3?api-version=2021-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5f1ef472-3358-46f1-9be3-2f15bc7a30bc?api-version=2021-08-01 cache-control: - no-cache content-length: - - '9248' + - '8322' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:31 GMT + - Tue, 17 May 2022 06:01:05 GMT expires: - '-1' pragma: @@ -2086,9 +2191,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1598c807-4c26-400e-92f2-f75636fc7918 + - b950cdbc-b6f5-46f8-b8b1-2f33062f9090 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1195' status: code: 200 message: OK @@ -2106,21 +2211,21 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.30.0 azsdk-python-azure-mgmt-network/19.2.0 Python/3.8.3 (Windows-10-10.0.18362-SP0) + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/19.3.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 response: body: string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5318a975-a390-40b5-b9f2-89d65c0dc8bd\",\r\n \"sku\": + \ \"resourceGuid\": \"db8717ca-7917-4350-95ef-8c7ed50671f4\",\r\n \"sku\": {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n @@ -2128,7 +2233,7 @@ interactions: [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2138,14 +2243,14 @@ interactions: \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n @@ -2153,7 +2258,7 @@ interactions: \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": @@ -2161,9 +2266,10 @@ interactions: false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n - \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": - \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -2171,31 +2277,32 @@ interactions: [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n - \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": - [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"5a171e39-ce32-42d4-94bc-9848819ad000\\\"\",\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"bdc29d63-1fad-40ed-b731-86df3ef1b3c0\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"ruleType\": \"Basic\",\r\n \"httpListener\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n \ },\r\n \"backendHttpSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n - \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n - \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '9248' + - '8322' content-type: - application/json; charset=utf-8 date: - - Wed, 03 Nov 2021 04:54:32 GMT + - Tue, 17 May 2022 06:01:06 GMT etag: - - W/"5a171e39-ce32-42d4-94bc-9848819ad000" + - W/"bdc29d63-1fad-40ed-b731-86df3ef1b3c0" expires: - '-1' pragma: @@ -2212,7 +2319,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e160bd5d-412e-47c6-8521-0d6d1368a56c + - 65f6457f-2c33-47a4-8757-07d77a274cb9 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe_with_host_name_from_settings.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe_with_host_name_from_settings.yaml new file mode 100644 index 00000000000..ae44330a0cd --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_probe_with_host_name_from_settings.yaml @@ -0,0 +1,2242 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001","name":"cli_test_ag_probe_with_host_name_from_settings000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T02:40:05Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:11 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: '{"location": "westus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": + "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"gateway_ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\",\r\n + \ \"etag\": \"W/\\\"6de76df4-0878-4a26-89b0-aaa14c0cb833\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"734162ec-515e-45ee-a675-a533262b77ba\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2b58da07-1ec5-40ba-b8d1-6de749b84f85?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '672' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4a531301-a745-4907-81c9-12f6f64dd622 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2b58da07-1ec5-40ba-b8d1-6de749b84f85?api-version=2021-08-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: + - Thu, 19 May 2022 02:40: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: + - d045c25a-da6d-4aba-81e8-a8b17acc9110 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"gateway_ip\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\",\r\n + \ \"etag\": \"W/\\\"121540db-d856-4097-bde0-193ba8ed4509\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"734162ec-515e-45ee-a675-a533262b77ba\",\r\n \"ipAddress\": + \"20.245.102.133\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '709' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:21 GMT + etag: + - W/"121540db-d856-4097-bde0-193ba8ed4509" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - bdb4ac40-aea5-4e00-93f3-1d922bc5c131 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001","name":"cli_test_ag_probe_with_host_name_from_settings000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T02:40:05Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '382' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:21 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_probe_with_host_name_from_settings000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:22 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_probe_with_host_name_from_settings000001%27%20and%20name%20eq%20%27gateway_ip%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip","name":"gateway_ip","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}' + headers: + cache-control: + - no-cache + content-length: + - '326' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:22 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": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {"appGwID": "[resourceId(''Microsoft.Network/applicationGateways'', + ''ag1'')]"}, "resources": [{"name": "ag1Vnet", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "ag1", "location": "westus", + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/ag1Vnet"], + "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": + [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": + "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": + false, "drainTimeoutInSec": 1}}}], "frontendIPConfigurations": [{"name": "appGatewayFrontendIP", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(''appGwID''), ''/frontendIPConfigurations/appGatewayFrontendIP'')]"}, + "FrontendPort": {"Id": "[concat(variables(''appGwID''), ''/frontendPorts/appGatewayFrontendPort'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "requestRoutingRules": [{"Name": "rule1", + "properties": {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), + ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": + "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''ag1'')]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + Content-Length: + - '2737' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_9MZ8ZXOrpoJ6O9STa9EK334vd224QU41","name":"ag_deploy_9MZ8ZXOrpoJ6O9STa9EK334vd224QU41","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6560695564796344326","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-19T02:40:30.0855637Z","duration":"PT0.0006831S","correlationId":"aa3354d2-4474-4b3d-874a-57dd038f6362","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_9MZ8ZXOrpoJ6O9STa9EK334vd224QU41/operationStatuses/08585486788578541832?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '1281' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:40:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:41:01 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:41:31 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:42: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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:42:32 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:43:03 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:43:33 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:04 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486788578541832?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:34 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku --priority --public-ip-address + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_9MZ8ZXOrpoJ6O9STa9EK334vd224QU41","name":"ag_deploy_9MZ8ZXOrpoJ6O9STa9EK334vd224QU41","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6560695564796344326","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-19T02:44:23.8867204Z","duration":"PT3M53.8018398S","correlationId":"aa3354d2-4474-4b3d-874a-57dd038f6362","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"ag1Vnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"0b56b865-77eb-44a2-bbbc-62b9a7b8c583","sku":{"name":"Standard_v2","tier":"Standard_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1","etag":"W/\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '8508' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:34 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --no-wait --protocol --interval --timeout --threshold + --min-servers --match-status-codes --host-name-from-settings --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"5f2c1dee-8ffe-4f75-a264-c553de766ddd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8920' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:36 GMT + etag: + - W/"5f2c1dee-8ffe-4f75-a264-c553de766ddd" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ee6e75dd-b82d-47f6-89a1-8b943b9db536 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}], "probes": [{"name": + "myprobe", "properties": {"protocol": "Tcp", "interval": 25, "timeout": 100, + "unhealthyThreshold": 10, "pickHostNameFromBackendSettings": false, "minServers": + 2, "match": {"statusCodes": ["200", "204"]}, "port": 2048}}], "backendAddressPools": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe create + Connection: + - keep-alive + Content-Length: + - '4989' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --no-wait --protocol --interval --timeout --threshold + --min-servers --match-status-codes --host-name-from-settings --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"2fb5ace7-8616-4d32-8d5f-e3da9e1a6252\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tcp\",\r\n \"port\": 2048,\r\n \"interval\": + 25,\r\n \"timeout\": 100,\r\n \"unhealthyThreshold\": 10,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 2,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"200\",\r\n \"204\"\r\n ]\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n + \ }\r\n ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\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/8b367f7b-426e-4903-9844-402cdaec33cf?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9784' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02: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: + - 1ac460e6-11c9-4922-b345-354e6a869682 + 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 application-gateway probe show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tcp\",\r\n \"port\": 2048,\r\n \"interval\": + 25,\r\n \"timeout\": 100,\r\n \"unhealthyThreshold\": 10,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 2,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"200\",\r\n \"204\"\r\n ]\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n + \ }\r\n ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9784' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:38 GMT + etag: + - W/"d4cf39c8-5fa0-4389-a3cd-1b243981557b" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 12c1658a-7cb9-4fd1-9473-c9ed0c31027b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --no-wait --protocol --interval --timeout --threshold + --min-servers --match-status-codes --host-name-from-settings --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"d4cf39c8-5fa0-4389-a3cd-1b243981557b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tcp\",\r\n \"port\": 2048,\r\n \"interval\": + 25,\r\n \"timeout\": 100,\r\n \"unhealthyThreshold\": 10,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 2,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"200\",\r\n \"204\"\r\n ]\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n + \ }\r\n ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9784' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:41 GMT + etag: + - W/"d4cf39c8-5fa0-4389-a3cd-1b243981557b" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 99f25880-d934-4e15-8f8b-158407383dbe + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}], "probes": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe", + "name": "myprobe", "properties": {"protocol": "Tls", "interval": 26, "timeout": + 101, "unhealthyThreshold": 11, "pickHostNameFromBackendHttpSettings": false, + "pickHostNameFromBackendSettings": false, "minServers": 3, "match": {"statusCodes": + ["201"]}, "port": 4096}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe update + Connection: + - keep-alive + Content-Length: + - '5224' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --no-wait --protocol --interval --timeout --threshold + --min-servers --match-status-codes --host-name-from-settings --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"6d1d71db-6f8f-4fe8-8e8a-178f045507e1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tls\",\r\n \"port\": 4096,\r\n \"interval\": + 26,\r\n \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 3,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"201\"\r\n ]\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n }\r\n + \ ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\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/734c19c0-5b83-48b7-8c94-ce83fa1e527a?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9762' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44: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: + - 8567579a-3663-4b7d-8e55-3d75e9e03fba + 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 application-gateway probe show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tls\",\r\n \"port\": 4096,\r\n \"interval\": + 26,\r\n \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 3,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"201\"\r\n ]\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n }\r\n + \ ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9762' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:43 GMT + etag: + - W/"abda326a-926f-472a-b1cd-8335c623d589" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 0a2d9924-ff01-4b7b-ad72-ae27a448d714 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tls\",\r\n \"port\": 4096,\r\n \"interval\": + 26,\r\n \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 3,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"201\"\r\n ]\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n }\r\n + \ ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9762' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:45 GMT + etag: + - W/"abda326a-926f-472a-b1cd-8335c623d589" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ff8afddb-35a1-4e80-a518-0c8c4035a197 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe delete + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --no-wait -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"myprobe\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/probes/myprobe\",\r\n + \ \"etag\": \"W/\\\"abda326a-926f-472a-b1cd-8335c623d589\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"protocol\": \"Tls\",\r\n \"port\": 4096,\r\n \"interval\": + 26,\r\n \"timeout\": 101,\r\n \"unhealthyThreshold\": 11,\r\n + \ \"pickHostNameFromBackendHttpSettings\": false,\r\n \"pickHostNameFromBackendSettings\": + false,\r\n \"minServers\": 3,\r\n \"match\": {\r\n \"statusCodes\": + [\r\n \"201\"\r\n ]\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/probes\"\r\n }\r\n + \ ],\r\n \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": + [],\r\n \"privateLinkConfigurations\": [],\r\n \"privateEndpointConnections\": + []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9762' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:47 GMT + etag: + - W/"abda326a-926f-472a-b1cd-8335c623d589" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a1a8f96a-4f1f-4a96-a1e3-3c9774b38168 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway probe delete + Connection: + - keep-alive + Content-Length: + - '4762' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --no-wait -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"fef9a45f-5817-417c-ac85-db9e0a918a09\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/f6e7b5b6-ad22-4d61-bcc4-f027f36aae0d?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '8912' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44: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: + - 5350fc3c-fa6e-48c4-8e36-0ec7ca35d40e + 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 application-gateway probe list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0b56b865-77eb-44a2-bbbc-62b9a7b8c583\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/publicIPAddresses/gateway_ip\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"a68b60bc-fc9d-42f4-96a4-45219585376f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_probe_with_host_name_from_settings000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8912' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 02:44:48 GMT + etag: + - W/"a68b60bc-fc9d-42f4-96a4-45219585376f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d6eb4d35-cdaf-46e0-8754-afd298e962c6 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_routing_rule.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_routing_rule.yaml new file mode 100644 index 00000000000..15539db2d24 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_routing_rule.yaml @@ -0,0 +1,7741 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001","name":"cli_test_ag_routing_rule000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:39:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '338' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:40 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: '{"location": "westus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": + "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"4d0512d7-4226-4306-b3d4-4352daee67fa\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"dc3afd0b-e491-43ee-b060-6d1841757a09\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d3eb7b0-c114-49c7-8fb6-7c131d378682?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '654' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 768fedc9-3e7e-4c82-88aa-f646e1b3bbfc + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d3eb7b0-c114-49c7-8fb6-7c131d378682?api-version=2021-08-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: + - Thu, 19 May 2022 03: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: + - 1c871f28-5b5a-45a8-8679-710bc55a2861 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"43aecd8a-0539-4aa5-8bf8-36b608a3c50f\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"dc3afd0b-e491-43ee-b060-6d1841757a09\",\r\n \"ipAddress\": + \"20.245.164.215\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:48 GMT + etag: + - W/"43aecd8a-0539-4aa5-8bf8-36b608a3c50f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 00138535-0a60-463a-964c-d2b8add49b0c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001","name":"cli_test_ag_routing_rule000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:39:36Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '338' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:48 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_routing_rule000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:49 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_routing_rule000001%27%20and%20name%20eq%20%27testPublicIp%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp","name":"testPublicIp","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}' + headers: + cache-control: + - no-cache + content-length: + - '308' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:49 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": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {"appGwID": "[resourceId(''Microsoft.Network/applicationGateways'', + ''appgw'')]"}, "resources": [{"name": "appgwVnet", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "appgw", "location": "westus", + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/appgwVnet"], + "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": + [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": + "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": + false, "drainTimeoutInSec": 1}}}], "frontendIPConfigurations": [{"name": "appGatewayFrontendIP", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(''appGwID''), ''/frontendIPConfigurations/appGatewayFrontendIP'')]"}, + "FrontendPort": {"Id": "[concat(variables(''appGwID''), ''/frontendPorts/appGatewayFrontendPort'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "requestRoutingRules": [{"Name": "rule1", + "properties": {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), + ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": + "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''appgw'')]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + Content-Length: + - '2707' + Content-Type: + - application/json + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/ag_deploy_MkstCcQtQfHjyvAiz0ri1vm0wXvqJdLO","name":"ag_deploy_MkstCcQtQfHjyvAiz0ri1vm0wXvqJdLO","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4057484931789606939","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-19T03:39:55.4352731Z","duration":"PT0.000214S","correlationId":"1a8d03b7-fd4e-41f0-a4fa-e8f2eea5bf73","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/ag_deploy_MkstCcQtQfHjyvAiz0ri1vm0wXvqJdLO/operationStatuses/08585486752922836330?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '1222' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:40:27 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:40:57 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:41:27 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:41:58 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:42:29 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:42:59 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:43:29 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:43:59 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486752922836330?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:31 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Resources/deployments/ag_deploy_MkstCcQtQfHjyvAiz0ri1vm0wXvqJdLO","name":"ag_deploy_MkstCcQtQfHjyvAiz0ri1vm0wXvqJdLO","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4057484931789606939","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-19T03:44:27.0902009Z","duration":"PT4M31.6551418S","correlationId":"1a8d03b7-fd4e-41f0-a4fa-e8f2eea5bf73","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"c9876e85-0012-41b0-a9da-67c7121884c0","sku":{"name":"Standard_v2","tier":"Standard_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1","etag":"W/\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '8030' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:31 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"01d3433d-f13c-47bb-9ee9-d443f1f980a1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8522' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:31 GMT + etag: + - W/"01d3433d-f13c-47bb-9ee9-d443f1f980a1" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a38eae56-3a3c-49da-9132-2fb7dfbecf09 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"name": "testFrontendPort01", + "properties": {"port": 8080}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4524' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"694cc88d-93f8-49ef-a4ec-9e23e3c9fcf2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/b6a38663-9015-4df7-97f9-e8369049228d?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9014' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44: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: + - 03d3b39a-fef5-4cd8-930e-0328e111c961 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6a38663-9015-4df7-97f9-e8369049228d?api-version=2021-08-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: + - Thu, 19 May 2022 03: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: + - 09724e59-c9b4-46a4-a19e-380201624787 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:39 GMT + etag: + - W/"1fb5939f-278a-47f2-9549-09f224a618e6" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c69bd8bf-5d1f-42bb-bc87-0a58d36ac97a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1fb5939f-278a-47f2-9549-09f224a618e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9023' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:40 GMT + etag: + - W/"1fb5939f-278a-47f2-9549-09f224a618e6" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - fc1b2369-bf02-420d-9b18-5a418038b470 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"name": "testFrontendPort02", + "properties": {"port": 8081}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4780' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"123e428a-43fe-405e-b00d-d099d0e41615\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/dc2d5508-bacc-40d1-974a-70e70c1aebbc?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9514' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44: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: + - b0e156da-aa01-419a-a499-c23b5bd21b41 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/dc2d5508-bacc-40d1-974a-70e70c1aebbc?api-version=2021-08-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: + - Thu, 19 May 2022 03:44: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: + - 519465eb-eac4-452b-bd92-b417181f3e99 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9524' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:46 GMT + etag: + - W/"bdbcc91b-2813-4c2b-88e5-113da2c517bc" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 89c1c4d2-4952-4820-8e9f-e5bc6c5f6ee4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"bdbcc91b-2813-4c2b-88e5-113da2c517bc\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9524' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:48 GMT + etag: + - W/"bdbcc91b-2813-4c2b-88e5-113da2c517bc" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - fa4324e0-f061-45c3-9969-2467c1ded9ed + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"name": "testListener01", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIpConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + Content-Length: + - '5483' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"be2253b9-aff5-4018-bc4f-f52a27834902\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/df8f5b0e-c17d-4f8b-8d05-ac2bca3ad05f?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '11070' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03: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: + - 7e24c918-b9f9-47f6-8a0b-7d4ca1dbe4b4 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/df8f5b0e-c17d-4f8b-8d05-ac2bca3ad05f?api-version=2021-08-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: + - Thu, 19 May 2022 03:44: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: + - 033ab4ad-bac8-427e-b151-e3241cd84dfd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11081' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:55 GMT + etag: + - W/"72724fa4-e519-448b-b8fc-a60c8142242f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 35f16c85-fe14-410d-8688-f2a279758b07 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"72724fa4-e519-448b-b8fc-a60c8142242f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '11081' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:44:58 GMT + etag: + - W/"72724fa4-e519-448b-b8fc-a60c8142242f" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 54c7c3fc-d5e1-4cb1-bc7a-a56e3e3e063f + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"name": "testListener02", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIpConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + Content-Length: + - '6180' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9ec40cd8-d1b7-48c9-ae71-e4a489ad6354\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/47d3a2c7-3122-4d0a-a1cb-88e254a40e4f?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '12582' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:00 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d70b4d71-4838-413c-a69c-8c261e257ca2 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/47d3a2c7-3122-4d0a-a1cb-88e254a40e4f?api-version=2021-08-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: + - Thu, 19 May 2022 03:45:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9468d5f6-c6be-4a1b-ab1d-36a5cafcbc25 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway listener create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --frontend-port -n --frontend-ip + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '12594' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:06 GMT + etag: + - W/"fa3226cc-9c6a-4953-83c6-e1964a36ad8e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 29e473cd-e329-4b0d-bea2-c116ec101045 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"fa3226cc-9c6a-4953-83c6-e1964a36ad8e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '12594' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:07 GMT + etag: + - W/"fa3226cc-9c6a-4953-83c6-e1964a36ad8e" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9a6b2e48-47a4-4c34-a76b-228d2186a066 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"name": "testSettings", "properties": + {"port": 8080, "protocol": "tcp", "trustedRootCertificates": []}}], "httpListeners": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02", + "name": "testListener02", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + Content-Length: + - '6470' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"23f496df-14fd-4994-b5ed-bc0fb722d599\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/9658ff35-fbe3-409b-9299-d83becc405a4?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '13155' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45: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: + - 493990f0-61f8-4e90-99a4-415443443ff5 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/9658ff35-fbe3-409b-9299-d83becc405a4?api-version=2021-08-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: + - Thu, 19 May 2022 03:45: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: + - 074ce365-4318-495a-8e60-d208103f5bcb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13168' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:14 GMT + etag: + - W/"26879b36-34d7-41b4-9227-a915fd68ddba" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - a02d824c-c6a6-4734-b25c-d414452556f4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"26879b36-34d7-41b4-9227-a915fd68ddba\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13168' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:16 GMT + etag: + - W/"26879b36-34d7-41b4-9227-a915fd68ddba" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5e3d8782-a2ea-4ad2-bc13-8cd392114870 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"name": + "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": "10.0.0.4"}, + {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02", + "name": "testListener02", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + Content-Length: + - '6775' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"90a1d569-0cd5-45d4-a54d-19d41a3d1054\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/3d6bb96f-ac1e-49f3-a2be-d53a08cd1482?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '13822' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f12f2cab-6a51-4f28-90c4-9d7e041bd4d9 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3d6bb96f-ac1e-49f3-a2be-d53a08cd1482?api-version=2021-08-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: + - Thu, 19 May 2022 03:45:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5383e341-a67e-44ad-821b-0140d2449967 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway address-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --servers + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13836' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:23 GMT + etag: + - W/"7a76f1c7-8ba4-43ea-9395-6542678c4294" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 739afb06-0ff9-4581-95a7-3dfb97fe33c7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"7a76f1c7-8ba4-43ea-9395-6542678c4294\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13836' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:25 GMT + etag: + - W/"7a76f1c7-8ba4-43ea-9395-6542678c4294" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d9f2c42d-8821-42d9-88fb-d53a05b2c87b + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool", + "name": "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": + "10.0.0.4"}, {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02", + "name": "testListener02", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [{"name": "testRule", "properties": {"ruleType": "Basic", "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool"}, + "backendSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings"}, + "listener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01"}}}], + "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + Content-Length: + - '7671' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ },\r\n {\r\n \"name\": \"testListener02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"5297e79b-2ae5-481d-b238-7d47f3f1cc6c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '15875' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f3217c74-4394-4d9b-8639-2974166c5a35 + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - e2e56f14-4088-457a-b260-1eeea2d6f730 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5d8ce2e4-53ce-4bee-845b-db7a0d09cff1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - e25df0fb-3a89-4ddb-bf56-af095eecd45a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b6608059-6d18-461a-98f5-c9b640df25ae + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 63dadf7b-edb4-40ec-8314-202d59bed810 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c3964384-eac5-4c56-8454-2eac814f40e5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:45:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9102f30e-732d-4e02-94fa-6a4a2c4b0174 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/31df7a70-b587-4f14-9bcb-63b074e87194?api-version=2021-08-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: + - Thu, 19 May 2022 03:46:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - aeec78ea-430b-4e7d-8777-c830e915a380 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool --settings + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ },\r\n {\r\n \"name\": \"testListener02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46:06 GMT + etag: + - W/"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 53b10a3a-d16f-4850-ab0d-dfff454be274 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ },\r\n {\r\n \"name\": \"testListener02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46:07 GMT + etag: + - W/"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 803705de-cd56-4db8-81b3-b2dd656cf8ba + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ },\r\n {\r\n \"name\": \"testListener02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46:09 GMT + etag: + - W/"1b1efdd3-007c-4bd7-b47c-b59cd4c7ea93" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - af955234-a8f0-469b-a1db-427786dfbcc0 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool", + "name": "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": + "10.0.0.4"}, {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02", + "name": "testListener02", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule", + "name": "testRule", "properties": {"ruleType": "Basic", "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool"}, + "backendSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings"}, + "listener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02"}}}], + "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + Content-Length: + - '7854' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"46459563-e179-40d7-a6ca-632c06d76aa2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '15875' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - 5465b437-4506-44cb-84a6-18d1e4b510bf + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 22616d13-696f-4de6-b46e-38fed916ceab + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - fff8217d-0e5e-4034-88cc-17a6636049ea + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - 3fd3cb35-db92-4083-a679-f0d3381af9f8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - 9ce80836-b02e-4ca7-b764-9916e9e7ab34 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - abf4b408-123a-455e-b530-29c4ac075d4d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - eff4e95a-8787-433a-bfd3-d878b216ff56 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - 8904a0aa-3720-4075-a5c5-81075f121a51 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:46: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: + - 66553707-a071-489d-86a5-45173adcdca6 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7fb40149-54e0-4e89-a000-88fc9dd83d83?api-version=2021-08-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: + - Thu, 19 May 2022 03:47: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: + - 02411acc-175d-483e-a224-e08e1472199c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --listener --rule-type --address-pool + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47:09 GMT + etag: + - W/"ccd5d4d5-e8fd-4012-907c-64324551cc82" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 87eb25d0-33c9-4ed8-8dee-51e97b34f930 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47:11 GMT + etag: + - W/"ccd5d4d5-e8fd-4012-907c-64324551cc82" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5f5b5be9-2579-4831-82e2-8711ed0fd422 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47:12 GMT + etag: + - W/"ccd5d4d5-e8fd-4012-907c-64324551cc82" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 1d790740-a0f5-454e-af8f-16d2f367fcf1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ],\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30,\r\n \"routingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\",\r\n \"routingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/listeners\"\r\n + \ }\r\n ],\r\n \"urlPathMaps\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [\r\n {\r\n \"name\": + \"testRule\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/routingRules/testRule\",\r\n + \ \"etag\": \"W/\\\"ccd5d4d5-e8fd-4012-907c-64324551cc82\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"listener\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\"\r\n + \ },\r\n \"backendSettings\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/routingRules\"\r\n + \ }\r\n ],\r\n \"probes\": [],\r\n \"rewriteRuleSets\": [],\r\n + \ \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '15890' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47:13 GMT + etag: + - W/"ccd5d4d5-e8fd-4012-907c-64324551cc82" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 058f0ad9-1f17-4445-83fb-42f7609456e8 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}, {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool", + "name": "testAddressPool", "properties": {"backendAddresses": [{"ipAddress": + "10.0.0.4"}, {"ipAddress": "10.0.0.5"}]}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8080, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01", + "name": "testListener01", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01"}, + "protocol": "Tcp"}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02", + "name": "testListener02", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02"}, + "protocol": "Tcp"}}], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + Content-Length: + - '6972' + Content-Type: + - application/json + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"3e57daf9-cc0b-4276-81d5-99e51b65ae0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '13822' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - 24527e24-3759-4f5d-a5b3-fdcf4ddc83eb + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - 1822cda9-14af-4fd0-93da-9da7175f264e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - e87249ce-c6cc-4c89-94bf-e10321aeedcb + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - ba65f01e-01d8-4e55-aee0-2396fbcaab7b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - e7b61c42-93d3-4e5d-8789-ad5b7c0b365d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - e006fd8f-d39d-40da-af86-f1dfaf2af98e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - 46305ca5-80d4-4d4e-b02c-e144a202f8b2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - 8c2e7b4a-095c-4451-b7e8-ea73fee206d7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:47: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: + - 268a0c23-2a44-4117-a359-7849d4494854 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/debdd0c8-e486-453e-8903-dc96d68bad0b?api-version=2021-08-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: + - Thu, 19 May 2022 03:48: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: + - bae87e1e-5e34-48b2-ba72-f7ee09f4778c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --resource-group -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13836' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:48:08 GMT + etag: + - W/"be68fa24-45e5-4725-ae01-0156f139fdb8" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 6432d8b1-4140-4709-9f6a-72f73b0441a2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway routing-rule list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"c9876e85-0012-41b0-a9da-67c7121884c0\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"listeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ },\r\n {\r\n \"name\": \"testAddressPool\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/testAddressPool\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [\r\n {\r\n \"ipAddress\": + \"10.0.0.4\"\r\n },\r\n {\r\n \"ipAddress\": + \"10.0.0.5\"\r\n }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n }\r\n + \ ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [\r\n {\r\n \"name\": + \"testListener01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener01\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n },\r\n {\r\n + \ \"name\": \"testListener02\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/listeners/testListener02\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\"\r\n + \ },\r\n \"protocol\": \"Tcp\"\r\n },\r\n \"type\": + \"Microsoft.Network/applicationGateways/listeners\"\r\n }\r\n ],\r\n + \ \"urlPathMaps\": [],\r\n \"requestRoutingRules\": [\r\n {\r\n + \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"be68fa24-45e5-4725-ae01-0156f139fdb8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_routing_rule000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '13836' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:48:12 GMT + etag: + - W/"be68fa24-45e5-4725-ae01-0156f139fdb8" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5a09c61e-8769-4fd6-8c3d-65d051d9e95d + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_settings.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_settings.yaml new file mode 100644 index 00000000000..02c9b00d160 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_ag_settings.yaml @@ -0,0 +1,3884 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001","name":"cli_test_ag_settings000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:34:00Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '330' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:03 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: '{"location": "westus", "sku": {"name": "Standard"}, "properties": {"publicIPAllocationMethod": + "Static", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '166' + Content-Type: + - application/json + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"02e18bd2-8ab9-43e7-ab46-598977c34136\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"d75990ee-925c-4334-af52-125706a376ae\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Static\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0ac04243-7da8-4533-93bc-bad81b9a5b99?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 18095d15-146f-4f83-b4f0-0bf5d7c4fec5 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0ac04243-7da8-4533-93bc-bad81b9a5b99?api-version=2021-08-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: + - Thu, 19 May 2022 03:34: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: + - 4a6a2ae3-7ec8-453c-ab4e-c7af16a8c2b3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n --sku + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"testPublicIp\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\",\r\n + \ \"etag\": \"W/\\\"a3cc20ef-9824-4d3d-bb27-02f3f31f226d\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"d75990ee-925c-4334-af52-125706a376ae\",\r\n \"ipAddress\": + \"20.237.224.173\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": + \"Static\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": []\r\n + \ },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": + {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Regional\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '687' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:09 GMT + etag: + - W/"a3cc20ef-9824-4d3d-bb27-02f3f31f226d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 28562f92-9423-4865-b567-ee75310fd499 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001","name":"cli_test_ag_settings000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2022-05-19T03:34:00Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '330' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:09 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_settings000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2021-04-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:10 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_ag_settings000001%27%20and%20name%20eq%20%27testPublicIp%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2021-04-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp","name":"testPublicIp","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}' + headers: + cache-control: + - no-cache + content-length: + - '304' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:11 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": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {"appGwID": "[resourceId(''Microsoft.Network/applicationGateways'', + ''appgw'')]"}, "resources": [{"name": "appgwVnet", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "appgw", "location": "westus", + "tags": {}, "apiVersion": "2021-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/appgwVnet"], + "properties": {"backendAddressPools": [{"name": "appGatewayBackendPool"}], "backendHttpSettingsCollection": + [{"name": "appGatewayBackendHttpSettings", "properties": {"Port": 80, "Protocol": + "Http", "CookieBasedAffinity": "disabled", "connectionDraining": {"enabled": + false, "drainTimeoutInSec": 1}}}], "frontendIPConfigurations": [{"name": "appGatewayFrontendIP", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(''appGwID''), ''/frontendIPConfigurations/appGatewayFrontendIP'')]"}, + "FrontendPort": {"Id": "[concat(variables(''appGwID''), ''/frontendPorts/appGatewayFrontendPort'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "requestRoutingRules": [{"Name": "rule1", + "properties": {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(''appGwID''), + ''/httpListeners/appGatewayHttpListener'')]"}, "backendAddressPool": {"id": + "[concat(variables(''appGwID''), ''/backendAddressPools/appGatewayBackendPool'')]"}, + "backendHttpSettings": {"id": "[concat(variables(''appGwID''), ''/backendHttpSettingsCollection/appGatewayBackendHttpSettings'')]"}, + "priority": 1001}}], "privateLinkConfigurations": []}, "zones": null}], "outputs": + {"applicationGateway": {"type": "object", "value": "[reference(''appgw'')]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + Content-Length: + - '2699' + Content-Type: + - application/json + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_oYjCNbdCT6t2S3LMaNOcT0ePT3mcHlUq","name":"ag_deploy_oYjCNbdCT6t2S3LMaNOcT0ePT3mcHlUq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11602922405891391843","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2022-05-19T03:34:15.3522949Z","duration":"PT0.0008067S","correlationId":"f90adcc5-85bd-4216-b5a0-1bdfddc3ff1d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_oYjCNbdCT6t2S3LMaNOcT0ePT3mcHlUq/operationStatuses/08585486756322283600?api-version=2021-04-01 + cache-control: + - no-cache + content-length: + - '1212' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:34:46 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:35:17 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:35:48 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:36:19 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:36:49 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:37:19 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:37:50 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585486756322283600?api-version=2021-04-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:21 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: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --sku --priority + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2021-04-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Resources/deployments/ag_deploy_oYjCNbdCT6t2S3LMaNOcT0ePT3mcHlUq","name":"ag_deploy_oYjCNbdCT6t2S3LMaNOcT0ePT3mcHlUq","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11602922405891391843","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2022-05-19T03:38:11.6242416Z","duration":"PT3M56.2727534S","correlationId":"f90adcc5-85bd-4216-b5a0-1bdfddc3ff1d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"appgwVnet"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw","resourceType":"Microsoft.Network/applicationGateways","resourceName":"appgw"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"0e198ef2-057c-4583-8f27-1b88d494e9e9","sku":{"name":"Standard_v2","tier":"Standard_v2","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"trustedRootCertificates":[],"trustedClientCertificates":[],"sslProfiles":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}]},"type":"Microsoft.Network/applicationGateways/frontendPorts"}],"backendAddressPools":[{"name":"appGatewayBackendPool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"loadDistributionPolicies":[],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","port":80,"protocol":"Http","cookieBasedAffinity":"Disabled","connectionDraining":{"enabled":false,"drainTimeoutInSec":1},"pickHostNameFromBackendAddress":false,"requestTimeout":30,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}],"backendSettingsCollection":[],"httpListeners":[{"name":"appGatewayHttpListener","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","hostNames":[],"requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/httpListeners"}],"listeners":[],"urlPathMaps":[],"requestRoutingRules":[{"name":"rule1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1","etag":"W/\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","priority":1001,"httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"routingRules":[],"probes":[],"rewriteRuleSets":[],"redirectConfigurations":[],"privateLinkConfigurations":[],"privateEndpointConnections":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '7935' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:22 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8442' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:24 GMT + etag: + - W/"2d0f53cb-e9e8-45c3-acb8-a26e7d5dc50d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 402c65c1-00bf-4b3b-89b6-51e17e8f796c + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"name": "testFrontendPort01", + "properties": {"port": 8080}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4464' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"af697153-fd99-4d3a-9e81-084ebebb7a3e\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/b3deb3f2-c191-4581-8493-1ebf262abe4c?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '8930' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03: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: + - 64d9b820-9b5e-4535-aff4-530eec235a9c + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b3deb3f2-c191-4581-8493-1ebf262abe4c?api-version=2021-08-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: + - Thu, 19 May 2022 03:38: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: + - 2beb0ddd-8430-4ca4-a9b5-32b2aacc1e94 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8939' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:32 GMT + etag: + - W/"b77a5072-9b4c-44b9-a6c3-0aa0736c742b" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 97bde169-6c34-46eb-8b93-a9610d14efde + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"b77a5072-9b4c-44b9-a6c3-0aa0736c742b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '8939' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:34 GMT + etag: + - W/"b77a5072-9b4c-44b9-a6c3-0aa0736c742b" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 580db681-36b3-4933-bf12-31e9cee0362c + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"name": "testFrontendPort02", + "properties": {"port": 8081}}], "probes": [], "backendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + Content-Length: + - '4716' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"2ed9d31b-73c4-423b-9781-a17a8b018263\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/f637cd99-c050-4bf2-9104-ccf226c0b8d6?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9426' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38: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: + - 9f9a2138-63c7-4963-afba-e08e7aad01f8 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f637cd99-c050-4bf2-9104-ccf226c0b8d6?api-version=2021-08-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: + - Thu, 19 May 2022 03: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: + - dc34ca62-a4b4-49d0-963a-8c01c70b0bd4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway frontend-port create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:42 GMT + etag: + - W/"f7bc0da4-664a-48c0-a746-8660c4692e68" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 99faa78f-0dd5-459b-a746-deff347b4870 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f7bc0da4-664a-48c0-a746-8660c4692e68\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:44 GMT + etag: + - W/"f7bc0da4-664a-48c0-a746-8660c4692e68" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 18b41147-644f-467a-83db-2915e413046f + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"name": "testSettings", "properties": + {"port": 8080, "protocol": "tcp", "trustedRootCertificates": []}}], "httpListeners": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + Content-Length: + - '5010' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f5a74fd1-c305-42d8-921d-a81f7a41ca0f\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/2396a6a6-0078-4940-a6a8-7e1905730980?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9995' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38: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: + - f89f2aac-3da9-4435-a257-65172e6af6ba + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2396a6a6-0078-4940-a6a8-7e1905730980?api-version=2021-08-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38: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: + - 393e68af-5f3c-44bd-87d3-f0bdfec6093e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2396a6a6-0078-4940-a6a8-7e1905730980?api-version=2021-08-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: + - Thu, 19 May 2022 03: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: + - 24e8eb03-416b-4078-b820-8c9c9ea73e83 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings create + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:52 GMT + etag: + - W/"9cc6dd00-5150-471e-975c-f9f42d841ed8" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d14682fb-e4b7-4cce-b394-e3861ac9a7c8 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:53 GMT + etag: + - W/"9cc6dd00-5150-471e-975c-f9f42d841ed8" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5c52d37b-d5bc-4947-b004-f38029072606 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"9cc6dd00-5150-471e-975c-f9f42d841ed8\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38:54 GMT + etag: + - W/"9cc6dd00-5150-471e-975c-f9f42d841ed8" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d8ea5768-bbd4-4015-8515-77509ad06852 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings", + "name": "testSettings", "properties": {"port": 8081, "protocol": "Tcp", "timeout": + 30}}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings update + Connection: + - keep-alive + Content-Length: + - '5190' + Content-Type: + - application/json + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"05ee6540-a923-48aa-89b2-82691c6f6259\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/0796594b-3469-4ded-a8fd-630bf36f41e5?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9995' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:38: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: + - d04c023e-3c72-451a-8c9d-2f5534722cd7 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/0796594b-3469-4ded-a8fd-630bf36f41e5?api-version=2021-08-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: + - Thu, 19 May 2022 03:39: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: + - ff37623c-1eda-4b60-b249-45160e1bb979 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings update + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name --name --port + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:02 GMT + etag: + - W/"8f91dc16-74da-481a-8494-cb91be528996" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - f43064e1-de51-45ae-8700-23637eb682d1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings show + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name -n + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:03 GMT + etag: + - W/"8f91dc16-74da-481a-8494-cb91be528996" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 3b180f30-bf42-422d-ae12-0fa828d0253d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:05 GMT + etag: + - W/"8f91dc16-74da-481a-8494-cb91be528996" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b0b54006-6975-49e6-9984-c873b223f2d2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [\r\n {\r\n \"name\": + \"testSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendSettingsCollection/testSettings\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081,\r\n \"protocol\": \"Tcp\",\r\n \"timeout\": + 30\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendSettingsCollection\"\r\n + \ }\r\n ],\r\n \"httpListeners\": [\r\n {\r\n \"name\": + \"appGatewayHttpListener\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"8f91dc16-74da-481a-8494-cb91be528996\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10006' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:06 GMT + etag: + - W/"8f91dc16-74da-481a-8494-cb91be528996" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c2fae166-9a55-489b-a390-676619378870 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "Standard_v2", + "tier": "Standard_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default"}}}], + "trustedRootCertificates": [], "trustedClientCertificates": [], "sslCertificates": + [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP", + "name": "appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": + "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp"}}}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort", + "name": "appGatewayFrontendPort", "properties": {"port": 80}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01", + "name": "testFrontendPort01", "properties": {"port": 8080}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02", + "name": "testFrontendPort02", "properties": {"port": 8081}}], "probes": [], + "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool", + "name": "appGatewayBackendPool", "properties": {"backendAddresses": []}}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "name": "appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": + "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": + {"enabled": false, "drainTimeoutInSec": 1}, "pickHostNameFromBackendAddress": + false}}], "backendSettingsCollection": [], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener", + "name": "appGatewayHttpListener", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "hostNames": []}}], + "listeners": [], "sslProfiles": [], "urlPathMaps": [], "requestRoutingRules": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1", + "name": "rule1", "properties": {"ruleType": "Basic", "priority": 1001, "backendAddressPool": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener"}}}], + "routingRules": [], "rewriteRuleSets": [], "redirectConfigurations": [], "privateLinkConfigurations": + [], "loadDistributionPolicies": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings delete + Connection: + - keep-alive + Content-Length: + - '4906' + Content-Type: + - application/json + ParameterSetName: + - --gateway-name --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"a6e0f9f1-7440-436b-a7eb-47697733c533\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\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/3b76802f-8cf0-4eda-a331-a1401d1ebb7b?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '9426' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39: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: + - c768ec35-dca9-4010-bedf-d84a161f3d36 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3b76802f-8cf0-4eda-a331-a1401d1ebb7b?api-version=2021-08-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: + - Thu, 19 May 2022 03:39: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: + - 70d8f17d-7098-4756-a09f-244b884a482c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings delete + Connection: + - keep-alive + ParameterSetName: + - --gateway-name --name --resource-group + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:13 GMT + etag: + - W/"b31a03aa-af3c-4919-8087-ba3151e20f72" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 8d8ce7e8-5fa5-4177-9cb2-8b1888bb7b06 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network application-gateway settings list + Connection: + - keep-alive + ParameterSetName: + - -g --gateway-name + User-Agent: + - AZURECLI/2.36.0 azsdk-python-azure-mgmt-network/20.0.0 Python/3.9.5 (Windows-10-10.0.19044-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw?api-version=2021-08-01 + response: + body: + string: "{\r\n \"name\": \"appgw\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"0e198ef2-057c-4583-8f27-1b88d494e9e9\",\r\n \"sku\": + {\r\n \"name\": \"Standard_v2\",\r\n \"tier\": \"Standard_v2\",\r\n + \ \"capacity\": 2\r\n },\r\n \"operationalState\": \"Running\",\r\n + \ \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/virtualNetworks/appgwVnet/subnets/default\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"trustedClientCertificates\": [],\r\n \"sslProfiles\": [],\r\n + \ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/publicIPAddresses/testPublicIp\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"frontendPorts\": + [\r\n {\r\n \"name\": \"appGatewayFrontendPort\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"httpListeners\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort01\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8080\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ },\r\n {\r\n \"name\": \"testFrontendPort02\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/testFrontendPort02\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 8081\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/frontendPorts\"\r\n + \ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": + \"appGatewayBackendPool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendAddresses\": [],\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadDistributionPolicies\": [],\r\n \"backendHttpSettingsCollection\": + [\r\n {\r\n \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"port\": 80,\r\n \"protocol\": \"Http\",\r\n \"cookieBasedAffinity\": + \"Disabled\",\r\n \"connectionDraining\": {\r\n \"enabled\": + false,\r\n \"drainTimeoutInSec\": 1\r\n },\r\n \"pickHostNameFromBackendAddress\": + false,\r\n \"requestTimeout\": 30,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/backendHttpSettingsCollection\"\r\n + \ }\r\n ],\r\n \"backendSettingsCollection\": [],\r\n \"httpListeners\": + [\r\n {\r\n \"name\": \"appGatewayHttpListener\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"hostNames\": + [],\r\n \"requireServerNameIndication\": false,\r\n \"requestRoutingRules\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/httpListeners\"\r\n + \ }\r\n ],\r\n \"listeners\": [],\r\n \"urlPathMaps\": [],\r\n + \ \"requestRoutingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"b31a03aa-af3c-4919-8087-ba3151e20f72\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"ruleType\": \"Basic\",\r\n \"priority\": 1001,\r\n \"httpListener\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_settings000001/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appGatewayBackendHttpSettings\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/requestRoutingRules\"\r\n + \ }\r\n ],\r\n \"routingRules\": [],\r\n \"probes\": [],\r\n + \ \"rewriteRuleSets\": [],\r\n \"redirectConfigurations\": [],\r\n \"privateLinkConfigurations\": + [],\r\n \"privateEndpointConnections\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '9436' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 19 May 2022 03:39:14 GMT + etag: + - W/"b31a03aa-af3c-4919-8087-ba3151e20f72" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 40aae279-e6c0-480d-9d2b-c19b20c1f8b7 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index 71feb957413..6a52175a38e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -1185,6 +1185,52 @@ def test_network_app_gateway_with_private_ip(self, resource_group): self.check('length(@)', 10) ]) + @ResourceGroupPreparer(name_prefix='test_appgw_with_tcp', location='westus') + def test_appgw_with_tcp(self, resource_group): + self.kwargs.update({ + 'appgw': 'appgw', + 'appgw_frontend_port': 'testFrontendPort', + 'appgw_settings': 'testSettings', + 'appgw_listener': 'testListener', + 'appgw_address_pool': 'testAddressPool', + 'appgw_routing_rule': 'testRule', + 'appgw_public_ip': 'testPublicIp', + 'appgw_rule_type': 'Basic', + 'priority': 1001, + 'port': 8080 + }) + + self.cmd('network public-ip create -g {rg} -n {appgw_public_ip} --sku Standard') + + self.cmd('network application-gateway create -g {rg} -n {appgw} ' + '--public-ip-address {appgw_public_ip} --sku Standard_v2 ' + '--priority {priority}') + show_appgw_data = self.cmd('network application-gateway show -g {rg} -n {appgw}').get_output_in_json() + print(show_appgw_data) + frontend_ip = show_appgw_data['frontendIpConfigurations'][0]['name'] + self.kwargs.update({ + 'appgw_frontend_ip': frontend_ip + }) + + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port} --port {port}') + self.cmd('network application-gateway listener create -g {rg} --gateway-name {appgw} ' + '--frontend-port {appgw_frontend_port} -n {appgw_listener} --frontend-ip {appgw_frontend_ip}', + checks=(self.check('listeners[0].name', '{appgw_listener}'))) + self.cmd('network application-gateway settings create -g {rg} --gateway-name {appgw} ' + '--name {appgw_settings} --port {port} ', + checks=(self.check('backendSettingsCollection[0].name', '{appgw_settings}'))) + self.cmd( + 'network application-gateway address-pool create -g {rg} --gateway-name {appgw} -n {appgw_address_pool} ' + '--servers 10.0.0.4 10.0.0.5') + self.cmd('network application-gateway routing-rule create -g {rg} --gateway-name {appgw} ' + '--name {appgw_routing_rule} --listener {appgw_listener} --rule-type {appgw_rule_type} ' + '--address-pool {appgw_address_pool} --settings {appgw_settings}', + checks=[ + self.check('routingRules[0].name', '{appgw_routing_rule}') + ]) + + self.cmd('network application-gateway delete --name {appgw} --resource-group {rg}') class NetworkAppGatewaySubresourceScenarioTest(ScenarioTest): @@ -1441,7 +1487,7 @@ def test_network_ag_probe(self, resource_group): self.cmd('network public-ip create -g {rg} -n {gateway_ip} --sku Standard') self.cmd('network application-gateway create -g {rg} -n {ag} ' - '--sku WAF_v2 ' + '--sku WAF_v2 --priority 1001 ' '--public-ip-address {gateway_ip} ') self.cmd('network application-gateway probe create -g {rg} --gateway-name {ag} -n {name} --no-wait ' @@ -1494,6 +1540,63 @@ def test_network_ag_probe(self, resource_group): self.cmd('network application-gateway probe delete -g {rg} --gateway-name {ag} --no-wait -n {name}') self.cmd('network application-gateway probe list -g {rg} --gateway-name {ag}', checks=self.check('length(@)', 0)) + @ResourceGroupPreparer(name_prefix='cli_test_ag_probe_with_host_name_from_settings') + def test_network_ag_probe_with_host_name_from_settings(self, resource_group): + + self.kwargs.update({ + 'rg': resource_group, + 'gateway_ip': 'gateway_ip', + 'ag': 'ag1', + 'name': 'myprobe' + }) + + self.cmd('network public-ip create -g {rg} -n {gateway_ip} --sku Standard') + self.cmd('network application-gateway create -g {rg} -n {ag} ' + '--sku Standard_v2 --priority 1001 ' + '--public-ip-address {gateway_ip} ') + + self.cmd('network application-gateway probe create -g {rg} --gateway-name {ag} -n {name} --no-wait ' + '--protocol tcp ' + '--interval 25 ' + '--timeout 100 ' + '--threshold 10 ' + '--min-servers 2 ' + '--match-status-codes 200 204 ' + '--host-name-from-settings false ' + '--port 2048 ') + self.cmd('network application-gateway probe show -g {rg} --gateway-name {ag} -n {name}', checks=[ + self.check('protocol', 'Tcp'), + self.check('interval', 25), + self.check('timeout', 100), + self.check('unhealthyThreshold', 10), + self.check('minServers', 2), + self.check('length(match.statusCodes)', 2), + self.check('pickHostNameFromBackendSettings', False), + self.check('port', 2048) + ]) + self.cmd('network application-gateway probe update -g {rg} --gateway-name {ag} -n {name} --no-wait ' + '--protocol tls ' + '--interval 26 ' + '--timeout 101 ' + '--threshold 11 ' + '--min-servers 3 ' + '--match-status-codes 201 ' + '--host-name-from-settings false ' + '--port 4096 ') + self.cmd('network application-gateway probe show -g {rg} --gateway-name {ag} -n {name}', checks=[ + self.check('protocol', 'Tls'), + self.check('interval', 26), + self.check('timeout', 101), + self.check('unhealthyThreshold', 11), + self.check('minServers', 3), + self.check('length(match.statusCodes)', 1), + self.check('pickHostNameFromBackendSettings', False), + self.check('port', 4096) + ]) + self.cmd('network application-gateway probe list -g {rg} --gateway-name {ag}', checks=self.check('length(@)', 1)) + self.cmd('network application-gateway probe delete -g {rg} --gateway-name {ag} --no-wait -n {name}') + self.cmd('network application-gateway probe list -g {rg} --gateway-name {ag}', checks=self.check('length(@)', 0)) + @ResourceGroupPreparer(name_prefix='cli_test_ag_rule') def test_network_ag_rule(self, resource_group): @@ -1629,6 +1732,160 @@ def test_network_ag_url_path_map_edge_case(self, resource_group): 'network application-gateway url-path-map rule create -g {rg} --gateway-name {ag} -n {rulename2} --path-map-name {name} ' '--paths /mypath122/* --address-pool {pool} --http-settings {settings} --redirect-config {redirect_config}') + @ResourceGroupPreparer(name_prefix='cli_test_ag_listener') + def test_network_ag_listener(self, resource_group): + self.kwargs.update({ + 'appgw': 'appgw', + 'appgw_frontend_port': 'testFrontendPort01', + 'appgw_listener': 'testListener', + 'appgw_public_ip': 'testPublicIp', + 'appgw_rule_type': 'Basic', + 'res': 'application-gateway listener', + 'priority': 1001, + 'port1': 8080, + 'port2': 8081, + }) + + self.cmd('network public-ip create -g {rg} -n {appgw_public_ip} --sku Standard') + + self.cmd('network application-gateway create -g {rg} -n {appgw} ' + '--public-ip-address {appgw_public_ip} --sku Standard_v2 ' + '--priority {priority}') + + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port} --port {port1}') + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n testFrontendPort02 --port {port2}') + + self.cmd('network {res} create -g {rg} --gateway-name {appgw} --frontend-port {appgw_frontend_port} ' + '-n {appgw_listener} --frontend-ip appGatewayFrontendIP') + + self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_listener}', + checks=(self.check('name', '{appgw_listener}'))) + + self.cmd('network {res} update -g {rg} --gateway-name {appgw} --frontend-port testFrontendPort02 -n {appgw_listener}') + + listener = self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_listener}').get_output_in_json() + self.assertTrue(listener['frontendPort']['id'].endswith('testFrontendPort02')) + + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 1))) + + self.cmd('network {res} delete -g {rg} --gateway-name {appgw} -n {appgw_listener}') + + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 0))) + + @ResourceGroupPreparer(name_prefix='cli_test_ag_settings') + def test_network_ag_settings(self, resource_group): + self.kwargs.update({ + 'appgw': 'appgw', + 'appgw_frontend_port1': 'testFrontendPort01', + 'appgw_frontend_port2': 'testFrontendPort02', + 'appgw_settings': 'testSettings', + 'appgw_public_ip': 'testPublicIp', + 'appgw_rule_type': 'Basic', + 'res': 'application-gateway settings', + 'priority': 1001, + 'port1': 8080, + 'port2': 8081 + }) + + self.cmd('network public-ip create -g {rg} -n {appgw_public_ip} --sku Standard') + + self.cmd('network application-gateway create -g {rg} -n {appgw} ' + '--public-ip-address {appgw_public_ip} --sku Standard_v2 ' + '--priority {priority}') + + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port1} --port {port1}') + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port2} --port {port2}') + + self.cmd('network {res} create -g {rg} --gateway-name {appgw} ' + '--name {appgw_settings} --port {port1} ') + + self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_settings}', + checks=(self.check('name', '{appgw_settings}'))) + + self.cmd('network {res} update -g {rg} --gateway-name {appgw} ' + '--name {appgw_settings} --port {port2}') + + self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_settings}', + checks=(self.check('port', 8081))) + + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 1))) + + self.cmd('network {res} delete --gateway-name {appgw} --name {appgw_settings} --resource-group {rg}') + + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 0))) + + @ResourceGroupPreparer(name_prefix='cli_test_ag_routing_rule') + def test_network_ag_routing_rule(self, resource_group): + self.kwargs.update({ + 'appgw': 'appgw', + 'appgw_frontend_port1': 'testFrontendPort01', + 'appgw_frontend_port2': 'testFrontendPort02', + 'appgw_settings': 'testSettings', + 'appgw_listener1': 'testListener01', + 'appgw_listener2': 'testListener02', + 'appgw_address_pool': 'testAddressPool', + 'appgw_routing_rule': 'testRule', + 'appgw_public_ip': 'testPublicIp', + 'appgw_rule_type': 'Basic', + 'res': 'application-gateway routing-rule', + 'priority': 1001, + 'port1': 8080, + 'port2': 8081 + }) + + self.cmd('network public-ip create -g {rg} -n {appgw_public_ip} --sku Standard') + + self.cmd('network application-gateway create -g {rg} -n {appgw} ' + '--public-ip-address {appgw_public_ip} --sku Standard_v2 ' + '--priority {priority}') + + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port1} --port {port1}') + self.cmd('network application-gateway frontend-port create -g {rg} --gateway-name {appgw} ' + '-n {appgw_frontend_port2} --port {port2}') + + self.cmd('network application-gateway listener create -g {rg} --gateway-name {appgw} ' + '--frontend-port {appgw_frontend_port1} -n {appgw_listener1} --frontend-ip appGatewayFrontendIP', + checks=(self.check('listeners[0].name', '{appgw_listener1}'))) + + self.cmd('network application-gateway listener create -g {rg} --gateway-name {appgw} ' + '--frontend-port {appgw_frontend_port2} -n {appgw_listener2} --frontend-ip appGatewayFrontendIP', + checks=(self.check('listeners[1].name', '{appgw_listener2}'))) + + self.cmd('network application-gateway settings create -g {rg} --gateway-name {appgw} ' + '--name {appgw_settings} --port {port1} ', + checks=(self.check('backendSettingsCollection[0].name', '{appgw_settings}'))) + self.cmd( + 'network application-gateway address-pool create -g {rg} --gateway-name {appgw} -n {appgw_address_pool} ' + '--servers 10.0.0.4 10.0.0.5') + self.cmd('network {res} create -g {rg} --gateway-name {appgw} ' + '--name {appgw_routing_rule} --listener {appgw_listener1} --rule-type {appgw_rule_type} ' + '--address-pool {appgw_address_pool} --settings {appgw_settings}') + + self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_routing_rule}', + checks=(self.check('name', '{appgw_routing_rule}'))) + + self.cmd('network {res} update -g {rg} --gateway-name {appgw} --name {appgw_routing_rule} ' + '--listener {appgw_listener2} --rule-type {appgw_rule_type} ' + '--address-pool {appgw_address_pool}') + + routing_rule = self.cmd('network {res} show -g {rg} --gateway-name {appgw} -n {appgw_routing_rule}').get_output_in_json() + self.assertTrue(routing_rule['listener']['id'].endswith('testListener02')) + + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 1))) + self.cmd('network {res} delete --gateway-name {appgw} --resource-group {rg} -n {appgw_routing_rule}') + self.cmd('network {res} list -g {rg} --gateway-name {appgw}', + checks=(self.check('length(@)', 0))) + class NetworkAppGatewayRewriteRuleset(ScenarioTest):