Print out error details for deployment (#15658)

This commit is contained in:
Xing Zhou 2020-11-13 15:06:05 +08:00 коммит произвёл GitHub
Родитель a7c2433cc1
Коммит 3978efbed4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
11 изменённых файлов: 904 добавлений и 858 удалений

Просмотреть файл

@ -36,6 +36,8 @@ The newly designed error types are provided in [azure/cli/core/azclierror.py](ht
| | | -- FileOperationError
| | | -- ManualInterrupt
| | | -- UnclassifiedUserFault # fallback of UserFault related errors
| | | -- InvalidTemplateError
| | | -- DeploymentError
| | -- ClientError
| | | -- CLIInternalError
| | -- ServiceError

Просмотреть файл

@ -199,6 +199,17 @@ class ManualInterrupt(UserFault):
pass
# ARM template related error types
class InvalidTemplateError(UserFault):
""" ARM template validation fails. It could be caused by incorrect template files or parameters """
pass
class DeploymentError(UserFault):
""" ARM template deployment fails. Template file is valid, and error occurs in deployment. """
pass
# Validation related error types
class ValidationError(UserFault):
""" Fallback of the errors in validation functions.

Просмотреть файл

@ -287,6 +287,15 @@ def _remove_comments_from_json(template, preserve_order=True, file_path=None):
raise CLIError("Failed to parse the JSON data, please check whether it is a valid JSON format")
def _raise_subdivision_deployment_error(error_message, error_code=None):
from azure.cli.core.azclierror import InvalidTemplateError, DeploymentError
if error_code == 'InvalidTemplateDeployment':
raise InvalidTemplateError(error_message)
raise DeploymentError(error_message)
# pylint: disable=too-many-locals, too-many-statements, too-few-public-methods
def _deploy_arm_template_core_unmodified(cmd, resource_group_name, template_file=None,
template_uri=None, deployment_name=None, parameters=None,
@ -353,16 +362,20 @@ def _deploy_arm_template_core_unmodified(cmd, resource_group_name, template_file
)
if cmd.supported_api_version(min_api='2019-10-01', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES):
from msrestazure.azure_exceptions import CloudError
Deployment = cmd.get_models('Deployment')
deployment = Deployment(properties=properties)
validation_poller = deployment_client.validate(resource_group_name, deployment_name, deployment)
try:
validation_poller = deployment_client.validate(resource_group_name, deployment_name, deployment)
except CloudError as cx:
_raise_subdivision_deployment_error(cx.response.text, cx.error.error if cx.error else None)
validation_result = LongRunningOperation(cmd.cli_ctx)(validation_poller)
else:
validation_result = deployment_client.validate(resource_group_name, deployment_name, properties)
if validation_result and validation_result.error:
err_message = _build_preflight_error_message(validation_result.error)
raise CLIError(err_message)
_raise_subdivision_deployment_error(err_message)
if validate_only:
return validation_result
@ -461,16 +474,20 @@ def _deploy_arm_template_at_subscription_scope(cmd,
mgmt_client = _get_deployment_management_client(cmd.cli_ctx, plug_pipeline=(template_uri is None and template_spec is None))
if cmd.supported_api_version(min_api='2019-10-01', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES):
from msrestazure.azure_exceptions import CloudError
Deployment = cmd.get_models('Deployment')
deployment = Deployment(properties=deployment_properties, location=deployment_location)
validation_poller = mgmt_client.validate_at_subscription_scope(deployment_name, deployment)
try:
validation_poller = mgmt_client.validate_at_subscription_scope(deployment_name, deployment)
except CloudError as cx:
_raise_subdivision_deployment_error(cx.response.text, cx.error.error if cx.error else None)
validation_result = LongRunningOperation(cmd.cli_ctx)(validation_poller)
else:
validation_result = mgmt_client.validate_at_subscription_scope(deployment_name, deployment_properties, deployment_location)
if validation_result and validation_result.error:
err_message = _build_preflight_error_message(validation_result.error)
raise CLIError(err_message)
_raise_subdivision_deployment_error(err_message)
if validate_only:
return validation_result
@ -541,16 +558,20 @@ def _deploy_arm_template_at_resource_group(cmd,
aux_tenants=aux_tenants, plug_pipeline=(template_uri is None and template_spec is None))
if cmd.supported_api_version(min_api='2019-10-01', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES):
from msrestazure.azure_exceptions import CloudError
Deployment = cmd.get_models('Deployment')
deployment = Deployment(properties=deployment_properties)
validation_poller = mgmt_client.validate(resource_group_name, deployment_name, deployment)
try:
validation_poller = mgmt_client.validate(resource_group_name, deployment_name, deployment)
except CloudError as cx:
_raise_subdivision_deployment_error(cx.response.text, cx.error.error if cx.error else None)
validation_result = LongRunningOperation(cmd.cli_ctx)(validation_poller)
else:
validation_result = mgmt_client.validate(resource_group_name, deployment_name, deployment_properties)
if validation_result and validation_result.error:
err_message = _build_preflight_error_message(validation_result.error)
raise CLIError(err_message)
_raise_subdivision_deployment_error(err_message)
if validate_only:
return validation_result
@ -617,9 +638,13 @@ def _deploy_arm_template_at_management_group(cmd,
mgmt_client = _get_deployment_management_client(cmd.cli_ctx, plug_pipeline=(template_uri is None and template_spec is None))
if cmd.supported_api_version(min_api='2019-10-01', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES):
from msrestazure.azure_exceptions import CloudError
ScopedDeployment = cmd.get_models('ScopedDeployment')
deployment = ScopedDeployment(properties=deployment_properties, location=deployment_location)
validation_poller = mgmt_client.validate_at_management_group_scope(management_group_id, deployment_name, deployment)
try:
validation_poller = mgmt_client.validate_at_management_group_scope(management_group_id, deployment_name, deployment)
except CloudError as cx:
_raise_subdivision_deployment_error(cx.response.text, cx.error.error if cx.error else None)
validation_result = LongRunningOperation(cmd.cli_ctx)(validation_poller)
else:
validation_result = mgmt_client.validate_at_management_group_scope(management_group_id, deployment_name,
@ -627,7 +652,7 @@ def _deploy_arm_template_at_management_group(cmd,
if validation_result and validation_result.error:
err_message = _build_preflight_error_message(validation_result.error)
raise CLIError(err_message)
_raise_subdivision_deployment_error(err_message)
if validate_only:
return validation_result
@ -689,9 +714,13 @@ def _deploy_arm_template_at_tenant_scope(cmd,
mgmt_client = _get_deployment_management_client(cmd.cli_ctx, plug_pipeline=(template_uri is None and template_spec is None))
if cmd.supported_api_version(min_api='2019-10-01', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES):
from msrestazure.azure_exceptions import CloudError
ScopedDeployment = cmd.get_models('ScopedDeployment')
deployment = ScopedDeployment(properties=deployment_properties, location=deployment_location)
validation_poller = mgmt_client.validate_at_tenant_scope(deployment_name=deployment_name, parameters=deployment)
try:
validation_poller = mgmt_client.validate_at_tenant_scope(deployment_name=deployment_name, parameters=deployment)
except CloudError as cx:
_raise_subdivision_deployment_error(cx.response.text, cx.error.error if cx.error else None)
validation_result = LongRunningOperation(cmd.cli_ctx)(validation_poller)
else:
validation_result = mgmt_client.validate_at_tenant_scope(deployment_name=deployment_name,
@ -700,7 +729,7 @@ def _deploy_arm_template_at_tenant_scope(cmd,
if validation_result and validation_result.error:
err_message = _build_preflight_error_message(validation_result.error)
raise CLIError(err_message)
_raise_subdivision_deployment_error(err_message)
if validate_only:
return validation_result

Просмотреть файл

@ -13,24 +13,24 @@ interactions:
ParameterSetName:
- -g -n --subnet-name
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001","name":"cli_test_deployment000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-05T06:47:02Z"},"properties":{"provisioningState":"Succeeded"}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001","name":"cli_test_deployment000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-10-26T08:27:38Z","StorageType":"Standard_LRS","type":"test"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
content-length:
- '428'
- '471'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:05 GMT
- Mon, 26 Oct 2020 08:27:43 GMT
expires:
- '-1'
pragma:
@ -64,8 +64,8 @@ interactions:
ParameterSetName:
- -g -n --subnet-name
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
@ -73,15 +73,15 @@ interactions:
response:
body:
string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n
\ \"etag\": \"W/\\\"3c06bb7e-f777-4358-9228-8f39b5fba415\\\"\",\r\n \"type\":
\ \"etag\": \"W/\\\"88b63518-f570-49c0-8197-e6ce8bae5d37\\\"\",\r\n \"type\":
\"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n
\ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n
\ \"resourceGuid\": \"31ab072e-6513-4097-b4f8-89bc382a4b2c\",\r\n \"addressSpace\":
\ \"resourceGuid\": \"1c30a7c7-a07b-4b62-8464-600eeea592bc\",\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\": \"subnet1\",\r\n \"id\":
\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n
\ \"etag\": \"W/\\\"3c06bb7e-f777-4358-9228-8f39b5fba415\\\"\",\r\n
\ \"etag\": \"W/\\\"88b63518-f570-49c0-8197-e6ce8bae5d37\\\"\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n
\ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\":
[],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\":
@ -92,7 +92,7 @@ interactions:
azure-asyncnotification:
- Enabled
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/622f71ae-92e9-483b-897e-18230f99ee89?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ee17d8db-39f1-4c04-b089-662e8ea57eb7?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -100,7 +100,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:14 GMT
- Mon, 26 Oct 2020 08:27:48 GMT
expires:
- '-1'
pragma:
@ -113,9 +113,9 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- 027390f9-91e2-48a5-a37c-25d3ef7d409f
- a475533e-7edb-4a02-aad2-867a12d76250
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1198'
status:
code: 201
message: Created
@ -133,10 +133,10 @@ interactions:
ParameterSetName:
- -g -n --subnet-name
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/622f71ae-92e9-483b-897e-18230f99ee89?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ee17d8db-39f1-4c04-b089-662e8ea57eb7?api-version=2020-06-01
response:
body:
string: "{\r\n \"status\": \"Succeeded\"\r\n}"
@ -148,7 +148,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:18 GMT
- Mon, 26 Oct 2020 08:27:52 GMT
expires:
- '-1'
pragma:
@ -165,7 +165,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- 95123397-da1e-4f39-ad41-54dd1631af2e
- b4267c28-3bb4-4f69-9c09-271b9a8883bb
status:
code: 200
message: OK
@ -183,22 +183,22 @@ interactions:
ParameterSetName:
- -g -n --subnet-name
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2020-06-01
response:
body:
string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n
\ \"etag\": \"W/\\\"d7a55c98-0df3-4213-8f00-34b004136fab\\\"\",\r\n \"type\":
\ \"etag\": \"W/\\\"2dac1e3a-49ba-4bb9-bac2-b3317e6759cf\\\"\",\r\n \"type\":
\"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n
\ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"resourceGuid\": \"31ab072e-6513-4097-b4f8-89bc382a4b2c\",\r\n \"addressSpace\":
\ \"resourceGuid\": \"1c30a7c7-a07b-4b62-8464-600eeea592bc\",\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\": \"subnet1\",\r\n \"id\":
\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\",\r\n
\ \"etag\": \"W/\\\"d7a55c98-0df3-4213-8f00-34b004136fab\\\"\",\r\n
\ \"etag\": \"W/\\\"2dac1e3a-49ba-4bb9-bac2-b3317e6759cf\\\"\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\":
[],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\":
@ -213,9 +213,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:19 GMT
- Mon, 26 Oct 2020 08:27:53 GMT
etag:
- W/"d7a55c98-0df3-4213-8f00-34b004136fab"
- W/"2dac1e3a-49ba-4bb9-bac2-b3317e6759cf"
expires:
- '-1'
pragma:
@ -232,7 +232,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- 9ce54bd8-bc39-4123-9a27-f44d7fd986fa
- 285e646c-f367-4ab2-80d7-d6ad737729f2
status:
code: 200
message: OK
@ -274,24 +274,24 @@ interactions:
ParameterSetName:
- -g --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/deployment_dry_run","name":"deployment_dry_run","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:22.434009Z","duration":"PT0S","correlationId":"5c750d01-01e5-4dae-bfcd-615eb8c91acb","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/deployment_dry_run","name":"deployment_dry_run","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:55.3791825Z","duration":"PT0S","correlationId":"c5d711ce-dff5-4f8b-8d6c-85e5dfefc2a2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1425'
- '1426'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:22 GMT
- Mon, 26 Oct 2020 08:27:55 GMT
expires:
- '-1'
pragma:
@ -305,7 +305,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1197'
status:
code: 200
message: OK
@ -317,7 +317,7 @@ interactions:
Host:
- raw.githubusercontent.com
User-Agent:
- Python-urllib/3.6
- Python-urllib/3.8
method: GET
uri: https://raw.githubusercontent.com/Azure/azure-cli/dev/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test-params.json
response:
@ -344,17 +344,17 @@ interactions:
content-type:
- text/plain; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:25 GMT
- Mon, 26 Oct 2020 08:27:57 GMT
etag:
- '"1c23f331a1fb7e4cfba7c70e002f81f4096234811e9470479a537be84a009123"'
expires:
- Sat, 05 Sep 2020 06:52:25 GMT
- Mon, 26 Oct 2020 08:32:57 GMT
source-age:
- '0'
strict-transport-security:
- max-age=31536000
vary:
- Authorization,Accept-Encoding, Accept-Encoding
- Authorization,Accept-Encoding
via:
- 1.1 varnish (Varnish/6.0)
- 1.1 varnish
@ -365,15 +365,15 @@ interactions:
x-content-type-options:
- nosniff
x-fastly-request-id:
- 0c90dc7a3a819522866759d172e544a5a971399a
- b4b4cd3040b7e6c13b10bfe3a266d2a769c46f86
x-frame-options:
- deny
x-github-request-id:
- 7CC0:0E33:14E861:15F5AB:5F53347C
- 08B0:8DEA:C320B7:EE0FF1:5F96888C
x-served-by:
- cache-sin18045-SIN
- cache-sin18038-SIN
x-timer:
- S1599288445.711892,VS0,VE354
- S1603700877.710255,VS0,VE337
x-xss-protection:
- 1; mode=block
status:
@ -417,15 +417,15 @@ interactions:
ParameterSetName:
- -g --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/deployment_dry_run","name":"deployment_dry_run","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:27.0279496Z","duration":"PT0S","correlationId":"0cb7cb44-b00e-4fba-807a-43b07b1d6d78","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/deployment_dry_run","name":"deployment_dry_run","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:58.5831699Z","duration":"PT0S","correlationId":"6280a128-f4a4-4995-9639-c5970a13ce8f","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
@ -434,7 +434,80 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:26 GMT
- Mon, 26 Oct 2020 08:27:58 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
status:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {\"name\": {\"value\": \"test-lb\"},
\"location\": {\"value\": \"westus\"}, \"privateIPAllocationMethod\": {\"value\":
\"Dynamic\"}, \"tags\": {\"value\": {\"key\": \"super=value\"}}, \"subnetId\":
{\"value\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"},
\"backendAddressPools\": {\"value\": [{\"name\": \"bepool1\"}, {\"name\": \"bepool2\"}]}},
\"mode\": \"Incremental\", template:{\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"name\": {\r\n
\ \"type\": \"string\"\r\n },\r\n \"location\": {\r\n \"type\":
\"string\"\r\n },\r\n \"subnetId\": {\r\n \"type\": \"string\"\r\n
\ },\r\n \"privateIPAllocationMethod\": {\r\n \"type\": \"string\"\r\n
\ },\r\n \"backendAddressPools\": {\r\n \"type\": \"array\"\r\n },\r\n
\ \"tags\": {\r\n \"type\": \"object\"\r\n }\r\n },\r\n \"resources\":
[\r\n {\r\n \"apiVersion\": \"2016-03-30\",\r\n \"dependsOn\":
[ ],\r\n \"location\": \"[parameters('location')]\",\r\n \"name\":
\"[parameters('name')]\",\r\n \"properties\": {\r\n \"frontendIPConfigurations\":
[\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"properties\":
{\r\n \"privateIPAllocationMethod\": \"[parameters('privateIPAllocationMethod')]\",\r\n
\ \"subnet\": {\r\n \"id\": \"[parameters('subnetId')]\"\r\n
\ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\":
\"[parameters('backendAddressPools')]\"\r\n },\r\n \"tags\": \"[parameters('tags')]\",\r\n
\ \"type\": \"Microsoft.Network/loadBalancers\"\r\n }\r\n ] // comment\r\n}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- group deployment create
Connection:
- keep-alive
Content-Length:
- '1751'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters
User-Agent:
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:00.5037421Z","duration":"PT0S","correlationId":"566c6eec-2051-4090-9f36-66bdfe04f84d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1430'
content-type:
- application/json; charset=utf-8
date:
- Mon, 26 Oct 2020 08:28:00 GMT
expires:
- '-1'
pragma:
@ -490,91 +563,18 @@ interactions:
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:29.4599713Z","duration":"PT0S","correlationId":"a5b533c2-b2a7-45b6-beb0-eefe3ca6acdf","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1430'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:29 GMT
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
status:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {\"name\": {\"value\": \"test-lb\"},
\"location\": {\"value\": \"westus\"}, \"privateIPAllocationMethod\": {\"value\":
\"Dynamic\"}, \"tags\": {\"value\": {\"key\": \"super=value\"}}, \"subnetId\":
{\"value\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"},
\"backendAddressPools\": {\"value\": [{\"name\": \"bepool1\"}, {\"name\": \"bepool2\"}]}},
\"mode\": \"Incremental\", template:{\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"name\": {\r\n
\ \"type\": \"string\"\r\n },\r\n \"location\": {\r\n \"type\":
\"string\"\r\n },\r\n \"subnetId\": {\r\n \"type\": \"string\"\r\n
\ },\r\n \"privateIPAllocationMethod\": {\r\n \"type\": \"string\"\r\n
\ },\r\n \"backendAddressPools\": {\r\n \"type\": \"array\"\r\n },\r\n
\ \"tags\": {\r\n \"type\": \"object\"\r\n }\r\n },\r\n \"resources\":
[\r\n {\r\n \"apiVersion\": \"2016-03-30\",\r\n \"dependsOn\":
[ ],\r\n \"location\": \"[parameters('location')]\",\r\n \"name\":
\"[parameters('name')]\",\r\n \"properties\": {\r\n \"frontendIPConfigurations\":
[\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"properties\":
{\r\n \"privateIPAllocationMethod\": \"[parameters('privateIPAllocationMethod')]\",\r\n
\ \"subnet\": {\r\n \"id\": \"[parameters('subnetId')]\"\r\n
\ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\":
\"[parameters('backendAddressPools')]\"\r\n },\r\n \"tags\": \"[parameters('tags')]\",\r\n
\ \"type\": \"Microsoft.Network/loadBalancers\"\r\n }\r\n ] // comment\r\n}}}"
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- group deployment create
Connection:
- keep-alive
Content-Length:
- '1751'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-09-05T06:47:33.6474645Z","duration":"PT2.305619S","correlationId":"5b0c19c1-206a-48b5-ba49-a4e9a1018527","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:28:03.988692Z","duration":"PT2.5049125S","correlationId":"58eb67e6-7bcf-44b0-b041-ac432bb3dac8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operationStatuses/08586023184341357728?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operationStatuses/08585979060039938398?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -582,7 +582,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:47:35 GMT
- Mon, 26 Oct 2020 08:28:05 GMT
expires:
- '-1'
pragma:
@ -610,10 +610,10 @@ interactions:
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586023184341357728?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979060039938398?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -625,7 +625,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:06 GMT
- Mon, 26 Oct 2020 08:28:35 GMT
expires:
- '-1'
pragma:
@ -653,22 +653,22 @@ interactions:
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:41.0804571Z","duration":"PT9.7386116S","correlationId":"5b0c19c1-206a-48b5-ba49-a4e9a1018527","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.1980737Z","duration":"PT10.7142942S","correlationId":"58eb67e6-7bcf-44b0-b041-ac432bb3dac8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1435'
- '1436'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:06 GMT
- Mon, 26 Oct 2020 08:28:36 GMT
expires:
- '-1'
pragma:
@ -696,8 +696,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
@ -705,13 +705,13 @@ interactions:
response:
body:
string: "{\r\n \"name\": \"test-lb\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb\",\r\n
\ \"etag\": \"W/\\\"2a33d499-1fe9-4670-87b4-16a66b663821\\\"\",\r\n \"type\":
\ \"etag\": \"W/\\\"719e2f64-a454-4265-8816-bec966089ec6\\\"\",\r\n \"type\":
\"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\":
{\r\n \"key\": \"super=value\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\":
\"Succeeded\",\r\n \"resourceGuid\": \"b4cf3833-09ad-4b70-967c-b13e4940f1f3\",\r\n
\"Succeeded\",\r\n \"resourceGuid\": \"332736a9-6520-4e43-b8b8-1787d3d7bc1f\",\r\n
\ \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n
\ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n
\ \"etag\": \"W/\\\"2a33d499-1fe9-4670-87b4-16a66b663821\\\"\",\r\n
\ \"etag\": \"W/\\\"719e2f64-a454-4265-8816-bec966089ec6\\\"\",\r\n
\ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n
\ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\":
@ -719,11 +719,11 @@ interactions:
\ },\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n
\ }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\":
\"bepool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb/backendAddressPools/bepool1\",\r\n
\ \"etag\": \"W/\\\"2a33d499-1fe9-4670-87b4-16a66b663821\\\"\",\r\n
\ \"etag\": \"W/\\\"719e2f64-a454-4265-8816-bec966089ec6\\\"\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n
\ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n
\ },\r\n {\r\n \"name\": \"bepool2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb/backendAddressPools/bepool2\",\r\n
\ \"etag\": \"W/\\\"2a33d499-1fe9-4670-87b4-16a66b663821\\\"\",\r\n
\ \"etag\": \"W/\\\"719e2f64-a454-4265-8816-bec966089ec6\\\"\",\r\n
\ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n
\ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n
\ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [],\r\n
@ -737,9 +737,9 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:09 GMT
- Mon, 26 Oct 2020 08:28:37 GMT
etag:
- W/"2a33d499-1fe9-4670-87b4-16a66b663821"
- W/"719e2f64-a454-4265-8816-bec966089ec6"
expires:
- '-1'
pragma:
@ -756,7 +756,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- ac5542a9-fecf-4aea-b80e-5edc507fb49d
- ab05c0d2-86de-4d6d-b923-5eb6c56191ce
status:
code: 200
message: OK
@ -774,24 +774,24 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:41.0804571Z","duration":"PT9.7386116S","correlationId":"5b0c19c1-206a-48b5-ba49-a4e9a1018527","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}]}'
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.1980737Z","duration":"PT10.7142942S","correlationId":"58eb67e6-7bcf-44b0-b041-ac432bb3dac8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1447'
- '1448'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:11 GMT
- Mon, 26 Oct 2020 08:28:37 GMT
expires:
- '-1'
pragma:
@ -819,24 +819,24 @@ interactions:
ParameterSetName:
- -g --filter
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/?$filter=provisioningState%20eq%20%27Succeeded%27&api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:41.0804571Z","duration":"PT9.7386116S","correlationId":"5b0c19c1-206a-48b5-ba49-a4e9a1018527","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}]}'
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.1980737Z","duration":"PT10.7142942S","correlationId":"58eb67e6-7bcf-44b0-b041-ac432bb3dac8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1447'
- '1448'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:11 GMT
- Mon, 26 Oct 2020 08:28:38 GMT
expires:
- '-1'
pragma:
@ -864,24 +864,24 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:41.0804571Z","duration":"PT9.7386116S","correlationId":"5b0c19c1-206a-48b5-ba49-a4e9a1018527","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment","name":"azure-cli-deployment","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.1980737Z","duration":"PT10.7142942S","correlationId":"58eb67e6-7bcf-44b0-b041-ac432bb3dac8","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1435'
- '1436'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:12 GMT
- Mon, 26 Oct 2020 08:28:39 GMT
expires:
- '-1'
pragma:
@ -909,15 +909,15 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/deployments/mock-deployment/operations?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operations/E248D2D08CC8E1F1","operationId":"E248D2D08CC8E1F1","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:40.8794952Z","duration":"PT5.2791485S","trackingId":"470f797f-d404-4fba-b7a2-9fc66b4f7d09","serviceRequestId":"24316621-5aa1-4ce5-8216-40cbee456ea6","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"test-lb"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operations/08586023184341357728","operationId":"08586023184341357728","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-09-05T06:47:41.0360525Z","duration":"PT5.4357058S","trackingId":"8aec1cd6-1b8a-4868-a853-054db2b86011","statusCode":"OK"}}]}'
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operations/FC391586E39AD437","operationId":"FC391586E39AD437","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.0883181Z","duration":"PT6.2722429S","trackingId":"858d9ce8-61c8-4a9a-b21a-0c6fa6287cfe","serviceRequestId":"db271636-ab59-434a-943a-3952a08709c0","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb","resourceType":"Microsoft.Network/loadBalancers","resourceName":"test-lb"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment/operations/08585979060039938398","operationId":"08585979060039938398","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:12.1657814Z","duration":"PT6.3497062S","trackingId":"1e9439b5-bfe1-4970-8712-b449bce97d86","statusCode":"OK"}}]}'
headers:
cache-control:
- no-cache
@ -926,7 +926,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:15 GMT
- Mon, 26 Oct 2020 08:28:40 GMT
expires:
- '-1'
pragma:
@ -978,15 +978,15 @@ interactions:
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-05T06:48:17.4287895Z","duration":"PT0S","correlationId":"0695778c-7ccd-4294-87e1-d876b965bfe5","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:43.1168074Z","duration":"PT0S","correlationId":"2f452666-5420-41e7-9f3f-179402d0438e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/loadBalancers/test-lb"}]}}'
headers:
cache-control:
- no-cache
@ -995,7 +995,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:17 GMT
- Mon, 26 Oct 2020 08:28:43 GMT
expires:
- '-1'
pragma:
@ -1009,7 +1009,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1198'
status:
code: 200
message: OK
@ -1051,18 +1051,18 @@ interactions:
ParameterSetName:
- -g -n --template-file --parameters --parameters --parameters --no-wait
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-09-05T06:48:21.7509996Z","duration":"PT2.2849143S","correlationId":"16460635-3b28-4dda-9aac-9de1dd6d7484","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:28:47.1535159Z","duration":"PT2.1766056S","correlationId":"6fb5c941-d66d-46b4-bf5a-53d435fbf6a7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002/operationStatuses/08586023183860115307?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002/operationStatuses/08585979059605007095?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -1070,7 +1070,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:23 GMT
- Mon, 26 Oct 2020 08:28:48 GMT
expires:
- '-1'
pragma:
@ -1080,7 +1080,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1198'
status:
code: 201
message: Created
@ -1100,8 +1100,8 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
@ -1113,7 +1113,7 @@ interactions:
cache-control:
- no-cache
date:
- Sat, 05 Sep 2020 06:48:27 GMT
- Mon, 26 Oct 2020 08:28:50 GMT
expires:
- '-1'
pragma:
@ -1123,7 +1123,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1196'
status:
code: 204
message: No Content
@ -1141,24 +1141,24 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-09-05T06:48:27.7887783Z","duration":"PT8.322693S","correlationId":"16460635-3b28-4dda-9aac-9de1dd6d7484","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment2000002","name":"azure-cli-resource-group-deployment2000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"16281834986780566039","parameters":{"name":{"type":"String","value":"test-lb"},"location":{"type":"String","value":"westus"},"subnetId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1"},"privateIPAllocationMethod":{"type":"String","value":"Dynamic"},"backendAddressPools":{"type":"Array","value":[{"name":"bepool1"},{"name":"bepool2"}]},"tags":{"type":"Object","value":{"key":"super=value"}}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-10-26T08:28:50.3628454Z","duration":"PT5.3859351S","correlationId":"6fb5c941-d66d-46b4-bf5a-53d435fbf6a7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '1291'
- '1292'
content-type:
- application/json; charset=utf-8
date:
- Sat, 05 Sep 2020 06:48:29 GMT
- Mon, 26 Oct 2020 08:28:51 GMT
expires:
- '-1'
pragma:

Просмотреть файл

@ -1,8 +1,8 @@
interactions:
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -13,21 +13,21 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.9.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-23T00:24:32.8612747Z","duration":"PT0S","correlationId":"b190cd0e-b3f2-40b9-8d6d-65e6a5c0247a","providers":[],"dependencies":[],"validatedResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:42.6328992Z","duration":"PT0S","correlationId":"cb7fbd3d-0da3-4810-ad5c-aef674604716","providers":[],"dependencies":[],"validatedResources":[]}}'
headers:
cache-control:
- no-cache
@ -36,7 +36,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 23 Jul 2020 00:24:32 GMT
- Mon, 26 Oct 2020 08:27:41 GMT
expires:
- '-1'
pragma:
@ -55,9 +55,9 @@ interactions:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -68,32 +68,32 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.9.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-23T00:24:33.3047061Z","duration":"PT0.2709749S","correlationId":"83db84e9-882e-4434-b363-aca0385f02d7","providers":[],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:27:46.466127Z","duration":"PT1.809995S","correlationId":"528052e5-8cbf-4550-827c-dbd10f7c7a7c","providers":[],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08586061430124438587?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08585979060208214606?api-version=2020-06-01
cache-control:
- no-cache
content-length:
- '566'
- '564'
content-type:
- application/json; charset=utf-8
date:
- Thu, 23 Jul 2020 00:24:32 GMT
- Mon, 26 Oct 2020 08:27:47 GMT
expires:
- '-1'
pragma:
@ -121,10 +121,10 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.9.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586061430124438587?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979060208214606?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -136,7 +136,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Thu, 23 Jul 2020 00:25:03 GMT
- Mon, 26 Oct 2020 08:28:18 GMT
expires:
- '-1'
pragma:
@ -164,22 +164,22 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.9.1
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-23T00:24:33.9585443Z","duration":"PT0.9248131S","correlationId":"83db84e9-882e-4434-b363-aca0385f02d7","providers":[],"dependencies":[],"outputResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_lite000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:48.419949Z","duration":"PT3.763817S","correlationId":"528052e5-8cbf-4550-827c-dbd10f7c7a7c","providers":[],"dependencies":[],"outputResources":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '588'
- '586'
content-type:
- application/json; charset=utf-8
date:
- Thu, 23 Jul 2020 00:25:03 GMT
- Mon, 26 Oct 2020 08:28:19 GMT
expires:
- '-1'
pragma:

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -1,8 +1,8 @@
interactions:
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -13,21 +13,21 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:02:31.7181008Z","duration":"PT0S","correlationId":"5a4d2375-8c0c-4866-96c2-425d22b4d5ec","providers":[],"dependencies":[],"validatedResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:43.1870406Z","duration":"PT0S","correlationId":"387e18e0-1e7f-4c05-a3b3-82954457817b","providers":[],"dependencies":[],"validatedResources":[]}}'
headers:
cache-control:
- no-cache
@ -36,7 +36,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:02:30 GMT
- Mon, 26 Oct 2020 08:27:43 GMT
expires:
- '-1'
pragma:
@ -50,14 +50,14 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1197'
status:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -68,24 +68,24 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-06T22:02:32.1680115Z","duration":"PT0.1986947S","correlationId":"fe03e1b7-dd98-4908-88aa-e61a72c6a114","providers":[],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:27:46.2353256Z","duration":"PT1.7583815S","correlationId":"40ca8fd2-4530-426b-b363-b89cff7e6054","providers":[],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08586075339335082743?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08585979060210006476?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -93,7 +93,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:02:31 GMT
- Mon, 26 Oct 2020 08:27:47 GMT
expires:
- '-1'
pragma:
@ -121,10 +121,10 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586075339335082743?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979060210006476?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -136,7 +136,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:01 GMT
- Mon, 26 Oct 2020 08:28:17 GMT
expires:
- '-1'
pragma:
@ -164,22 +164,22 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:02:32.9927968Z","duration":"PT1.02348S","correlationId":"fe03e1b7-dd98-4908-88aa-e61a72c6a114","providers":[],"dependencies":[],"outputResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:48.2753505Z","duration":"PT3.7984064S","correlationId":"40ca8fd2-4530-426b-b363-b89cff7e6054","providers":[],"dependencies":[],"outputResources":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '586'
- '588'
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:02 GMT
- Mon, 26 Oct 2020 08:28:18 GMT
expires:
- '-1'
pragma:
@ -195,8 +195,8 @@ interactions:
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", \"onErrorDeployment\":
{\"type\": \"LastSuccessful\"}, template:{\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
{\"type\": \"LastSuccessful\"}, template:{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -207,21 +207,21 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '278'
- '282'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:03:04.2369283Z","duration":"PT0S","correlationId":"f8118d83-698a-49cc-91fa-c086344f0bfb","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"},"validatedResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:22.0693109Z","duration":"PT0S","correlationId":"20a2e99c-22e1-4c8e-8eb8-a70b4ba88377","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"},"validatedResources":[]}}'
headers:
cache-control:
- no-cache
@ -230,7 +230,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:03 GMT
- Mon, 26 Oct 2020 08:28:21 GMT
expires:
- '-1'
pragma:
@ -244,14 +244,14 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
- '1197'
status:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", \"onErrorDeployment\":
{\"type\": \"LastSuccessful\"}, template:{\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
{\"type\": \"LastSuccessful\"}, template:{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -262,24 +262,24 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '278'
- '282'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-06T22:03:04.8459983Z","duration":"PT0.3103679S","correlationId":"eb5e0bda-7329-4c58-8786-054a3e0eb8c7","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:28:24.8770725Z","duration":"PT1.7642604S","correlationId":"f45ee9ad-2d6f-4bc3-837e-7a89aa5e10df","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"}}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003/operationStatuses/08586075339009419638?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003/operationStatuses/08585979059823647889?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -287,7 +287,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:04 GMT
- Mon, 26 Oct 2020 08:28:25 GMT
expires:
- '-1'
pragma:
@ -297,7 +297,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1199'
status:
code: 201
message: Created
@ -315,10 +315,10 @@ interactions:
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586075339009419638?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979059823647889?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -330,7 +330,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:35 GMT
- Mon, 26 Oct 2020 08:28:56 GMT
expires:
- '-1'
pragma:
@ -358,13 +358,13 @@ interactions:
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:03:05.3957962Z","duration":"PT0.8601658S","correlationId":"eb5e0bda-7329-4c58-8786-054a3e0eb8c7","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"},"outputResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_lastsuccessful000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:26.6636372Z","duration":"PT3.5508251S","correlationId":"f45ee9ad-2d6f-4bc3-837e-7a89aa5e10df","providers":[],"dependencies":[],"onErrorDeployment":{"type":"LastSuccessful","deploymentName":"azure-cli-deployment000002"},"outputResources":[]}}'
headers:
cache-control:
- no-cache
@ -373,7 +373,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:03:35 GMT
- Mon, 26 Oct 2020 08:28:56 GMT
expires:
- '-1'
pragma:

Просмотреть файл

@ -1,8 +1,8 @@
interactions:
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -13,21 +13,21 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:05:10.7652253Z","duration":"PT0S","correlationId":"b524c522-f24d-42ac-b09e-7ec9c33f224f","providers":[],"dependencies":[],"validatedResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:44.0464492Z","duration":"PT0S","correlationId":"6831f918-fbfc-4cee-8c31-908b3fe0ba52","providers":[],"dependencies":[],"validatedResources":[]}}'
headers:
cache-control:
- no-cache
@ -36,7 +36,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:09 GMT
- Mon, 26 Oct 2020 08:27:43 GMT
expires:
- '-1'
pragma:
@ -55,9 +55,9 @@ interactions:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", template:{\r\n
\ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -68,24 +68,24 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '229'
- '233'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-06T22:05:11.1738835Z","duration":"PT0.2395733S","correlationId":"02d04c6b-2e87-4adf-95b4-54996954448e","providers":[],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:27:47.6760438Z","duration":"PT2.2913024S","correlationId":"afa73bc9-1661-4e2f-979c-6f9bb3a691f1","providers":[],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08586075337745432789?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002/operationStatuses/08585979060200928487?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -93,7 +93,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:10 GMT
- Mon, 26 Oct 2020 08:27:48 GMT
expires:
- '-1'
pragma:
@ -121,10 +121,10 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586075337745432789?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979060200928487?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -136,7 +136,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:41 GMT
- Mon, 26 Oct 2020 08:28:19 GMT
expires:
- '-1'
pragma:
@ -164,13 +164,13 @@ interactions:
ParameterSetName:
- -g -n --template-file
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:05:13.0687957Z","duration":"PT2.1344855S","correlationId":"02d04c6b-2e87-4adf-95b4-54996954448e","providers":[],"dependencies":[],"outputResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000002","name":"azure-cli-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:27:50.8303332Z","duration":"PT5.4455918S","correlationId":"afa73bc9-1661-4e2f-979c-6f9bb3a691f1","providers":[],"dependencies":[],"outputResources":[]}}'
headers:
cache-control:
- no-cache
@ -179,7 +179,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:41 GMT
- Mon, 26 Oct 2020 08:28:20 GMT
expires:
- '-1'
pragma:
@ -196,8 +196,8 @@ interactions:
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", \"onErrorDeployment\":
{\"type\": \"SpecificDeployment\", \"deploymentName\": \"azure-cli-deployment000002\"},
template:{\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
template:{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -208,30 +208,30 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '334'
- '338'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:05:42.9967317Z","duration":"PT0S","correlationId":"e70ca528-5603-46ab-9f14-7533d01b3dc9","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"},"validatedResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:23.710806Z","duration":"PT0S","correlationId":"778afee9-7fd8-4c8b-b37d-8489f476e6f6","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"},"validatedResources":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '683'
- '682'
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:42 GMT
- Mon, 26 Oct 2020 08:28:23 GMT
expires:
- '-1'
pragma:
@ -245,15 +245,15 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1199'
status:
code: 200
message: OK
- request:
body: "{\"properties\": {\"parameters\": {}, \"mode\": \"Incremental\", \"onErrorDeployment\":
{\"type\": \"SpecificDeployment\", \"deploymentName\": \"azure-cli-deployment000002\"},
template:{\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\n
\ \"contentVersion\": \"1.0.0.0\",\n \"resources\": [] // comment\n}}}"
template:{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#\",\r\n
\ \"contentVersion\": \"1.0.0.0\",\r\n \"resources\": [] // comment\r\n}}}"
headers:
Accept:
- application/json
@ -264,24 +264,24 @@ interactions:
Connection:
- keep-alive
Content-Length:
- '334'
- '338'
Content-Type:
- application/json; charset=utf-8
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-07-06T22:05:43.6768664Z","duration":"PT0.3356727S","correlationId":"cc04437a-87db-498d-9e98-44a7066b2e37","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"}}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-10-26T08:28:27.2417664Z","duration":"PT1.8947445S","correlationId":"3341f3c7-f87e-4b74-a9c6-f19f79b560be","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"}}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003/operationStatuses/08586075337421364035?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003/operationStatuses/08585979059801305738?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -289,7 +289,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:05:43 GMT
- Mon, 26 Oct 2020 08:28:27 GMT
expires:
- '-1'
pragma:
@ -299,7 +299,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1199'
status:
code: 201
message: Created
@ -317,10 +317,10 @@ interactions:
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586075337421364035?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585979059801305738?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -332,7 +332,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:06:14 GMT
- Mon, 26 Oct 2020 08:28:59 GMT
expires:
- '-1'
pragma:
@ -360,22 +360,22 @@ interactions:
ParameterSetName:
- -g -n --template-file --rollback-on-error
User-Agent:
- python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-resource/10.1.0
Azure-SDK-For-Python AZURECLI/2.8.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.13.0
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-07-06T22:05:45.8052167Z","duration":"PT2.464023S","correlationId":"cc04437a-87db-498d-9e98-44a7066b2e37","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"},"outputResources":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_on_error_deployment_specificdeployment000001/providers/Microsoft.Resources/deployments/azure-cli-deployment000003","name":"azure-cli-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3965660584125802942","mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-10-26T08:28:28.7529597Z","duration":"PT3.4059378S","correlationId":"3341f3c7-f87e-4b74-a9c6-f19f79b560be","providers":[],"dependencies":[],"onErrorDeployment":{"type":"SpecificDeployment","deploymentName":"azure-cli-deployment000002"},"outputResources":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '687'
- '688'
content-type:
- application/json; charset=utf-8
date:
- Mon, 06 Jul 2020 22:06:14 GMT
- Mon, 26 Oct 2020 08:28:59 GMT
expires:
- '-1'
pragma:

Просмотреть файл

@ -15,24 +15,24 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management/register?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
headers:
cache-control:
- no-cache
content-length:
- '2264'
- '2381'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:45 GMT
- Fri, 13 Nov 2020 05:20:59 GMT
expires:
- '-1'
pragma:
@ -46,7 +46,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1199'
status:
code: 200
message: OK
@ -64,24 +64,24 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
headers:
cache-control:
- no-cache
content-length:
- '2264'
- '2381'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:55 GMT
- Fri, 13 Nov 2020 05:21:09 GMT
expires:
- '-1'
pragma:
@ -116,8 +116,8 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: PUT
@ -133,7 +133,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:58 GMT
- Fri, 13 Nov 2020 05:21:11 GMT
expires:
- '-1'
location:
@ -141,7 +141,7 @@ interactions:
pragma:
- no-cache
request-id:
- 89cdbdde-4d36-42c3-b9f9-ab209e7761eb
- 9592fca4-36de-4965-90ae-fa598f3a9b7e
strict-transport-security:
- max-age=31536000; includeSubDomains
x-ba-restapi:
@ -149,7 +149,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1197'
- '1199'
status:
code: 202
message: Accepted
@ -167,8 +167,8 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
response:
@ -182,7 +182,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:10 GMT
- Fri, 13 Nov 2020 05:21:21 GMT
expires:
- '-1'
location:
@ -190,7 +190,7 @@ interactions:
pragma:
- no-cache
request-id:
- f76c1a2c-1509-450c-b195-8e5f7a35f60a
- 3e275990-acdc-4693-83a2-b7a527002107
strict-transport-security:
- max-age=31536000; includeSubDomains
x-ba-restapi:
@ -214,8 +214,8 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
response:
@ -229,7 +229,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:21 GMT
- Fri, 13 Nov 2020 05:21:32 GMT
expires:
- '-1'
location:
@ -237,7 +237,7 @@ interactions:
pragma:
- no-cache
request-id:
- 3bf61b16-1cac-4552-b780-d008859943f0
- 340f574e-1f3f-4df8-8cf4-78ae4ad63c11
strict-transport-security:
- max-age=31536000; includeSubDomains
x-ba-restapi:
@ -261,13 +261,60 @@ interactions:
ParameterSetName:
- --name
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002","type":"/providers/Microsoft.Management/managementGroups","name":"azure-cli-management000002","status":"Succeeded","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","displayName":"azure-cli-management000002","details":{"version":1,"updatedTime":"2020-11-03T08:50:05.7040346Z","updatedBy":"9ac534f1-d577-4034-a32d-48de400dacbf","parent":{"id":"/providers/Microsoft.Management/managementGroups/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","name":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","displayName":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002","type":"/providers/Microsoft.Management/managementGroups","name":"azure-cli-management000002","status":"Running"}'
headers:
cache-control:
- no-cache
content-length:
- '205'
content-type:
- application/json; charset=utf-8
date:
- Fri, 13 Nov 2020 05:21:43 GMT
expires:
- '-1'
location:
- https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
pragma:
- no-cache
request-id:
- 577d234b-49de-4895-b0bd-fafa38e8c7a9
strict-transport-security:
- max-age=31536000; includeSubDomains
x-ba-restapi:
- 1.0.3.1589
x-content-type-options:
- nosniff
status:
code: 202
message: Accepted
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- account management-group create
Connection:
- keep-alive
ParameterSetName:
- --name
User-Agent:
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/operationResults/create/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002","type":"/providers/Microsoft.Management/managementGroups","name":"azure-cli-management000002","status":"Succeeded","properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","displayName":"azure-cli-management000002","details":{"version":1,"updatedTime":"2020-11-13T05:21:19.5455706Z","updatedBy":"9ac534f1-d577-4034-a32d-48de400dacbf","parent":{"id":"/providers/Microsoft.Management/managementGroups/54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","name":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","displayName":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"}}}}'
headers:
cache-control:
- no-cache
@ -276,13 +323,13 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:33 GMT
- Fri, 13 Nov 2020 05:21:54 GMT
expires:
- '-1'
pragma:
- no-cache
request-id:
- 5a019ce0-6815-4bed-a7ef-db544aedee94
- 924da4e0-b3e4-4dfb-a4ee-1fc9b643d590
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
@ -363,24 +410,24 @@ interactions:
- --management-group-id --location --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/management_group_level_template","name":"management_group_level_template","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:50:34.9332069Z","duration":"PT0S","correlationId":"622f1106-0a9e-491b-a86a-a1f45627f65d","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/management_group_level_template","name":"management_group_level_template","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:21:55.863746Z","duration":"PT0S","correlationId":"de31053c-1ae8-4549-bde3-22164ecec3d4","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '2596'
- '2595'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:36 GMT
- Fri, 13 Nov 2020 05:21:57 GMT
expires:
- '-1'
pragma:
@ -465,15 +512,15 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:50:39.8218357Z","duration":"PT0S","correlationId":"16b22e9e-f3dc-489a-b5f5-d4733f919cbb","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:21:58.5413161Z","duration":"PT0S","correlationId":"49d41be5-c84f-444e-bf37-883c11ab0a6b","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
headers:
cache-control:
- no-cache
@ -482,7 +529,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:48 GMT
- Fri, 13 Nov 2020 05:21:59 GMT
expires:
- '-1'
pragma:
@ -567,18 +614,18 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-03T08:50:55.3820208Z","duration":"PT3.8168838S","correlationId":"9aab57fc-061b-4a3f-a147-1d9815d84055","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-13T05:22:04.1154766Z","duration":"PT3.3680764S","correlationId":"9d16a8c8-1b5f-4f0a-b0d4-fbd6a4e6b9f8","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operationStatuses/08585972134339124973?api-version=2020-06-01
- https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operationStatuses/08585963619647302349?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -586,7 +633,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:50:55 GMT
- Fri, 13 Nov 2020 05:22:04 GMT
expires:
- '-1'
pragma:
@ -615,10 +662,10 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585972134339124973?api-version=2020-06-01
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585963619647302349?api-version=2020-06-01
response:
body:
string: '{"status":"Running"}'
@ -630,7 +677,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:51:27 GMT
- Fri, 13 Nov 2020 05:22:35 GMT
expires:
- '-1'
pragma:
@ -659,10 +706,10 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585972134339124973?api-version=2020-06-01
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585963619647302349?api-version=2020-06-01
response:
body:
string: '{"status":"Running"}'
@ -674,7 +721,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:51:57 GMT
- Fri, 13 Nov 2020 05:23:05 GMT
expires:
- '-1'
pragma:
@ -703,10 +750,10 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585972134339124973?api-version=2020-06-01
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585963619647302349?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -718,7 +765,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:28 GMT
- Fri, 13 Nov 2020 05:23:36 GMT
expires:
- '-1'
pragma:
@ -747,13 +794,13 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:10.4138882Z","duration":"PT1M18.8487512S","correlationId":"9aab57fc-061b-4a3f-a147-1d9815d84055","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:14.0992447Z","duration":"PT1M13.3518445S","correlationId":"9d16a8c8-1b5f-4f0a-b0d4-fbd6a4e6b9f8","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
headers:
cache-control:
- no-cache
@ -762,7 +809,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:28 GMT
- Fri, 13 Nov 2020 05:23:36 GMT
expires:
- '-1'
pragma:
@ -790,15 +837,15 @@ interactions:
ParameterSetName:
- --management-group-id
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:10.4138882Z","duration":"PT1M18.8487512S","correlationId":"9aab57fc-061b-4a3f-a147-1d9815d84055","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}]}'
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:14.0992447Z","duration":"PT1M13.3518445S","correlationId":"9d16a8c8-1b5f-4f0a-b0d4-fbd6a4e6b9f8","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}]}'
headers:
cache-control:
- no-cache
@ -807,7 +854,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:32 GMT
- Fri, 13 Nov 2020 05:23:38 GMT
expires:
- '-1'
pragma:
@ -835,15 +882,15 @@ interactions:
ParameterSetName:
- --management-group-id --filter
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/?$filter=provisioningState%20eq%20%27Succeeded%27&api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:10.4138882Z","duration":"PT1M18.8487512S","correlationId":"9aab57fc-061b-4a3f-a147-1d9815d84055","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}]}'
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:14.0992447Z","duration":"PT1M13.3518445S","correlationId":"9d16a8c8-1b5f-4f0a-b0d4-fbd6a4e6b9f8","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}]}'
headers:
cache-control:
- no-cache
@ -852,7 +899,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:32 GMT
- Fri, 13 Nov 2020 05:23:39 GMT
expires:
- '-1'
pragma:
@ -880,15 +927,15 @@ interactions:
ParameterSetName:
- --management-group-id -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:10.4138882Z","duration":"PT1M18.8487512S","correlationId":"9aab57fc-061b-4a3f-a147-1d9815d84055","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001","name":"azure-cli-management-group-deployment000001","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:14.0992447Z","duration":"PT1M13.3518445S","correlationId":"9d16a8c8-1b5f-4f0a-b0d4-fbd6a4e6b9f8","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"outputResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
headers:
cache-control:
- no-cache
@ -897,7 +944,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:34 GMT
- Fri, 13 Nov 2020 05:23:39 GMT
expires:
- '-1'
pragma:
@ -927,8 +974,8 @@ interactions:
ParameterSetName:
- --management-group-id -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -949,7 +996,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:34 GMT
- Fri, 13 Nov 2020 05:23:41 GMT
expires:
- '-1'
pragma:
@ -981,24 +1028,24 @@ interactions:
ParameterSetName:
- --management-group-id -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/operations?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/AB0501E36D519C96","operationId":"AB0501E36D519C96","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:09.1084837Z","duration":"PT1M11.6757557S","trackingId":"f44bba03-d670-44f0-9b7f-90ed71b9218d","serviceRequestId":"c499bf35-30b8-421a-a156-41b49d13204c","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested","resourceType":"Microsoft.Resources/deployments","resourceName":"sdktest-subnested"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/5B81D9A204BC07D6","operationId":"5B81D9A204BC07D6","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-03T08:50:58.6623122Z","duration":"PT1.2295842S","trackingId":"f09087a4-611a-4f2f-9fd3-cfbe918b1a2c","serviceRequestId":"westus:013855cc-6102-4987-8205-2b6610540f5d","statusCode":"Created","targetResource":{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/F82BBDBF0B6B9D0C","operationId":"F82BBDBF0B6B9D0C","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-03T08:50:58.3466631Z","duration":"PT0.9139351S","trackingId":"f11734a0-0972-4592-a0c8-119d2f5f0ecc","serviceRequestId":"westus:1c0f1eee-adfc-45c0-b5e3-40dab30913b7","statusCode":"Created","targetResource":{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/08585972134339124973","operationId":"08585972134339124973","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:10.1750294Z","duration":"PT0.6550897S","trackingId":"94ef18b6-6241-44af-81c8-4df74cd63e08","statusCode":"OK"}}]}'
string: '{"value":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/AB0501E36D519C96","operationId":"AB0501E36D519C96","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:13.8870922Z","duration":"PT1M6.6252441S","trackingId":"57faca8f-6050-45bd-a934-56e389163ecb","serviceRequestId":"c6769021-b5ee-4ff3-bc39-c8fbb6a991de","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested","resourceType":"Microsoft.Resources/deployments","resourceName":"sdktest-subnested"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/C6521865CDD547BF","operationId":"C6521865CDD547BF","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:08.9999241Z","duration":"PT1.738076S","trackingId":"f1a4cf46-d58d-4b04-a566-4adae5a51e8f","serviceRequestId":"eastus:3437098e-ca2c-43b8-93e1-411a06d704aa","statusCode":"Created","targetResource":{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/E3C6F557A217AC6B","operationId":"E3C6F557A217AC6B","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:08.264004Z","duration":"PT1.0021559S","trackingId":"f03d38d1-c7e3-43b9-8010-90541e8b1068","serviceRequestId":"eastus:e304412b-9ffd-40a9-b97e-dfa2b7cd3cb2","statusCode":"Created","targetResource":{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}}},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-management-group-deployment000001/operations/08585963619647302349","operationId":"08585963619647302349","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:14.0191692Z","duration":"PT0.0936306S","trackingId":"c52ce831-4766-498a-83a8-1b8d425c5a30","statusCode":"OK"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '2860'
- '2857'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:36 GMT
- Fri, 13 Nov 2020 05:23:41 GMT
expires:
- '-1'
pragma:
@ -1079,15 +1126,15 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters --no-wait
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:52:37.8254964Z","duration":"PT0S","correlationId":"c38ad3eb-5138-44e5-93f8-250bb6e2a70e","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:23:43.0392243Z","duration":"PT0S","correlationId":"1ea8c89b-a01b-4707-886f-b9be4cd4da68","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}],"validatedResources":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/sdktest-subnested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Resources/deployments/rg-nested"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-cli-sub-resource-group000003/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}'
headers:
cache-control:
- no-cache
@ -1096,7 +1143,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:39 GMT
- Fri, 13 Nov 2020 05:23:44 GMT
expires:
- '-1'
pragma:
@ -1110,7 +1157,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1198'
- '1199'
status:
code: 200
message: OK
@ -1181,18 +1228,18 @@ interactions:
- --management-group-id --location -n --template-file --parameters --parameters
--parameters --parameters --no-wait
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-03T08:52:43.4155873Z","duration":"PT2.7176451S","correlationId":"ae835df8-f49c-460d-b3d5-b92d97d919a1","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-13T05:23:48.9213647Z","duration":"PT3.3512147S","correlationId":"478cc3a4-3c4b-4be3-a6bf-07beb1aab0e2","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004/operationStatuses/08585972133247796892?api-version=2020-06-01
- https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004/operationStatuses/08585963618599074742?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -1200,7 +1247,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:43 GMT
- Fri, 13 Nov 2020 05:23:49 GMT
expires:
- '-1'
pragma:
@ -1210,7 +1257,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1198'
- '1199'
status:
code: 201
message: Created
@ -1230,8 +1277,8 @@ interactions:
ParameterSetName:
- -n --management-group-id
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -1243,7 +1290,7 @@ interactions:
cache-control:
- no-cache
date:
- Tue, 03 Nov 2020 08:52:46 GMT
- Fri, 13 Nov 2020 05:23:52 GMT
expires:
- '-1'
pragma:
@ -1253,7 +1300,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-writes:
- '1198'
- '1199'
status:
code: 204
message: No Content
@ -1271,15 +1318,15 @@ interactions:
ParameterSetName:
- -n --management-group-id --custom
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-03T08:52:47.4636299Z","duration":"PT6.7656877S","correlationId":"ae835df8-f49c-460d-b3d5-b92d97d919a1","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-13T05:23:51.4420094Z","duration":"PT5.8718594S","correlationId":"478cc3a4-3c4b-4be3-a6bf-07beb1aab0e2","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
headers:
cache-control:
- no-cache
@ -1288,7 +1335,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:47 GMT
- Fri, 13 Nov 2020 05:23:53 GMT
expires:
- '-1'
pragma:
@ -1316,15 +1363,15 @@ interactions:
ParameterSetName:
- -n --management-group-id
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-03T08:52:47.4636299Z","duration":"PT6.7656877S","correlationId":"ae835df8-f49c-460d-b3d5-b92d97d919a1","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
string: '{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6254393849767844371","parameters":{"targetMG":{"type":"String","value":"azure-cli-management000002"},"nestedsubId":{"type":"String","value":"0b1f6471-1bf0-4dda-aec3-cb9272f09590"},"nestedRG":{"type":"String","value":"azure-cli-sub-resource-group000003"},"storageAccountName":{"type":"String","value":"armbuilddemo000005"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-13T05:23:54.2754186Z","duration":"PT8.7052686S","correlationId":"478cc3a4-3c4b-4be3-a6bf-07beb1aab0e2","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"deployments","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/providers/Microsoft.Management/managementGroups/azure-cli-management000002/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}]}}'
headers:
cache-control:
- no-cache
@ -1333,7 +1380,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:48 GMT
- Fri, 13 Nov 2020 05:23:53 GMT
expires:
- '-1'
pragma:
@ -1363,24 +1410,24 @@ interactions:
ParameterSetName:
- -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management/register?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
headers:
cache-control:
- no-cache
content-length:
- '2264'
- '2381'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:52:54 GMT
- Fri, 13 Nov 2020 05:23:58 GMT
expires:
- '-1'
pragma:
@ -1394,7 +1441,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1199'
status:
code: 200
message: OK
@ -1412,24 +1459,24 @@ interactions:
ParameterSetName:
- -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Management","namespace":"Microsoft.Management","authorization":{"applicationId":"f2c304cf-8e7e-4c3f-8164-16299ad9d272","roleDefinitionId":"c1cf3708-588a-4647-be7f-f400bbe214cf"},"resourceTypes":[{"resourceType":"resources","locations":[],"apiVersions":["2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"managementGroups","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"getEntities","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"managementGroups/settings","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"checkNameAvailability","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview"],"capabilities":"None"},{"resourceType":"operationResults/asyncOperation","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"operations","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta","2018-01-01-preview","2017-11-01-preview","2017-08-31-preview","2017-06-30-preview","2017-05-31-preview"],"capabilities":"None"},{"resourceType":"tenantBackfillStatus","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"},{"resourceType":"startTenantBackfill","locations":[],"apiVersions":["2020-10-01","2020-05-01","2020-02-01","2019-11-01","2018-03-01-preview","2018-03-01-beta"],"capabilities":"None"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}'
headers:
cache-control:
- no-cache
content-length:
- '2264'
- '2381'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:53:05 GMT
- Fri, 13 Nov 2020 05:24:08 GMT
expires:
- '-1'
pragma:
@ -1461,8 +1508,8 @@ interactions:
ParameterSetName:
- -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: DELETE
@ -1478,7 +1525,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:53:08 GMT
- Fri, 13 Nov 2020 05:24:12 GMT
expires:
- '-1'
location:
@ -1486,7 +1533,7 @@ interactions:
pragma:
- no-cache
request-id:
- 78c0732e-16ab-465f-84c4-c5942e5fd8dc
- 5ff0b30c-3e24-4d6c-8583-3e4da9e59ff3
strict-transport-security:
- max-age=31536000; includeSubDomains
x-ba-restapi:
@ -1494,7 +1541,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-tenant-deletes:
- '14998'
- '14999'
status:
code: 202
message: Accepted
@ -1512,8 +1559,8 @@ interactions:
ParameterSetName:
- -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-managementgroups/0.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/providers/Microsoft.Management/operationResults/delete/managementGroups/azure-cli-management000002?api-version=2018-03-01-preview
response:
@ -1527,13 +1574,13 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:53:19 GMT
- Fri, 13 Nov 2020 05:24:23 GMT
expires:
- '-1'
pragma:
- no-cache
request-id:
- 9304980f-04de-4d58-9c6f-8745c474bf53
- 7c76710f-2282-406c-b834-ad6f81c0bc2e
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:

Просмотреть файл

@ -35,15 +35,15 @@ interactions:
ParameterSetName:
- --resource-group --template-file --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/simple_deploy","name":"simple_deploy","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:30.0244723Z","duration":"PT0S","correlationId":"98254314-76ea-41f7-a069-5161280b92b7","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/simple_deploy","name":"simple_deploy","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:21:57.7635198Z","duration":"PT0S","correlationId":"83329ea9-e304-4f66-a35f-39b93616fe4a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
headers:
cache-control:
- no-cache
@ -52,7 +52,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:48:30 GMT
- Fri, 13 Nov 2020 05:21:57 GMT
expires:
- '-1'
pragma:
@ -66,7 +66,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1199'
status:
code: 200
message: OK
@ -123,15 +123,15 @@ interactions:
ParameterSetName:
- --resource-group --template-file
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/Japanese-characters-template","name":"Japanese-characters-template","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1888782782781528452","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:31.8333701Z","duration":"PT0S","correlationId":"ec3dd349-0cd0-4d17-bb09-0927272335ce","providers":[{"namespace":"Microsoft.Insights","resourceTypes":[{"resourceType":"scheduledQueryRules","locations":["japaneast"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Insights/scheduledQueryRules/armtemplate-alert-japanese-utf8"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/Japanese-characters-template","name":"Japanese-characters-template","type":"Microsoft.Resources/deployments","properties":{"templateHash":"1888782782781528452","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:21:59.9083459Z","duration":"PT0S","correlationId":"19bc3f57-0c15-43e7-a92c-9ff9d6ac6956","providers":[{"namespace":"Microsoft.Insights","resourceTypes":[{"resourceType":"scheduledQueryRules","locations":["japaneast"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Insights/scheduledQueryRules/armtemplate-alert-japanese-utf8"}]}}'
headers:
cache-control:
- no-cache
@ -140,7 +140,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:48:31 GMT
- Fri, 13 Nov 2020 05:21:59 GMT
expires:
- '-1'
pragma:
@ -154,7 +154,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1195'
- '1199'
status:
code: 200
message: OK
@ -196,8 +196,8 @@ interactions:
ParameterSetName:
- --resource-group --template-file --parameters --no-prompt
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -216,7 +216,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:48:32 GMT
- Fri, 13 Nov 2020 05:22:01 GMT
expires:
- '-1'
pragma:
@ -228,7 +228,7 @@ interactions:
x-ms-failure-cause:
- gateway
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1199'
status:
code: 400
message: Bad Request
@ -268,24 +268,24 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:35.3238316Z","duration":"PT0S","correlationId":"ff4c893d-92ce-4e5d-baaf-81f566899be9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:03.042067Z","duration":"PT0S","correlationId":"8c9e817b-da63-4652-879f-128edbe0c089","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1110'
- '1109'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:48:34 GMT
- Fri, 13 Nov 2020 05:22:02 GMT
expires:
- '-1'
pragma:
@ -299,7 +299,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1198'
status:
code: 200
message: OK
@ -339,18 +339,18 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-03T08:48:39.0087348Z","duration":"PT2.0804383S","correlationId":"f9d6037b-1c81-4cf5-a41f-442e52d2bb28","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-13T05:22:06.5687926Z","duration":"PT2.3472306S","correlationId":"aac17ccc-e0c2-4f62-8db7-97fad1fb7f3d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operationStatuses/08585972135685493211?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operationStatuses/08585963619612560590?api-version=2020-06-01
cache-control:
- no-cache
content-length:
@ -358,7 +358,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:48:39 GMT
- Fri, 13 Nov 2020 05:22:07 GMT
expires:
- '-1'
pragma:
@ -368,7 +368,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1194'
- '1199'
status:
code: 201
message: Created
@ -386,10 +386,10 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585972135685493211?api-version=2020-06-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585963619612560590?api-version=2020-06-01
response:
body:
string: '{"status":"Succeeded"}'
@ -401,7 +401,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:11 GMT
- Fri, 13 Nov 2020 05:22:38 GMT
expires:
- '-1'
pragma:
@ -429,18 +429,18 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.6545382Z","duration":"PT11.7262417S","correlationId":"f9d6037b-1c81-4cf5-a41f-442e52d2bb28","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"f02b2103-58c0-4d55-a1a5-5d7b0d7dceef","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:19.4887606Z","duration":"PT15.2671986S","correlationId":"aac17ccc-e0c2-4f62-8db7-97fad1fb7f3d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"b187f3b7-352a-4283-9811-675e2f69be7d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all outbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Outbound"}}]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
headers:
cache-control:
@ -450,7 +450,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:12 GMT
- Fri, 13 Nov 2020 05:22:39 GMT
expires:
- '-1'
pragma:
@ -502,8 +502,8 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters --no-prompt
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -522,7 +522,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:14 GMT
- Fri, 13 Nov 2020 05:22:39 GMT
expires:
- '-1'
pragma:
@ -552,20 +552,20 @@ interactions:
ParameterSetName:
- --resource-group
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.6545382Z","duration":"PT11.7262417S","correlationId":"f9d6037b-1c81-4cf5-a41f-442e52d2bb28","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"f02b2103-58c0-4d55-a1a5-5d7b0d7dceef","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:19.4887606Z","duration":"PT15.2671986S","correlationId":"aac17ccc-e0c2-4f62-8db7-97fad1fb7f3d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"b187f3b7-352a-4283-9811-675e2f69be7d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all outbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Outbound"}}]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}]}'
headers:
cache-control:
@ -575,7 +575,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:16 GMT
- Fri, 13 Nov 2020 05:22:41 GMT
expires:
- '-1'
pragma:
@ -603,20 +603,20 @@ interactions:
ParameterSetName:
- --resource-group --filter
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/?$filter=provisioningState%20eq%20%27Succeeded%27&api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.6545382Z","duration":"PT11.7262417S","correlationId":"f9d6037b-1c81-4cf5-a41f-442e52d2bb28","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"f02b2103-58c0-4d55-a1a5-5d7b0d7dceef","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:19.4887606Z","duration":"PT15.2671986S","correlationId":"aac17ccc-e0c2-4f62-8db7-97fad1fb7f3d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"b187f3b7-352a-4283-9811-675e2f69be7d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all outbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Outbound"}}]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}]}'
headers:
cache-control:
@ -626,7 +626,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:17 GMT
- Fri, 13 Nov 2020 05:22:42 GMT
expires:
- '-1'
pragma:
@ -654,20 +654,20 @@ interactions:
ParameterSetName:
- --resource-group -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.6545382Z","duration":"PT11.7262417S","correlationId":"f9d6037b-1c81-4cf5-a41f-442e52d2bb28","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"f02b2103-58c0-4d55-a1a5-5d7b0d7dceef","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"922735c2-7c23-4712-90e7-f18c8639b189\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002","name":"azure-cli-resource-group-deployment000002","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:19.4887606Z","duration":"PT15.2671986S","correlationId":"aac17ccc-e0c2-4f62-8db7-97fad1fb7f3d","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"b187f3b7-352a-4283-9811-675e2f69be7d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Inbound"}},{"name":"AllowAzureLoadBalancerInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
inbound traffic from azure load balancer","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"AzureLoadBalancer","destinationAddressPrefix":"*","access":"Allow","priority":65001,"direction":"Inbound"}},{"name":"DenyAllInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all inbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Inbound"}},{"name":"AllowVnetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to all VMs in VNET","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"VirtualNetwork","destinationAddressPrefix":"VirtualNetwork","access":"Allow","priority":65000,"direction":"Outbound"}},{"name":"AllowInternetOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Allow
outbound traffic from all VMs to Internet","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"Internet","access":"Allow","priority":65001,"direction":"Outbound"}},{"name":"DenyAllOutBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"af1566af-3f5b-4706-ac18-2c76f716c0c7\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny
all outbound traffic","protocol":"*","sourcePortRange":"*","destinationPortRange":"*","sourceAddressPrefix":"*","destinationAddressPrefix":"*","access":"Deny","priority":65500,"direction":"Outbound"}}]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
headers:
cache-control:
@ -677,7 +677,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:18 GMT
- Fri, 13 Nov 2020 05:22:42 GMT
expires:
- '-1'
pragma:
@ -707,8 +707,8 @@ interactions:
ParameterSetName:
- --resource-group -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -726,7 +726,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:20 GMT
- Fri, 13 Nov 2020 05:22:44 GMT
expires:
- '-1'
pragma:
@ -758,24 +758,24 @@ interactions:
ParameterSetName:
- --resource-group -n
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/deployments/mock-deployment/operations?api-version=2020-06-01
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operations/408F059D5CA5AD39","operationId":"408F059D5CA5AD39","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.5071975Z","duration":"PT8.0867464S","trackingId":"812357b1-2b1f-4cb5-a3ca-c494350c9e67","serviceRequestId":"6fe2fe72-5954-4ce5-bfc6-9bf3a71051c8","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"azure-cli-deploy-test-nsg1"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operations/08585972135685493211","operationId":"08585972135685493211","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-11-03T08:48:48.6271287Z","duration":"PT8.2066776S","trackingId":"62d74813-a1e9-4c24-9ec8-5267a322e5b7","statusCode":"OK"}}]}'
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operations/24269871294E65A5","operationId":"24269871294E65A5","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:18.3379468Z","duration":"PT9.9047642S","trackingId":"34562f69-1d63-41f4-a82f-2d3d3a1022c7","serviceRequestId":"8917cc22-6e6b-4f0a-b247-7a91221ee8fc","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"azure-cli-deploy-test-nsg1"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000002/operations/08585963619612560590","operationId":"08585963619612560590","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:19.2772941Z","duration":"PT10.8441115S","trackingId":"d614c510-eb59-43f8-b44e-1b79ad5a4814","statusCode":"OK"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1512'
- '1513'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:21 GMT
- Fri, 13 Nov 2020 05:22:44 GMT
expires:
- '-1'
pragma:
@ -825,24 +825,24 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters --no-wait
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-03T08:49:24.47664Z","duration":"PT0S","correlationId":"99ff787f-56d1-479e-954d-e1f0b1873dcc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-11-13T05:22:47.178064Z","duration":"PT0S","correlationId":"093cd599-6a7a-4ea5-b6f0-573bf388bf82","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}'
headers:
cache-control:
- no-cache
content-length:
- '1108'
- '1109'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:24 GMT
- Fri, 13 Nov 2020 05:22:47 GMT
expires:
- '-1'
pragma:
@ -856,7 +856,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1197'
- '1199'
status:
code: 200
message: OK
@ -896,26 +896,26 @@ interactions:
ParameterSetName:
- --resource-group -n --template-file --parameters --no-wait
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-03T08:49:28.8250665Z","duration":"PT2.3597014S","correlationId":"c5c28f4f-664b-44e4-816a-e1938e8b8ad3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-11-13T05:22:50.369641Z","duration":"PT2.1354242S","correlationId":"8bba2e91-42b7-422c-9a6f-783d4bfc4aab","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
headers:
azure-asyncoperation:
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operationStatuses/08585972135190122720?api-version=2020-06-01
- https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operationStatuses/08585963619172434002?api-version=2020-06-01
cache-control:
- no-cache
content-length:
- '865'
- '864'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:30 GMT
- Fri, 13 Nov 2020 05:22:51 GMT
expires:
- '-1'
pragma:
@ -925,7 +925,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1198'
- '1199'
status:
code: 201
message: Created
@ -945,8 +945,8 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: POST
@ -958,7 +958,7 @@ interactions:
cache-control:
- no-cache
date:
- Tue, 03 Nov 2020 08:49:32 GMT
- Fri, 13 Nov 2020 05:22:55 GMT
expires:
- '-1'
pragma:
@ -968,7 +968,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- '1196'
- '1199'
status:
code: 204
message: No Content
@ -986,24 +986,24 @@ interactions:
ParameterSetName:
- -n -g --custom
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-03T08:49:32.2162062Z","duration":"PT5.7508411S","correlationId":"c5c28f4f-664b-44e4-816a-e1938e8b8ad3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-13T05:22:54.1563058Z","duration":"PT5.922089S","correlationId":"8bba2e91-42b7-422c-9a6f-783d4bfc4aab","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '865'
- '864'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:33 GMT
- Fri, 13 Nov 2020 05:22:55 GMT
expires:
- '-1'
pragma:
@ -1031,24 +1031,24 @@ interactions:
ParameterSetName:
- -n -g
User-Agent:
- python/3.8.1 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.0
- python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3
azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-06-01
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-03T08:49:34.1749069Z","duration":"PT7.7095418S","correlationId":"c5c28f4f-664b-44e4-816a-e1938e8b8ad3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2020-11-13T05:22:54.1563058Z","duration":"PT5.922089S","correlationId":"8bba2e91-42b7-422c-9a6f-783d4bfc4aab","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}'
headers:
cache-control:
- no-cache
content-length:
- '865'
- '864'
content-type:
- application/json; charset=utf-8
date:
- Tue, 03 Nov 2020 08:49:34 GMT
- Fri, 13 Nov 2020 05:22:56 GMT
expires:
- '-1'
pragma:

Различия файлов скрыты, потому что одна или несколько строк слишком длинны