diff --git a/src/azure-cli-testsdk/HISTORY.rst b/src/azure-cli-testsdk/HISTORY.rst index 02e8e335372..6aa7628763a 100644 --- a/src/azure-cli-testsdk/HISTORY.rst +++ b/src/azure-cli-testsdk/HISTORY.rst @@ -2,6 +2,11 @@ Release History =============== + +0.2.3 ++++++ +* Minor fixes + 0.2.2 +++++ * Minor fixes diff --git a/src/azure-cli-testsdk/azure/cli/testsdk/checkers.py b/src/azure-cli-testsdk/azure/cli/testsdk/checkers.py index 5636aa050c0..bb36f7955d0 100644 --- a/src/azure-cli-testsdk/azure/cli/testsdk/checkers.py +++ b/src/azure-cli-testsdk/azure/cli/testsdk/checkers.py @@ -16,8 +16,13 @@ def __init__(self, query, expected_result): def __call__(self, execution_result): json_value = execution_result.get_output_in_json() - actual_result = jmespath.search(self._query, json_value, - jmespath.Options(collections.OrderedDict)) + actual_result = None + try: + actual_result = jmespath.search(self._query, json_value, + jmespath.Options(collections.OrderedDict)) + except jmespath.exceptions.JMESPathTypeError: + raise JMESPathCheckAssertionError(self._query, self._expected_result, actual_result, + execution_result.output) if actual_result != self._expected_result and str(actual_result) != str(self._expected_result): if actual_result: raise JMESPathCheckAssertionError(self._query, self._expected_result, actual_result, diff --git a/src/azure-cli-testsdk/setup.py b/src/azure-cli-testsdk/setup.py index 139ea992379..62057798b6f 100644 --- a/src/azure-cli-testsdk/setup.py +++ b/src/azure-cli-testsdk/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "0.2.2" +VERSION = "0.2.3" CLASSIFIERS = [ 'Development Status :: 3 - Alpha', diff --git a/src/command_modules/azure-cli-network/HISTORY.rst b/src/command_modules/azure-cli-network/HISTORY.rst index c04235d3861..21641017f5d 100644 --- a/src/command_modules/azure-cli-network/HISTORY.rst +++ b/src/command_modules/azure-cli-network/HISTORY.rst @@ -3,6 +3,10 @@ Release History =============== +2.2.10 +++++++ +* `application-gateway waf-config set`: Added `--exclusion` argument to support WAF exclusions. + 2.2.9 +++++ * `application-gateway`: Added `root-cert` subcommands to handle trusted root certifcates. diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py index ad2cf062df8..02375589e52 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py @@ -865,6 +865,12 @@ short-summary: Space-separated list of rule IDs to disable. populator-commands: - az network application-gateway waf-config list-rule-sets + - name: --exclusion + short-summary: Add an exclusion expression to the WAF check. + long-summary: | + Usage: --exclusion VARIABLE OPERATOR VALUE + + Multiple exclusions can be specified by using more than one `--exclusion` argument. examples: - name: Configure WAF on an application gateway in detection mode with default values text: | @@ -874,7 +880,14 @@ text: | az network application-gateway waf-config set -g MyResourceGroup -n MyAppGateway \\ --enabled true --rule-set-type OWASP --rule-set-version 3.0 \\ - --disabled-rules 920130 920140 --disabled-rule-groups REQUEST-942-APPLICATION-ATTACK-SQLI + --disabled-rule-groups REQUEST-942-APPLICATION-ATTACK-SQLI \\ + --disabled-rules 920130 920140 + - name: Configure WAF on an application gateway with exclusions. + text: | + az network application-gateway waf-config set -g MyResourceGroup -n MyAppGateway \\ + --enabled true --firewall-mode Detection --rule-set-version 3.0 \\ + --exclusion "RequestHeaderNames StartsWith x-header" \\ + --exclusion "RequestArgNames Equals IgnoreThis" """ helps['network application-gateway waf-config show'] = """ diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py index c57f152b5c0..331200a0d0e 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py @@ -27,7 +27,8 @@ get_network_watcher_from_vm, get_network_watcher_from_location, get_asg_validator, get_vnet_validator, validate_ip_tags, validate_ddos_name_or_id, validate_service_endpoint_policy, validate_delegations, validate_subresource_list, - validate_er_peer_circuit, validate_ag_address_pools, validate_custom_error_pages) + validate_er_peer_circuit, validate_ag_address_pools, validate_custom_error_pages, + WafConfigExclusionAction) from azure.mgmt.trafficmanager.models import MonitorProtocol, ProfileStatus from azure.cli.command_modules.network._completers import ( subnet_completion_list, get_lb_subresource_completion_list, get_ag_subresource_completion_list, @@ -276,6 +277,7 @@ def load_arguments(self, _): c.argument('file_upload_limit', help='File upload size limit in MB.', type=int) c.argument('max_request_body_size', help='Max request body size in KB.', type=int) c.argument('request_body_check', arg_type=get_three_state_flag(), help='Allow WAF to check the request body.') + c.argument('exclusions', nargs='+', options_list='--exclusion', action=WafConfigExclusionAction) for item in ['ssl-policy', 'waf-config']: with self.argument_context('network application-gateway {}'.format(item)) as c: diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_validators.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_validators.py index 153614791c8..dae5446b450 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_validators.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/_validators.py @@ -193,7 +193,7 @@ def validate_ssl_cert(namespace): else: # cert supplied -- use HTTPS if not all(params): - raise argparse.ArgumentError( + raise CLIError( None, 'To use SSL certificate, you must specify both the filename and password') # extract the certificate data from the provided file @@ -1278,3 +1278,23 @@ def validate_custom_error_pages(namespace): except (ValueError, TypeError): raise CLIError('usage error: --custom-error-pages STATUS_CODE=URL [STATUS_CODE=URL ...]') namespace.custom_error_pages = values + + +# pylint: disable=too-few-public-methods +class WafConfigExclusionAction(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + cmd = namespace._cmd # pylint: disable=protected-access + ApplicationGatewayFirewallExclusion = cmd.get_models('ApplicationGatewayFirewallExclusion') + if not namespace.exclusions: + namespace.exclusions = [] + if isinstance(values, list): + values = ' '.join(values) + try: + variable, op, selector = values.split(' ') + except (ValueError, TypeError): + raise CLIError('usage error: --exclusion VARIABLE OPERATOR VALUE') + namespace.exclusions.append(ApplicationGatewayFirewallExclusion( + match_variable=variable, + selector_match_operator=op, + selector=selector + )) diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py index fc6ab03a0d3..2ca724c4d61 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py @@ -783,7 +783,8 @@ def set_ag_waf_config_2017_03_01(cmd, resource_group_name, application_gateway_n rule_set_type='OWASP', rule_set_version=None, disabled_rule_groups=None, disabled_rules=None, no_wait=False, - request_body_check=None, max_request_body_size=None, file_upload_limit=None): + request_body_check=None, max_request_body_size=None, file_upload_limit=None, + exclusions=None): ApplicationGatewayWebApplicationFirewallConfiguration = cmd.get_models( 'ApplicationGatewayWebApplicationFirewallConfiguration') ncf = network_client_factory(cmd.cli_ctx).application_gateways @@ -824,6 +825,7 @@ def _flatten(collection, expand_property_fn): ag.web_application_firewall_configuration.request_body_check = request_body_check ag.web_application_firewall_configuration.max_request_body_size_in_kb = max_request_body_size ag.web_application_firewall_configuration.file_upload_limit_in_mb = file_upload_limit + ag.web_application_firewall_configuration.exclusions = exclusions return sdk_no_wait(no_wait, ncf.create_or_update, resource_group_name, application_gateway_name, ag) diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_config.yaml b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_config.yaml index c0252405729..e1677169f96 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_config.yaml +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_config.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-09-10T15:23:50Z"}}' + "date": "2018-11-26T23:57:18Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [--location --name --tag] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001","name":"cli_test_app_gateway_waf_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-10T15:23:50Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001","name":"cli_test_app_gateway_waf_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:57:18Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:23:53 GMT'] + date: ['Mon, 26 Nov 2018 23:57:21 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -36,19 +36,19 @@ interactions: CommandName: [network application-gateway create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001","name":"cli_test_app_gateway_waf_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-10T15:23:50Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001","name":"cli_test_app_gateway_waf_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:57:18Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:23:59 GMT'] + date: ['Mon, 26 Nov 2018 23:57:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -63,9 +63,9 @@ interactions: CommandName: [network application-gateway create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_app_gateway_waf_config000001%27%20and%20name%20eq%20%27vnet1%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2018-05-01 @@ -75,7 +75,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:23:58 GMT'] + date: ['Mon, 26 Nov 2018 23:57:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -90,9 +90,9 @@ interactions: CommandName: [network application-gateway create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_app_gateway_waf_config000001%27%20and%20name%20eq%20%27pip1%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2018-05-01 @@ -102,7 +102,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:23:59 GMT'] + date: ['Mon, 26 Nov 2018 23:57:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -137,30 +137,30 @@ interactions: {"RuleType": "Basic", "httpListener": {"id": "[concat(variables(\''appGwID\''), \''/httpListeners/appGatewayHttpListener\'')]"}, "backendAddressPool": {"id": "[concat(variables(\''appGwID\''), \''/backendAddressPools/appGatewayBackendPool\'')]"}, - "backendHttpSettings": {"id": "[concat(variables(\''appGwID\''), \''/backendHttpSettingsCollection/appGatewayBackendHttpSettings\'')]"}}}]}}], - "outputs": {"applicationGateway": {"type": "object", "value": "[reference(\''ag1\'')]"}}}, - "parameters": {}, "mode": "Incremental"}}''' + "backendHttpSettings": {"id": "[concat(variables(\''appGwID\''), \''/backendHttpSettingsCollection/appGatewayBackendHttpSettings\'')]"}}}]}, + "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: ['2939'] + Content-Length: ['2954'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/ag_deploy_GZ6fdsO1EnOQFUohXAzvOUykq7sSVcNb","name":"ag_deploy_GZ6fdsO1EnOQFUohXAzvOUykq7sSVcNb","properties":{"templateHash":"15773458757971538981","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2018-09-10T15:24:02.0152107Z","duration":"PT0.6439894S","correlationId":"79c7878b-3387-4eda-921c-6f2a529cc29b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vnet1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"pip1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}]}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/ag_deploy_bCOMLhyJljk34d8qBqbQtCTxnBkRw94f","name":"ag_deploy_bCOMLhyJljk34d8qBqbQtCTxnBkRw94f","properties":{"templateHash":"1435003442453037809","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2018-11-26T23:57:26.1343872Z","duration":"PT0.6062283S","correlationId":"77891ce1-db65-4870-ab30-be59491582e6","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vnet1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"pip1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/ag_deploy_GZ6fdsO1EnOQFUohXAzvOUykq7sSVcNb/operationStatuses/08586650138441064043?api-version=2018-05-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/ag_deploy_bCOMLhyJljk34d8qBqbQtCTxnBkRw94f/operationStatuses/08586583302399494560?api-version=2018-05-01'] cache-control: [no-cache] - content-length: ['1644'] + content-length: ['1643'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:24:01 GMT'] + date: ['Mon, 26 Nov 2018 23:57:25 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -172,198 +172,124 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:24: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 create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:25: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:25: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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:26: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:26: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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:27: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] + CommandName: [network application-gateway wait] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --exists] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: - body: {string: '{"status":"Running"}'} + body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/applicationGateways/ag1'' + under resource group ''cli_test_app_gateway_waf_config000001'' was not found."}}'} headers: cache-control: [no-cache] - content-length: ['20'] + content-length: ['220'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:27:33 GMT'] + date: ['Mon, 26 Nov 2018 23:57:26 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} + x-ms-failure-cause: [gateway] + status: {code: 404, message: Not Found} - request: body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] + CommandName: [network application-gateway wait] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n --exists] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: - body: {string: '{"status":"Running"}'} + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"27e082e1-f071-4b52-b1da-e50a061e238f\",\r\n \"sku\": + {\r\n \"name\": \"WAF_Medium\",\r\n \"tier\": \"WAF\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"authenticationCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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 \"redirectConfigurations\": + []\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['20'] + content-length: ['9012'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:28:04 GMT'] + date: ['Mon, 26 Nov 2018 23:57:57 GMT'] + etag: [W/"316e98fa-ca19-409a-9209-03368de74e01"] expires: ['-1'] pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] status: {code: 200, message: OK} @@ -372,23 +298,97 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] + CommandName: [network application-gateway show] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g -n] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: - body: {string: '{"status":"Running"}'} + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"27e082e1-f071-4b52-b1da-e50a061e238f\",\r\n \"sku\": + {\r\n \"name\": \"WAF_Medium\",\r\n \"tier\": \"WAF\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"authenticationCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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 \"redirectConfigurations\": + []\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['20'] + content-length: ['9012'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:28:34 GMT'] + date: ['Mon, 26 Nov 2018 23:57:57 GMT'] + etag: [W/"316e98fa-ca19-409a-9209-03368de74e01"] expires: ['-1'] pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] status: {code: 200, message: OK} @@ -397,608 +397,35 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] + CommandName: [network application-gateway waf-config set] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [-g --gateway-name --enabled --firewall-mode --rule-set-version + --disabled-rule-groups --disabled-rules --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:29: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:29: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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:30: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:30:35 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:31: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:31:35 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:32: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:32: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:34: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:34: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:35: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:35: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:36: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:36:38 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:37:08 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:37:38 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:38:08 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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:38: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39: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] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586650138441064043?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway create] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Resources/deployments/ag_deploy_GZ6fdsO1EnOQFUohXAzvOUykq7sSVcNb","name":"ag_deploy_GZ6fdsO1EnOQFUohXAzvOUykq7sSVcNb","properties":{"templateHash":"15773458757971538981","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2018-09-10T15:39:28.1716485Z","duration":"PT15M26.8004272S","correlationId":"79c7878b-3387-4eda-921c-6f2a529cc29b","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"applicationGateways","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vnet1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"pip1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1","resourceType":"Microsoft.Network/applicationGateways","resourceName":"ag1"}],"outputs":{"applicationGateway":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"7dbbdfbe-3855-49ad-8044-f18cd77de5e1","sku":{"name":"WAF_Medium","tier":"WAF","capacity":2},"operationalState":"Running","gatewayIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","properties":{"provisioningState":"Succeeded","subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}},"type":"Microsoft.Network/applicationGateways/gatewayIPConfigurations"}],"sslCertificates":[],"authenticationCertificates":[],"frontendIPConfigurations":[{"name":"appGatewayFrontendIP","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","type":"Microsoft.Network/applicationGateways/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1"},"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}]}}],"frontendPorts":[{"name":"appGatewayFrontendPort","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","properties":{"provisioningState":"Succeeded","port":80,"httpListeners":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","properties":{"provisioningState":"Succeeded","backendAddresses":[],"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1"}]},"type":"Microsoft.Network/applicationGateways/backendAddressPools"}],"backendHttpSettingsCollection":[{"name":"appGatewayBackendHttpSettings","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","properties":{"provisioningState":"Succeeded","frontendIPConfiguration":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"},"frontendPort":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"},"protocol":"Http","requireServerNameIndication":false,"requestRoutingRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1","etag":"W/\"311517a6-c14a-40b8-9281-618eca256607\"","properties":{"provisioningState":"Succeeded","ruleType":"Basic","httpListener":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"},"backendAddressPool":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"},"backendHttpSettings":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}},"type":"Microsoft.Network/applicationGateways/requestRoutingRules"}],"probes":[],"redirectConfigurations":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['9285'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39: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: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network application-gateway waf-config set] - Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7dbbdfbe-3855-49ad-8044-f18cd77de5e1\",\r\n \"sku\": + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"27e082e1-f071-4b52-b1da-e50a061e238f\",\r\n \"sku\": {\r\n \"name\": \"WAF_Medium\",\r\n \"tier\": \"WAF\",\r\n \"capacity\": - 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"authenticationCertificates\": [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": @@ -1006,22 +433,22 @@ 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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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\": @@ -1030,8 +457,8 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": @@ -1040,8 +467,8 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"311517a6-c14a-40b8-9281-618eca256607\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"etag\": \"W/\\\"316e98fa-ca19-409a-9209-03368de74e01\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n \ },\r\n \"backendAddressPool\": {\r\n \"id\": @@ -1053,10 +480,10 @@ interactions: []\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['9020'] + content-length: ['9012'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39:41 GMT'] - etag: [W/"311517a6-c14a-40b8-9281-618eca256607"] + date: ['Mon, 26 Nov 2018 23:57:59 GMT'] + etag: [W/"316e98fa-ca19-409a-9209-03368de74e01"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1072,8 +499,10 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network application-gateway waf-config set] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g --gateway-name --enabled --firewall-mode --rule-set-version + --disabled-rule-groups --disabled-rules --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets?api-version=2018-08-01 @@ -2071,7 +1500,7 @@ interactions: cache-control: [no-cache] content-length: ['73781'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39:42 GMT'] + date: ['Mon, 26 Nov 2018 23:58:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -2085,73 +1514,75 @@ interactions: "location": "westus", "tags": {}, "properties": {"sku": {"name": "WAF_Medium", "tier": "WAF", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}, - "provisioningState": "Succeeded"}, "name": "appGatewayFrontendIP", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + "provisioningState": "Updating"}, "name": "appGatewayFrontendIP", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/gatewayIPConfigurations"}], "authenticationCertificates": [], "sslCertificates": [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/publicIPAddresses/pip1"}, - "provisioningState": "Succeeded"}, "name": "appGatewayFrontendIP", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + "provisioningState": "Updating"}, "name": "appGatewayFrontendIP", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/frontendIPConfigurations"}], "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort", - "properties": {"port": 80, "provisioningState": "Succeeded"}, "name": "appGatewayFrontendPort", - "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", "type": "Microsoft.Network/applicationGateways/frontendPorts"}], + "properties": {"port": 80, "provisioningState": "Updating"}, "name": "appGatewayFrontendPort", + "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/frontendPorts"}], "probes": [], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool", - "properties": {"backendAddresses": [], "provisioningState": "Succeeded"}, "name": - "appGatewayBackendPool", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + "properties": {"backendAddresses": [], "provisioningState": "Updating"}, "name": + "appGatewayBackendPool", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/backendAddressPools"}], "backendHttpSettingsCollection": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings", "properties": {"port": 80, "protocol": "Http", "cookieBasedAffinity": "Disabled", "requestTimeout": 30, "connectionDraining": {"enabled": false, "drainTimeoutInSec": - 1}, "pickHostNameFromBackendAddress": false, "provisioningState": "Succeeded"}, - "name": "appGatewayBackendHttpSettings", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + 1}, "pickHostNameFromBackendAddress": false, "provisioningState": "Updating"}, + "name": "appGatewayBackendHttpSettings", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}], "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, "protocol": "Http", "requireServerNameIndication": false, "provisioningState": - "Succeeded"}, "name": "appGatewayHttpListener", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + "Updating"}, "name": "appGatewayHttpListener", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/httpListeners"}], "urlPathMaps": [], "requestRoutingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", "properties": {"ruleType": "Basic", "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}, - "provisioningState": "Succeeded"}, "name": "rule1", "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\"", + "provisioningState": "Updating"}, "name": "rule1", "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\"", "type": "Microsoft.Network/applicationGateways/requestRoutingRules"}], "redirectConfigurations": [], "webApplicationFirewallConfiguration": {"enabled": true, "firewallMode": "Prevention", "ruleSetType": "OWASP", "ruleSetVersion": "2.2.9", "disabledRuleGroups": [{"ruleGroupName": "crs_30_http_policy"}, {"ruleGroupName": "crs_49_inbound_blocking", - "rules": [981175, 981176]}]}, "resourceGuid": "7dbbdfbe-3855-49ad-8044-f18cd77de5e1", - "provisioningState": "Succeeded"}, "etag": "W/\\"311517a6-c14a-40b8-9281-618eca256607\\""}''' + "rules": [981175, 981176]}]}, "resourceGuid": "27e082e1-f071-4b52-b1da-e50a061e238f", + "provisioningState": "Updating"}, "etag": "W/\\"316e98fa-ca19-409a-9209-03368de74e01\\""}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network application-gateway waf-config set] Connection: [keep-alive] - Content-Length: ['6375'] + Content-Length: ['6367'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g --gateway-name --enabled --firewall-mode --rule-set-version + --disabled-rule-groups --disabled-rules --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"7dbbdfbe-3855-49ad-8044-f18cd77de5e1\",\r\n \"sku\": + \ \"resourceGuid\": \"27e082e1-f071-4b52-b1da-e50a061e238f\",\r\n \"sku\": {\r\n \"name\": \"WAF_Medium\",\r\n \"tier\": \"WAF\",\r\n \"capacity\": - 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"authenticationCertificates\": [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2161,21 +1592,21 @@ 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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\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_app_gateway_waf_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\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\": @@ -2185,7 +1616,7 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -2195,7 +1626,7 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"d28402ea-aac6-4604-9763-574d76f44a50\\\"\",\r\n + \ \"etag\": \"W/\\\"51e6efb8-7039-4670-a44a-b5f8422207e3\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n @@ -2213,11 +1644,11 @@ interactions: \ \"rules\": [\r\n 981175,\r\n 981176\r\n ]\r\n \ }\r\n ]\r\n }\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b34d31e4-f8f1-4176-8b0d-0d6d3f215f75?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f73a8612-313f-4275-9579-0d3d90608381?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['9457'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39:42 GMT'] + date: ['Mon, 26 Nov 2018 23:58:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -2234,29 +1665,30 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network application-gateway waf-config show] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g --gateway-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\r\n \"type\": \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"7dbbdfbe-3855-49ad-8044-f18cd77de5e1\",\r\n \"sku\": + \ \"resourceGuid\": \"27e082e1-f071-4b52-b1da-e50a061e238f\",\r\n \"sku\": {\r\n \"name\": \"WAF_Medium\",\r\n \"tier\": \"WAF\",\r\n \"capacity\": - 2\r\n },\r\n \"operationalState\": \"Running\",\r\n \"gatewayIPConfigurations\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"authenticationCertificates\": [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\r\n \ \"type\": \"Microsoft.Network/applicationGateways/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2266,21 +1698,21 @@ 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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\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_app_gateway_waf_config000001/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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\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_app_gateway_waf_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\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\": @@ -2290,7 +1722,7 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n @@ -2300,7 +1732,7 @@ interactions: \ }\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2\\\"\",\r\n + \ \"etag\": \"W/\\\"29bf5631-3b5a-4718-8720-fa4fb69c775b\\\"\",\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_app_gateway_waf_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n @@ -2321,8 +1753,8 @@ interactions: cache-control: [no-cache] content-length: ['9457'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:39:43 GMT'] - etag: [W/"1985ec36-cc0a-45fb-b2a8-7f9b9e136bb2"] + date: ['Mon, 26 Nov 2018 23:58:02 GMT'] + etag: [W/"29bf5631-3b5a-4718-8720-fa4fb69c775b"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -2340,9 +1772,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_config000001?api-version=2018-05-01 @@ -2351,12 +1783,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 10 Sep 2018 15:39:44 GMT'] + date: ['Mon, 26 Nov 2018 23:58:03 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGQVBQOjVGR0FURVdBWTo1RldBRjo1RkNPTkZJR0VOWDdaQXxFQTJDODdEQTEyQzA3RDAwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGQVBQOjVGR0FURVdBWTo1RldBRjo1RkNPTkZJR0RJR1BUN3xFOUNCRUI3QkFBOTc1MDE0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_v2_config.yaml b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_v2_config.yaml new file mode 100644 index 00000000000..9296e919335 --- /dev/null +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_app_gateway_waf_v2_config.yaml @@ -0,0 +1,833 @@ +interactions: +- request: + body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-11-26T23:43:48Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_v2_config000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001","name":"cli_test_app_gateway_waf_v2_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:43:48Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:43:51 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: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network public-ip create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -n --sku] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_v2_config000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001","name":"cli_test_app_gateway_waf_v2_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:43:48Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:43:52 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; charset=utf-8] + ParameterSetName: [-g -n --sku] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"pip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\",\r\n + \ \"etag\": \"W/\\\"598a04b4-59d8-49da-87c4-4b59b77698f2\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"2283128b-e2ad-41c9-971a-797c0bd0cb16\",\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-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e9cec837-4a6e-490b-9560-c9f423814e67?api-version=2018-08-01'] + cache-control: [no-cache] + content-length: ['683'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:43:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- 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: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e9cec837-4a6e-490b-9560-c9f423814e67?api-version=2018-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: ['Mon, 26 Nov 2018 23:43:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- 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: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e9cec837-4a6e-490b-9560-c9f423814e67?api-version=2018-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: ['Mon, 26 Nov 2018 23:43: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] + status: {code: 200, message: OK} +- 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: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"pip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\",\r\n + \ \"etag\": \"W/\\\"ef5fa088-6aaf-429d-bfa7-5f7766835fca\\\"\",\r\n \"location\": + \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"2283128b-e2ad-41c9-971a-797c0bd0cb16\",\r\n \"ipAddress\": + \"13.83.144.218\",\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: ['719'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:43:58 GMT'] + etag: [W/"ef5fa088-6aaf-429d-bfa7-5f7766835fca"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_v2_config000001?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001","name":"cli_test_app_gateway_waf_v2_config000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:43:48Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:43: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: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_app_gateway_waf_v2_config000001%27%20and%20name%20eq%20%27vnet1%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FvirtualNetworks%27&api-version=2018-05-01 + response: + body: {string: '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23: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: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_app_gateway_waf_v2_config000001%27%20and%20name%20eq%20%27pip1%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2018-05-01 + response: + body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1","name":"pip1","type":"Microsoft.Network/publicIPAddresses","sku":{"name":"Standard","tier":"Regional"},"location":"westus"}]}'} + headers: + cache-control: [no-cache] + content-length: ['337'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23: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: 'b''{"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": "vnet1", "type": "Microsoft.Network/virtualNetworks", + "location": "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, + "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": + [{"name": "subnet1", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Network/applicationGateways", "name": "ag1", "location": "westus", + "tags": {}, "apiVersion": "2018-08-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vnet1"], + "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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1"}}}], + "frontendPorts": [{"name": "appGatewayFrontendPort", "properties": {"Port": + 80}}], "gatewayIPConfigurations": [{"name": "appGatewayFrontendIP", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}}}], + "httpListeners": [{"name": "appGatewayHttpListener", "properties": {"FrontendIpConfiguration": + {"Id": "[concat(variables(\''appGwID\''), \''/frontendIPConfigurations/appGatewayFrontendIP\'')]"}, + "FrontendPort": {"Id": "[concat(variables(\''appGwID\''), \''/frontendPorts/appGatewayFrontendPort\'')]"}, + "Protocol": "http", "SslCertificate": null}}], "sku": {"name": "WAF_v2", "tier": + "WAF_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\'')]"}}}]}, + "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: ['2710'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -n --subnet --vnet-name --public-ip-address --sku --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Resources/deployments/ag_deploy_zBZuih5FQ8EThiGR0TIU2VS8buO9w7en","name":"ag_deploy_zBZuih5FQ8EThiGR0TIU2VS8buO9w7en","properties":{"templateHash":"8846794628505860890","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2018-11-26T23:44:02.0550703Z","duration":"PT0.6639646S","correlationId":"36bde11c-d416-4a73-9f7b-93c56ed99c22","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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vnet1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Resources/deployments/ag_deploy_zBZuih5FQ8EThiGR0TIU2VS8buO9w7en/operationStatuses/08586583310440865154?api-version=2018-05-01'] + cache-control: [no-cache] + content-length: ['1305'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway wait] + Connection: [keep-alive] + ParameterSetName: [-g -n --exists] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + response: + body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/applicationGateways/ag1'' + under resource group ''cli_test_app_gateway_waf_v2_config000001'' was not + found."}}'} + headers: + cache-control: [no-cache] + content-length: ['220'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-failure-cause: [gateway] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway wait] + Connection: [keep-alive] + ParameterSetName: [-g -n --exists] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"996f15eb-e68a-4590-a0f8-f6e5483e52ef\",\r\n \"sku\": + {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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 \"redirectConfigurations\": + []\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['9008'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:33 GMT'] + etag: [W/"72d21925-01af-4e8b-bdc5-87f5f1161029"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway waf-config set] + Connection: [keep-alive] + ParameterSetName: [-g --gateway-name --enabled --firewall-mode --rule-set-version + --exclusion --exclusion --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"996f15eb-e68a-4590-a0f8-f6e5483e52ef\",\r\n \"sku\": + {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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 \"redirectConfigurations\": + []\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['9008'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:34 GMT'] + etag: [W/"72d21925-01af-4e8b-bdc5-87f5f1161029"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1", + "location": "westus", "tags": {}, "properties": {"sku": {"name": "WAF_v2", "tier": + "WAF_v2", "capacity": 2}, "gatewayIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"}, + "provisioningState": "Updating"}, "name": "appGatewayFrontendIP", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/gatewayIPConfigurations"}], "trustedRootCertificates": + [], "sslCertificates": [], "frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP", + "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1"}, + "provisioningState": "Updating"}, "name": "appGatewayFrontendIP", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/frontendIPConfigurations"}], + "frontendPorts": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort", + "properties": {"port": 80, "provisioningState": "Updating"}, "name": "appGatewayFrontendPort", + "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", "type": "Microsoft.Network/applicationGateways/frontendPorts"}], + "probes": [], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool", + "properties": {"backendAddresses": [], "provisioningState": "Updating"}, "name": + "appGatewayBackendPool", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/backendAddressPools"}], "backendHttpSettingsCollection": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings", + "properties": {"port": 80, "protocol": "Http", "cookieBasedAffinity": "Disabled", + "requestTimeout": 30, "connectionDraining": {"enabled": false, "drainTimeoutInSec": + 1}, "pickHostNameFromBackendAddress": false, "provisioningState": "Updating"}, + "name": "appGatewayBackendHttpSettings", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/backendHttpSettingsCollection"}], + "httpListeners": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener", + "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}, + "frontendPort": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort"}, + "protocol": "Http", "requireServerNameIndication": false, "provisioningState": + "Updating"}, "name": "appGatewayHttpListener", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/httpListeners"}], "urlPathMaps": + [], "requestRoutingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1", + "properties": {"ruleType": "Basic", "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool"}, + "backendHttpSettings": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings"}, + "httpListener": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener"}, + "provisioningState": "Updating"}, "name": "rule1", "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\"", + "type": "Microsoft.Network/applicationGateways/requestRoutingRules"}], "redirectConfigurations": + [], "webApplicationFirewallConfiguration": {"enabled": true, "firewallMode": + "Prevention", "ruleSetType": "OWASP", "ruleSetVersion": "3.0", "exclusions": + [{"matchVariable": "RequestHeaderNames", "selectorMatchOperator": "StartsWith", + "selector": "abc"}, {"matchVariable": "RequestArgNames", "selectorMatchOperator": + "Equals", "selector": "def"}]}, "resourceGuid": "996f15eb-e68a-4590-a0f8-f6e5483e52ef", + "provisioningState": "Updating"}, "etag": "W/\\"72d21925-01af-4e8b-bdc5-87f5f1161029\\""}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway waf-config set] + Connection: [keep-alive] + Content-Length: ['6430'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g --gateway-name --enabled --firewall-mode --rule-set-version + --exclusion --exclusion --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"996f15eb-e68a-4590-a0f8-f6e5483e52ef\",\r\n \"sku\": + {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\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_app_gateway_waf_v2_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"ea996de2-db18-4c37-8222-89368f0c7a59\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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 \"redirectConfigurations\": + [],\r\n \"webApplicationFirewallConfiguration\": {\r\n \"enabled\": + true,\r\n \"firewallMode\": \"Prevention\",\r\n \"ruleSetType\": + \"OWASP\",\r\n \"ruleSetVersion\": \"3.0\",\r\n \"disabledRuleGroups\": + [],\r\n \"exclusions\": [\r\n {\r\n \"matchVariable\": + \"RequestHeaderNames\",\r\n \"selectorMatchOperator\": \"StartsWith\",\r\n + \ \"selector\": \"abc\"\r\n },\r\n {\r\n \"matchVariable\": + \"RequestArgNames\",\r\n \"selectorMatchOperator\": \"Equals\",\r\n + \ \"selector\": \"def\"\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7dc87bf8-15aa-4ddc-87a5-04f7eb307a9f?api-version=2018-08-01'] + cache-control: [no-cache] + content-length: ['9547'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:34 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network application-gateway waf-config show] + Connection: [keep-alive] + ParameterSetName: [-g --gateway-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1?api-version=2018-08-01 + response: + body: {string: "{\r\n \"name\": \"ag1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\r\n \"type\": + \"Microsoft.Network/applicationGateways\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"996f15eb-e68a-4590-a0f8-f6e5483e52ef\",\r\n \"sku\": + {\r\n \"name\": \"WAF_v2\",\r\n \"tier\": \"WAF_v2\",\r\n \"capacity\": + 2\r\n },\r\n \"operationalState\": \"Stopped\",\r\n \"gatewayIPConfigurations\": + [\r\n {\r\n \"name\": \"appGatewayFrontendIP\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/applicationGateways/gatewayIPConfigurations\"\r\n + \ }\r\n ],\r\n \"sslCertificates\": [],\r\n \"trustedRootCertificates\": + [],\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": + \"appGatewayFrontendIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/publicIPAddresses/pip1\"\r\n + \ },\r\n \"httpListeners\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\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_app_gateway_waf_v2_config000001/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 \"backendHttpSettingsCollection\": [\r\n {\r\n + \ \"name\": \"appGatewayBackendHttpSettings\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendHttpSettingsCollection/appGatewayBackendHttpSettings\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\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_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP\"\r\n + \ },\r\n \"frontendPort\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/frontendPorts/appGatewayFrontendPort\"\r\n + \ },\r\n \"protocol\": \"Http\",\r\n \"requireServerNameIndication\": + false,\r\n \"requestRoutingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/requestRoutingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"95ba9244-c523-4898-8c9e-92a4c8bf8a0b\\\"\",\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_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/httpListeners/appGatewayHttpListener\"\r\n + \ },\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/providers/Microsoft.Network/applicationGateways/ag1/backendAddressPools/appGatewayBackendPool\"\r\n + \ },\r\n \"backendHttpSettings\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_v2_config000001/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 \"redirectConfigurations\": + [],\r\n \"webApplicationFirewallConfiguration\": {\r\n \"enabled\": + true,\r\n \"firewallMode\": \"Prevention\",\r\n \"ruleSetType\": + \"OWASP\",\r\n \"ruleSetVersion\": \"3.0\",\r\n \"disabledRuleGroups\": + [],\r\n \"exclusions\": [\r\n {\r\n \"matchVariable\": + \"RequestHeaderNames\",\r\n \"selectorMatchOperator\": \"StartsWith\",\r\n + \ \"selector\": \"abc\"\r\n },\r\n {\r\n \"matchVariable\": + \"RequestArgNames\",\r\n \"selectorMatchOperator\": \"Equals\",\r\n + \ \"selector\": \"def\"\r\n }\r\n ]\r\n }\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['9547'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 26 Nov 2018 23:44:35 GMT'] + etag: [W/"95ba9244-c523-4898-8c9e-92a4c8bf8a0b"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_app_gateway_waf_v2_config000001?api-version=2018-05-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 26 Nov 2018 23:44:36 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGQVBQOjVGR0FURVdBWTo1RldBRjo1RlYyOjVGQ09ORklHNXxDN0IwNTZCOTUwMERGRDk2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet.yaml b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet.yaml index 8d0cfa46b21..4f231f885cb 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet.yaml +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-09-10T15:33:09Z"}}' + "date": "2018-11-26T23:31:59Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [--location --name --tag] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_vnet_test000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001","name":"cli_vnet_test000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-10T15:33:09Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001","name":"cli_vnet_test000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:31:59Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:11 GMT'] + date: ['Mon, 26 Nov 2018 23:32:03 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -36,19 +36,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --subnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_vnet_test000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001","name":"cli_vnet_test000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-09-10T15:33:09Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001","name":"cli_vnet_test000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-11-26T23:31:59Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:12 GMT'] + date: ['Mon, 26 Nov 2018 23:32:04 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -66,39 +66,40 @@ interactions: Connection: [keep-alive] Content-Length: ['205'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --subnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"f426934b-173f-4419-854f-920b401963b6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"f2d27301-a51e-4bf8-893e-10576cb48dad\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"f426934b-173f-4419-854f-920b401963b6\\\"\",\r\n + \ \"etag\": \"W/\\\"f2d27301-a51e-4bf8-893e-10576cb48dad\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/35bf11e9-bd7d-488f-bf6b-d12f4a19819f?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f57026a2-14b8-4852-ba1a-a6f8bded939b?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['1322'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:14 GMT'] + date: ['Mon, 26 Nov 2018 23:32:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -107,17 +108,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --subnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/35bf11e9-bd7d-488f-bf6b-d12f4a19819f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f57026a2-14b8-4852-ba1a-a6f8bded939b?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:17 GMT'] + date: ['Mon, 26 Nov 2018 23:32:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -133,17 +135,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --subnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/35bf11e9-bd7d-488f-bf6b-d12f4a19819f?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f57026a2-14b8-4852-ba1a-a6f8bded939b?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:27 GMT'] + date: ['Mon, 26 Nov 2018 23:32:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -159,21 +162,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --subnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -183,8 +187,8 @@ interactions: cache-control: [no-cache] content-length: ['1324'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:27 GMT'] - etag: [W/"df24b7bc-cb28-425d-a65e-db33efdf541a"] + date: ['Mon, 26 Nov 2018 23:32:20 GMT'] + etag: [W/"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -200,8 +204,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet check-ip-address] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --ip-address] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/CheckIPAddressAvailability?ipAddress=10.0.0.50&api-version=2018-08-01 @@ -211,7 +216,7 @@ interactions: cache-control: [no-cache] content-length: ['25'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:27 GMT'] + date: ['Mon, 26 Nov 2018 23:32:21 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -227,8 +232,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet check-ip-address] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --ip-address] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/CheckIPAddressAvailability?ipAddress=10.0.0.0&api-version=2018-08-01 @@ -240,7 +246,7 @@ interactions: cache-control: [no-cache] content-length: ['145'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:28 GMT'] + date: ['Mon, 26 Nov 2018 23:32:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -256,25 +262,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2018-08-01 response: - body: {string: '{"value":[{"name":"conveniencevm1VNET","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_nic_convenience_testrhyjnjxtcz7lwtgculbqnzl5ep64ieptqo7vq4ap7lmgswaearr/providers/Microsoft.Network/virtualNetworks/conveniencevm1VNET","etag":"W/\"3976d6ad-68a4-42de-9cc3-da8c70dca658\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"ffbcda0e-0a8a-4b63-b10a-bd51eb34329f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"conveniencevm1Subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_nic_convenience_testrhyjnjxtcz7lwtgculbqnzl5ep64ieptqo7vq4ap7lmgswaearr/providers/Microsoft.Network/virtualNetworks/conveniencevm1VNET/subnets/conveniencevm1Subnet","etag":"W/\"3976d6ad-68a4-42de-9cc3-da8c70dca658\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_nic_convenience_testrhyjnjxtcz7lwtgculbqnzl5ep64ieptqo7vq4ap7lmgswaearr/providers/Microsoft.Network/networkInterfaces/conveniencevm1VMNic/ipConfigurations/ipconfigconveniencevm1"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag1Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_basicbp3qdzvnnll3daq4bzknrg64xupe6chaukkcwmi7ugjybkdxwu7to5atpg/providers/Microsoft.Network/virtualNetworks/ag1Vnet","etag":"W/\"3bc9aa0c-1157-40e4-93de-f296d8e0de60\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"b24f79b1-cb5c-4554-b943-b850f7f33e94","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_basicbp3qdzvnnll3daq4bzknrg64xupe6chaukkcwmi7ugjybkdxwu7to5atpg/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default","etag":"W/\"3bc9aa0c-1157-40e4-93de-f296d8e0de60\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_basicbp3qdzvnnll3daq4bzknrg64xupe6chaukkcwmi7ugjybkdxwu7to5atpg/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}],"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_basicbp3qdzvnnll3daq4bzknrg64xupe6chaukkcwmi7ugjybkdxwu7to5atpg/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag1Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/virtualNetworks/ag1Vnet","etag":"W/\"d45b40a7-9a53-4f8a-a47b-b906ebbc3117\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"34ba96d4-18ba-4185-b75c-bec7a2226233","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default","etag":"W/\"d45b40a7-9a53-4f8a-a47b-b906ebbc3117\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}],"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag2Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/virtualNetworks/ag2Vnet","etag":"W/\"3e179286-7a1d-4a83-9531-23c7858540b2\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{"a":"b","c":"d"},"properties":{"provisioningState":"Succeeded","resourceGuid":"6bfe242f-d455-45a8-8437-9a857639ee2a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/virtualNetworks/ag2Vnet/subnets/default","etag":"W/\"3e179286-7a1d-4a83-9531-23c7858540b2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/applicationGateways/ag2/frontendIPConfigurations/appGatewayFrontendIP"}],"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_no_waittq3jszb5b7fqvqevi64tumzalhpnreqhyqc746vm2cehldrurgowufxf/providers/Microsoft.Network/applicationGateways/ag2/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag3Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_private_ip2ibodvlxw2uj6beb33x4jxitfoqlnqoxv3cu4tirb4g5rvipssdcc/providers/Microsoft.Network/virtualNetworks/ag3Vnet","etag":"W/\"f6a081d3-e58a-4bfe-b88c-e2446343ad11\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"25971d15-164a-420b-9afc-de2aa3f23f29","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_private_ip2ibodvlxw2uj6beb33x4jxitfoqlnqoxv3cu4tirb4g5rvipssdcc/providers/Microsoft.Network/virtualNetworks/ag3Vnet/subnets/subnet1","etag":"W/\"f6a081d3-e58a-4bfe-b88c-e2446343ad11\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_private_ip2ibodvlxw2uj6beb33x4jxitfoqlnqoxv3cu4tirb4g5rvipssdcc/providers/Microsoft.Network/applicationGateways/ag3/frontendIPConfigurations/appGatewayFrontendIP"}],"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_private_ip2ibodvlxw2uj6beb33x4jxitfoqlnqoxv3cu4tirb4g5rvipssdcc/providers/Microsoft.Network/applicationGateways/ag3/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet4","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_public_ipmbkidlucpsuzo6d7zsfbmugjvbt2gjfn52l7l3vmtllxmikmmbs5cn/providers/Microsoft.Network/virtualNetworks/vnet4","etag":"W/\"97ae828c-760a-4bd0-beb8-e86657c08061\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"d3c13e3e-b3ea-4d38-95e4-afdd9e935134","addressSpace":{"addressPrefixes":["10.0.0.1/16"]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_public_ipmbkidlucpsuzo6d7zsfbmugjvbt2gjfn52l7l3vmtllxmikmmbs5cn/providers/Microsoft.Network/virtualNetworks/vnet4/subnets/subnet1","etag":"W/\"97ae828c-760a-4bd0-beb8-e86657c08061\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.1/28","applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_public_ipmbkidlucpsuzo6d7zsfbmugjvbt2gjfn52l7l3vmtllxmikmmbs5cn/providers/Microsoft.Network/applicationGateways/test4/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configenx7zaeqp37uhj4cnqs3fxmjpccy2xwa6ei3s4b35dm3/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"2a7b27a6-e323-4191-9105-2ef6e16e3068\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"31759bea-47b7-49cf-9d69-a7df3f3a8a3d","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configenx7zaeqp37uhj4cnqs3fxmjpccy2xwa6ei3s4b35dm3/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"2a7b27a6-e323-4191-9105-2ef6e16e3068\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configenx7zaeqp37uhj4cnqs3fxmjpccy2xwa6ei3s4b35dm3/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"mytestvnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer5ksbqejsz4byoafw375nxo522zjbeqece2dqt3lvuovr6psnel3ki/providers/Microsoft.Network/virtualNetworks/mytestvnet","etag":"W/\"bac306fb-f1d0-42c9-896f-b592e8846645\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"f79edcd8-6fc6-491b-882e-1725603d5c65","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer5ksbqejsz4byoafw375nxo522zjbeqece2dqt3lvuovr6psnel3ki/providers/Microsoft.Network/virtualNetworks/mytestvnet/subnets/default","etag":"W/\"bac306fb-f1d0-42c9-896f-b592e8846645\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer5ksbqejsz4byoafw375nxo522zjbeqece2dqt3lvuovr6psnel3ki/providers/Microsoft.Network/loadBalancers/lb3/frontendIPConfigurations/LoadBalancerFrontEnd"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer_ip_configameb57brsfalsxbscovlvgifnpgwalph3fc6ynze5kb/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"7e36f28d-244f-4312-a10a-975dae1e3d1b\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"5742fdbb-6f96-412a-90e3-acc09d158eed","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer_ip_configameb57brsfalsxbscovlvgifnpgwalph3fc6ynze5kb/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"7e36f28d-244f-4312-a10a-975dae1e3d1b\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer_ip_configameb57brsfalsxbscovlvgifnpgwalph3fc6ynze5kb/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/LoadBalancerFrontEnd"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"subnet2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_load_balancer_ip_configameb57brsfalsxbscovlvgifnpgwalph3fc6ynze5kb/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2","etag":"W/\"7e36f28d-244f-4312-a10a-975dae1e3d1b\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"myvnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_scenariovelkt2xxvqk5jhutq7lgrs7knydigztqn2rfe3gslo5qpz5evl7i2k/providers/Microsoft.Network/virtualNetworks/myvnet","etag":"W/\"7a24b7c5-7d13-4941-b4b6-c546cf839394\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"e4416b54-b24b-48a1-86be-2dccf1d5989d","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"mysubnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_scenariovelkt2xxvqk5jhutq7lgrs7knydigztqn2rfe3gslo5qpz5evl7i2k/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet","etag":"W/\"7a24b7c5-7d13-4941-b4b6-c546cf839394\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_subresourcej7asgh6p4cod4ey5tykyw4djq3myxqnsfyuxq4ueowocldi5gea/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"1888d95f-0509-4f9f-b08a-d387be8a50b2\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"c0e239a0-148b-4eca-a548-81ba4911bfb9","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_subresourcej7asgh6p4cod4ey5tykyw4djq3myxqnsfyuxq4ueowocldi5gea/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"1888d95f-0509-4f9f-b08a-d387be8a50b2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_subresourcej7asgh6p4cod4ey5tykyw4djq3myxqnsfyuxq4ueowocldi5gea/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"df24b7bc-cb28-425d-a65e-db33efdf541a\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"8ea4e11a-5130-4f94-aa0c-eebad07151de","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default","etag":"W/\"df24b7bc-cb28-425d-a65e-db33efdf541a\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ps5410","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ps5009/providers/Microsoft.Network/virtualNetworks/ps5410","etag":"W/\"123c22b0-8800-44b3-917b-4f8b60008cba\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Updating","resourceGuid":"941a6d1c-2b94-46e4-b657-c49d7da9e6db","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"ps196","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ps5009/providers/Microsoft.Network/virtualNetworks/ps5410/subnets/ps196","etag":"W/\"123c22b0-8800-44b3-917b-4f8b60008cba\"","properties":{"provisioningState":"Updating","addressPrefix":"10.0.1.0/24","serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"32f0cd5f-75e9-45fd-9615-c1814fbb032a\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"db4afcc1-0bbf-4a11-b240-077ed7dc6529","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"32f0cd5f-75e9-45fd-9615-c1814fbb032a\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"d266edd0-7a63-4ffe-b16d-2f5c38d1f717\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"a13283da-8ab3-4b65-8469-f46f12591cff","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"d266edd0-7a63-4ffe-b16d-2f5c38d1f717\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"ebae24a6-4622-413d-9a2b-f8abe522ae78\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"9180eb56-2fcd-4d6b-aa04-17c5bcadda2f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"ebae24a6-4622-413d-9a2b-f8abe522ae78\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"aae8ba14-4b14-42d1-b24a-8668f5146cb7\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"959a94dd-1db2-4d6e-9561-8e3723356d5c","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"aae8ba14-4b14-42d1-b24a-8668f5146cb7\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"bb264508-0d9a-419a-80a7-fff329b815a1\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"20c0434c-8228-44ea-88c9-d4bcc483b336","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"bb264508-0d9a-419a-80a7-fff329b815a1\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"299fd573-7d7e-4d8f-8979-849083fbc39f\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"6f3f508f-4b23-45c8-b619-a230edcade23","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"299fd573-7d7e-4d8f-8979-849083fbc39f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"1f2bb1ae-dbae-469e-8158-03c850679a85\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"4c37b451-b26e-4463-9dec-84f816edd9cf","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"1f2bb1ae-dbae-469e-8158-03c850679a85\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"2b3bdf08-f4c0-4e73-99bb-13b54cea360d\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"19d455d2-c8a7-42de-a7df-63ba3d8f0c12","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"2b3bdf08-f4c0-4e73-99bb-13b54cea360d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"5b96bab0-9c19-48ef-be68-db535bb0bf11\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"979dc169-c8e7-4b1e-9984-ee80eb5917f4","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"5b96bab0-9c19-48ef-be68-db535bb0bf11\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-lb/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"7d801f23-887a-41de-8616-d63bdc979801\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"c6430889-e989-4072-a177-1edd007f5fda","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-lb/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"7d801f23-887a-41de-8616-d63bdc979801\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-lb/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-lb/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/frontend2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-lb/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/frontend3"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps1487","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1487","etag":"W/\"63ea9711-0f94-46c7-bf4b-4f4e0c157bf2\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"ce0e29ab-dfa4-4590-9c3c-6297913ed1eb","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps1487","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1487/subnets/subnetcrptestps1487","etag":"W/\"63ea9711-0f94-46c7-bf4b-4f4e0c157bf2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/networkInterfaces/niccrptestps1487/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps1998","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1998","etag":"W/\"f38afc4f-fb4b-4c11-87cc-7f7c6b05b80f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3b2aba7f-0114-4c14-bf4f-d97463aafad6","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps1998","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1998/subnets/subnetcrptestps1998","etag":"W/\"f38afc4f-fb4b-4c11-87cc-7f7c6b05b80f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/networkInterfaces/niccrptestps1998/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps2688","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/virtualNetworks/vnetcrptestps2688","etag":"W/\"6dc2f5f4-e489-4091-b2b2-a858acdfd5d2\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"c0187a4c-6a0b-454c-b151-4ff561a0949f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps2688","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/virtualNetworks/vnetcrptestps2688/subnets/subnetcrptestps2688","etag":"W/\"6dc2f5f4-e489-4091-b2b2-a858acdfd5d2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/networkInterfaces/niccrptestps2688/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps3008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3008","etag":"W/\"8cf4ac72-123e-4012-9088-bf6d4c972f3c\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"00892645-f6af-41b4-927b-4edc7b5e102b","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps3008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3008/subnets/subnetcrptestps3008","etag":"W/\"8cf4ac72-123e-4012-9088-bf6d4c972f3c\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/networkInterfaces/niccrptestps3008/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps3883","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3883","etag":"W/\"c92300b4-232e-4461-83c0-a9ed19ed608f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"91c02f8c-6cb0-47fc-9202-0278f33fc3c5","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps3883","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3883/subnets/subnetcrptestps3883","etag":"W/\"c92300b4-232e-4461-83c0-a9ed19ed608f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/networkInterfaces/niccrptestps3883/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps4201","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/virtualNetworks/vnetcrptestps4201","etag":"W/\"cad7f447-78fa-4698-8aa2-0bbaa63d4cda\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3c2ee558-5cf4-4ac2-b3db-926b415377a3","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps4201","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/virtualNetworks/vnetcrptestps4201/subnets/subnetcrptestps4201","etag":"W/\"cad7f447-78fa-4698-8aa2-0bbaa63d4cda\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/networkInterfaces/niccrptestps4201/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps523","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/virtualNetworks/vnetcrptestps523","etag":"W/\"c6e07c2e-1e2b-4c54-9dbe-0f98c48ebbce\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2040d9b0-3fe8-40c7-abc3-da67143a833f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps523","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/virtualNetworks/vnetcrptestps523/subnets/subnetcrptestps523","etag":"W/\"c6e07c2e-1e2b-4c54-9dbe-0f98c48ebbce\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/networkInterfaces/niccrptestps523/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps5303","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/virtualNetworks/vnetcrptestps5303","etag":"W/\"aebfc153-bea2-4ea5-befe-23f17ca903d7\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"d5823782-ac33-4bd6-aed8-2f970319f305","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps5303","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/virtualNetworks/vnetcrptestps5303/subnets/subnetcrptestps5303","etag":"W/\"aebfc153-bea2-4ea5-befe-23f17ca903d7\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/networkInterfaces/niccrptestps5303/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps6248","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6248","etag":"W/\"a2e60822-0540-4a0c-84ba-b1df8e633731\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"154b5991-9083-4be5-8bfe-7acb6142bfc0","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps6248","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6248/subnets/subnetcrptestps6248","etag":"W/\"a2e60822-0540-4a0c-84ba-b1df8e633731\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/networkInterfaces/niccrptestps6248/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps6481","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6481","etag":"W/\"b9aede7d-e512-48ed-8ffc-375eeab57059\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"f13919e1-8f7e-4e3b-850c-4bcbbdc0b0f6","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps6481","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6481/subnets/subnetcrptestps6481","etag":"W/\"b9aede7d-e512-48ed-8ffc-375eeab57059\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/networkInterfaces/niccrptestps6481/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps7027","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7027","etag":"W/\"ae9670e9-b3df-429c-89ed-ef32670e3abd\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"8285edd5-ca1d-40b2-91a5-f57be9eba94c","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps7027","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7027/subnets/subnetcrptestps7027","etag":"W/\"ae9670e9-b3df-429c-89ed-ef32670e3abd\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/networkInterfaces/niccrptestps7027/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps7237","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7237","etag":"W/\"de05f754-01a1-4285-99cf-ebf91f5c835d\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"d1d9babf-8c63-4be5-8f87-d62511a695c7","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps7237","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7237/subnets/subnetcrptestps7237","etag":"W/\"de05f754-01a1-4285-99cf-ebf91f5c835d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/networkInterfaces/niccrptestps7237/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps8566","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8566","etag":"W/\"f6076af8-3add-4682-a294-3002157c141d\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2f4621d4-32ce-4904-b156-8de64ce13435","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps8566","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8566/subnets/subnetcrptestps8566","etag":"W/\"f6076af8-3add-4682-a294-3002157c141d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/networkInterfaces/niccrptestps8566/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps8706","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8706","etag":"W/\"0866a2c4-6d73-423a-97fd-90f434a2669e\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e0046edc-a43e-4d06-bca8-a1745a9edd1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps8706","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8706/subnets/subnetcrptestps8706","etag":"W/\"0866a2c4-6d73-423a-97fd-90f434a2669e\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/networkInterfaces/niccrptestps8706/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps9175","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9175","etag":"W/\"657a183b-1386-4671-b143-dc2eaaeda0ae\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"b58658c9-dbbf-453d-8d4b-6497fb853e41","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps9175","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9175/subnets/subnetcrptestps9175","etag":"W/\"657a183b-1386-4671-b143-dc2eaaeda0ae\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/networkInterfaces/niccrptestps9175/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps9909","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9909","etag":"W/\"a8a7920d-a785-4163-9e94-a6f4ff509cba\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3f96d6cb-19ae-4e76-8633-8755872556de","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps9909","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9909/subnets/subnetcrptestps9909","etag":"W/\"a8a7920d-a785-4163-9e94-a6f4ff509cba\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/networkInterfaces/niccrptestps9909/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"pary123Test","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Network/virtualNetworks/pary123Test","etag":"W/\"5239ee8b-2bf6-4057-a972-e0d8d04168c8\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2dcf8eba-0a63-4471-a551-186c109f0c36","addressSpace":{"addressPrefixes":["192.168.0.0/16"]},"subnets":[{"name":"pary123Test","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Network/virtualNetworks/pary123Test/subnets/pary123Test","etag":"W/\"5239ee8b-2bf6-4057-a972-e0d8d04168c8\"","properties":{"provisioningState":"Succeeded","addressPrefix":"192.168.1.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Compute/virtualMachineScaleSets/pary123Test/virtualMachines/0/networkInterfaces/pary123Test/ipConfigurations/pary123Test"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Compute/virtualMachineScaleSets/pary123Test/virtualMachines/2/networkInterfaces/pary123Test/ipConfigurations/pary123Test"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"myVirtualNetwork2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","type":"Microsoft.Network/virtualNetworks","location":"northcentralus","properties":{"provisioningState":"Succeeded","resourceGuid":"b000272c-c35a-462b-a4d8-a4b557284ab9","addressSpace":{"addressPrefixes":["10.1.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"Subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2/subnets/Subnet1","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.1.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1"},"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[{"name":"myVirtualNetwork1-myVirtualNetwork2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2/virtualNetworkPeerings/myVirtualNetwork1-myVirtualNetwork2","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","properties":{"provisioningState":"Failed","peeringState":"Initiated","remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork1"},"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"routeServiceVips":{}},"type":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings"}],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vm2VNET","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nw_connection_monitoribukgt6nuh57eabbq7tupulhspiy4rr22ww2dyu2od4cn/providers/Microsoft.Network/virtualNetworks/vm2VNET","etag":"W/\"1a4d3ea1-93fe-4607-ab22-4dbce8549997\"","type":"Microsoft.Network/virtualNetworks","location":"westcentralus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"c4e75422-63f3-430c-b729-fac2517a43f4","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"vm2Subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nw_connection_monitoribukgt6nuh57eabbq7tupulhspiy4rr22ww2dyu2od4cn/providers/Microsoft.Network/virtualNetworks/vm2VNET/subnets/vm2Subnet","etag":"W/\"1a4d3ea1-93fe-4607-ab22-4dbce8549997\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg5"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nw_connection_monitoribukgt6nuh57eabbq7tupulhspiy4rr22ww2dyu2od4cn/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}}]}'} + body: {string: '{"value":[{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configjavoe3sp6uvz7mx4a3ukqxlhn43u6n33fjt6nwm7yg4w/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"5635c3dc-598a-41b0-9225-cacb57957594\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"decbccb1-038f-4a7b-87e5-14444d11c21f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configjavoe3sp6uvz7mx4a3ukqxlhn43u6n33fjt6nwm7yg4w/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"5635c3dc-598a-41b0-9225-cacb57957594\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_app_gateway_waf_configjavoe3sp6uvz7mx4a3ukqxlhn43u6n33fjt6nwm7yg4w/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_app_gateway2uuzd3dnfvtoydw7o2n7njrwjcwqywuoqacnlyolsfynknhpufs/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"2f053924-5e0d-4203-8b96-9c5d3ff0cbcf\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"2584bc11-8e08-4d9c-9008-ac6efee16e05","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnet2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_app_gateway2uuzd3dnfvtoydw7o2n7njrwjcwqywuoqacnlyolsfynknhpufs/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2","etag":"W/\"2f053924-5e0d-4203-8b96-9c5d3ff0cbcf\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.1.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"},{"name":"subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_app_gateway2uuzd3dnfvtoydw7o2n7njrwjcwqywuoqacnlyolsfynknhpufs/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","etag":"W/\"2f053924-5e0d-4203-8b96-9c5d3ff0cbcf\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_app_gateway2uuzd3dnfvtoydw7o2n7njrwjcwqywuoqacnlyolsfynknhpufs/providers/Microsoft.Network/applicationGateways/ag1/frontendIPConfigurations/appGatewayFrontendIP"}],"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_nic_app_gateway2uuzd3dnfvtoydw7o2n7njrwjcwqywuoqacnlyolsfynknhpufs/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"cli.lock.rsrcwu5ehdlptvr2qstsb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_readonly_resource_lockifjx6dmiudut6g2pj3dorronq5k4wj4jfioze337ssh7/providers/Microsoft.Network/virtualNetworks/cli.lock.rsrcwu5ehdlptvr2qstsb","etag":"W/\"cc050aa6-94dc-4944-a9de-2f9d86fee48b\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"58301e86-182c-43fb-85af-edfac433d5a0","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1","etag":"W/\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"97f29b82-1cc7-4220-814f-10c742d5ca3a","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default","etag":"W/\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"32f0cd5f-75e9-45fd-9615-c1814fbb032a\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"db4afcc1-0bbf-4a11-b240-077ed7dc6529","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"32f0cd5f-75e9-45fd-9615-c1814fbb032a\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt20e4671295/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt3fe4eccf12/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"8bd8dd5c-bb92-4686-8f2d-cfc128306ea5\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"2ebc73a1-d8f0-4ac6-acb7-0f4e9fa7dee1","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt3fe4eccf12/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"8bd8dd5c-bb92-4686-8f2d-cfc128306ea5\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt3fe4eccf12/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"d266edd0-7a63-4ffe-b16d-2f5c38d1f717\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"a13283da-8ab3-4b65-8469-f46f12591cff","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"d266edd0-7a63-4ffe-b16d-2f5c38d1f717\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt43cf6cc8c2/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"13a295fb-3bfd-4cc0-8453-ae5184f45661\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"9180eb56-2fcd-4d6b-aa04-17c5bcadda2f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"13a295fb-3bfd-4cc0-8453-ae5184f45661\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4e4c216715/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4f2f0d816e/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"9b43fd06-17df-4b53-846c-db385f981749\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"731712f5-97c0-494b-a84f-09a7e39c7e86","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4f2f0d816e/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"9b43fd06-17df-4b53-846c-db385f981749\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt4f2f0d816e/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt67fa1a7ccb/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"848d393c-ea24-4a13-86da-c1d94bab52f1\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"219d8642-e071-444d-87f7-483423644c89","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt67fa1a7ccb/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"848d393c-ea24-4a13-86da-c1d94bab52f1\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt67fa1a7ccb/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"aae8ba14-4b14-42d1-b24a-8668f5146cb7\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"959a94dd-1db2-4d6e-9561-8e3723356d5c","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"aae8ba14-4b14-42d1-b24a-8668f5146cb7\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt6ec0af4a59/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"bb264508-0d9a-419a-80a7-fff329b815a1\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"20c0434c-8228-44ea-88c9-d4bcc483b336","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"bb264508-0d9a-419a-80a7-fff329b815a1\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt8ac9fc35a5/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"299fd573-7d7e-4d8f-8979-849083fbc39f\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"6f3f508f-4b23-45c8-b619-a230edcade23","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"299fd573-7d7e-4d8f-8979-849083fbc39f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdt91436f5734/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"1f2bb1ae-dbae-469e-8158-03c850679a85\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"4c37b451-b26e-4463-9dec-84f816edd9cf","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"1f2bb1ae-dbae-469e-8158-03c850679a85\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtb44f610ada/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"2b3bdf08-f4c0-4e73-99bb-13b54cea360d\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"19d455d2-c8a7-42de-a7df-63ba3d8f0c12","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"2b3bdf08-f4c0-4e73-99bb-13b54cea360d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtea1cf88d44/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"TestVNet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/virtualNetworks/TestVNet1","etag":"W/\"5b96bab0-9c19-48ef-be68-db535bb0bf11\"","type":"Microsoft.Network/virtualNetworks","location":"westus","properties":{"provisioningState":"Succeeded","resourceGuid":"979dc169-c8e7-4b1e-9984-ee80eb5917f4","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"TestSubnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/virtualNetworks/TestVNet1/subnets/TestSubnet1","etag":"W/\"5b96bab0-9c19-48ef-be68-db535bb0bf11\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgapsdtebdceacb5f/providers/Microsoft.Network/networkInterfaces/TestInterface/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag1Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-rg/providers/Microsoft.Network/virtualNetworks/ag1Vnet","etag":"W/\"fed9c687-50e4-49c6-9490-e5c583965e8b\"","type":"Microsoft.Network/virtualNetworks","location":"westus","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"2656c0dc-3574-400e-bde6-d2b14ca09e50","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-rg/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default","etag":"W/\"fed9c687-50e4-49c6-9490-e5c583965e8b\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2"},"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tjp-rg/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps1487","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1487","etag":"W/\"63ea9711-0f94-46c7-bf4b-4f4e0c157bf2\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"ce0e29ab-dfa4-4590-9c3c-6297913ed1eb","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps1487","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1487/subnets/subnetcrptestps1487","etag":"W/\"63ea9711-0f94-46c7-bf4b-4f4e0c157bf2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1487/providers/Microsoft.Network/networkInterfaces/niccrptestps1487/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps1998","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1998","etag":"W/\"f38afc4f-fb4b-4c11-87cc-7f7c6b05b80f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3b2aba7f-0114-4c14-bf4f-d97463aafad6","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps1998","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/virtualNetworks/vnetcrptestps1998/subnets/subnetcrptestps1998","etag":"W/\"f38afc4f-fb4b-4c11-87cc-7f7c6b05b80f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps1998/providers/Microsoft.Network/networkInterfaces/niccrptestps1998/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps2688","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/virtualNetworks/vnetcrptestps2688","etag":"W/\"6dc2f5f4-e489-4091-b2b2-a858acdfd5d2\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"c0187a4c-6a0b-454c-b151-4ff561a0949f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps2688","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/virtualNetworks/vnetcrptestps2688/subnets/subnetcrptestps2688","etag":"W/\"6dc2f5f4-e489-4091-b2b2-a858acdfd5d2\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps2688/providers/Microsoft.Network/networkInterfaces/niccrptestps2688/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps3008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3008","etag":"W/\"8cf4ac72-123e-4012-9088-bf6d4c972f3c\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"00892645-f6af-41b4-927b-4edc7b5e102b","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps3008","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3008/subnets/subnetcrptestps3008","etag":"W/\"8cf4ac72-123e-4012-9088-bf6d4c972f3c\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3008/providers/Microsoft.Network/networkInterfaces/niccrptestps3008/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps3883","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3883","etag":"W/\"c92300b4-232e-4461-83c0-a9ed19ed608f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"91c02f8c-6cb0-47fc-9202-0278f33fc3c5","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps3883","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/virtualNetworks/vnetcrptestps3883/subnets/subnetcrptestps3883","etag":"W/\"c92300b4-232e-4461-83c0-a9ed19ed608f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps3883/providers/Microsoft.Network/networkInterfaces/niccrptestps3883/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps4201","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/virtualNetworks/vnetcrptestps4201","etag":"W/\"cad7f447-78fa-4698-8aa2-0bbaa63d4cda\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3c2ee558-5cf4-4ac2-b3db-926b415377a3","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps4201","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/virtualNetworks/vnetcrptestps4201/subnets/subnetcrptestps4201","etag":"W/\"cad7f447-78fa-4698-8aa2-0bbaa63d4cda\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps4201/providers/Microsoft.Network/networkInterfaces/niccrptestps4201/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps523","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/virtualNetworks/vnetcrptestps523","etag":"W/\"c6e07c2e-1e2b-4c54-9dbe-0f98c48ebbce\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2040d9b0-3fe8-40c7-abc3-da67143a833f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps523","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/virtualNetworks/vnetcrptestps523/subnets/subnetcrptestps523","etag":"W/\"c6e07c2e-1e2b-4c54-9dbe-0f98c48ebbce\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps523/providers/Microsoft.Network/networkInterfaces/niccrptestps523/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps5303","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/virtualNetworks/vnetcrptestps5303","etag":"W/\"aebfc153-bea2-4ea5-befe-23f17ca903d7\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"d5823782-ac33-4bd6-aed8-2f970319f305","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps5303","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/virtualNetworks/vnetcrptestps5303/subnets/subnetcrptestps5303","etag":"W/\"aebfc153-bea2-4ea5-befe-23f17ca903d7\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps5303/providers/Microsoft.Network/networkInterfaces/niccrptestps5303/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps6248","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6248","etag":"W/\"a2e60822-0540-4a0c-84ba-b1df8e633731\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"154b5991-9083-4be5-8bfe-7acb6142bfc0","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps6248","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6248/subnets/subnetcrptestps6248","etag":"W/\"a2e60822-0540-4a0c-84ba-b1df8e633731\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6248/providers/Microsoft.Network/networkInterfaces/niccrptestps6248/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps6481","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6481","etag":"W/\"b9aede7d-e512-48ed-8ffc-375eeab57059\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"f13919e1-8f7e-4e3b-850c-4bcbbdc0b0f6","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps6481","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/virtualNetworks/vnetcrptestps6481/subnets/subnetcrptestps6481","etag":"W/\"b9aede7d-e512-48ed-8ffc-375eeab57059\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps6481/providers/Microsoft.Network/networkInterfaces/niccrptestps6481/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps7027","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7027","etag":"W/\"ae9670e9-b3df-429c-89ed-ef32670e3abd\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"8285edd5-ca1d-40b2-91a5-f57be9eba94c","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps7027","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7027/subnets/subnetcrptestps7027","etag":"W/\"ae9670e9-b3df-429c-89ed-ef32670e3abd\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7027/providers/Microsoft.Network/networkInterfaces/niccrptestps7027/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps7237","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7237","etag":"W/\"de05f754-01a1-4285-99cf-ebf91f5c835d\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"d1d9babf-8c63-4be5-8f87-d62511a695c7","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps7237","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/virtualNetworks/vnetcrptestps7237/subnets/subnetcrptestps7237","etag":"W/\"de05f754-01a1-4285-99cf-ebf91f5c835d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps7237/providers/Microsoft.Network/networkInterfaces/niccrptestps7237/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps8566","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8566","etag":"W/\"f6076af8-3add-4682-a294-3002157c141d\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2f4621d4-32ce-4904-b156-8de64ce13435","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps8566","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8566/subnets/subnetcrptestps8566","etag":"W/\"f6076af8-3add-4682-a294-3002157c141d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8566/providers/Microsoft.Network/networkInterfaces/niccrptestps8566/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps8706","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8706","etag":"W/\"0866a2c4-6d73-423a-97fd-90f434a2669e\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"e0046edc-a43e-4d06-bca8-a1745a9edd1f","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps8706","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/virtualNetworks/vnetcrptestps8706/subnets/subnetcrptestps8706","etag":"W/\"0866a2c4-6d73-423a-97fd-90f434a2669e\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps8706/providers/Microsoft.Network/networkInterfaces/niccrptestps8706/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps9175","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9175","etag":"W/\"657a183b-1386-4671-b143-dc2eaaeda0ae\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"b58658c9-dbbf-453d-8d4b-6497fb853e41","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps9175","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9175/subnets/subnetcrptestps9175","etag":"W/\"657a183b-1386-4671-b143-dc2eaaeda0ae\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9175/providers/Microsoft.Network/networkInterfaces/niccrptestps9175/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"vnetcrptestps9909","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9909","etag":"W/\"a8a7920d-a785-4163-9e94-a6f4ff509cba\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"3f96d6cb-19ae-4e76-8633-8755872556de","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"subnetcrptestps9909","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/virtualNetworks/vnetcrptestps9909/subnets/subnetcrptestps9909","etag":"W/\"a8a7920d-a785-4163-9e94-a6f4ff509cba\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/crptestps9909/providers/Microsoft.Network/networkInterfaces/niccrptestps9909/ipConfigurations/ipconfig1"}],"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"aks-vnet-31107069","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitestajbyuqxjbj_cliakstest4kx63u_eastus/providers/Microsoft.Network/virtualNetworks/aks-vnet-31107069","etag":"W/\"cf7b6fc1-bafe-4209-b965-d9f7353ece26\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"1d503cf9-1f39-4569-901f-61a03b0257d1","addressSpace":{"addressPrefixes":["10.0.0.0/8"]},"subnets":[{"name":"aks-subnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitestajbyuqxjbj_cliakstest4kx63u_eastus/providers/Microsoft.Network/virtualNetworks/aks-vnet-31107069/subnets/aks-subnet","etag":"W/\"cf7b6fc1-bafe-4209-b965-d9f7353ece26\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.240.0.0/16","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitestajbyuqxjbj_cliakstest4kx63u_eastus/providers/Microsoft.Network/networkSecurityGroups/aks-agentpool-31107069-nsg"},"routeTable":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitestajbyuqxjbj_cliakstest4kx63u_eastus/providers/Microsoft.Network/routeTables/aks-agentpool-31107069-routetable"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MC_clitestajbyuqxjbj_cliakstest4kx63u_eastus/providers/Microsoft.Network/networkInterfaces/aks-nodepool1-31107069-nic-0/ipConfigurations/ipconfig1"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"pary123Test","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Network/virtualNetworks/pary123Test","etag":"W/\"8922d1a0-8f3a-4f64-8a79-84b80ecef70f\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"2dcf8eba-0a63-4471-a551-186c109f0c36","addressSpace":{"addressPrefixes":["192.168.0.0/16"]},"subnets":[{"name":"pary123Test","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Network/virtualNetworks/pary123Test/subnets/pary123Test","etag":"W/\"8922d1a0-8f3a-4f64-8a79-84b80ecef70f\"","properties":{"provisioningState":"Succeeded","addressPrefix":"192.168.1.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Compute/virtualMachineScaleSets/pary123Test/virtualMachines/0/networkInterfaces/pary123Test/ipConfigurations/pary123Test"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/pary123Test/providers/Microsoft.Compute/virtualMachineScaleSets/pary123Test/virtualMachines/2/networkInterfaces/pary123Test/ipConfigurations/pary123Test"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ps8662","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ps8662/providers/Microsoft.Network/virtualNetworks/ps8662","etag":"W/\"db188a09-7462-417c-b881-a6a194fddd52\"","type":"Microsoft.Network/virtualNetworks","location":"eastus","properties":{"provisioningState":"Succeeded","resourceGuid":"09519b43-a9d6-443b-8f6f-e308c31e4dab","addressSpace":{"addressPrefixes":["192.168.0.0/16"]},"subnets":[{"name":"ps8662","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ps8662/providers/Microsoft.Network/virtualNetworks/ps8662/subnets/ps8662","etag":"W/\"db188a09-7462-417c-b881-a6a194fddd52\"","properties":{"provisioningState":"Succeeded","addressPrefix":"192.168.1.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ps8662/providers/Microsoft.Network/networkInterfaces/ps8662/ipConfigurations/ps8662"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"mysevm001","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mysevm001/providers/Microsoft.Network/virtualNetworks/mysevm001","etag":"W/\"7d699bed-ebad-4d56-8b34-3dca45b569eb\"","type":"Microsoft.Network/virtualNetworks","location":"southeastasia","properties":{"provisioningState":"Succeeded","resourceGuid":"de7024db-84da-4f84-a061-b69e35ac49ce","addressSpace":{"addressPrefixes":["192.168.0.0/16"]},"subnets":[{"name":"mysevm001","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mysevm001/providers/Microsoft.Network/virtualNetworks/mysevm001/subnets/mysevm001","etag":"W/\"7d699bed-ebad-4d56-8b34-3dca45b569eb\"","properties":{"provisioningState":"Succeeded","addressPrefix":"192.168.1.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg3"},"ipConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mysevm001/providers/Microsoft.Network/networkInterfaces/mysevm001/ipConfigurations/mysevm001"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"myVirtualNetwork2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","type":"Microsoft.Network/virtualNetworks","location":"northcentralus","properties":{"provisioningState":"Succeeded","resourceGuid":"b000272c-c35a-462b-a4d8-a4b557284ab9","addressSpace":{"addressPrefixes":["10.1.0.0/16"]},"dhcpOptions":{"dnsServers":[]},"subnets":[{"name":"Subnet1","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2/subnets/Subnet1","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.1.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1"},"serviceEndpoints":[],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[{"name":"myVirtualNetwork1-myVirtualNetwork2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork2/virtualNetworkPeerings/myVirtualNetwork1-myVirtualNetwork2","etag":"W/\"a344ccfa-5d8f-474e-bad8-25a91dc1132d\"","properties":{"provisioningState":"Failed","peeringState":"Initiated","remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/paryTestRG/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork1"},"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"routeServiceVips":{}},"type":"Microsoft.Network/virtualNetworks/virtualNetworkPeerings"}],"enableDdosProtection":false,"enableVmProtection":false}},{"name":"ag1Vnet","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_zonefim43p3ut3ueq6pa4aocssiid4yatfrym2fqtyoc5vqobzhfuupiqkta44w/providers/Microsoft.Network/virtualNetworks/ag1Vnet","etag":"W/\"75e07b41-a636-44b1-b449-986110a311c5\"","type":"Microsoft.Network/virtualNetworks","location":"westus2","tags":{},"properties":{"provisioningState":"Succeeded","resourceGuid":"682746ff-5e7c-41d5-b520-139c540f20ef","addressSpace":{"addressPrefixes":["10.0.0.0/16"]},"subnets":[{"name":"default","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_zonefim43p3ut3ueq6pa4aocssiid4yatfrym2fqtyoc5vqobzhfuupiqkta44w/providers/Microsoft.Network/virtualNetworks/ag1Vnet/subnets/default","etag":"W/\"75e07b41-a636-44b1-b449-986110a311c5\"","properties":{"provisioningState":"Succeeded","addressPrefix":"10.0.0.0/24","networkSecurityGroup":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg5"},"applicationGatewayIPConfigurations":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ag_zonefim43p3ut3ueq6pa4aocssiid4yatfrym2fqtyoc5vqobzhfuupiqkta44w/providers/Microsoft.Network/applicationGateways/ag1/gatewayIPConfigurations/appGatewayFrontendIP"}],"delegations":[]},"type":"Microsoft.Network/virtualNetworks/subnets"}],"virtualNetworkPeerings":[],"enableDdosProtection":false,"enableVmProtection":false}}]}'} headers: cache-control: [no-cache] - content-length: ['58226'] + content-length: ['53806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:28 GMT'] + date: ['Mon, 26 Nov 2018 23:32:22 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-original-request-ids: [6e4c1f88-b261-42fd-96cb-fe8ff4431e12, 904ba70e-fc66-455f-a1a0-6e9653da90a1, - ba8863e9-bfde-4e2f-b97f-b3c836e7c9be, 32521241-d769-464c-9347-54a330394428] + x-ms-original-request-ids: [148ed88f-b3b0-4069-a137-0654a850e7e3, 5f763f1a-ccce-4619-8b02-a1770ba22d99, + 8d81e2e6-7287-4f42-87f5-4287e1ff87b4, a0777a41-08c2-49fd-bc76-0158a4c4e026, + cb113d7d-6724-46c0-8c25-4d3368307893] status: {code: 200, message: OK} - request: body: null @@ -283,23 +290,24 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -309,7 +317,7 @@ interactions: cache-control: [no-cache] content-length: ['1493'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:29 GMT'] + date: ['Mon, 26 Nov 2018 23:32:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -325,22 +333,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet show] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -350,8 +359,8 @@ interactions: cache-control: [no-cache] content-length: ['1324'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:29 GMT'] - etag: [W/"df24b7bc-cb28-425d-a65e-db33efdf541a"] + date: ['Mon, 26 Nov 2018 23:32:24 GMT'] + etag: [W/"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -367,22 +376,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --address-prefixes --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\\"\",\r\n + \ \"etag\": \"W/\\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -392,8 +402,8 @@ interactions: cache-control: [no-cache] content-length: ['1324'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:30 GMT'] - etag: [W/"df24b7bc-cb28-425d-a65e-db33efdf541a"] + date: ['Mon, 26 Nov 2018 23:32:25 GMT'] + etag: [W/"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -407,45 +417,46 @@ interactions: "location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["20.0.0.0/16", "10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": ["1.2.3.4"]}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default", - "properties": {"addressPrefix": "10.0.0.0/24", "provisioningState": "Succeeded"}, - "name": "default", "etag": "W/\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\""}], - "virtualNetworkPeerings": [], "resourceGuid": "8ea4e11a-5130-4f94-aa0c-eebad07151de", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "provisioningState": + "Succeeded"}, "name": "default", "etag": "W/\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\""}], + "virtualNetworkPeerings": [], "resourceGuid": "97f29b82-1cc7-4220-814f-10c742d5ca3a", "provisioningState": "Succeeded", "enableDdosProtection": false, "enableVmProtection": - false}, "etag": "W/\\"df24b7bc-cb28-425d-a65e-db33efdf541a\\""}''' + false}, "etag": "W/\\"ceb193aa-4dcc-4a4c-b65d-2c23cf166cfa\\""}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - Content-Length: ['987'] + Content-Length: ['1006'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --address-prefixes --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"f5ebad33-0e2c-4f70-8f93-eb79c95b49a4\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"0ad16ed4-6a03-40c5-bb93-17f80fb06d6c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \ \"1.2.3.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \ \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"f5ebad33-0e2c-4f70-8f93-eb79c95b49a4\\\"\",\r\n + \ \"etag\": \"W/\\\"0ad16ed4-6a03-40c5-bb93-17f80fb06d6c\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2097a6cb-b7c7-4248-8390-1637cfecc5fb?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/344d3e60-df85-4501-a0c4-2ba9f5a4fcb4?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['1373'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:30 GMT'] + date: ['Mon, 26 Nov 2018 23:32:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -453,7 +464,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -462,17 +473,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --address-prefixes --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2097a6cb-b7c7-4248-8390-1637cfecc5fb?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/344d3e60-df85-4501-a0c4-2ba9f5a4fcb4?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:33 GMT'] + date: ['Mon, 26 Nov 2018 23:32:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -488,21 +500,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --address-prefixes --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"edb25f37-5820-4185-9162-6325243f8d08\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \ \"1.2.3.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \ \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\\"\",\r\n + \ \"etag\": \"W/\\\"edb25f37-5820-4185-9162-6325243f8d08\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -512,8 +525,8 @@ interactions: cache-control: [no-cache] content-length: ['1375'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:34 GMT'] - etag: [W/"4b1ef000-2a7b-4356-b1f5-7293370e6cf3"] + date: ['Mon, 26 Nov 2018 23:32:30 GMT'] + etag: [W/"edb25f37-5820-4185-9162-6325243f8d08"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -529,22 +542,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"edb25f37-5820-4185-9162-6325243f8d08\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": [\r\n \ \"1.2.3.4\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \ \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\\"\",\r\n + \ \"etag\": \"W/\\\"edb25f37-5820-4185-9162-6325243f8d08\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -554,8 +568,8 @@ interactions: cache-control: [no-cache] content-length: ['1375'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:34 GMT'] - etag: [W/"4b1ef000-2a7b-4356-b1f5-7293370e6cf3"] + date: ['Mon, 26 Nov 2018 23:32:32 GMT'] + etag: [W/"edb25f37-5820-4185-9162-6325243f8d08"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -568,45 +582,46 @@ interactions: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1", "location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["20.0.0.0/16", "10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default", - "properties": {"addressPrefix": "10.0.0.0/24", "provisioningState": "Succeeded"}, - "name": "default", "etag": "W/\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\""}], - "virtualNetworkPeerings": [], "resourceGuid": "8ea4e11a-5130-4f94-aa0c-eebad07151de", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "provisioningState": + "Succeeded"}, "name": "default", "etag": "W/\\"edb25f37-5820-4185-9162-6325243f8d08\\""}], + "virtualNetworkPeerings": [], "resourceGuid": "97f29b82-1cc7-4220-814f-10c742d5ca3a", "provisioningState": "Succeeded", "enableDdosProtection": false, "enableVmProtection": - false}, "etag": "W/\\"4b1ef000-2a7b-4356-b1f5-7293370e6cf3\\""}''' + false}, "etag": "W/\\"edb25f37-5820-4185-9162-6325243f8d08\\""}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - Content-Length: ['962'] + Content-Length: ['981'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"9f2763a0-9cbc-4f73-bf1b-03fcf2f37aaa\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a2cc7179-fa67-4320-aad7-c977a2eee332\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"9f2763a0-9cbc-4f73-bf1b-03fcf2f37aaa\\\"\",\r\n + \ \"etag\": \"W/\\\"a2cc7179-fa67-4320-aad7-c977a2eee332\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/23719751-d174-41ed-87f0-38f48374cb4c?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/dabc1ba6-c157-4859-8115-3cf8ada521bb?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['1346'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:35 GMT'] + date: ['Mon, 26 Nov 2018 23:32:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -614,7 +629,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -623,17 +638,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/23719751-d174-41ed-87f0-38f48374cb4c?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/dabc1ba6-c157-4859-8115-3cf8ada521bb?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:38 GMT'] + date: ['Mon, 26 Nov 2018 23:32:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -649,21 +665,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [-g -n --dns-servers] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"b6502334-de0b-4f19-b14c-823d450032c9\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"b6502334-de0b-4f19-b14c-823d450032c9\\\"\",\r\n + \ \"etag\": \"W/\\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -673,8 +690,8 @@ interactions: cache-control: [no-cache] content-length: ['1348'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:38 GMT'] - etag: [W/"b6502334-de0b-4f19-b14c-823d450032c9"] + date: ['Mon, 26 Nov 2018 23:32:35 GMT'] + etag: [W/"986af018-38ab-47a7-b770-49a2d6a9a6d5"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -690,22 +707,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --set] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"b6502334-de0b-4f19-b14c-823d450032c9\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/16\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"b6502334-de0b-4f19-b14c-823d450032c9\\\"\",\r\n + \ \"etag\": \"W/\\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -715,8 +733,8 @@ interactions: cache-control: [no-cache] content-length: ['1348'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:39 GMT'] - etag: [W/"b6502334-de0b-4f19-b14c-823d450032c9"] + date: ['Mon, 26 Nov 2018 23:32:37 GMT'] + etag: [W/"986af018-38ab-47a7-b770-49a2d6a9a6d5"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -730,45 +748,46 @@ interactions: "location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["20.0.0.0/24", "10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default", - "properties": {"addressPrefix": "10.0.0.0/24", "provisioningState": "Succeeded"}, - "name": "default", "etag": "W/\\"b6502334-de0b-4f19-b14c-823d450032c9\\""}], - "virtualNetworkPeerings": [], "resourceGuid": "8ea4e11a-5130-4f94-aa0c-eebad07151de", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "provisioningState": + "Succeeded"}, "name": "default", "etag": "W/\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\""}], + "virtualNetworkPeerings": [], "resourceGuid": "97f29b82-1cc7-4220-814f-10c742d5ca3a", "provisioningState": "Succeeded", "enableDdosProtection": false, "enableVmProtection": - false}, "etag": "W/\\"b6502334-de0b-4f19-b14c-823d450032c9\\""}''' + false}, "etag": "W/\\"986af018-38ab-47a7-b770-49a2d6a9a6d5\\""}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - Content-Length: ['978'] + Content-Length: ['997'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --set] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"92f85254-7eab-4c20-a91d-1260c56dca05\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4a77189a-d673-4d19-adec-2832c34dd5ee\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/24\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"92f85254-7eab-4c20-a91d-1260c56dca05\\\"\",\r\n + \ \"etag\": \"W/\\\"4a77189a-d673-4d19-adec-2832c34dd5ee\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641a3040-0ddc-4d6c-9f49-3d3b6f893a18?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b9a0005a-ea29-49aa-b40b-504a422fd07a?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['1346'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:40 GMT'] + date: ['Mon, 26 Nov 2018 23:32:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -776,7 +795,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -785,17 +804,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --set] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/641a3040-0ddc-4d6c-9f49-3d3b6f893a18?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b9a0005a-ea29-49aa-b40b-504a422fd07a?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:43 GMT'] + date: ['Mon, 26 Nov 2018 23:32:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -811,21 +831,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet update] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name --set] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"c2f2e28d-0de7-4bd9-ae77-d394376a3071\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"6d6b3d69-9b0e-4b28-8223-5e722d23a5ff\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/24\",\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n \ },\r\n \"subnets\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"c2f2e28d-0de7-4bd9-ae77-d394376a3071\\\"\",\r\n + \ \"etag\": \"W/\\\"6d6b3d69-9b0e-4b28-8223-5e722d23a5ff\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n @@ -835,8 +856,8 @@ interactions: cache-control: [no-cache] content-length: ['1348'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:44 GMT'] - etag: [W/"c2f2e28d-0de7-4bd9-ae77-d394376a3071"] + date: ['Mon, 26 Nov 2018 23:32:41 GMT'] + etag: [W/"6d6b3d69-9b0e-4b28-8223-5e722d23a5ff"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -854,28 +875,29 @@ interactions: Connection: [keep-alive] Content-Length: ['67'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name --address-prefix] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n - \ \"etag\": \"W/\\\"901a8c18-a332-4b8d-8e36-6f597c55bd3d\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"7f35edea-b224-4b6c-8d02-7e6c45c04110\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"20.0.0.0/24\",\r\n \ \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fccbf927-d882-4c46-9885-c7abdf2f5a79?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cb8a6ac0-d2df-40b1-b5d3-410171afb821?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['482'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:44 GMT'] + date: ['Mon, 26 Nov 2018 23:32:43 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -884,17 +906,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name --address-prefix] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fccbf927-d882-4c46-9885-c7abdf2f5a79?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/cb8a6ac0-d2df-40b1-b5d3-410171afb821?api-version=2018-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: ['Mon, 10 Sep 2018 15:33:48 GMT'] + date: ['Mon, 26 Nov 2018 23:32:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -910,21 +933,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name --address-prefix] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n - \ \"etag\": \"W/\\\"2a24f892-0ff1-448d-b0bf-cce4989ab822\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"20.0.0.0/24\",\r\n + \ \"etag\": \"W/\\\"9398b3e2-add1-423a-acf5-0d09ee4e7f4b\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"20.0.0.0/24\",\r\n \ \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['483'] + content-length: ['482'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:48 GMT'] - etag: [W/"2a24f892-0ff1-448d-b0bf-cce4989ab822"] + date: ['Mon, 26 Nov 2018 23:32:47 GMT'] + etag: [W/"9398b3e2-add1-423a-acf5-0d09ee4e7f4b"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -940,28 +964,31 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets?api-version=2018-08-01 response: - body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"default\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"2a24f892-0ff1-448d-b0bf-cce4989ab822\\\"\",\r\n \"properties\": + body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"subnet1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n + \ \"etag\": \"W/\\\"c6a482af-6b5c-4ff7-9acf-2a54b223555b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": - \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": + \"20.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n },\r\n {\r\n \"name\": - \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n - \ \"etag\": \"W/\\\"2a24f892-0ff1-448d-b0bf-cce4989ab822\\\"\",\r\n \"properties\": + \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n + \ \"etag\": \"W/\\\"c6a482af-6b5c-4ff7-9acf-2a54b223555b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": - \"20.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ]\r\n}"} + \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2\"\r\n + \ },\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ]\r\n}"} headers: cache-control: [no-cache] - content-length: ['1082'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:49 GMT'] + date: ['Mon, 26 Nov 2018 23:32:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -977,22 +1004,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet show] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-08-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n - \ \"etag\": \"W/\\\"2a24f892-0ff1-448d-b0bf-cce4989ab822\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"c6a482af-6b5c-4ff7-9acf-2a54b223555b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"20.0.0.0/24\",\r\n \ \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] content-length: ['483'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:33:49 GMT'] - etag: [W/"2a24f892-0ff1-448d-b0bf-cce4989ab822"] + date: ['Mon, 26 Nov 2018 23:32:49 GMT'] + etag: [W/"c6a482af-6b5c-4ff7-9acf-2a54b223555b"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1009,20 +1037,21 @@ interactions: CommandName: [network vnet subnet delete] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-08-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1c031312-2234-436b-911c-78a2dc667e03?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d846b7e1-1fe2-4df4-baa3-1e7c5461cef7?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 10 Sep 2018 15:33:51 GMT'] + date: ['Mon, 26 Nov 2018 23:32:50 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/1c031312-2234-436b-911c-78a2dc667e03?api-version=2018-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/d846b7e1-1fe2-4df4-baa3-1e7c5461cef7?api-version=2018-08-01'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -1036,17 +1065,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet delete] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1c031312-2234-436b-911c-78a2dc667e03?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d846b7e1-1fe2-4df4-baa3-1e7c5461cef7?api-version=2018-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: ['Mon, 10 Sep 2018 15:34:01 GMT'] + date: ['Mon, 26 Nov 2018 23:33:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1062,23 +1092,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --vnet-name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets?api-version=2018-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"default\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"59605375-16e4-4590-8aac-0630cc6addc6\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"ba8e6694-728a-40e7-8ee3-b8efd30ff193\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": - \"10.0.0.0/24\",\r\n \"delegations\": []\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ]\r\n}"} + \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2\"\r\n + \ },\r\n \"delegations\": []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ]\r\n}"} headers: cache-control: [no-cache] - content-length: ['552'] + content-length: ['773'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:34:03 GMT'] + date: ['Mon, 26 Nov 2018 23:33:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1094,33 +1127,36 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-08-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"59605375-16e4-4590-8aac-0630cc6addc6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ba8e6694-728a-40e7-8ee3-b8efd30ff193\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8ea4e11a-5130-4f94-aa0c-eebad07151de\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"97f29b82-1cc7-4220-814f-10c742d5ca3a\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"20.0.0.0/24\",\r\n \ \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n \ {\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/default\",\r\n - \ \"etag\": \"W/\\\"59605375-16e4-4590-8aac-0630cc6addc6\\\"\",\r\n + \ \"etag\": \"W/\\\"ba8e6694-728a-40e7-8ee3-b8efd30ff193\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - []\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg2\"\r\n + \ },\r\n \"delegations\": []\r\n },\r\n + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n + \ ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n }\r\n ]\r\n}"} headers: cache-control: [no-cache] - content-length: ['1521'] + content-length: ['1760'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:34:03 GMT'] + date: ['Mon, 26 Nov 2018 23:33:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1137,25 +1173,26 @@ interactions: CommandName: [network vnet delete] Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-08-01 response: body: {string: ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/063305b9-20ea-4a5d-9781-68d59f42dee8?api-version=2018-08-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/74b253de-eb47-44b4-91f3-a1b717f004d0?api-version=2018-08-01'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 10 Sep 2018 15:34:04 GMT'] + date: ['Mon, 26 Nov 2018 23:33:04 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/063305b9-20ea-4a5d-9781-68d59f42dee8?api-version=2018-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/74b253de-eb47-44b4-91f3-a1b717f004d0?api-version=2018-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-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} - request: body: null @@ -1164,17 +1201,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet delete] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group --name] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/063305b9-20ea-4a5d-9781-68d59f42dee8?api-version=2018-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/74b253de-eb47-44b4-91f3-a1b717f004d0?api-version=2018-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: ['Mon, 10 Sep 2018 15:34:14 GMT'] + date: ['Mon, 26 Nov 2018 23:33:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -1190,8 +1228,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet list] Connection: [keep-alive] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 networkmanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.46] + ParameterSetName: [--resource-group] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + networkmanagementclient/2.3.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_vnet_test000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-08-01 @@ -1201,7 +1240,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 10 Sep 2018 15:34:15 GMT'] + date: ['Mon, 26 Nov 2018 23:33:16 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -1217,9 +1256,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.5 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.5 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0 Azure-SDK-For-Python - AZURECLI/2.0.46] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/3.6.1 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.5.1 + resourcemanagementclient/2.0.0 Azure-SDK-For-Python AZURECLI/2.0.52] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_vnet_test000001?api-version=2018-05-01 @@ -1228,9 +1267,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 10 Sep 2018 15:34:15 GMT'] + date: ['Mon, 26 Nov 2018 23:33:17 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZWTkVUOjVGVEVTVElXRkVWNTVJRk43UlBSTFlHS1hPVzdMM1FYRzNRNnxDQjcwQjYyNzU1MUMyRjRFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZWTkVUOjVGVEVTVDJIRU5OUVNVWU1NR0JDTkRVTldZWlhaQk4zWk82QXxCRTU4QjFFQTVBNjlENDcwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/test_network_commands.py index 663b4f5ec9d..e080317d82e 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -618,13 +618,18 @@ class NetworkAppGatewayWafConfigScenarioTest20170301(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_app_gateway_waf_config') def test_network_app_gateway_waf_config(self, resource_group): - self.kwargs['ip'] = 'pip1' - self.cmd('network application-gateway create -g {rg} -n ag1 --subnet subnet1 --vnet-name vnet1 --public-ip-address {ip} --sku WAF_Medium', checks=[ - self.check("applicationGateway.frontendIPConfigurations[0].properties.publicIPAddress.contains(id, '{ip}')", True), - self.check('applicationGateway.frontendIPConfigurations[0].properties.privateIPAllocationMethod', 'Dynamic') + self.kwargs.update({ + 'ip': 'pip1', + 'ag': 'ag1' + }) + self.cmd('network application-gateway create -g {rg} -n {ag} --subnet subnet1 --vnet-name vnet1 --public-ip-address {ip} --sku WAF_Medium --no-wait') + self.cmd('network application-gateway wait -g {rg} -n {ag} --exists') + self.cmd('network application-gateway show -g {rg} -n {ag}', checks=[ + self.check("frontendIpConfigurations[0].publicIpAddress.contains(id, '{ip}')", True), + self.check('frontendIpConfigurations[0].privateIpAllocationMethod', 'Dynamic') ]) - self.cmd('network application-gateway waf-config set -g {rg} --gateway-name ag1 --enabled true --firewall-mode prevention --rule-set-version 2.2.9 --disabled-rule-groups crs_30_http_policy --disabled-rules 981175 981176 --no-wait') - self.cmd('network application-gateway waf-config show -g {rg} --gateway-name ag1', checks=[ + self.cmd('network application-gateway waf-config set -g {rg} --gateway-name {ag} --enabled true --firewall-mode prevention --rule-set-version 2.2.9 --disabled-rule-groups crs_30_http_policy --disabled-rules 981175 981176 --no-wait') + self.cmd('network application-gateway waf-config show -g {rg} --gateway-name {ag}', checks=[ self.check('enabled', True), self.check('firewallMode', 'Prevention'), self.check('length(disabledRuleGroups)', 2), @@ -632,6 +637,25 @@ def test_network_app_gateway_waf_config(self, resource_group): ]) +class NetworkAppGatewayWafV2ConfigScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='cli_test_app_gateway_waf_v2_config') + def test_network_app_gateway_waf_v2_config(self, resource_group): + + self.kwargs.update({ + 'ip': 'pip1', + 'ag': 'ag1' + }) + self.cmd('network public-ip create -g {rg} -n {ip} --sku standard') + self.cmd('network application-gateway create -g {rg} -n {ag} --subnet subnet1 --vnet-name vnet1 --public-ip-address {ip} --sku WAF_v2 --no-wait') + self.cmd('network application-gateway wait -g {rg} -n {ag} --exists') + self.cmd('network application-gateway waf-config set -g {rg} --gateway-name ag1 --enabled true --firewall-mode prevention --rule-set-version 3.0 --exclusion RequestHeaderNames StartsWith abc --exclusion RequestArgNames Equals def --no-wait') + self.cmd('network application-gateway waf-config show -g {rg} --gateway-name ag1', checks=[ + self.check('enabled', True), + self.check('length(exclusions)', 2) + ]) + + class NetworkDdosProtectionScenarioTest(LiveScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_ddos_protection') diff --git a/src/command_modules/azure-cli-network/setup.py b/src/command_modules/azure-cli-network/setup.py index 8dcfb39218e..27343696adb 100644 --- a/src/command_modules/azure-cli-network/setup.py +++ b/src/command_modules/azure-cli-network/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.2.9" +VERSION = "2.2.10" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers',