diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 407b0190d34..f3a7e08a0d8 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -155,7 +155,7 @@ def default_api_version(self): ResourceType.MGMT_RESOURCE_RESOURCES: '2020-10-01', ResourceType.MGMT_RESOURCE_SUBSCRIPTIONS: '2019-11-01', ResourceType.MGMT_RESOURCE_DEPLOYMENTSCRIPTS: '2020-10-01', - ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2019-06-01-preview', + ResourceType.MGMT_RESOURCE_TEMPLATESPECS: '2021-05-01', ResourceType.MGMT_NETWORK_DNS: '2018-05-01', ResourceType.MGMT_KEYVAULT: '2021-04-01-preview', ResourceType.MGMT_AUTHORIZATION: SDKProfile('2020-04-01-preview', { diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_nw_connection_monitor_v2_creation.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_nw_connection_monitor_v2_creation.yaml index 0310901b39a..e1ca6669a39 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_nw_connection_monitor_v2_creation.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_nw_connection_monitor_v2_creation.yaml @@ -14,21 +14,21 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001","name":"connection_monitor_v2_test_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:13:19Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001","name":"connection_monitor_v2_test_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-20T07:18:33Z","NameTag":"ValueTag","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:13:22 GMT + - Thu, 20 May 2021 07:18:46 GMT expires: - '-1' pragma: @@ -107,13 +107,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 14 May 2021 07:13:22 GMT + - Thu, 20 May 2021 07:18:48 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Fri, 14 May 2021 07:18:22 GMT + - Thu, 20 May 2021 07:23:48 GMT source-age: - - '147' + - '0' strict-transport-security: - max-age=31536000 vary: @@ -121,21 +121,21 @@ interactions: via: - 1.1 varnish x-cache: - - HIT + - MISS x-cache-hits: - - '1' + - '0' x-content-type-options: - nosniff x-fastly-request-id: - - 56194b990b3ac908fd80f11229606b160fc99564 + - c077a712ea00ba660c201498ffa74f3e79a39614 x-frame-options: - deny x-github-request-id: - - FA46:21E7:A4718:20F8B2:609CBED4 + - 30EE:0DF9:50830:81D65:60A60D57 x-served-by: - - cache-qpg1278-QPG + - cache-fty21370-FTY x-timer: - - S1620976402.438437,VS0,VE1 + - S1621495128.969974,VS0,VE101 x-xss-protection: - 1; mode=block status: @@ -156,7 +156,7 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -170,7 +170,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:13:22 GMT + - Thu, 20 May 2021 07:18:48 GMT expires: - '-1' pragma: @@ -199,7 +199,7 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network?api-version=2020-10-01 response: @@ -211,10 +211,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualNetworks/taggedTrafficConsumers","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -230,15 +227,15 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"publicIPAddresses","locations":["West @@ -249,20 +246,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"customIpPrefixes","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -271,20 +265,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01"],"defaultApiVersion":"2020-06-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"networkInterfaces","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -292,10 +283,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"dscpConfigurations","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -311,10 +299,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01"],"defaultApiVersion":"2020-03-01","locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01"],"defaultApiVersion":"2020-03-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"privateEndpointRedirectMaps","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -330,10 +315,7 @@ interactions: India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"networkSecurityGroups","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -383,20 +365,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"ddosCustomPolicies","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -444,10 +423,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"localNetworkGateways","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -472,15 +448,15 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"applicationGatewayWebApplicationFirewallPolicies","locations":["West @@ -771,13 +747,7 @@ interactions: Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"expressRoutePortsLocations","locations":["France - Central","West US","East US","North Europe","West Europe","East Asia","Southeast - Asia","North Central US","South Central US","Central US","East US 2","Japan - East","Japan West","Brazil South","Australia East","Australia Southeast","Central - India","South India","West India","Canada Central","Canada East","West Central - US","West US 2","UK West","UK South","Central US EUAP","East US 2 EUAP","Korea - Central","Korea South","Australia Central","South Africa North","UAE North","Switzerland - North","Germany West Central","Norway East","East US SLV","Jio India West"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"capabilities":"None"},{"resourceType":"firewallPolicies","locations":["UAE + Central"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"capabilities":"None"},{"resourceType":"firewallPolicies","locations":["UAE North","Australia Central 2","UAE Central","Germany North","Central India","Korea South","Switzerland North","Switzerland West","Japan West","France South","South Africa West","West India","Canada East","South India","Germany West Central","Norway @@ -812,15 +782,15 @@ interactions: Central","Australia Central","Japan West","Japan East","Korea Central","Korea South","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"azureFirewallFqdnTags","locations":["West @@ -845,10 +815,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"SupportsTags, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"locations/privateLinkServices","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -943,15 +910,7 @@ interactions: CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"dnsResolvers","locations":["Central US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"dnsResolvers/inboundEndpoints","locations":["Central - US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"None"},{"resourceType":"expressRoutePorts","locations":["West - US","East US","North Europe","West Europe","East Asia","Southeast Asia","North - Central US","South Central US","Central US","East US 2","Japan East","Japan - West","Brazil South","Australia East","Australia Southeast","Central India","South - India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Central US EUAP","East US 2 EUAP","Korea Central","Korea - South","France Central","Australia Central","UAE North","South Africa North","Switzerland - North","Germany West Central","Norway East","East US SLV","Jio India West"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"frontdoorOperationResults","locations":["global"],"apiVersions":["2020-11-01","2020-07-01","2020-05-01","2020-04-01","2020-01-01","2019-11-01","2019-10-01","2019-08-01","2019-05-01","2019-04-01","2019-03-01","2018-08-01"],"defaultApiVersion":"2020-07-01","capabilities":"None"},{"resourceType":"frontdoors","locations":["Central + US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"None"},{"resourceType":"frontdoorOperationResults","locations":["global"],"apiVersions":["2020-11-01","2020-07-01","2020-05-01","2020-04-01","2020-01-01","2019-11-01","2019-10-01","2019-08-01","2019-05-01","2019-04-01","2019-03-01","2018-08-01"],"defaultApiVersion":"2020-07-01","capabilities":"None"},{"resourceType":"frontdoors","locations":["Central US EUAP","East US 2 EUAP","global","Central US","East US","East US 2","North Central US","South Central US","West US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Brazil South","Australia @@ -979,11 +938,11 @@ interactions: cache-control: - no-cache content-length: - - '117634' + - '112736' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:13:23 GMT + - Thu, 20 May 2021 07:18:49 GMT expires: - '-1' pragma: @@ -1012,7 +971,7 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1?api-version=2021-02-01 response: @@ -1028,7 +987,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:13:23 GMT + - Thu, 20 May 2021 07:18:50 GMT expires: - '-1' pragma: @@ -1087,15 +1046,15 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_KO1Rx9KR6dYZdDsBWJ5KwQmhsEFyDij7","name":"vm_deploy_KO1Rx9KR6dYZdDsBWJ5KwQmhsEFyDij7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9773610488342170420","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-14T07:13:29.9729798Z","duration":"PT2.7271544S","correlationId":"109719de-0f1b-4e22-8e0e-b43cb282efaf","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_QY3Xw5YIG1vfLkUhhcZRDJgNmsn2Gpnb","name":"vm_deploy_QY3Xw5YIG1vfLkUhhcZRDJgNmsn2Gpnb","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3335932939733406551","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-20T07:18:52.4412566Z","duration":"PT0.8633596S","correlationId":"ef6ee425-9c95-4edc-9126-45f85c61c346","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_KO1Rx9KR6dYZdDsBWJ5KwQmhsEFyDij7/operationStatuses/08585806304782318184?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_QY3Xw5YIG1vfLkUhhcZRDJgNmsn2Gpnb/operationStatuses/08585801117538997341?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -1103,7 +1062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:13:30 GMT + - Thu, 20 May 2021 07:18:52 GMT expires: - '-1' pragma: @@ -1113,7 +1072,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -1132,52 +1091,9 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585806304782318184?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:14:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --authentication-type --admin-username --admin-password - --nsg --nsg-rule - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585806304782318184?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801117538997341?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -1189,7 +1105,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:32 GMT + - Thu, 20 May 2021 07:19:22 GMT expires: - '-1' pragma: @@ -1218,12 +1134,12 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_KO1Rx9KR6dYZdDsBWJ5KwQmhsEFyDij7","name":"vm_deploy_KO1Rx9KR6dYZdDsBWJ5KwQmhsEFyDij7","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9773610488342170420","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-14T07:14:09.0991945Z","duration":"PT41.8533691S","correlationId":"109719de-0f1b-4e22-8e0e-b43cb282efaf","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_QY3Xw5YIG1vfLkUhhcZRDJgNmsn2Gpnb","name":"vm_deploy_QY3Xw5YIG1vfLkUhhcZRDJgNmsn2Gpnb","type":"Microsoft.Resources/deployments","properties":{"templateHash":"3335932939733406551","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-20T07:19:17.8629745Z","duration":"PT26.2850775S","correlationId":"ef6ee425-9c95-4edc-9126-45f85c61c346","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["eastus"]},{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vm1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET"}]}}' headers: cache-control: - no-cache @@ -1232,7 +1148,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:33 GMT + - Thu, 20 May 2021 07:19:22 GMT expires: - '-1' pragma: @@ -1261,23 +1177,23 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d6a59207-57c2-49b6-957b-ad0a0c55108d\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"7ab8fb0e-a338-44b6-8573-baa2e22fe408\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_bb4932068b56441384488b9cd5a0364e\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm1_disk1_bb4932068b56441384488b9cd5a0364e\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \ \"adminUsername\": \"deploy\",\r\n \"linuxConfiguration\": {\r\n @@ -1286,21 +1202,21 @@ interactions: \ }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vm1\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.54.2\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n - \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-05-14T07:14:29+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\",\r\n - \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": + {\r\n \"vmAgentVersion\": \"Unknown\",\r\n \"statuses\": [\r\n + \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n + \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not + Ready\",\r\n \"message\": \"VM status blob is found but not yet + populated.\",\r\n \"time\": \"2021-05-20T07:19:23+00:00\"\r\n }\r\n + \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": + \"vm1_disk1_bb4932068b56441384488b9cd5a0364e\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:13:51.8776747+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:19:02.1724051+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:14:07.299575+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:19:17.0943663+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1308,11 +1224,11 @@ interactions: cache-control: - no-cache content-length: - - '3249' + - '3162' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:33 GMT + - Thu, 20 May 2021 07:19:22 GMT expires: - '-1' pragma: @@ -1329,7 +1245,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3988,Microsoft.Compute/LowCostGet30Min;31986 + - Microsoft.Compute/LowCostGet3Min;3997,Microsoft.Compute/LowCostGet30Min;31997 status: code: 200 message: OK @@ -1348,18 +1264,18 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"34f359a2-fe2d-4a2f-9957-4504787a7e90\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"1756381e-5041-4508-b7d1-e3f1fda3aea8\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"4e92b25c-d581-42bf-80ee-1ffc8cba056a\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"0798887f-2a59-4c83-b4a1-6d44469c5fcc\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"34f359a2-fe2d-4a2f-9957-4504787a7e90\\\"\",\r\n + \ \"etag\": \"W/\\\"1756381e-5041-4508-b7d1-e3f1fda3aea8\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1368,8 +1284,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"vljf3uk2ywae3cw5kzmc35vksg.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-23-6C-94\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"ojjhm5vtpn1upazqtcwmizno2c.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-56-C9-7E\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm1\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1383,9 +1299,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:34 GMT + - Thu, 20 May 2021 07:19:23 GMT etag: - - W/"34f359a2-fe2d-4a2f-9957-4504787a7e90" + - W/"1756381e-5041-4508-b7d1-e3f1fda3aea8" expires: - '-1' pragma: @@ -1402,7 +1318,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d2e17770-d52e-43f6-9d45-65130e2206ad + - 991cfa7f-71e3-41db-8d9a-bd12cd6f188b status: code: 200 message: OK @@ -1421,17 +1337,17 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"3795ad99-9398-40a1-8fe5-c905d427aed9\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"a022ab06-84c9-4eae-886d-27c4f39388b1\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8efa9dde-5690-4377-8b30-2d8656108985\",\r\n - \ \"ipAddress\": \"137.135.101.196\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"787fe4a2-7974-4014-afd2-f3acb2f4f2aa\",\r\n + \ \"ipAddress\": \"13.82.105.123\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -1439,13 +1355,13 @@ interactions: cache-control: - no-cache content-length: - - '999' + - '997' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:34 GMT + - Thu, 20 May 2021 07:19:23 GMT etag: - - W/"3795ad99-9398-40a1-8fe5-c905d427aed9" + - W/"a022ab06-84c9-4eae-886d-27c4f39388b1" expires: - '-1' pragma: @@ -1462,7 +1378,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fdfb6b5b-ad0e-46b5-9da2-a9bdfd7cb4ad + - a63c51b6-31d2-453a-94b9-dd12d8cf9469 status: code: 200 message: OK @@ -1480,23 +1396,23 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"d6a59207-57c2-49b6-957b-ad0a0c55108d\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"7ab8fb0e-a338-44b6-8573-baa2e22fe408\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\",\r\n + \"Linux\",\r\n \"name\": \"vm1_disk1_bb4932068b56441384488b9cd5a0364e\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm1_disk1_bb4932068b56441384488b9cd5a0364e\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \ \"adminUsername\": \"deploy\",\r\n \"linuxConfiguration\": {\r\n @@ -1511,15 +1427,15 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-05-14T07:14:35+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_c9e2bf578c76460aa89b517e1d26dae5\",\r\n + \"2021-05-20T07:19:24+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_disk1_bb4932068b56441384488b9cd5a0364e\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:13:51.8776747+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:19:02.1724051+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:14:07.299575+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:19:17.0943663+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1527,11 +1443,11 @@ interactions: cache-control: - no-cache content-length: - - '3249' + - '3250' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:35 GMT + - Thu, 20 May 2021 07:19:24 GMT expires: - '-1' pragma: @@ -1548,7 +1464,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3987,Microsoft.Compute/LowCostGet30Min;31985 + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31996 status: code: 200 message: OK @@ -1566,7 +1482,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers?api-version=2020-12-01 response: @@ -2015,6 +1931,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudflare\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudhouse\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudhouse\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudinfo-4919088\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudinfo-4919088\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudknox\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudknox\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudlanes\",\r\n @@ -2623,6 +2541,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/it4bizdoo\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"itelios\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/itelios\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"itrsgroupltd1620310702149\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/itrsgroupltd1620310702149\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"ivix1595238749040\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/ivix1595238749040\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"iwnamespace\",\r\n @@ -3701,6 +3621,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nice-it-management-solutions\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nicepeopleatwork\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nicepeopleatwork\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nilespartnersinc1617691698386\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nilespartnersinc1617691698386\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"niolabs-5229713\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/niolabs-5229713\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nodejsapi\",\r\n @@ -3843,6 +3765,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/penta-security-systems-inc\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"percona\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/percona\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"perforce\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/perforce\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"periscope-tech-4791746\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/periscope-tech-4791746\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"piolinkinc1582849368309\",\r\n @@ -4095,6 +4019,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/sepiosystems\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"seppmailag\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/seppmailag\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"seraumo1620002807288\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/seraumo1620002807288\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"service-control-inc\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/service-control-inc\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"shadow-soft\",\r\n @@ -4227,6 +4153,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/stormshield\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"storreduce\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/storreduce\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"storwarespzoo1611743234900\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/storwarespzoo1611743234900\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"strangebee1595948424730\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/strangebee1595948424730\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"strataidentity1608323708170\",\r\n @@ -4672,11 +4600,11 @@ interactions: cache-control: - no-cache content-length: - - '352001' + - '353313' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:38 GMT + - Thu, 20 May 2021 07:19:25 GMT expires: - '-1' pragma: @@ -4709,7 +4637,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types?api-version=2020-12-01 response: @@ -4727,7 +4655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:38 GMT + - Thu, 20 May 2021 07:19:25 GMT expires: - '-1' pragma: @@ -4744,7 +4672,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMExtensionTypes3Min;17998,Microsoft.Compute/ListVMExtensionTypes30Min;22498 + - Microsoft.Compute/ListVMExtensionTypes3Min;17999,Microsoft.Compute/ListVMExtensionTypes30Min;22499 status: code: 200 message: OK @@ -4762,7 +4690,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2020-12-01 response: @@ -4818,7 +4746,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:39 GMT + - Thu, 20 May 2021 07:19:25 GMT expires: - '-1' pragma: @@ -4835,7 +4763,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMExtensions3Min;9996,Microsoft.Compute/ListVMExtensions30Min;21996 + - Microsoft.Compute/ListVMExtensions3Min;9999,Microsoft.Compute/ListVMExtensions30Min;21999 status: code: 200 message: OK @@ -4859,7 +4787,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1/extensions/NetworkWatcherAgentLinux?api-version=2020-12-01 response: @@ -4874,7 +4802,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bcc2d30d-8ac6-42a4-b664-f21d248ceab9?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/f7e58356-ec85-4513-b708-37b267b1c283?api-version=2020-12-01 cache-control: - no-cache content-length: @@ -4882,7 +4810,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:47 GMT + - Thu, 20 May 2021 07:19:27 GMT expires: - '-1' pragma: @@ -4895,9 +4823,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 + - Microsoft.Compute/UpdateVM3Min;239,Microsoft.Compute/UpdateVM30Min;1199 x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 201 message: Created @@ -4915,14 +4843,14 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/bcc2d30d-8ac6-42a4-b664-f21d248ceab9?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/f7e58356-ec85-4513-b708-37b267b1c283?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-05-14T07:14:45.8468072+00:00\",\r\n \"endTime\": - \"2021-05-14T07:15:13.9249329+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"bcc2d30d-8ac6-42a4-b664-f21d248ceab9\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-20T07:19:27.6101029+00:00\",\r\n \"endTime\": + \"2021-05-20T07:19:52.4540096+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f7e58356-ec85-4513-b708-37b267b1c283\"\r\n}" headers: cache-control: - no-cache @@ -4931,7 +4859,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:17 GMT + - Thu, 20 May 2021 07:19:57 GMT expires: - '-1' pragma: @@ -4948,7 +4876,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29989 + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29996 status: code: 200 message: OK @@ -4966,7 +4894,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1/extensions/NetworkWatcherAgentLinux?api-version=2020-12-01 response: @@ -4985,7 +4913,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:17 GMT + - Thu, 20 May 2021 07:19:57 GMT expires: - '-1' pragma: @@ -5002,7 +4930,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3983,Microsoft.Compute/LowCostGet30Min;31979 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31994 status: code: 200 message: OK @@ -5021,21 +4949,21 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001","name":"connection_monitor_v2_test_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:13:19Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001","name":"connection_monitor_v2_test_000001","type":"Microsoft.Resources/resourceGroups","location":"eastus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-20T07:18:33Z","NameTag":"ValueTag","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:18 GMT + - Thu, 20 May 2021 07:19:58 GMT expires: - '-1' pragma: @@ -5114,13 +5042,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 14 May 2021 07:15:19 GMT + - Thu, 20 May 2021 07:19:59 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Fri, 14 May 2021 07:20:19 GMT + - Thu, 20 May 2021 07:24:59 GMT source-age: - - '264' + - '71' strict-transport-security: - max-age=31536000 vary: @@ -5134,15 +5062,15 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 1f34348a5eb513d269d867dd938779e916b3e41a + - 6d7041c4a5d66b449ed0bfa674558abd6376f922 x-frame-options: - deny x-github-request-id: - - FA46:21E7:A4718:20F8B2:609CBED4 + - 30EE:0DF9:50830:81D65:60A60D57 x-served-by: - - cache-qpg1267-QPG + - cache-fty21336-FTY x-timer: - - S1620976520.903066,VS0,VE0 + - S1621495199.189216,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -5163,21 +5091,21 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vm1VNET\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET\",\r\n - \ \"etag\": \"W/\\\"bbe232e5-7015-4425-abfe-5245e10a8f29\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"d3dcd961-26df-4291-b697-c005bb515232\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"d15ed2aa-c55c-4e80-8adf-56582efeaa96\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"7e765272-7bb3-4777-8330-98acc465aee2\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vm1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/virtualNetworks/vm1VNET/subnets/vm1Subnet\",\r\n - \ \"etag\": \"W/\\\"bbe232e5-7015-4425-abfe-5245e10a8f29\\\"\",\r\n + \ \"etag\": \"W/\\\"d3dcd961-26df-4291-b697-c005bb515232\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n @@ -5193,7 +5121,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:19 GMT + - Thu, 20 May 2021 07:19:58 GMT expires: - '-1' pragma: @@ -5210,7 +5138,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 53c73f15-26aa-4799-92ee-6882147f00e5 + - 0a8caba4-2265-4e9c-b47a-36b18d4d400b status: code: 200 message: OK @@ -5229,7 +5157,7 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network?api-version=2020-10-01 response: @@ -5241,10 +5169,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualNetworks/taggedTrafficConsumers","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5260,15 +5185,15 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"publicIPAddresses","locations":["West @@ -5279,20 +5204,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"customIpPrefixes","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5301,20 +5223,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01"],"defaultApiVersion":"2020-06-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"networkInterfaces","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5322,10 +5241,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"dscpConfigurations","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5341,10 +5257,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01"],"defaultApiVersion":"2020-03-01","locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01"],"defaultApiVersion":"2020-03-01","capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"privateEndpointRedirectMaps","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5360,10 +5273,7 @@ interactions: India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway - East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-10-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"networkSecurityGroups","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5413,20 +5323,17 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"ddosCustomPolicies","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5474,10 +5381,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2015-06-15"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-01"},{"profileVersion":"2019-03-01-hybrid","apiVersion":"2017-10-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"localNetworkGateways","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5502,15 +5406,15 @@ interactions: US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01","2018-03-01","2018-02-01","2018-01-01","2017-11-01","2017-10-01","2017-09-01","2017-08-01","2017-06-01","2017-04-01","2017-03-01","2016-12-01","2016-11-01","2016-10-01","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-03-30","2015-06-15","2015-05-01-preview","2014-12-01-preview"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"applicationGatewayWebApplicationFirewallPolicies","locations":["West @@ -5801,13 +5705,7 @@ interactions: Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"expressRoutePortsLocations","locations":["France - Central","West US","East US","North Europe","West Europe","East Asia","Southeast - Asia","North Central US","South Central US","Central US","East US 2","Japan - East","Japan West","Brazil South","Australia East","Australia Southeast","Central - India","South India","West India","Canada Central","Canada East","West Central - US","West US 2","UK West","UK South","Central US EUAP","East US 2 EUAP","Korea - Central","Korea South","Australia Central","South Africa North","UAE North","Switzerland - North","Germany West Central","Norway East","East US SLV","Jio India West"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"capabilities":"None"},{"resourceType":"firewallPolicies","locations":["UAE + Central"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"capabilities":"None"},{"resourceType":"firewallPolicies","locations":["UAE North","Australia Central 2","UAE Central","Germany North","Central India","Korea South","Switzerland North","Switzerland West","Japan West","France South","South Africa West","West India","Canada East","South India","Germany West Central","Norway @@ -5842,15 +5740,15 @@ interactions: Central","Australia Central","Japan West","Japan East","Korea Central","Korea South","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01","2018-06-01","2018-05-01","2018-04-01"],"defaultApiVersion":"2020-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"azureFirewallFqdnTags","locations":["West @@ -5875,10 +5773,7 @@ interactions: India","West India","Canada Central","Canada East","West Central US","West US 2","UK West","UK South","Korea Central","Korea South","France Central","Australia Central","South Africa North","UAE North","Switzerland North","Germany West - Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"SupportsTags, + Central","Norway East","Jio India West","Central US EUAP","East US 2 EUAP"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"locations/privateLinkServices","locations":["West US","East US","North Europe","West Europe","East Asia","Southeast Asia","North Central US","South Central US","Central US","East US 2","Japan East","Japan @@ -5973,15 +5868,7 @@ interactions: CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"dnsResolvers","locations":["Central US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"dnsResolvers/inboundEndpoints","locations":["Central - US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"None"},{"resourceType":"expressRoutePorts","locations":["West - US","East US","North Europe","West Europe","East Asia","Southeast Asia","North - Central US","South Central US","Central US","East US 2","Japan East","Japan - West","Brazil South","Australia East","Australia Southeast","Central India","South - India","West India","Canada Central","Canada East","West Central US","West - US 2","UK West","UK South","Central US EUAP","East US 2 EUAP","Korea Central","Korea - South","France Central","Australia Central","UAE North","South Africa North","Switzerland - North","Germany West Central","Norway East","East US SLV","Jio India West"],"apiVersions":["2021-02-01","2021-01-01","2020-11-01","2020-08-01","2020-07-01","2020-06-01","2020-05-01","2020-04-01","2020-03-01","2020-01-01","2019-12-01","2019-11-01","2019-09-01","2019-08-01","2019-07-01","2019-06-01","2019-04-01","2019-02-01","2018-12-01","2018-11-01","2018-10-01","2018-08-01","2018-07-01"],"defaultApiVersion":"2020-03-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"frontdoorOperationResults","locations":["global"],"apiVersions":["2020-11-01","2020-07-01","2020-05-01","2020-04-01","2020-01-01","2019-11-01","2019-10-01","2019-08-01","2019-05-01","2019-04-01","2019-03-01","2018-08-01"],"defaultApiVersion":"2020-07-01","capabilities":"None"},{"resourceType":"frontdoors","locations":["Central + US EUAP","East US 2 EUAP"],"apiVersions":["2020-04-01-preview"],"defaultApiVersion":"2020-04-01-preview","capabilities":"None"},{"resourceType":"frontdoorOperationResults","locations":["global"],"apiVersions":["2020-11-01","2020-07-01","2020-05-01","2020-04-01","2020-01-01","2019-11-01","2019-10-01","2019-08-01","2019-05-01","2019-04-01","2019-03-01","2018-08-01"],"defaultApiVersion":"2020-07-01","capabilities":"None"},{"resourceType":"frontdoors","locations":["Central US EUAP","East US 2 EUAP","global","Central US","East US","East US 2","North Central US","South Central US","West US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Brazil South","Australia @@ -6009,11 +5896,11 @@ interactions: cache-control: - no-cache content-length: - - '117634' + - '112736' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:21 GMT + - Thu, 20 May 2021 07:20:00 GMT expires: - '-1' pragma: @@ -6042,7 +5929,7 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2?api-version=2021-02-01 response: @@ -6058,7 +5945,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:21 GMT + - Thu, 20 May 2021 07:20:01 GMT expires: - '-1' pragma: @@ -6114,15 +6001,15 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_GrmjNqYeFqlEoWnbswmaLck3iX9eBrhx","name":"vm_deploy_GrmjNqYeFqlEoWnbswmaLck3iX9eBrhx","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13465030911969116526","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-14T07:15:28.4496714Z","duration":"PT2.8852602S","correlationId":"716ad5b8-5a25-4ddb-a289-459d437ed93a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_Hf3wUu8jIv7yWlEMSbETI1xGNsJQvSPE","name":"vm_deploy_Hf3wUu8jIv7yWlEMSbETI1xGNsJQvSPE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17456067708982999974","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-20T07:20:03.3404465Z","duration":"PT0.9061318S","correlationId":"7a029de4-ff90-4075-a2cc-f425cfcb8334","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_GrmjNqYeFqlEoWnbswmaLck3iX9eBrhx/operationStatuses/08585806303599132301?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_Hf3wUu8jIv7yWlEMSbETI1xGNsJQvSPE/operationStatuses/08585801116830433113?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -6130,7 +6017,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:15:29 GMT + - Thu, 20 May 2021 07:20:03 GMT expires: - '-1' pragma: @@ -6140,7 +6027,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -6159,52 +6046,9 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585806303599132301?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:16:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vm create - Connection: - - keep-alive - ParameterSetName: - - -g --name --image --authentication-type --admin-username --admin-password - --nsg --nsg-rule - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585806303599132301?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801116830433113?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -6216,7 +6060,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:30 GMT + - Thu, 20 May 2021 07:20:33 GMT expires: - '-1' pragma: @@ -6245,21 +6089,21 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_GrmjNqYeFqlEoWnbswmaLck3iX9eBrhx","name":"vm_deploy_GrmjNqYeFqlEoWnbswmaLck3iX9eBrhx","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13465030911969116526","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-14T07:16:09.3811827Z","duration":"PT43.8167715S","correlationId":"716ad5b8-5a25-4ddb-a289-459d437ed93a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Resources/deployments/vm_deploy_Hf3wUu8jIv7yWlEMSbETI1xGNsJQvSPE","name":"vm_deploy_Hf3wUu8jIv7yWlEMSbETI1xGNsJQvSPE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17456067708982999974","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-20T07:20:27.183102Z","duration":"PT24.7487873S","correlationId":"7a029de4-ff90-4075-a2cc-f425cfcb8334","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["eastus"]},{"resourceType":"publicIPAddresses","locations":["eastus"]},{"resourceType":"networkInterfaces","locations":["eastus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["eastus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm2PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm2VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm2"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '3296' + - '3295' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:30 GMT + - Thu, 20 May 2021 07:20:33 GMT expires: - '-1' pragma: @@ -6288,23 +6132,23 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2?$expand=instanceView&api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4084ff73-c2c6-49ed-b223-e5380c701177\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b8ed4b84-45d0-4433-bb9c-b5ddfd76d8c2\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm2_disk1_c3820c938e814015bb1332734c99eda1\",\r\n + \"Linux\",\r\n \"name\": \"vm2_disk1_3a3b284c51f944a89666d109ff1063da\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_c3820c938e814015bb1332734c99eda1\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_3a3b284c51f944a89666d109ff1063da\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n \ \"adminUsername\": \"deploy\",\r\n \"linuxConfiguration\": {\r\n @@ -6313,21 +6157,21 @@ interactions: \ }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vm2\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.54.2\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n - \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-05-14T07:16:32+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm2_disk1_c3820c938e814015bb1332734c99eda1\",\r\n - \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": + {\r\n \"vmAgentVersion\": \"Unknown\",\r\n \"statuses\": [\r\n + \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n + \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not + Ready\",\r\n \"message\": \"VM status blob is found but not yet + populated.\",\r\n \"time\": \"2021-05-20T07:20:35+00:00\"\r\n }\r\n + \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": + \"vm2_disk1_3a3b284c51f944a89666d109ff1063da\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:15:51.1438237+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:20:11.8603843+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:16:07.5344935+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:20:26.4073215+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -6335,11 +6179,11 @@ interactions: cache-control: - no-cache content-length: - - '3250' + - '3162' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:32 GMT + - Thu, 20 May 2021 07:20:34 GMT expires: - '-1' pragma: @@ -6356,7 +6200,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3977,Microsoft.Compute/LowCostGet30Min;31971 + - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31991 status: code: 200 message: OK @@ -6375,18 +6219,18 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\",\r\n - \ \"etag\": \"W/\\\"ac99e205-f2a4-458c-905e-44dc56290163\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"3d699445-ec7d-4c14-b14b-b9a60a68c039\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"5a559e1e-291a-4214-8600-62262dc5ca79\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"dd4426cc-eebb-4f81-b7ce-62f662818f53\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm2\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\",\r\n - \ \"etag\": \"W/\\\"ac99e205-f2a4-458c-905e-44dc56290163\\\"\",\r\n + \ \"etag\": \"W/\\\"3d699445-ec7d-4c14-b14b-b9a60a68c039\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.5\",\r\n \"privateIPAllocationMethod\": @@ -6395,8 +6239,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"vljf3uk2ywae3cw5kzmc35vksg.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-22-48-1D-C6-70\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"ojjhm5vtpn1upazqtcwmizno2c.bx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-22-48-1E-0D-9C\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkSecurityGroups/vm2\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -6410,9 +6254,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:33 GMT + - Thu, 20 May 2021 07:20:35 GMT etag: - - W/"ac99e205-f2a4-458c-905e-44dc56290163" + - W/"3d699445-ec7d-4c14-b14b-b9a60a68c039" expires: - '-1' pragma: @@ -6429,7 +6273,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a34195ae-7aec-43cb-b28b-d6ef4f1de49d + - 8d8d5141-603d-4fde-b450-12dfed5654c4 status: code: 200 message: OK @@ -6448,16 +6292,16 @@ interactions: - -g --name --image --authentication-type --admin-username --admin-password --nsg --nsg-rule User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP?api-version=2018-01-01 response: body: string: "{\r\n \"name\": \"vm2PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/publicIPAddresses/vm2PublicIP\",\r\n - \ \"etag\": \"W/\\\"ce405cc6-a3b3-43b8-81ef-a4ca74465f56\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"d5444381-becf-45c8-af67-503430a1cc0e\\\"\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"8354affc-3664-4a3d-816e-7baf885f98ad\",\r\n - \ \"ipAddress\": \"52.168.135.97\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"2afabfe8-09be-4c10-a1ec-13b72e30a2d4\",\r\n + \ \"ipAddress\": \"13.92.99.248\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic/ipConfigurations/ipconfigvm2\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n @@ -6466,13 +6310,13 @@ interactions: cache-control: - no-cache content-length: - - '997' + - '996' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:33 GMT + - Thu, 20 May 2021 07:20:35 GMT etag: - - W/"ce405cc6-a3b3-43b8-81ef-a4ca74465f56" + - W/"d5444381-becf-45c8-af67-503430a1cc0e" expires: - '-1' pragma: @@ -6489,7 +6333,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 158e2da5-ac39-48d0-aa68-41aba4c2478d + - e42915db-8542-4d6f-8758-bcf0e362c305 status: code: 200 message: OK @@ -6507,23 +6351,23 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2?$expand=instanceView&api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4084ff73-c2c6-49ed-b223-e5380c701177\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b8ed4b84-45d0-4433-bb9c-b5ddfd76d8c2\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm2_disk1_c3820c938e814015bb1332734c99eda1\",\r\n + \"Linux\",\r\n \"name\": \"vm2_disk1_3a3b284c51f944a89666d109ff1063da\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_c3820c938e814015bb1332734c99eda1\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_3a3b284c51f944a89666d109ff1063da\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n \ \"adminUsername\": \"deploy\",\r\n \"linuxConfiguration\": {\r\n @@ -6532,21 +6376,21 @@ interactions: \ }\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Network/networkInterfaces/vm2VMNic\"}]},\r\n - \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": - \"vm2\",\r\n \"osName\": \"ubuntu\",\r\n \"osVersion\": \"18.04\",\r\n - \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.54.2\",\r\n \"statuses\": - [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n - \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n - \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2021-05-14T07:16:32+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm2_disk1_c3820c938e814015bb1332734c99eda1\",\r\n - \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"vmAgent\": + {\r\n \"vmAgentVersion\": \"Unknown\",\r\n \"statuses\": [\r\n + \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n + \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not + Ready\",\r\n \"message\": \"VM status blob is found but not yet + populated.\",\r\n \"time\": \"2021-05-20T07:20:36+00:00\"\r\n }\r\n + \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": + \"vm2_disk1_3a3b284c51f944a89666d109ff1063da\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:15:51.1438237+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:20:11.8603843+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2021-05-14T07:16:07.5344935+00:00\"\r\n + succeeded\",\r\n \"time\": \"2021-05-20T07:20:26.4073215+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -6554,11 +6398,11 @@ interactions: cache-control: - no-cache content-length: - - '3250' + - '3162' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:34 GMT + - Thu, 20 May 2021 07:20:35 GMT expires: - '-1' pragma: @@ -6575,7 +6419,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3976,Microsoft.Compute/LowCostGet30Min;31970 + - Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31990 status: code: 200 message: OK @@ -6593,7 +6437,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers?api-version=2020-12-01 response: @@ -7042,6 +6886,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudflare\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudhouse\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudhouse\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudinfo-4919088\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudinfo-4919088\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudknox\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/cloudknox\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"cloudlanes\",\r\n @@ -7650,6 +7496,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/it4bizdoo\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"itelios\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/itelios\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"itrsgroupltd1620310702149\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/itrsgroupltd1620310702149\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"ivix1595238749040\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/ivix1595238749040\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"iwnamespace\",\r\n @@ -8728,6 +8576,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nice-it-management-solutions\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nicepeopleatwork\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nicepeopleatwork\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nilespartnersinc1617691698386\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/nilespartnersinc1617691698386\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"niolabs-5229713\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/niolabs-5229713\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"nodejsapi\",\r\n @@ -8870,6 +8720,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/penta-security-systems-inc\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"percona\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/percona\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"perforce\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/perforce\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"periscope-tech-4791746\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/periscope-tech-4791746\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"piolinkinc1582849368309\",\r\n @@ -9122,6 +8974,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/sepiosystems\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"seppmailag\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/seppmailag\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"seraumo1620002807288\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/seraumo1620002807288\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"service-control-inc\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/service-control-inc\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"shadow-soft\",\r\n @@ -9254,6 +9108,8 @@ interactions: \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/stormshield\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"storreduce\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/storreduce\"\r\n + \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"storwarespzoo1611743234900\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/storwarespzoo1611743234900\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"strangebee1595948424730\",\r\n \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/eastus/Publishers/strangebee1595948424730\"\r\n \ },\r\n {\r\n \"location\": \"eastus\",\r\n \"name\": \"strataidentity1608323708170\",\r\n @@ -9699,11 +9555,11 @@ interactions: cache-control: - no-cache content-length: - - '352001' + - '353313' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:37 GMT + - Thu, 20 May 2021 07:20:36 GMT expires: - '-1' pragma: @@ -9736,7 +9592,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types?api-version=2020-12-01 response: @@ -9754,7 +9610,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:38 GMT + - Thu, 20 May 2021 07:20:37 GMT expires: - '-1' pragma: @@ -9771,7 +9627,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMExtensionTypes3Min;17997,Microsoft.Compute/ListVMExtensionTypes30Min;22496 + - Microsoft.Compute/ListVMExtensionTypes3Min;17998,Microsoft.Compute/ListVMExtensionTypes30Min;22498 status: code: 200 message: OK @@ -9789,7 +9645,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/publishers/Microsoft.Azure.NetworkWatcher/artifacttypes/vmextension/types/NetworkWatcherAgentLinux/versions?api-version=2020-12-01 response: @@ -9845,7 +9701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:38 GMT + - Thu, 20 May 2021 07:20:37 GMT expires: - '-1' pragma: @@ -9862,7 +9718,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/ListVMExtensions3Min;9993,Microsoft.Compute/ListVMExtensions30Min;21990 + - Microsoft.Compute/ListVMExtensions3Min;9996,Microsoft.Compute/ListVMExtensions30Min;21996 status: code: 200 message: OK @@ -9886,7 +9742,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2/extensions/NetworkWatcherAgentLinux?api-version=2020-12-01 response: @@ -9901,7 +9757,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/ccd1bdd5-b950-450f-82f3-217261461082?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/9e7015b5-4df0-4e9a-841e-02a362b4e601?api-version=2020-12-01 cache-control: - no-cache content-length: @@ -9909,7 +9765,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:45 GMT + - Thu, 20 May 2021 07:20:39 GMT expires: - '-1' pragma: @@ -9922,9 +9778,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/UpdateVM3Min;237,Microsoft.Compute/UpdateVM30Min;1196 + - Microsoft.Compute/UpdateVM3Min;238,Microsoft.Compute/UpdateVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -9942,23 +9798,23 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/ccd1bdd5-b950-450f-82f3-217261461082?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/operations/9e7015b5-4df0-4e9a-841e-02a362b4e601?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-05-14T07:16:44.5503325+00:00\",\r\n \"endTime\": - \"2021-05-14T07:17:11.1754221+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ccd1bdd5-b950-450f-82f3-217261461082\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-20T07:20:39.3293123+00:00\",\r\n \"endTime\": + \"2021-05-20T07:21:03.673185+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9e7015b5-4df0-4e9a-841e-02a362b4e601\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:17:15 GMT + - Thu, 20 May 2021 07:21:09 GMT expires: - '-1' pragma: @@ -9975,7 +9831,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29980 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -9993,7 +9849,7 @@ interactions: ParameterSetName: - -g --vm-name --name --publisher User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2/extensions/NetworkWatcherAgentLinux?api-version=2020-12-01 response: @@ -10012,7 +9868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:17:16 GMT + - Thu, 20 May 2021 07:21:09 GMT expires: - '-1' pragma: @@ -10029,7 +9885,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3968,Microsoft.Compute/LowCostGet30Min;31957 + - Microsoft.Compute/LowCostGet3Min;3988,Microsoft.Compute/LowCostGet30Min;31988 status: code: 200 message: OK @@ -10048,21 +9904,21 @@ interactions: - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol --tcp-port User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkWatchers?api-version=2021-02-01 response: body: - string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"50cf93bb-f16f-42aa-88a0-e42c5e7120a9\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"ded56461-3f5d-4cfe-af88-4124cd5bbe78\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westeurope","etag":"W/\"ccc67490-3cf8-4400-95f2-ede30a19bb46\"","type":"Microsoft.Network/networkWatchers","location":"westeurope","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastasia","etag":"W/\"cf6df314-998c-4435-aea8-138733f35cff\"","type":"Microsoft.Network/networkWatchers","location":"eastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southeastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southeastasia","etag":"W/\"05d49269-ff3e-4e51-8515-1a783d92951f\"","type":"Microsoft.Network/networkWatchers","location":"southeastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"387f3d95-7124-4611-972a-6192931886d5\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"9d9a8f53-3aef-4c28-ac84-a42dd4f0a340\"","type":"Microsoft.Network/networkWatchers","location":"centralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2","etag":"W/\"eb255ddc-5f27-4866-8f4f-32eaaaafef5c\"","type":"Microsoft.Network/networkWatchers","location":"eastus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_japanwest","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_japanwest","etag":"W/\"5ada542b-964c-4350-a343-50394e86ba84\"","type":"Microsoft.Network/networkWatchers","location":"japanwest","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus","etag":"W/\"8daa8757-b4ff-468b-a25d-26e374e8bbb3\"","type":"Microsoft.Network/networkWatchers","location":"westcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"7346b6a7-8149-4670-9ecf-4f263fa7cefe\"","type":"Microsoft.Network/networkWatchers","location":"westus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_francecentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_francecentral","etag":"W/\"f34a1fae-51f1-469d-aa98-198a05381fe0\"","type":"Microsoft.Network/networkWatchers","location":"francecentral","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centraluseuap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap","etag":"W/\"87cb898c-56dc-432d-9770-ceb6c180e665\"","type":"Microsoft.Network/networkWatchers","location":"centraluseuap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2euap","etag":"W/\"c14925a5-8702-415e-8c4a-eaa1af9fe6f3\"","type":"Microsoft.Network/networkWatchers","location":"eastus2euap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' + string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"4d4b54ac-8d14-4749-939b-b9680d9e0e27\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"d4116f53-8d70-470a-957b-0137da17e713\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"3b2c8598-25d4-463d-8805-ca845032a1e7\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","tags":{"costCenter":"Contoso/IT/PROD/123456"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"8608069a-7c32-4fde-8466-fe1b69b6e845\"","type":"Microsoft.Network/networkWatchers","location":"centralus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"a06beb2b-47fc-4986-b724-e2242afedc2d\"","type":"Microsoft.Network/networkWatchers","location":"westus2","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' headers: cache-control: - no-cache content-length: - - '5496' + - '2247' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:17:18 GMT + - Thu, 20 May 2021 07:21:12 GMT expires: - '-1' pragma: @@ -10074,20 +9930,11 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 179dad21-02f0-4c3b-8d0a-c499f5d4de00 - - 4de34d70-69d9-48ca-bbb3-d9362e0e750d - - b4d76b52-f61a-480c-ab43-4a5243fad2a3 - - f3549ff1-313d-4766-993d-dd7b36caba19 - - 0e0c7f56-316e-4219-8aab-31bdee06b116 - - 7f1646f6-a757-4699-9afb-69d62960617c - - e635ab41-8b6a-46ae-8e89-b9fa806611ca - - 9c715371-6f08-4b0c-a5a6-67a1ebb57bf8 - - 487968e6-43f3-4aa2-b4ee-7092721d993c - - 18c1a290-71be-47c2-8394-aaa967c294eb - - 7d0a08a8-30d1-4159-93aa-f4708fda7434 - - 5d508ec4-8651-480e-a7df-9f143e95729c - - e2eb53c9-7600-4053-a1e3-d5d6dc5766b5 - - 52c940db-3f9e-4247-940f-2325b02e3d60 + - e03715cb-9086-47a2-afb7-b64d82842390 + - e1587160-7fa5-4d9e-b1fc-d719d0867e27 + - 793b9dd0-e5ab-4092-b912-16b76286cf2d + - c02d7e34-2d1b-4452-adeb-d0f0bfaa8402 + - ce739956-d5df-4b10-9b14-2aeb8c06d4e4 status: code: 200 message: OK @@ -10115,14 +9962,14 @@ interactions: - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol --tcp-port User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"CMv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"821995a9-0b9f-4af7-9b9f-0a4a7fc3e1f1\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + \ \"etag\": \"W/\\\"ebb399c6-f93f-42f8-ba78-ab9bf702dcbc\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm1\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": @@ -10138,8 +9985,10 @@ interactions: \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \ \"location\": \"eastus\"\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/97feef4b-dcd0-4ce1-a783-778cefa50aa0?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -10147,7 +9996,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:17:18 GMT + - Thu, 20 May 2021 07:21:14 GMT expires: - '-1' pragma: @@ -10157,219 +10006,15 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c10b6676-85d9-4310-b382-a8ef890db5cc + - e5ebed65-b7fc-49f4-9377-36df89edb384 x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1199' status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network watcher connection-monitor create - Connection: - - keep-alive - ParameterSetName: - - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name - --endpoint-dest-address --test-config-name --protocol --tcp-port - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:17:29 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - f3d0bb98-4205-4c1e-b8b6-5063f1c31181 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network watcher connection-monitor create - Connection: - - keep-alive - ParameterSetName: - - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name - --endpoint-dest-address --test-config-name --protocol --tcp-port - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:17:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 678f11fb-1acb-4f3d-b4cb-fca836b9971a - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network watcher connection-monitor create - Connection: - - keep-alive - ParameterSetName: - - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name - --endpoint-dest-address --test-config-name --protocol --tcp-port - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:17:59 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 0c4435b2-0005-457b-a27b-5ef9dfc81680 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network watcher connection-monitor create - Connection: - - keep-alive - ParameterSetName: - - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name - --endpoint-dest-address --test-config-name --protocol --tcp-port - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Fri, 14 May 2021 07:18:39 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-arm-service-request-id: - - 3b2e5f23-a435-42fe-ad4f-78e45d98c71a - status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -10385,9 +10030,9 @@ interactions: - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol --tcp-port User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2c394d54-74db-4b8b-9af5-4b0c75364f5f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/97feef4b-dcd0-4ce1-a783-778cefa50aa0?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -10399,7 +10044,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:00 GMT + - Thu, 20 May 2021 07:21:25 GMT expires: - '-1' pragma: @@ -10416,7 +10061,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d97c7731-460b-4c35-835c-b08a719b2829 + - 39b1de70-b219-43a8-91c8-c29607167d1d status: code: 200 message: OK @@ -10435,16 +10080,16 @@ interactions: - --location --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol --tcp-port User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"CMv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"5326c70c-1298-479b-a617-f235609404c7\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + \ \"etag\": \"W/\\\"d13334c5-6ff8-407a-9bc3-94f851b8ab4b\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm1\",\r\n \"resourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_pfkvivecku4jrv2zui5e3nesxco62zqtyawmzuty5axqhkfi/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": \"bing.com\"\r\n }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n \ \"name\": \"DefaultTestConfig\",\r\n \"testFrequencySec\": @@ -10456,21 +10101,21 @@ interactions: [\r\n \"vm1\"\r\n ],\r\n \"destinations\": [\r\n \"bing\"\r\n \ ]\r\n }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"type\": \"Workspace\",\r\n \"workspaceSettings\": {\r\n \"workspaceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-eus\"\r\n - \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-14T07:19:40.9826854Z\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-28cbf98f-381d-4425-9ac4-cf342dab9753-eus\"\r\n + \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-20T07:21:24.973257Z\",\r\n \ \"connectionMonitorType\": \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: - no-cache content-length: - - '1852' + - '1851' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:01 GMT + - Thu, 20 May 2021 07:21:25 GMT etag: - - W/"5326c70c-1298-479b-a617-f235609404c7" + - W/"d13334c5-6ff8-407a-9bc3-94f851b8ab4b" expires: - '-1' pragma: @@ -10487,7 +10132,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - debec058-3844-43da-bf63-7971b783423d + - 8e9742c9-9a07-4dad-a017-49257fe34e36 status: code: 200 message: OK @@ -10506,9 +10151,9 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2021-04-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute","namespace":"Microsoft.Compute","authorizations":[{"applicationId":"60e6cd67-9c8c-4951-9b3c-23c25a2169af","roleDefinitionId":"e4770acb-272e-4dc8-87f3-12f44a612224"},{"applicationId":"a303894e-f1d8-4a37-bf10-67aa654a0596","roleDefinitionId":"903ac751-8ad5-4e5a-bfc2-5e49f450a241"},{"applicationId":"a8b6bf88-1d1a-4626-b040-9a729ea93c65","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"184909ca-69f1-4368-a6a7-c558ee6eb0bd","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"5e5e43d4-54da-4211-86a4-c6e7f3715801","roleDefinitionId":"ffcd6e5b-8772-457d-bb17-89703c03428f"},{"applicationId":"ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"372140e0-b3b7-4226-8ef9-d57986796201","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"b9a92e36-2cf8-4f4e-bcb3-9d99e00e14ab","roleDefinitionId":"6efa92ca-56b6-40af-a468-5e3d2b5232f0"},{"applicationId":"579d9c9d-4c83-4efc-8124-7eba65ed3356","roleDefinitionId":"8c99c4ce-d744-4597-a2f0-0a0044d67560"}],"resourceTypes":[{"resourceType":"availabilitySets","locations":["East @@ -10527,20 +10172,17 @@ interactions: US","UK South","UK West","Korea Central","Korea South","France Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2020-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachines/extensions","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North @@ -10558,20 +10200,17 @@ interactions: US","UK South","UK West","Korea Central","Korea South","France Central","South Africa North","UAE North","Switzerland North","Germany West Central","Norway East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2020-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachineScaleSets/extensions","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North @@ -10803,20 +10442,17 @@ interactions: Central","Korea South","West India","France Central","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-12-01","2020-09-30","2020-06-30","2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2020-06-30","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway - East","zones":[]},{"location":"East Asia","zones":[]}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"snapshots","locations":["Southeast Asia","East US 2","Central US","West Europe","East US","North Central US","South Central US","West US","North Europe","East Asia","Brazil South","West US 2","West @@ -10824,10 +10460,7 @@ interactions: East","Central India","South India","Australia East","Australia Southeast","Korea Central","Korea South","West India","France Central","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway - East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-12-01","2020-09-30","2020-06-30","2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2020-06-30","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2020-12-01","2020-09-30","2020-06-30","2020-05-01","2019-11-01","2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2020-06-30","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/diskoperations","locations":["Southeast Asia","East US 2","Central US","West Europe","East US","North Central US","South Central US","West US","North Europe","East Asia","Brazil South","West US 2","West @@ -10859,15 +10492,15 @@ interactions: Central","Korea South","West India","France Central","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-10-01-preview"],"defaultApiVersion":"2021-03-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"cloudServices/roles","locations":["Southeast @@ -10933,10 +10566,7 @@ interactions: East","Central India","South India","Australia East","Australia Southeast","Korea Central","Korea South","West India","France Central","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway - East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview"],"defaultApiVersion":"2020-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"locationMappings":[{"location":"East - US 2 EUAP","type":"EdgeZone","extendedLocations":["eastus2euapmockedge","microsoftrrdclab1","microsoftrrdclab2","microsoftrrdclab3","microsoftdclabs1"]},{"location":"West - US","type":"EdgeZone","extendedLocations":["microsoftlosangeles1"]},{"location":"Canada - Central","type":"EdgeZone","extendedLocations":["microsoftvancouver1"]}],"capabilities":"CrossResourceGroupResourceMove, + East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview"],"defaultApiVersion":"2020-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/logAnalytics","locations":["East US","East US 2","West US","Central US","North Central US","South Central US","North Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia @@ -10952,15 +10582,15 @@ interactions: Southeast","Korea South","West India","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway East","Australia East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2020-06-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"hostGroups/hosts","locations":["Central @@ -10971,43 +10601,27 @@ interactions: Southeast","Korea South","West India","South Africa North","UAE North","Australia Central","Switzerland North","Germany West Central","Norway East","Australia East","Jio India West","East US 2 EUAP","Central US EUAP"],"apiVersions":["2021-03-01","2020-12-01","2020-06-01","2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2020-06-01","zoneMappings":[{"location":"East - US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West - Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central - US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast - Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North - Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK - South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia - East","zones":["2","3","1"]},{"location":"South Africa North","zones":[]},{"location":"South - Central US","zones":["2","3","1"]},{"location":"Canada Central","zones":["2","3","1"]},{"location":"Germany - West Central","zones":["2","3","1"]},{"location":"Brazil South","zones":["2","3","1"]},{"location":"Central + US 2","zones":["2","1","3"]},{"location":"Central US","zones":["2","1","3"]},{"location":"West + Europe","zones":["2","1","3"]},{"location":"East US 2 EUAP","zones":["2","1","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","1","3"]},{"location":"Southeast + Asia","zones":["2","1","3"]},{"location":"West US 2","zones":["2","1","3"]},{"location":"North + Europe","zones":["2","1","3"]},{"location":"East US","zones":["2","1","3"]},{"location":"UK + South","zones":["2","1","3"]},{"location":"Japan East","zones":["2","1","3"]},{"location":"Australia + East","zones":["2","1","3"]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":["2","1","3"]},{"location":"Canada Central","zones":["2","1","3"]},{"location":"Germany + West Central","zones":["2","1","3"]},{"location":"Brazil South","zones":["2","1","3"]},{"location":"Central India","zones":[]},{"location":"Korea Central","zones":[]},{"location":"Norway East","zones":[]},{"location":"East Asia","zones":[]}],"capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"sharedVMExtensions","locations":["East - US 2 EUAP","Central US EUAP","Southeast Asia","East US 2","Central US","West - Europe","East US","North Central US","South Central US","West US","North Europe","East - Asia","Brazil South","West US 2","West Central US","UK West","UK South","Japan - East","Japan West","Canada Central","Canada East","Central India","South India","Australia - East","Australia Southeast","Korea Central","Korea South","West India","France - Central","South Africa North","UAE North","Australia Central","Switzerland - North","Germany West Central","Norway East","Jio India West"],"apiVersions":["2020-09-30","2019-12-01"],"defaultApiVersion":"2019-12-01","capabilities":"SupportsTags, - SupportsLocation"},{"resourceType":"sharedVMExtensions/versions","locations":["East - US 2 EUAP","Central US EUAP","Southeast Asia","East US 2","Central US","West - Europe","East US","North Central US","South Central US","West US","North Europe","East - Asia","Brazil South","West US 2","West Central US","UK West","UK South","Japan - East","Japan West","Canada Central","Canada East","Central India","South India","Australia - East","Australia Southeast","Korea Central","Korea South","West India","France - Central","South Africa North","UAE North","Australia Central","Switzerland - North","Germany West Central","Norway East","Jio India West"],"apiVersions":["2020-09-30","2019-12-01"],"defaultApiVersion":"2019-12-01","capabilities":"SupportsTags, SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' headers: cache-control: - no-cache content-length: - - '58391' + - '55072' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:01 GMT + - Thu, 20 May 2021 07:21:26 GMT expires: - '-1' pragma: @@ -11036,23 +10650,23 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vm2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"4084ff73-c2c6-49ed-b223-e5380c701177\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"b8ed4b84-45d0-4433-bb9c-b5ddfd76d8c2\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": \"18.04.202105120\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": - \"Linux\",\r\n \"name\": \"vm2_disk1_c3820c938e814015bb1332734c99eda1\",\r\n + \"Linux\",\r\n \"name\": \"vm2_disk1_3a3b284c51f944a89666d109ff1063da\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_c3820c938e814015bb1332734c99eda1\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/disks/vm2_disk1_3a3b284c51f944a89666d109ff1063da\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm2\",\r\n \ \"adminUsername\": \"deploy\",\r\n \"linuxConfiguration\": {\r\n @@ -11076,7 +10690,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:02 GMT + - Thu, 20 May 2021 07:21:26 GMT expires: - '-1' pragma: @@ -11093,7 +10707,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3981,Microsoft.Compute/LowCostGet30Min;31942 + - Microsoft.Compute/LowCostGet3Min;3986,Microsoft.Compute/LowCostGet30Min;31986 status: code: 200 message: OK @@ -11112,21 +10726,21 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkWatchers?api-version=2021-02-01 response: body: - string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"50cf93bb-f16f-42aa-88a0-e42c5e7120a9\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"5326c70c-1298-479b-a617-f235609404c7\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westeurope","etag":"W/\"ccc67490-3cf8-4400-95f2-ede30a19bb46\"","type":"Microsoft.Network/networkWatchers","location":"westeurope","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastasia","etag":"W/\"cf6df314-998c-4435-aea8-138733f35cff\"","type":"Microsoft.Network/networkWatchers","location":"eastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southeastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southeastasia","etag":"W/\"05d49269-ff3e-4e51-8515-1a783d92951f\"","type":"Microsoft.Network/networkWatchers","location":"southeastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"387f3d95-7124-4611-972a-6192931886d5\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"9d9a8f53-3aef-4c28-ac84-a42dd4f0a340\"","type":"Microsoft.Network/networkWatchers","location":"centralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2","etag":"W/\"eb255ddc-5f27-4866-8f4f-32eaaaafef5c\"","type":"Microsoft.Network/networkWatchers","location":"eastus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_japanwest","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_japanwest","etag":"W/\"5ada542b-964c-4350-a343-50394e86ba84\"","type":"Microsoft.Network/networkWatchers","location":"japanwest","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus","etag":"W/\"8daa8757-b4ff-468b-a25d-26e374e8bbb3\"","type":"Microsoft.Network/networkWatchers","location":"westcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"7346b6a7-8149-4670-9ecf-4f263fa7cefe\"","type":"Microsoft.Network/networkWatchers","location":"westus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_francecentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_francecentral","etag":"W/\"f34a1fae-51f1-469d-aa98-198a05381fe0\"","type":"Microsoft.Network/networkWatchers","location":"francecentral","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centraluseuap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap","etag":"W/\"87cb898c-56dc-432d-9770-ceb6c180e665\"","type":"Microsoft.Network/networkWatchers","location":"centraluseuap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2euap","etag":"W/\"c14925a5-8702-415e-8c4a-eaa1af9fe6f3\"","type":"Microsoft.Network/networkWatchers","location":"eastus2euap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' + string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"4d4b54ac-8d14-4749-939b-b9680d9e0e27\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"d13334c5-6ff8-407a-9bc3-94f851b8ab4b\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"3b2c8598-25d4-463d-8805-ca845032a1e7\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","tags":{"costCenter":"Contoso/IT/PROD/123456"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"8608069a-7c32-4fde-8466-fe1b69b6e845\"","type":"Microsoft.Network/networkWatchers","location":"centralus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"a06beb2b-47fc-4986-b724-e2242afedc2d\"","type":"Microsoft.Network/networkWatchers","location":"westus2","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' headers: cache-control: - no-cache content-length: - - '5496' + - '2247' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:04 GMT + - Thu, 20 May 2021 07:21:26 GMT expires: - '-1' pragma: @@ -11138,20 +10752,11 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 64f404d9-14a8-45fe-9f3c-60298d94a07e - - ca6c7b19-d8cd-4858-a399-9823f76155e7 - - 52d12008-6db7-4288-a3cf-57f169c7033e - - ae20dce6-476a-43c4-b9d4-50b62aa0e2a5 - - b16e6391-029b-486b-bcac-91fa82a01e74 - - ed1af4cd-5f68-48af-8594-d39a3b9bfdf3 - - 506805e7-d3f6-431b-98e2-2044086ce6c4 - - 9e75f252-47b9-4cf9-bf1c-876c8693f663 - - 6b10018a-4c9b-4d11-9116-da7623c4cad6 - - e7265900-ed25-43b8-8efc-8a9fbcc23643 - - 9a5b7ad4-5366-48d4-b716-6abef2f74e17 - - c62cac3b-e093-4248-a103-14f1e5ead3be - - f56b5dc1-784c-4d7d-a933-a49168945946 - - c23dbb42-cdb3-4a11-be29-25cd67836021 + - 42b5cec2-4fc4-44d1-a236-876deb74a58e + - 14a21e3f-38da-4f80-a04c-40d3af6d35ff + - 52b24dfa-381b-4608-89a3-23ff163e090d + - 3b35ebd0-6723-438f-a76b-cc0586608bc3 + - 16be6625-2630-483a-a23c-b62736f5ab0d status: code: 200 message: OK @@ -11179,14 +10784,14 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cmv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01\",\r\n - \ \"etag\": \"W/\\\"0c8cbab2-1f59-42fd-bb33-dab2809b7082\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + \ \"etag\": \"W/\\\"b6d74fc8-a6e2-4dbd-a1c3-ee744733ac95\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm2\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": @@ -11203,7 +10808,7 @@ interactions: \"eastus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e4e0dc4-0cc6-4d90-959c-1e75f43ba367?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e5b4148b-b2d4-43c8-aa97-1b6512bf6e8d?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -11211,7 +10816,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:04 GMT + - Thu, 20 May 2021 07:21:27 GMT expires: - '-1' pragma: @@ -11228,9 +10833,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a34f0a40-7e4d-4f80-8486-e5a064e2078b + - 0a5c681c-783a-4907-b8be-3fbe33418e42 x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 200 message: OK @@ -11249,9 +10854,9 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2e4e0dc4-0cc6-4d90-959c-1e75f43ba367?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/e5b4148b-b2d4-43c8-aa97-1b6512bf6e8d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -11263,7 +10868,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:14 GMT + - Thu, 20 May 2021 07:21:37 GMT expires: - '-1' pragma: @@ -11280,7 +10885,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e0437af7-31c4-4501-aa16-f4f4be37a52f + - d8dd4739-21d7-48d6-9b2e-a9101480ab87 status: code: 200 message: OK @@ -11299,46 +10904,41 @@ interactions: - --name --endpoint-source-name --endpoint-source-resource-id --endpoint-dest-name --endpoint-dest-address --test-config-name --protocol User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"CMv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"c1ba87ad-792b-4842-9234-00606921c5f6\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + string: "{\r\n \"name\": \"cmv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01\",\r\n + \ \"etag\": \"W/\\\"73e98df3-467d-4b32-b1aa-745ae362bfc3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm2\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": - \"bing.com\"\r\n },\r\n {\r\n \"name\": \"cm_subnet_endpoint\",\r\n - \ \"type\": \"AzureSubnet\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_pfkvivecku4jrv2zui5e3nesxco62zqtyawmzuty5axqhkfi/providers/Microsoft.Network/virtualNetworks/cmv2-vnet/subnets/subnet1\",\r\n - \ \"scope\": {\r\n \"include\": [],\r\n \"exclude\": - [\r\n {\r\n \"address\": \"10.0.0.25\"\r\n }\r\n - \ ]\r\n },\r\n \"coverageLevel\": \"BelowAverage\"\r\n - \ }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n \"name\": - \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n \"protocol\": - \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": + \"bing.com\"\r\n }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n + \ \"name\": \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n + \ \"protocol\": \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": false\r\n }\r\n }\r\n ],\r\n \"testGroups\": [\r\n {\r\n \ \"name\": \"DefaultTestGroup\",\r\n \"disable\": false,\r\n \ \"testConfigurations\": [\r\n \"DefaultIcmp\"\r\n ],\r\n - \ \"sources\": [\r\n \"vm2\",\r\n \"cm_subnet_endpoint\"\r\n - \ ],\r\n \"destinations\": [\r\n \"bing\"\r\n ]\r\n - \ }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"type\": \"Workspace\",\r\n - \ \"workspaceSettings\": {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-eus\"\r\n - \ }\r\n }\r\n ],\r\n \"connectionMonitorType\": \"MultiEndpoint\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n + \ \"sources\": [\r\n \"vm2\"\r\n ],\r\n \"destinations\": + [\r\n \"bing\"\r\n ]\r\n }\r\n ],\r\n \"outputs\": + [\r\n {\r\n \"type\": \"Workspace\",\r\n \"workspaceSettings\": + {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-28cbf98f-381d-4425-9ac4-cf342dab9753-eus\"\r\n + \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-20T07:21:28.3951856Z\",\r\n + \ \"connectionMonitorType\": \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: - no-cache content-length: - - '2332' + - '1817' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:15 GMT + - Thu, 20 May 2021 07:21:37 GMT etag: - - W/"c1ba87ad-792b-4842-9234-00606921c5f6" + - W/"73e98df3-467d-4b32-b1aa-745ae362bfc3" expires: - '-1' pragma: @@ -11355,7 +10955,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 78f3ae8b-be97-4a87-ae1d-5574e8458f4f + - 74f024b5-6961-4bb5-8f41-e5f2a46cb9eb status: code: 200 message: OK @@ -11373,21 +10973,21 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkWatchers?api-version=2021-02-01 response: body: - string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"50cf93bb-f16f-42aa-88a0-e42c5e7120a9\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"36c74301-a3e1-407d-a75a-3cc18094eb8d\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westeurope","etag":"W/\"ccc67490-3cf8-4400-95f2-ede30a19bb46\"","type":"Microsoft.Network/networkWatchers","location":"westeurope","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastasia","etag":"W/\"cf6df314-998c-4435-aea8-138733f35cff\"","type":"Microsoft.Network/networkWatchers","location":"eastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southeastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southeastasia","etag":"W/\"05d49269-ff3e-4e51-8515-1a783d92951f\"","type":"Microsoft.Network/networkWatchers","location":"southeastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"387f3d95-7124-4611-972a-6192931886d5\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"9d9a8f53-3aef-4c28-ac84-a42dd4f0a340\"","type":"Microsoft.Network/networkWatchers","location":"centralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2","etag":"W/\"eb255ddc-5f27-4866-8f4f-32eaaaafef5c\"","type":"Microsoft.Network/networkWatchers","location":"eastus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_japanwest","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_japanwest","etag":"W/\"5ada542b-964c-4350-a343-50394e86ba84\"","type":"Microsoft.Network/networkWatchers","location":"japanwest","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus","etag":"W/\"8daa8757-b4ff-468b-a25d-26e374e8bbb3\"","type":"Microsoft.Network/networkWatchers","location":"westcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"7346b6a7-8149-4670-9ecf-4f263fa7cefe\"","type":"Microsoft.Network/networkWatchers","location":"westus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_francecentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_francecentral","etag":"W/\"f34a1fae-51f1-469d-aa98-198a05381fe0\"","type":"Microsoft.Network/networkWatchers","location":"francecentral","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centraluseuap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap","etag":"W/\"87cb898c-56dc-432d-9770-ceb6c180e665\"","type":"Microsoft.Network/networkWatchers","location":"centraluseuap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2euap","etag":"W/\"c14925a5-8702-415e-8c4a-eaa1af9fe6f3\"","type":"Microsoft.Network/networkWatchers","location":"eastus2euap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' + string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"4d4b54ac-8d14-4749-939b-b9680d9e0e27\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"73e98df3-467d-4b32-b1aa-745ae362bfc3\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"3b2c8598-25d4-463d-8805-ca845032a1e7\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","tags":{"costCenter":"Contoso/IT/PROD/123456"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"8608069a-7c32-4fde-8466-fe1b69b6e845\"","type":"Microsoft.Network/networkWatchers","location":"centralus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"a06beb2b-47fc-4986-b724-e2242afedc2d\"","type":"Microsoft.Network/networkWatchers","location":"westus2","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' headers: cache-control: - no-cache content-length: - - '5496' + - '2247' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:16 GMT + - Thu, 20 May 2021 07:21:38 GMT expires: - '-1' pragma: @@ -11399,20 +10999,11 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 36a2aebc-767e-411b-80bd-6c842798c910 - - 7be89e5a-61b6-40ef-afb6-01f8dc502c77 - - 2dc5b4e4-28d4-4ecc-8c1a-52b12bc14367 - - db435a24-714f-4250-a677-b09e17c79040 - - 3ec55393-1066-4769-bf7d-a8f85b44bdac - - 046bc59b-7777-4945-979c-9308612495a0 - - afee2bb4-b721-4b58-a9a5-5a6986d3920f - - 4c7ff771-390e-441c-b841-ae140fbc0b16 - - 4febd0f6-a8c0-4649-a24a-7baeb58f35c1 - - 933d91b6-f291-427c-8aa7-abfbac8775ad - - d31e049b-e280-41e0-9d60-78c5d34dc439 - - 9368f50f-d57a-4f4b-9408-e929c4f08ec6 - - e139036a-db98-4016-adbb-892d2c6b8973 - - 8dd2a601-8598-4d7b-b8d1-39975547b309 + - 33417d46-87c9-495c-8f31-9b261fe215fb + - d8c08a29-0dc1-4b5b-88cd-91ef2e49c2ed + - aa968b60-1ea9-449c-825e-e4cf77d5e88c + - 36ef691e-3ae1-4d95-85a0-14ef58f6322a + - 19aaed47-5da0-48bb-a0d0-90872ae2e175 status: code: 200 message: OK @@ -11430,37 +11021,32 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors?api-version=2021-02-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"CMv2-01\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"36c74301-a3e1-407d-a75a-3cc18094eb8d\\\"\",\r\n \"properties\": + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"cmv2-01\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01\",\r\n + \ \"etag\": \"W/\\\"73e98df3-467d-4b32-b1aa-745ae362bfc3\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n \"endpoints\": [\r\n + \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \"endpoints\": [\r\n \ {\r\n \"name\": \"vm2\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": - \"bing.com\"\r\n },\r\n {\r\n \"name\": \"cm_subnet_endpoint\",\r\n - \ \"type\": \"AzureSubnet\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_pfkvivecku4jrv2zui5e3nesxco62zqtyawmzuty5axqhkfi/providers/Microsoft.Network/virtualNetworks/cmv2-vnet/subnets/subnet1\",\r\n - \ \"scope\": {\r\n \"include\": [],\r\n \"exclude\": - [\r\n {\r\n \"address\": \"10.0.0.25\"\r\n - \ }\r\n ]\r\n },\r\n \"coverageLevel\": - \"BelowAverage\"\r\n }\r\n ],\r\n \"testConfigurations\": + \"bing.com\"\r\n }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n \"name\": \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n \"protocol\": \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": false\r\n }\r\n }\r\n \ ],\r\n \"testGroups\": [\r\n {\r\n \"name\": \"DefaultTestGroup\",\r\n \"disable\": false,\r\n \"testConfigurations\": [\r\n \"DefaultIcmp\"\r\n ],\r\n \"sources\": - [\r\n \"vm2\",\r\n \"cm_subnet_endpoint\"\r\n ],\r\n - \ \"destinations\": [\r\n \"bing\"\r\n ]\r\n - \ }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"type\": - \"Workspace\",\r\n \"workspaceSettings\": {\r\n \"workspaceResourceId\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-eus\"\r\n - \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-14T07:20:16.029784Z\",\r\n + [\r\n \"vm2\"\r\n ],\r\n \"destinations\": + [\r\n \"bing\"\r\n ]\r\n }\r\n ],\r\n + \ \"outputs\": [\r\n {\r\n \"type\": \"Workspace\",\r\n + \ \"workspaceSettings\": {\r\n \"workspaceResourceId\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-28cbf98f-381d-4425-9ac4-cf342dab9753-eus\"\r\n + \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-20T07:21:28.3951856Z\",\r\n \ \"connectionMonitorType\": \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}" @@ -11468,11 +11054,11 @@ interactions: cache-control: - no-cache content-length: - - '2691' + - '2066' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:17 GMT + - Thu, 20 May 2021 07:21:39 GMT expires: - '-1' pragma: @@ -11489,7 +11075,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2e0ea1c7-f928-44ab-ba1d-0ca07ff4ffb1 + - 93bba09e-7447-4e58-a38f-7cd2680bd5dc status: code: 200 message: OK @@ -11507,21 +11093,21 @@ interactions: ParameterSetName: - -l -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkWatchers?api-version=2021-02-01 response: body: - string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"50cf93bb-f16f-42aa-88a0-e42c5e7120a9\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"36c74301-a3e1-407d-a75a-3cc18094eb8d\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westeurope","etag":"W/\"ccc67490-3cf8-4400-95f2-ede30a19bb46\"","type":"Microsoft.Network/networkWatchers","location":"westeurope","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastasia","etag":"W/\"cf6df314-998c-4435-aea8-138733f35cff\"","type":"Microsoft.Network/networkWatchers","location":"eastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southeastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southeastasia","etag":"W/\"05d49269-ff3e-4e51-8515-1a783d92951f\"","type":"Microsoft.Network/networkWatchers","location":"southeastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"387f3d95-7124-4611-972a-6192931886d5\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"9d9a8f53-3aef-4c28-ac84-a42dd4f0a340\"","type":"Microsoft.Network/networkWatchers","location":"centralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2","etag":"W/\"eb255ddc-5f27-4866-8f4f-32eaaaafef5c\"","type":"Microsoft.Network/networkWatchers","location":"eastus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_japanwest","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_japanwest","etag":"W/\"5ada542b-964c-4350-a343-50394e86ba84\"","type":"Microsoft.Network/networkWatchers","location":"japanwest","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus","etag":"W/\"8daa8757-b4ff-468b-a25d-26e374e8bbb3\"","type":"Microsoft.Network/networkWatchers","location":"westcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"7346b6a7-8149-4670-9ecf-4f263fa7cefe\"","type":"Microsoft.Network/networkWatchers","location":"westus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_francecentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_francecentral","etag":"W/\"f34a1fae-51f1-469d-aa98-198a05381fe0\"","type":"Microsoft.Network/networkWatchers","location":"francecentral","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centraluseuap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap","etag":"W/\"87cb898c-56dc-432d-9770-ceb6c180e665\"","type":"Microsoft.Network/networkWatchers","location":"centraluseuap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2euap","etag":"W/\"c14925a5-8702-415e-8c4a-eaa1af9fe6f3\"","type":"Microsoft.Network/networkWatchers","location":"eastus2euap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' + string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"4d4b54ac-8d14-4749-939b-b9680d9e0e27\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"73e98df3-467d-4b32-b1aa-745ae362bfc3\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"3b2c8598-25d4-463d-8805-ca845032a1e7\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","tags":{"costCenter":"Contoso/IT/PROD/123456"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"8608069a-7c32-4fde-8466-fe1b69b6e845\"","type":"Microsoft.Network/networkWatchers","location":"centralus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"a06beb2b-47fc-4986-b724-e2242afedc2d\"","type":"Microsoft.Network/networkWatchers","location":"westus2","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' headers: cache-control: - no-cache content-length: - - '5496' + - '2247' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:18 GMT + - Thu, 20 May 2021 07:21:40 GMT expires: - '-1' pragma: @@ -11533,20 +11119,11 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - b5358ba7-dd08-450a-a89a-aed6fd95d230 - - 47c5a59d-e497-4b9c-903d-1fb3524b41b6 - - aaf307ee-3a51-43ce-9eb0-c939e095eae5 - - 36a99c13-8e78-4fee-b579-a198581929b1 - - c00925ce-2f7d-4ea2-969a-2e4935935ead - - 7183c81d-ac63-4a8d-842c-4b9a3dcf906e - - 343a5c37-bc34-496e-8b27-9b5b0c42ebe4 - - 61c6388c-da9d-43f6-a756-908e0a068070 - - a76f8d1f-58dc-4db8-b957-475204a0c39c - - d9178503-5be3-4765-8ccb-af40097d98d7 - - 44e86e69-c44b-4c54-8664-2c6d493a51b4 - - da58f823-29f5-4de8-91b1-9afaca4b7252 - - 9d0ad8a2-2c3f-4338-8d90-2d59699c6d03 - - d2ae4eff-f222-48ce-9958-51293b8776f2 + - 7b6f99a3-d6b6-49d6-8278-e68fe4470cc7 + - 2f43b441-b1be-40c4-b998-262e1e6dc0e6 + - c20046b6-929b-4bca-a04e-e2dffd5cad41 + - 3b735eab-316c-48e7-a7d1-372bf0a7ad85 + - d342ce07-1af0-451b-8ec1-3b34add28088 status: code: 200 message: OK @@ -11564,46 +11141,41 @@ interactions: ParameterSetName: - -l -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"CMv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"36c74301-a3e1-407d-a75a-3cc18094eb8d\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + string: "{\r\n \"name\": \"cmv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01\",\r\n + \ \"etag\": \"W/\\\"73e98df3-467d-4b32-b1aa-745ae362bfc3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm2\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": - \"bing.com\"\r\n },\r\n {\r\n \"name\": \"cm_subnet_endpoint\",\r\n - \ \"type\": \"AzureSubnet\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_pfkvivecku4jrv2zui5e3nesxco62zqtyawmzuty5axqhkfi/providers/Microsoft.Network/virtualNetworks/cmv2-vnet/subnets/subnet1\",\r\n - \ \"scope\": {\r\n \"include\": [],\r\n \"exclude\": - [\r\n {\r\n \"address\": \"10.0.0.25\"\r\n }\r\n - \ ]\r\n },\r\n \"coverageLevel\": \"BelowAverage\"\r\n - \ }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n \"name\": - \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n \"protocol\": - \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": + \"bing.com\"\r\n }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n + \ \"name\": \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n + \ \"protocol\": \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": false\r\n }\r\n }\r\n ],\r\n \"testGroups\": [\r\n {\r\n \ \"name\": \"DefaultTestGroup\",\r\n \"disable\": false,\r\n \ \"testConfigurations\": [\r\n \"DefaultIcmp\"\r\n ],\r\n - \ \"sources\": [\r\n \"vm2\",\r\n \"cm_subnet_endpoint\"\r\n - \ ],\r\n \"destinations\": [\r\n \"bing\"\r\n ]\r\n - \ }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"type\": \"Workspace\",\r\n - \ \"workspaceSettings\": {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-eus\"\r\n - \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-14T07:20:16.029784Z\",\r\n + \ \"sources\": [\r\n \"vm2\"\r\n ],\r\n \"destinations\": + [\r\n \"bing\"\r\n ]\r\n }\r\n ],\r\n \"outputs\": + [\r\n {\r\n \"type\": \"Workspace\",\r\n \"workspaceSettings\": + {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-28cbf98f-381d-4425-9ac4-cf342dab9753-eus\"\r\n + \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-20T07:21:28.3951856Z\",\r\n \ \"connectionMonitorType\": \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: - no-cache content-length: - - '2382' + - '1817' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:19 GMT + - Thu, 20 May 2021 07:21:41 GMT etag: - - W/"36c74301-a3e1-407d-a75a-3cc18094eb8d" + - W/"73e98df3-467d-4b32-b1aa-745ae362bfc3" expires: - '-1' pragma: @@ -11620,7 +11192,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8e2cb96f-506b-4916-aa06-20ed9455f42c + - e5987b48-e800-4291-a854-fa332a4b3e47 status: code: 200 message: OK @@ -11638,21 +11210,21 @@ interactions: ParameterSetName: - -l -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkWatchers?api-version=2021-02-01 response: body: - string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"50cf93bb-f16f-42aa-88a0-e42c5e7120a9\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"36c74301-a3e1-407d-a75a-3cc18094eb8d\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"foo":"doo"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westeurope","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westeurope","etag":"W/\"ccc67490-3cf8-4400-95f2-ede30a19bb46\"","type":"Microsoft.Network/networkWatchers","location":"westeurope","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastasia","etag":"W/\"cf6df314-998c-4435-aea8-138733f35cff\"","type":"Microsoft.Network/networkWatchers","location":"eastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southeastasia","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southeastasia","etag":"W/\"05d49269-ff3e-4e51-8515-1a783d92951f\"","type":"Microsoft.Network/networkWatchers","location":"southeastasia","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"387f3d95-7124-4611-972a-6192931886d5\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"9d9a8f53-3aef-4c28-ac84-a42dd4f0a340\"","type":"Microsoft.Network/networkWatchers","location":"centralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2","etag":"W/\"eb255ddc-5f27-4866-8f4f-32eaaaafef5c\"","type":"Microsoft.Network/networkWatchers","location":"eastus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_japanwest","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_japanwest","etag":"W/\"5ada542b-964c-4350-a343-50394e86ba84\"","type":"Microsoft.Network/networkWatchers","location":"japanwest","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westcentralus","etag":"W/\"8daa8757-b4ff-468b-a25d-26e374e8bbb3\"","type":"Microsoft.Network/networkWatchers","location":"westcentralus","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"7346b6a7-8149-4670-9ecf-4f263fa7cefe\"","type":"Microsoft.Network/networkWatchers","location":"westus2","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_francecentral","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_francecentral","etag":"W/\"f34a1fae-51f1-469d-aa98-198a05381fe0\"","type":"Microsoft.Network/networkWatchers","location":"francecentral","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centraluseuap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap","etag":"W/\"87cb898c-56dc-432d-9770-ceb6c180e665\"","type":"Microsoft.Network/networkWatchers","location":"centraluseuap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus2euap","etag":"W/\"c14925a5-8702-415e-8c4a-eaa1af9fe6f3\"","type":"Microsoft.Network/networkWatchers","location":"eastus2euap","properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' + string: '{"value":[{"name":"NetworkWatcher_westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus","etag":"W/\"4d4b54ac-8d14-4749-939b-b9680d9e0e27\"","type":"Microsoft.Network/networkWatchers","location":"westus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus","etag":"W/\"73e98df3-467d-4b32-b1aa-745ae362bfc3\"","type":"Microsoft.Network/networkWatchers","location":"eastus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_southcentralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_southcentralus","etag":"W/\"3b2c8598-25d4-463d-8805-ca845032a1e7\"","type":"Microsoft.Network/networkWatchers","location":"southcentralus","tags":{"costCenter":"Contoso/IT/PROD/123456"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_centralus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centralus","etag":"W/\"8608069a-7c32-4fde-8466-fe1b69b6e845\"","type":"Microsoft.Network/networkWatchers","location":"centralus","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}},{"name":"NetworkWatcher_westus2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_westus2","etag":"W/\"a06beb2b-47fc-4986-b724-e2242afedc2d\"","type":"Microsoft.Network/networkWatchers","location":"westus2","tags":{"Department_Cost_Center":"Contoso/RnD/Dev/986754","t":"t"},"properties":{"provisioningState":"Succeeded","runningOperationIds":[]}}]}' headers: cache-control: - no-cache content-length: - - '5496' + - '2247' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:21 GMT + - Thu, 20 May 2021 07:21:41 GMT expires: - '-1' pragma: @@ -11664,20 +11236,11 @@ interactions: x-content-type-options: - nosniff x-ms-original-request-ids: - - 8766f82e-4b39-4763-be4e-5c1f327ee635 - - 7d194a73-0aff-467a-96c5-2d59ea2d2591 - - 441eee1e-b4e3-46de-b2aa-792620efd953 - - 9dbd3270-d524-46bd-a7ef-a862b5a9e583 - - 5a0f31a9-a944-4fee-95fe-694a1f1a501e - - 80b3e82f-6ac5-4624-ba45-9060d0caaa51 - - 6e4626ab-8716-4995-8bc2-d0bcef57dfc2 - - 80e867fd-43ed-4335-8fc1-b92637710d40 - - e496fea9-0a27-4756-9a12-e0a64b207175 - - 76394abe-4ed9-4e8c-b327-d43089ab2e31 - - 04c64652-dd92-4a20-a58c-9b4440fe4093 - - 58858fe5-ae31-4cf5-9106-a05a5b0c964e - - e818905c-9846-4ca4-9f19-b0b084156743 - - 1ba13948-c7c7-46fa-bf1b-cd2e7a3c743e + - e48239dd-5795-4b0f-85ec-c306d05b0026 + - c49b035b-66b9-42e8-b301-e5e65d6ad240 + - d2dcbd3a-a815-475f-9ed8-652f697a0d3e + - d0579689-504d-4a18-92fe-0fc034b2a9d7 + - 2b0ee884-f601-4b31-8276-af7c94ff375a status: code: 200 message: OK @@ -11695,46 +11258,41 @@ interactions: ParameterSetName: - -l -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"CMv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/CMv2-01\",\r\n - \ \"etag\": \"W/\\\"36c74301-a3e1-407d-a75a-3cc18094eb8d\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"f5711c87-dba5-4f9e-b17f-cc255e3b0b6b\",\r\n + string: "{\r\n \"name\": \"cmv2-01\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_eastus/connectionMonitors/cmv2-01\",\r\n + \ \"etag\": \"W/\\\"73e98df3-467d-4b32-b1aa-745ae362bfc3\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"8b35f5d4-be54-4a51-8d18-eb845f17ca7f\",\r\n \ \"endpoints\": [\r\n {\r\n \"name\": \"vm2\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_000001/providers/Microsoft.Compute/virtualMachines/vm2\"\r\n \ },\r\n {\r\n \"name\": \"bing\",\r\n \"address\": - \"bing.com\"\r\n },\r\n {\r\n \"name\": \"cm_subnet_endpoint\",\r\n - \ \"type\": \"AzureSubnet\",\r\n \"resourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/connection_monitor_v2_test_pfkvivecku4jrv2zui5e3nesxco62zqtyawmzuty5axqhkfi/providers/Microsoft.Network/virtualNetworks/cmv2-vnet/subnets/subnet1\",\r\n - \ \"scope\": {\r\n \"include\": [],\r\n \"exclude\": - [\r\n {\r\n \"address\": \"10.0.0.25\"\r\n }\r\n - \ ]\r\n },\r\n \"coverageLevel\": \"BelowAverage\"\r\n - \ }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n \"name\": - \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n \"protocol\": - \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": + \"bing.com\"\r\n }\r\n ],\r\n \"testConfigurations\": [\r\n {\r\n + \ \"name\": \"DefaultIcmp\",\r\n \"testFrequencySec\": 60,\r\n + \ \"protocol\": \"Icmp\",\r\n \"icmpConfiguration\": {\r\n \"disableTraceRoute\": false\r\n }\r\n }\r\n ],\r\n \"testGroups\": [\r\n {\r\n \ \"name\": \"DefaultTestGroup\",\r\n \"disable\": false,\r\n \ \"testConfigurations\": [\r\n \"DefaultIcmp\"\r\n ],\r\n - \ \"sources\": [\r\n \"vm2\",\r\n \"cm_subnet_endpoint\"\r\n - \ ],\r\n \"destinations\": [\r\n \"bing\"\r\n ]\r\n - \ }\r\n ],\r\n \"outputs\": [\r\n {\r\n \"type\": \"Workspace\",\r\n - \ \"workspaceSettings\": {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-0b1f6471-1bf0-4dda-aec3-cb9272f09590-eus\"\r\n - \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-14T07:20:16.029784Z\",\r\n + \ \"sources\": [\r\n \"vm2\"\r\n ],\r\n \"destinations\": + [\r\n \"bing\"\r\n ]\r\n }\r\n ],\r\n \"outputs\": + [\r\n {\r\n \"type\": \"Workspace\",\r\n \"workspaceSettings\": + {\r\n \"workspaceResourceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-28cbf98f-381d-4425-9ac4-cf342dab9753-eus\"\r\n + \ }\r\n }\r\n ],\r\n \"startTime\": \"2021-05-20T07:21:28.3951856Z\",\r\n \ \"connectionMonitorType\": \"MultiEndpoint\"\r\n },\r\n \"type\": \"Microsoft.Network/networkWatchers/connectionMonitors\",\r\n \ \"location\": \"eastus\"\r\n}" headers: cache-control: - no-cache content-length: - - '2382' + - '1817' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:21 GMT + - Thu, 20 May 2021 07:21:41 GMT etag: - - W/"36c74301-a3e1-407d-a75a-3cc18094eb8d" + - W/"73e98df3-467d-4b32-b1aa-745ae362bfc3" expires: - '-1' pragma: @@ -11751,7 +11309,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c5973740-994e-44b4-a5da-537800942c66 + - b8502934-b535-4af8-a0ff-66ff55f63fdd status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/_help.py b/src/azure-cli/azure/cli/command_modules/resource/_help.py index 4c0293a2d45..ac224cf8831 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_help.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_help.py @@ -2331,7 +2331,7 @@ - name: Update the description of a template spec version with no prompt. text: az ts update -g ExistingRG --name ExistingName -v 3.0 --version-description "New description" --yes - name: Update all the properties of a template spec version. - text: az ts update -g ExistingRG --name ExistingName -v 3.0 -f updatedTemplate.json --display-name "New parent display name" --description "New parent description" --version-description "New child description" + text: az ts update -g ExistingRG --name ExistingName -v 3.0 -f updatedTemplate.json --display-name "New parent display name" --description "New parent description" --version-description "New child description" --ui-form-definition formDefinition.json - name: Remove tag(s) from template spec version with no prompt. text: az ts update -g ExistingRG --name ExistingName -v 3.0 -f updatedTemplate.json --tags --yes diff --git a/src/azure-cli/azure/cli/command_modules/resource/_packing_engine.py b/src/azure-cli/azure/cli/command_modules/resource/_packing_engine.py index 81514de2327..6130690ced6 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_packing_engine.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_packing_engine.py @@ -69,7 +69,7 @@ def _pack_artifacts(cmd, template_abs_file_path, context): :type template_abs_file_path : str :param context : The packing context of the current packing operation :type content : PackingContext - :param artifactableTemplateObj : The packagable template object + :param artifactableTemplateObj : The packageable template object :type artifactableTemplateObj : JSON """ original_directory = getattr(context, 'CurrentDirectory') @@ -112,11 +112,11 @@ def _pack_artifacts(cmd, template_abs_file_path, context): if os.path.samefile(prev_added_artifact, abs_local_path): continue _pack_artifacts(cmd, abs_local_path, context) - TemplateSpecTemplateArtifact = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, - 'TemplateSpecTemplateArtifact', mod='models') + LinkedTemplateArtifact = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, + 'LinkedTemplateArtifact', mod='models') template_content = read_file_content(abs_local_path) template_json = json.loads(json.dumps(process_template(template_content))) - artifact = TemplateSpecTemplateArtifact(path=as_relative_path, template=template_json) + artifact = LinkedTemplateArtifact(path=as_relative_path, template=template_json) context.Artifact.append(artifact) finally: context.CurrentDirectory = original_directory @@ -135,9 +135,9 @@ def _get_deployment_resource_objects(cmd, template_obj, includeNested=False): results.append(deployment_resource_obj) if(includeNested and 'properties' in deployment_resource_obj): deployment_resource_props_obj = deployment_resource_obj['properties'] - if 'template' in deployment_resource_props_obj: + if 'mainTemplate' in deployment_resource_props_obj: results.extend(_get_deployment_resource_objects(cmd, - deployment_resource_props_obj['template'], + deployment_resource_props_obj['mainTemplate'], includeNested=True)) return results @@ -182,7 +182,7 @@ def _absolute_to_relative_path(root_dir_path, abs_file_path): def unpack(cmd, exported_template, target_dir, template_file_name): - packaged_template = PackagedTemplate(exported_template.template, exported_template.artifacts) + packaged_template = PackagedTemplate(exported_template.main_template, exported_template.linked_templates) # Ensure paths are normalized: template_file_name = os.path.basename(template_file_name) target_dir = os.path.abspath(target_dir).rstrip(os.sep).rstrip(os.altsep) @@ -197,8 +197,8 @@ def unpack(cmd, exported_template, target_dir, template_file_name): _normalize_directory_seperators_for_local_file_system(getattr(artifact, 'path'))) abs_local_path = os.path.abspath(local_path) if os.path.commonpath([target_dir]) != os.path.commonpath([target_dir, abs_local_path]): - raise CLIError('Unable to unpack artifact ' + getattr(artifact, 'path') + 'because it would create a file' + - 'outside of the target directory hierarchy of' + target_dir) + raise CLIError('Unable to unpack linked template ' + getattr(artifact, 'path') + + 'because it would create a file outside of the target directory hierarchy of' + target_dir) # Now that the artifact paths checkout...let's begin by writing our main template # file and then processing each artifact: @@ -208,11 +208,11 @@ def unpack(cmd, exported_template, target_dir, template_file_name): with open(root_template_file_path, 'w') as root_file: json.dump(getattr(packaged_template, 'RootTemplate'), root_file, indent=2) - TemplateSpecTemplateArtifact = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, - 'TemplateSpecTemplateArtifact', mod='models') + LinkedTemplateArtifact = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, + 'LinkedTemplateArtifact', mod='models') for artifact in getattr(packaged_template, 'Artifacts'): - if not isinstance(artifact, TemplateSpecTemplateArtifact): - raise CLIError('Unknown artifact type encountered...') + if not isinstance(artifact, LinkedTemplateArtifact): + raise CLIError('Unknown linked template type encountered...') artifact_path = _normalize_directory_seperators_for_local_file_system(getattr(artifact, 'path')) abs_local_path = os.path.abspath(os.path.join(target_dir, artifact_path)) if not os.path.exists(os.path.dirname(abs_local_path)): diff --git a/src/azure-cli/azure/cli/command_modules/resource/_params.py b/src/azure-cli/azure/cli/command_modules/resource/_params.py index d733e064a6b..4632ef07040 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_params.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_params.py @@ -88,6 +88,8 @@ def load_arguments(self, _): ts_display_name_type = CLIArgumentType(options_list=['--display-name', '-d'], help='The display name of the template spec') ts_description_type = CLIArgumentType(options_list=['--description'], help='The description of the parent template spec.') ts_version_description_type = CLIArgumentType(options_list=['--version-description'], help='The description of the template spec version.') + ui_form_definition_file_type = CLIArgumentType(options_list=['--ui-form-definition'], is_preview=True, completer=FilesCompleter(), type=file_type, + help="A path to a uiFormDefinition file in the file system") _PROVIDER_HELP_TEXT = 'the resource namespace, aka \'provider\'' @@ -559,6 +561,7 @@ def load_arguments(self, _): with self.argument_context('ts create') as c: c.argument('resource_group', arg_type=resource_group_name_type, help='The resource group to store the template spec.') c.argument('template_file', arg_type=deployment_template_file_type) + c.argument('ui_form_definition_file', arg_type=ui_form_definition_file_type, help='The uiFormDefinition file path in the file system for the template spec version.') c.argument('location', options_list=['--location', '-l'], help='The location to store the template-spec and template-spec version(s). Cannot be changed after creation.') c.argument('display_name', arg_type=ts_display_name_type) c.argument('description', arg_type=ts_description_type) @@ -569,6 +572,7 @@ def load_arguments(self, _): with self.argument_context('ts update') as c: c.argument('resource_group', arg_type=resource_group_name_type, help='The resource group to store the template spec.') c.argument('template_spec', arg_type=deployment_template_spec_type) + c.argument('ui_form_definition_file', arg_type=ui_form_definition_file_type, help='The uiFormDefinition file path in the file system for the template spec version.') c.argument('template_file', arg_type=deployment_template_file_type) c.argument('display_name', arg_type=ts_display_name_type) c.argument('description', arg_type=ts_description_type) diff --git a/src/azure-cli/azure/cli/command_modules/resource/custom.py b/src/azure-cli/azure/cli/command_modules/resource/custom.py index 8e3cc3974da..87f9f1bb19d 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/custom.py +++ b/src/azure-cli/azure/cli/command_modules/resource/custom.py @@ -886,7 +886,7 @@ def _prepare_deployment_properties_unmodified(cmd, deployment_scope, template_fi # ResourceType.MGMT_RESOURCE_TEMPLATESPECS than our designated version. This ensures the api-version of all the rest requests for # template_spec are consistent in the same profile: api_version = get_api_version(cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS) - template_obj = show_resource(cmd=cmd, resource_ids=[template_spec], api_version=api_version).properties['template'] + template_obj = show_resource(cmd=cmd, resource_ids=[template_spec], api_version=api_version).properties['mainTemplate'] else: template_content = ( run_bicep_command(["build", "--stdout", template_file]) @@ -1827,9 +1827,7 @@ def get_template_spec(cmd, resource_group_name=None, name=None, version=None, te def create_template_spec(cmd, resource_group_name, name, template_file=None, location=None, display_name=None, - description=None, version=None, version_description=None, tags=None, no_prompt=False): - artifacts = None - input_template = None + description=None, version=None, version_description=None, tags=None, no_prompt=False, ui_form_definition_file=None): if location is None: rcf = _resource_client_factory(cmd.cli_ctx) location = rcf.resource_groups.get(resource_group_name).location @@ -1839,7 +1837,8 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc raise IncorrectUsageError('please provide --version if --template-file is specified') if version: - Exists = False + input_template, artifacts, input_ui_form_definition = None, None, None + exists = False if no_prompt is False: try: # Check if child template spec already exists. existing_ts = rcf.template_spec_versions.get(resource_group_name=resource_group_name, template_spec_name=name, template_spec_version=version) @@ -1847,7 +1846,7 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc confirmation = prompt_y_n("This will override {}. Proceed?".format(existing_ts)) if not confirmation: return None - Exists = True + exists = True except Exception: # pylint: disable=broad-except pass @@ -1857,11 +1856,15 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc input_template = getattr(packed_template, 'RootTemplate') artifacts = getattr(packed_template, 'Artifacts') - if not Exists: + if ui_form_definition_file: + ui_form_definition_content = _remove_comments_from_json(read_file_content(ui_form_definition_file)) + input_ui_form_definition = json.loads(json.dumps(ui_form_definition_content)) + + if not exists: try: # Check if parent template spec already exists. - exisiting_parent = rcf.template_specs.get(resource_group_name=resource_group_name, template_spec_name=name) + existing_parent = rcf.template_specs.get(resource_group_name=resource_group_name, template_spec_name=name) if tags is None: # New version should inherit tags from parent if none are provided. - tags = getattr(exisiting_parent, 'tags') + tags = getattr(existing_parent, 'tags') except Exception: # pylint: disable=broad-except tags = tags or {} TemplateSpec = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, 'TemplateSpec', mod='models') @@ -1869,8 +1872,8 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc rcf.template_specs.create_or_update(resource_group_name, name, template_spec_parent) TemplateSpecVersion = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, 'TemplateSpecVersion', mod='models') - template_spec_child = TemplateSpecVersion(location=location, artifacts=artifacts, description=version_description, template=input_template, tags=tags) - return rcf.template_spec_versions.create_or_update(resource_group_name, name, version, template_spec_child) + template_spec_version = TemplateSpecVersion(location=location, linked_templates=artifacts, description=version_description, main_template=input_template, tags=tags, ui_form_definition=input_ui_form_definition) + return rcf.template_spec_versions.create_or_update(resource_group_name, name, version, template_spec_version) tags = tags or {} TemplateSpec = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, 'TemplateSpec', mod='models') @@ -1879,7 +1882,7 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc def update_template_spec(cmd, resource_group_name=None, name=None, template_spec=None, template_file=None, display_name=None, - description=None, version=None, version_description=None, tags=None): + description=None, version=None, version_description=None, tags=None, ui_form_definition_file=None): rcf = _resource_templatespecs_client_factory(cmd.cli_ctx) if template_spec: @@ -1889,38 +1892,42 @@ def update_template_spec(cmd, resource_group_name=None, name=None, template_spec version = id_parts.get('resource_name') if version == name: version = None - existing_template = None - artifacts = None + existing_template, artifacts, input_ui_form_definition = None, None, None if template_file: from azure.cli.command_modules.resource._packing_engine import (pack) packed_template = pack(cmd, template_file) input_template = getattr(packed_template, 'RootTemplate') artifacts = getattr(packed_template, 'Artifacts') + if ui_form_definition_file: + ui_form_definition_content = _remove_comments_from_json(read_file_content(ui_form_definition_file)) + input_ui_form_definition = json.loads(json.dumps(ui_form_definition_content)) + if version: existing_template = rcf.template_spec_versions.get(resource_group_name=resource_group_name, template_spec_name=name, template_spec_version=version) location = getattr(existing_template, 'location') - version_tags = tags - if tags is None: # Do not remove tags if not explicitely empty. - version_tags = getattr(existing_template, 'tags') + # Do not remove tags if not explicitly empty. + if tags is None: + tags = getattr(existing_template, 'tags') if version_description is None: version_description = getattr(existing_template, 'description') if template_file is None: - input_template = getattr(existing_template, 'template') - + input_template = getattr(existing_template, 'main_template') + if ui_form_definition_file is None: + input_ui_form_definition = getattr(existing_template, 'ui_form_definition') TemplateSpecVersion = get_sdk(cmd.cli_ctx, ResourceType.MGMT_RESOURCE_TEMPLATESPECS, 'TemplateSpecVersion', mod='models') - updated_template_spec = TemplateSpecVersion(location=location, artifacts=artifacts, description=version_description, template=input_template, tags=version_tags) + updated_template_spec = TemplateSpecVersion(location=location, linked_templates=artifacts, description=version_description, main_template=input_template, tags=tags, ui_form_definition=input_ui_form_definition) return rcf.template_spec_versions.create_or_update(resource_group_name, name, version, updated_template_spec) existing_template = rcf.template_specs.get(resource_group_name=resource_group_name, template_spec_name=name) location = getattr(existing_template, 'location') - version_tags = tags - if version_tags is None: # Do not remove tags if not explicitely empty. + # Do not remove tags if not explicitly empty. + if tags is None: tags = getattr(existing_template, 'tags') if display_name is None: display_name = getattr(existing_template, 'display_name') diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs.yaml index 89846b78ec7..a30fd1f6bd6 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:54 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:55 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -106,27 +106,27 @@ interactions: ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:58.9626023Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:58.9626023Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.0745153Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.0745153Z\"\r\n },\r\n \"properties\": {\r\n \"description\": \"AzCLI test root template spec\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-create-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '788' + - '790' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:00 GMT + - Wed, 19 May 2021 08:35:42 GMT expires: - '-1' pragma: @@ -138,13 +138,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "description": - "AzCLI test version of root template spec", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"description": "AzCLI + test version of root template spec", "linkedTemplates": [], "mainTemplate": + {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"customer": {"type": "string", "minLength": 2, "maxLength": 3, "defaultValue": "[resourceGroup().tags[''customer-short'']]", "metadata": {"description": "A short unique identifer for the customer owning @@ -228,24 +229,24 @@ interactions: Connection: - keep-alive Content-Length: - - '6329' + - '6339' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:03:02.6176689Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:03:02.6176689Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"description\": \"AzCLI test version of root template spec\",\r\n - \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:43.1795204Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:43.1795204Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + \"AzCLI test version of root template spec\",\r\n \"mainTemplate\": {\r\n + \ \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"customer\": {\r\n \"type\": \"string\",\r\n \"minLength\": 2,\r\n \"maxLength\": 3,\r\n \"defaultValue\": \"[resourceGroup().tags['customer-short']]\",\r\n @@ -368,11 +369,11 @@ interactions: cache-control: - no-cache content-length: - - '9760' + - '9744' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:03 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -384,7 +385,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -404,9 +405,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: '' @@ -416,7 +417,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:03:05 GMT + - Wed, 19 May 2021 08:35:44 GMT expires: - '-1' pragma: @@ -428,7 +429,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs_with_artifacts.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs_with_artifacts.yaml index 310a7e3656b..48bdf073ba0 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs_with_artifacts.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_create_template_specs_with_artifacts.yaml @@ -11,11 +11,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -v -l -f -d --description --version-description + - -g -n -v -l -f --ui-form-definition -d --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:15 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -55,11 +55,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -v -l -f -d --description --version-description + - -g -n -v -l -f --ui-form-definition -d --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:15 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -104,18 +104,18 @@ interactions: Content-Type: - application/json ParameterSetName: - - -g -n -v -l -f -d --description --version-description + - -g -n -v -l -f --ui-form-definition -d --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:17.8411903Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:17.8411903Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.2927393Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.2927393Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"create-spec000003\",\r\n \"description\": \"AzCLI test root template spec\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-create-template-spec000002\"\r\n}" @@ -123,11 +123,11 @@ interactions: cache-control: - no-cache content-length: - - '832' + - '834' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:19 GMT + - Wed, 19 May 2021 08:35:42 GMT expires: - '-1' pragma: @@ -139,20 +139,19 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [{"path": - "artifacts\\createResourceGroup.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"description": "AzCLI + test version of root template spec", "linkedTemplates": [{"path": "artifacts\\createResourceGroup.json", + "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/resourceGroups", "apiVersion": "2019-10-01", "name": "[parameters(''rgName'')]", "location": "[parameters(''rgLocation'')]", "properties": {}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVault.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVault.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": @@ -169,15 +168,14 @@ interactions: "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover", "purge"]}}], "sku": {"name": "[parameters(''skuName'')]", "family": "A"}, "networkAcls": {"defaultAction": "Allow", "bypass": "AzureServices"}}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVaultWithSecret.json", "kind": "template", "template": - {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVaultWithSecret.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": "string", "defaultValue": "[subscription().tenantId]"}, "aadObjectId": {"type": "string", "defaultValue": "177f56a0-9e41-4008-a321-d3676aae9c69"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": - "2019-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": + "2020-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": {"relativePath": "createKeyVault.json", "contentVersion": "1.0.0.0"}, "parameters": {"keyVaultName": {"value": "[parameters(''keyVaultName'')]"}, "location": {"value": "[parameters(''location'')]"}, "skuName": {"value": "[parameters(''skuName'')]"}, @@ -185,8 +183,8 @@ interactions: "[parameters(''aadObjectId'')]"}}}}, {"type": "Microsoft.KeyVault/vaults/secrets", "apiVersion": "2018-02-14", "name": "[concat(parameters(''keyVaultName''), ''/mySecret'')]", "location": "[parameters(''location'')]", "dependsOn": ["keyVault"], "properties": - {"value": "mySecretValue"}}], "outputs": {}}}], "description": "AzCLI test version - of root template spec", "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + {"value": "mySecretValue"}}], "outputs": {}}}], "mainTemplate": {"$schema": + "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}, "keyVaultName": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": "2019-10-01", "name": @@ -198,7 +196,34 @@ interactions: "dependsOn": ["deploymentRg"], "properties": {"mode": "Incremental", "templateLink": {"relativePath": "artifacts/createKeyVaultWithSecret.json", "contentVersion": "1.0.0.0"}, "parameters": {"keyVaultName": {"value": "[parameters(''keyVaultName'')]"}}}}], - "outputs": {}}}}' + "outputs": {}}, "uiFormDefinition": {"$schema": "createFormUI.schema.json", + "view": {"kind": "Form", "properties": {"title": "titleFooRG", "steps": [{"name": + "basics", "label": "Basics", "elements": [{"name": "resourceScope", "type": + "Microsoft.Common.ResourceScope", "subscription": {"constraints": {"validations": + [{"isValid": "[expression for checking]", "message": "Please select a valid\u202fsubscription."}, + {"permission": "/", "message": "Must have correct + permission to complete this step."}]}, "resourceProviders": [""]}, + "resourceGroup": {"constraints": {"validations": [{"isValid": "[expression for + checking]", "message": "Please select a valid\u202fresource\u202fgroup."}]}, + "allowExisting": true}, "location": {"label": "Custom label for location", "toolTip": + "provide\u202fa\u202fuseful\u202ftooltip", "resourceTypes": ["Microsoft.Compute/virtualMachines"], + "allowedValues": ["eastus", "westus2"]}}], "description": "Customized description + with **markdown**, see [more](https://www.microsoft.com)."}, {"name": "storageConfig", + "label": "Storage settings", "elements": [{"name": "storageAccounts", "type": + "Microsoft.Storage.MultiStorageAccountCombo", "label": {"prefix": "Storage account + name prefix", "type": "Storage account type"}, "defaultValue": {"prefix": "stracct", + "type": "Standard_LRS"}, "constraints": {"allowedTypes": ["Premium_LRS", "Standard_LRS", + "Standard_GRS"]}, "count": 2, "scope": {"subscriptionId": "[steps(''basics'').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps(''basics'').resourceScope.resourceGroup.name]", + "location": "[steps(''basics'').resourceScope.location.name]"}}]}, {"name": + "tags", "label": "Tags", "elements": [{"name": "tagsByResource", "type": "Microsoft.Common.TagsByResource", + "resources": ["Microsoft.Storage/storageAccounts", "Microsoft.Compute/virtualMachines"]}]}]}, + "outputs": {"parameters": {"storageAccountNamePrefix": "[steps(''storageConfig'').storageAccounts.prefix]", + "storageAccountType": "[steps(''storageConfig'').storageAccounts.type]", "location": + "[steps(''basics'').resourceScope.location.name]", "tagsByResource": "[steps(''tags'').tagsByResource]"}, + "kind": "ResourceGroup", "location": "[steps(''basics'').resourceScope.location.name]", + "subscriptionId": "[steps(''basics'').resourceScope.subscription.id]", "resourceGroupId": + "[steps(''basics'').resourceScope.resourceGroup.id]"}}}}}' headers: Accept: - application/json @@ -209,23 +234,108 @@ interactions: Connection: - keep-alive Content-Length: - - '4608' + - '6956' Content-Type: - application/json ParameterSetName: - - -g -n -v -l -f -d --description --version-description + - -g -n -v -l -f --ui-form-definition -d --description --version-description User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:21.7011989Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:21.7011989Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [\r\n {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:43.3828074Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:43.3828074Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + \"AzCLI test version of root template spec\",\r\n \"uiFormDefinition\": + {\r\n \"$schema\": \"createFormUI.schema.json\",\r\n \"view\": {\r\n + \ \"kind\": \"Form\",\r\n \"properties\": {\r\n \"title\": + \"titleFooRG\",\r\n \"steps\": [\r\n {\r\n \"name\": + \"basics\",\r\n \"label\": \"Basics\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"resourceScope\",\r\n + \ \"type\": \"Microsoft.Common.ResourceScope\",\r\n \"subscription\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fsubscription.\"\r\n },\r\n {\r\n + \ \"permission\": \"/\",\r\n + \ \"message\": \"Must have correct permission to complete + this step.\"\r\n }\r\n ]\r\n },\r\n + \ \"resourceProviders\": [\r\n \"\"\r\n ]\r\n },\r\n \"resourceGroup\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fresource\u202Fgroup.\"\r\n }\r\n ]\r\n + \ },\r\n \"allowExisting\": true\r\n + \ },\r\n \"location\": {\r\n \"label\": + \"Custom label for location\",\r\n \"toolTip\": \"provide\u202Fa\u202Fuseful\u202Ftooltip\",\r\n + \ \"resourceTypes\": [\r\n \"Microsoft.Compute/virtualMachines\"\r\n + \ ],\r\n \"allowedValues\": [\r\n \"eastus\",\r\n + \ \"westus2\"\r\n ]\r\n }\r\n + \ }\r\n ],\r\n \"description\": \"Customized + description with **markdown**, see [more](https://www.microsoft.com).\"\r\n + \ },\r\n {\r\n \"name\": \"storageConfig\",\r\n + \ \"label\": \"Storage settings\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"storageAccounts\",\r\n + \ \"type\": \"Microsoft.Storage.MultiStorageAccountCombo\",\r\n + \ \"label\": {\r\n \"prefix\": \"Storage + account name prefix\",\r\n \"type\": \"Storage account + type\"\r\n },\r\n \"defaultValue\": {\r\n + \ \"prefix\": \"stracct\",\r\n \"type\": + \"Standard_LRS\"\r\n },\r\n \"constraints\": + {\r\n \"allowedTypes\": [\r\n \"Premium_LRS\",\r\n + \ \"Standard_LRS\",\r\n \"Standard_GRS\"\r\n + \ ]\r\n },\r\n \"count\": + 2,\r\n \"scope\": {\r\n \"subscriptionId\": + \"[steps('basics').resourceScope.subscription.subscriptionId]\",\r\n \"resourceGroupName\": + \"[steps('basics').resourceScope.resourceGroup.name]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\"\r\n }\r\n + \ }\r\n ]\r\n },\r\n {\r\n + \ \"name\": \"tags\",\r\n \"label\": \"Tags\",\r\n + \ \"elements\": [\r\n {\r\n \"name\": + \"tagsByResource\",\r\n \"type\": \"Microsoft.Common.TagsByResource\",\r\n + \ \"resources\": [\r\n \"Microsoft.Storage/storageAccounts\",\r\n + \ \"Microsoft.Compute/virtualMachines\"\r\n ]\r\n + \ }\r\n ]\r\n }\r\n ]\r\n },\r\n + \ \"outputs\": {\r\n \"parameters\": {\r\n \"storageAccountNamePrefix\": + \"[steps('storageConfig').storageAccounts.prefix]\",\r\n \"storageAccountType\": + \"[steps('storageConfig').storageAccounts.type]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\",\r\n \"tagsByResource\": + \"[steps('tags').tagsByResource]\"\r\n },\r\n \"kind\": + \"ResourceGroup\",\r\n \"location\": \"[steps('basics').resourceScope.location.name]\",\r\n + \ \"subscriptionId\": \"[steps('basics').resourceScope.subscription.id]\",\r\n + \ \"resourceGroupId\": \"[steps('basics').resourceScope.resourceGroup.id]\"\r\n + \ }\r\n }\r\n },\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": + {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": + {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n + \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n + \ },\r\n \"rgLocation\": {\r\n \"value\": + \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n + \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n + \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": + [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n + \ }\r\n }\r\n }\r\n }\r\n ],\r\n + \ \"outputs\": {}\r\n },\r\n \"linkedTemplates\": [\r\n {\r\n + \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"template\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"rgName\": {\r\n \"type\": \"string\"\r\n },\r\n \ \"rgLocation\": {\r\n \"type\": \"string\"\r\n }\r\n @@ -233,10 +343,9 @@ interactions: \ {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"[parameters('rgName')]\",\r\n \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n },\r\n - \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"kind\": - \"template\"\r\n },\r\n {\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n }\r\n + \ },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -280,9 +389,8 @@ interactions: \ \"networkAcls\": {\r\n \"defaultAction\": \"Allow\",\r\n \"bypass\": \"AzureServices\"\r\n }\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n - \ \"kind\": \"template\"\r\n },\r\n {\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -294,7 +402,7 @@ interactions: \"string\",\r\n \"defaultValue\": \"177f56a0-9e41-4008-a321-d3676aae9c69\"\r\n \ }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVault\",\r\n + \ \"apiVersion\": \"2020-10-01\",\r\n \"name\": \"keyVault\",\r\n \ \"properties\": {\r\n \"mode\": \"Incremental\",\r\n \ \"templateLink\": {\r\n \"relativePath\": \"createKeyVault.json\",\r\n \"contentVersion\": \"1.0.0.0\"\r\n @@ -312,44 +420,18 @@ interactions: \ \"dependsOn\": [\r\n \"keyVault\"\r\n ],\r\n \ \"properties\": {\r\n \"value\": \"mySecretValue\"\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n - \ \"kind\": \"template\"\r\n }\r\n ],\r\n \"description\": - \"AzCLI test version of root template spec\",\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": - {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": - {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": - {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": - {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n - \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n - \ },\r\n \"rgLocation\": {\r\n \"value\": - \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n - \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n - \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": - [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n - \ }\r\n }\r\n }\r\n }\r\n ],\r\n - \ \"outputs\": {}\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0\",\r\n + {}\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"1.0\"\r\n}" headers: cache-control: - no-cache content-length: - - '9439' + - '13920' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:22 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -361,7 +443,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -379,21 +461,21 @@ interactions: ParameterSetName: - -g -n -v -f --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-16T02:00:13Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-19T08:35:37Z","NameTag":"ValueTag","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:23 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -421,16 +503,16 @@ interactions: ParameterSetName: - -g -n -v -f --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:17.8411903Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:21.7011989Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.2927393Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:43.3828074Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"create-spec000003\",\r\n \"description\": \"AzCLI test root template spec\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-create-template-spec000002\"\r\n}" @@ -438,11 +520,11 @@ interactions: cache-control: - no-cache content-length: - - '832' + - '834' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:23 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -461,15 +543,13 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [{"path": - "artifacts\\createResourceGroup.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [{"path": + "artifacts\\createResourceGroup.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/resourceGroups", "apiVersion": "2019-10-01", "name": "[parameters(''rgName'')]", "location": "[parameters(''rgLocation'')]", "properties": {}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVault.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVault.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": @@ -486,15 +566,14 @@ interactions: "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover", "purge"]}}], "sku": {"name": "[parameters(''skuName'')]", "family": "A"}, "networkAcls": {"defaultAction": "Allow", "bypass": "AzureServices"}}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVaultWithSecret.json", "kind": "template", "template": - {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVaultWithSecret.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": "string", "defaultValue": "[subscription().tenantId]"}, "aadObjectId": {"type": "string", "defaultValue": "177f56a0-9e41-4008-a321-d3676aae9c69"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": - "2019-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": + "2020-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": {"relativePath": "createKeyVault.json", "contentVersion": "1.0.0.0"}, "parameters": {"keyVaultName": {"value": "[parameters(''keyVaultName'')]"}, "location": {"value": "[parameters(''location'')]"}, "skuName": {"value": "[parameters(''skuName'')]"}, @@ -502,7 +581,8 @@ interactions: "[parameters(''aadObjectId'')]"}}}}, {"type": "Microsoft.KeyVault/vaults/secrets", "apiVersion": "2018-02-14", "name": "[concat(parameters(''keyVaultName''), ''/mySecret'')]", "location": "[parameters(''location'')]", "dependsOn": ["keyVault"], "properties": - {"value": "mySecretValue"}}], "outputs": {}}}], "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + {"value": "mySecretValue"}}], "outputs": {}}}], "mainTemplate": {"$schema": + "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}, "keyVaultName": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": "2019-10-01", "name": @@ -525,23 +605,107 @@ interactions: Connection: - keep-alive Content-Length: - - '4549' + - '4499' Content-Type: - application/json ParameterSetName: - -g -n -v -f --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:21.7011989Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:24.7427521Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [\r\n {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:43.3828074Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:44.758346Z\"\r\n },\r\n \"properties\": {\r\n \"uiFormDefinition\": + {\r\n \"$schema\": \"createFormUI.schema.json\",\r\n \"view\": {\r\n + \ \"kind\": \"Form\",\r\n \"properties\": {\r\n \"title\": + \"titleFooRG\",\r\n \"steps\": [\r\n {\r\n \"name\": + \"basics\",\r\n \"label\": \"Basics\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"resourceScope\",\r\n + \ \"type\": \"Microsoft.Common.ResourceScope\",\r\n \"subscription\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fsubscription.\"\r\n },\r\n {\r\n + \ \"permission\": \"/\",\r\n + \ \"message\": \"Must have correct permission to complete + this step.\"\r\n }\r\n ]\r\n },\r\n + \ \"resourceProviders\": [\r\n \"\"\r\n ]\r\n },\r\n \"resourceGroup\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fresource\u202Fgroup.\"\r\n }\r\n ]\r\n + \ },\r\n \"allowExisting\": true\r\n + \ },\r\n \"location\": {\r\n \"label\": + \"Custom label for location\",\r\n \"toolTip\": \"provide\u202Fa\u202Fuseful\u202Ftooltip\",\r\n + \ \"resourceTypes\": [\r\n \"Microsoft.Compute/virtualMachines\"\r\n + \ ],\r\n \"allowedValues\": [\r\n \"eastus\",\r\n + \ \"westus2\"\r\n ]\r\n }\r\n + \ }\r\n ],\r\n \"description\": \"Customized + description with **markdown**, see [more](https://www.microsoft.com).\"\r\n + \ },\r\n {\r\n \"name\": \"storageConfig\",\r\n + \ \"label\": \"Storage settings\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"storageAccounts\",\r\n + \ \"type\": \"Microsoft.Storage.MultiStorageAccountCombo\",\r\n + \ \"label\": {\r\n \"prefix\": \"Storage + account name prefix\",\r\n \"type\": \"Storage account + type\"\r\n },\r\n \"defaultValue\": {\r\n + \ \"prefix\": \"stracct\",\r\n \"type\": + \"Standard_LRS\"\r\n },\r\n \"constraints\": + {\r\n \"allowedTypes\": [\r\n \"Premium_LRS\",\r\n + \ \"Standard_LRS\",\r\n \"Standard_GRS\"\r\n + \ ]\r\n },\r\n \"count\": + 2,\r\n \"scope\": {\r\n \"subscriptionId\": + \"[steps('basics').resourceScope.subscription.subscriptionId]\",\r\n \"resourceGroupName\": + \"[steps('basics').resourceScope.resourceGroup.name]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\"\r\n }\r\n + \ }\r\n ]\r\n },\r\n {\r\n + \ \"name\": \"tags\",\r\n \"label\": \"Tags\",\r\n + \ \"elements\": [\r\n {\r\n \"name\": + \"tagsByResource\",\r\n \"type\": \"Microsoft.Common.TagsByResource\",\r\n + \ \"resources\": [\r\n \"Microsoft.Storage/storageAccounts\",\r\n + \ \"Microsoft.Compute/virtualMachines\"\r\n ]\r\n + \ }\r\n ]\r\n }\r\n ]\r\n },\r\n + \ \"outputs\": {\r\n \"parameters\": {\r\n \"storageAccountNamePrefix\": + \"[steps('storageConfig').storageAccounts.prefix]\",\r\n \"storageAccountType\": + \"[steps('storageConfig').storageAccounts.type]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\",\r\n \"tagsByResource\": + \"[steps('tags').tagsByResource]\"\r\n },\r\n \"kind\": + \"ResourceGroup\",\r\n \"location\": \"[steps('basics').resourceScope.location.name]\",\r\n + \ \"subscriptionId\": \"[steps('basics').resourceScope.subscription.id]\",\r\n + \ \"resourceGroupId\": \"[steps('basics').resourceScope.resourceGroup.id]\"\r\n + \ }\r\n }\r\n },\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": + {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": + {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n + \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n + \ },\r\n \"rgLocation\": {\r\n \"value\": + \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n + \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n + \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": + [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n + \ }\r\n }\r\n }\r\n }\r\n ],\r\n + \ \"outputs\": {}\r\n },\r\n \"linkedTemplates\": [\r\n {\r\n + \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"template\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"rgName\": {\r\n \"type\": \"string\"\r\n },\r\n \ \"rgLocation\": {\r\n \"type\": \"string\"\r\n }\r\n @@ -549,10 +713,9 @@ interactions: \ {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"[parameters('rgName')]\",\r\n \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n },\r\n - \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"kind\": - \"template\"\r\n },\r\n {\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n }\r\n + \ },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -596,9 +759,8 @@ interactions: \ \"networkAcls\": {\r\n \"defaultAction\": \"Allow\",\r\n \"bypass\": \"AzureServices\"\r\n }\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n - \ \"kind\": \"template\"\r\n },\r\n {\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -610,7 +772,7 @@ interactions: \"string\",\r\n \"defaultValue\": \"177f56a0-9e41-4008-a321-d3676aae9c69\"\r\n \ }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVault\",\r\n + \ \"apiVersion\": \"2020-10-01\",\r\n \"name\": \"keyVault\",\r\n \ \"properties\": {\r\n \"mode\": \"Incremental\",\r\n \ \"templateLink\": {\r\n \"relativePath\": \"createKeyVault.json\",\r\n \"contentVersion\": \"1.0.0.0\"\r\n @@ -628,43 +790,18 @@ interactions: \ \"dependsOn\": [\r\n \"keyVault\"\r\n ],\r\n \ \"properties\": {\r\n \"value\": \"mySecretValue\"\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n - \ \"kind\": \"template\"\r\n }\r\n ],\r\n \"template\": {\r\n - \ \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": - {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": - {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": - {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": - {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n - \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n - \ },\r\n \"rgLocation\": {\r\n \"value\": - \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n - \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n - \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": - [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n - \ }\r\n }\r\n }\r\n }\r\n ],\r\n - \ \"outputs\": {}\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0\",\r\n + {}\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002/versions/1.0\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"1.0\"\r\n}" headers: cache-control: - no-cache content-length: - - '9375' + - '13855' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:24 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -676,7 +813,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -696,9 +833,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-create-template-spec000002?api-version=2021-05-01 response: body: string: '' @@ -708,7 +845,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:00:28 GMT + - Wed, 19 May 2021 08:35:47 GMT expires: - '-1' pragma: @@ -720,7 +857,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_delete_template_spec.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_delete_template_spec.yaml index 5d9c574b01b..5433c4278c4 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_delete_template_spec.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_delete_template_spec.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:35 GMT + - Wed, 19 May 2021 08:35:39 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:35 GMT + - Wed, 19 May 2021 08:35:39 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:40.1773026Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:40.1773026Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:41.7800301Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:41.7800301Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:41 GMT + - Wed, 19 May 2021 08:35:41 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,23 +162,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:43.2523201Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:43.2523201Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.8400383Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.8400383Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:44 GMT + - Wed, 19 May 2021 08:35:42 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 201 message: Created @@ -233,17 +233,17 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:43.2523201Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:43.2523201Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.8400383Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.8400383Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -264,11 +264,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:45 GMT + - Wed, 19 May 2021 08:35:42 GMT expires: - '-1' pragma: @@ -300,29 +300,29 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:40.1773026Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:00:43.2523201Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": - {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-04-16T02:00:43.2523201+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:00:43.2523201+00:00\"\r\n }\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:41.7800301Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.8400383Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": + {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-05-19T08:35:42.8400383+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:35:42.8400383+00:00\"\r\n }\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '909' + - '911' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:46 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -356,9 +356,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '' @@ -368,7 +368,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:00:51 GMT + - Wed, 19 May 2021 08:35:45 GMT expires: - '-1' pragma: @@ -398,16 +398,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/?api-version=2021-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:00:40.1773026Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:00:43.2523201Z\"\r\n + \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:41.7800301Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:42.8400383Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000002\"\r\n }\r\n ]\r\n}" @@ -415,11 +415,11 @@ interactions: cache-control: - no-cache content-length: - - '821' + - '823' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:51 GMT + - Wed, 19 May 2021 08:35:46 GMT expires: - '-1' pragma: @@ -453,9 +453,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000002?api-version=2021-05-01 response: body: string: '' @@ -465,7 +465,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:00:56 GMT + - Wed, 19 May 2021 08:35:48 GMT expires: - '-1' pragma: @@ -495,9 +495,9 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/?api-version=2021-05-01 response: body: string: '{"value":[]}' @@ -509,7 +509,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:00:57 GMT + - Wed, 19 May 2021 08:35:49 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_list_template_spec.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_list_template_spec.yaml index 33258556bb9..0c91d19e1a2 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_list_template_spec.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_list_template_spec.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:05 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:05 GMT + - Wed, 19 May 2021 08:35:40 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:09.91863Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:09.91863Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.8404136Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:42.8404136Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n}" headers: cache-control: - no-cache content-length: - - '728' + - '734' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:11 GMT + - Wed, 19 May 2021 08:35:42 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,23 +162,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:13.7336036Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:13.7336036Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:43.9405052Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:43.9405052Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:14 GMT + - Wed, 19 May 2021 08:35:43 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 201 message: Created @@ -233,9 +233,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0'' @@ -249,7 +249,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:15 GMT + - Wed, 19 May 2021 08:35:44 GMT expires: - '-1' pragma: @@ -277,9 +277,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003'' @@ -293,7 +293,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:15 GMT + - Wed, 19 May 2021 08:35:45 GMT expires: - '-1' pragma: @@ -325,27 +325,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:17.9560792Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:17.9560792Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:47.0530236Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:47.0530236Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:18 GMT + - Wed, 19 May 2021 08:35:47 GMT expires: - '-1' pragma: @@ -357,13 +357,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -382,23 +382,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:20.8482647Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:20.8482647Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:48.2630299Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:48.2630299Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -419,11 +419,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:21 GMT + - Wed, 19 May 2021 08:35:48 GMT expires: - '-1' pragma: @@ -435,7 +435,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1198' status: code: 201 message: Created @@ -453,9 +453,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/3.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/3.0'' @@ -469,7 +469,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:22 GMT + - Wed, 19 May 2021 08:35:49 GMT expires: - '-1' pragma: @@ -497,27 +497,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:17.9560792Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:20.8482647Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:47.0530236Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:48.2630299Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:23 GMT + - Wed, 19 May 2021 08:35:49 GMT expires: - '-1' pragma: @@ -536,8 +536,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -556,23 +556,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/3.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:26.1833995Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:26.1833995Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:50.9292715Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:50.9292715Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -593,11 +593,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:26 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -609,7 +609,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -627,16 +627,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/?api-version=2021-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:17.9560792Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:26.1833995Z\"\r\n + \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:47.0530236Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:50.9292715Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n }\r\n ]\r\n}" @@ -644,11 +644,11 @@ interactions: cache-control: - no-cache content-length: - - '821' + - '823' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:27 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -680,16 +680,16 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/?api-version=2021-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:09.91863Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:13.7336036Z\"\r\n + \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.8404136Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:43.9405052Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n }\r\n ]\r\n}" @@ -697,11 +697,11 @@ interactions: cache-control: - no-cache content-length: - - '819' + - '823' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:27 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -733,18 +733,18 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions?api-version=2021-05-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:20.8482647Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:20.8482647Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:48.2630299Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:48.2630299Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \"metadata\": {\r\n \"description\": @@ -762,12 +762,12 @@ interactions: \ }\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003/versions/2.0\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"2.0\"\r\n },\r\n {\r\n \"location\": \"westus\",\r\n \"tags\": - {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:26.1833995Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:26.1833995Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:50.9292715Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:50.9292715Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \"metadata\": {\r\n \"description\": @@ -789,11 +789,11 @@ interactions: cache-control: - no-cache content-length: - - '4136' + - '4096' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:28 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -823,45 +823,162 @@ interactions: Connection: - keep-alive User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/templateSpecs/?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/templateSpecs/?api-version=2021-05-01 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:09.91863Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:13.7336036Z\"\r\n + string: "{\r\n \"value\": [\r\n {\r\n \"location\": \"WestUs\",\r\n + \ \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"tsunkaraneni@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-22T02:57:12.3947069Z\",\r\n + \ \"lastModifiedBy\": \"tsunkaraneni@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-23T21:14:48.7810653Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tarun/providers/Microsoft.Resources/templateSpecs/nreTS\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"nreTS\"\r\n },\r\n {\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-27T17:59:12.7867136Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T17:59:14.1118945Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deploymentcrj7cxbcc7xfqs7crjxpedywf5/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploysge2hflwmlltfbq7twcbvsnnz3k\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-resource-group-ts-deploysge2hflwmlltfbq7twcbvsnnz3k\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-04-27T20:41:26.6802906Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:41:27.9404097Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specshlgbfiralkn4iu5nuifvie5cxi7bf3wiedlcknyyjujou2jt7zoo/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tagsv4mjaqctxfuute5jtutnbuljeeixpmu6d\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-template-spec-tagsv4mjaqctxfuute5jtutnbuljeeixpmu6d\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:41:26.956163Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n + \ \"lastModifiedAt\": \"2021-04-27T20:41:28.161239Z\"\r\n },\r\n + \ \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specsebyjk3wxqsfxmja5tzxrzehedtb3xx5e375pmkq6x4ebe45gr2mt/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-specge4dudqzke62363l4hjsud7gzzt6nmo5a\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-specge4dudqzke62363l4hjsud7gzzt6nmo5a\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:41:32.2220978Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:41:33.2722Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_listrqmm6um7pe3mnfx5nfyuviyajpg4tuze2qo6cion35zxzgf/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-speckx6secdg25o7xsuy2xbnb2k7lqf7vakxb\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-speckx6secdg25o7xsuy2xbnb2k7lqf7vakxb\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:47:07.5331087Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:47:07.5331087Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specsd665s3etaz7jmgczmavqos2a7htasxdmzbbjxbwug7a4nigtf2yn/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-specopc7o3jzgggftynbpmulie25weqt2yrn3s\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-get-template-specopc7o3jzgggftynbpmulie25weqt2yrn3s\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:49:26.6170702Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:49:27.9671188Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs4qx6uvvrjlwtkhyxf6o3n7trxbksawhbk6nlbyxqwnrxkbiztze2/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-speclyt3sd2hwuy3o6tjjcsmy57uf64zow3gnq\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-get-template-speclyt3sd2hwuy3o6tjjcsmy57uf64zow3gnq\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-04-27T20:49:26.6304789Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:49:28.0655988Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specsubttzzzosm255tzrw63uhxfkxvj3moadd3bck4nvwj7ds2sgrxrk/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tagsmgi3mrpkc77grkffavnd4tuq6kllvvein\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-template-spec-tagsmgi3mrpkc77grkffavnd4tuq6kllvvein\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:49:33.2787018Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:49:34.3988563Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_listkof3jewk6xe2qb2nvu4jioawjhod43eolzbafnvplj5ckai/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-specd4vafes5cc23oec57wupfd2a7zqi575yf\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-specd4vafes5cc23oec57wupfd2a7zqi575yf\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-04-27T20:51:50.0058396Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:51:51.3457974Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs6t4ykmcp5tep2bmk2iya2afvi647asyogkpglk3h3ex7mpvbpwsx/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags53rqvhcrsaayyfexj5wosl2d5n7xexvpm\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-template-spec-tags53rqvhcrsaayyfexj5wosl2d5n7xexvpm\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:51:50.6188576Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:51:51.9388827Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specsrkccfb3m76qkexkz2mafuygwlj66qilbo7hfobnqr56h6ns6rnv4/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-specqlk5x6aertgavqcqch7u27vlp4cs4hzdm\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-specqlk5x6aertgavqcqch7u27vlp4cs4hzdm\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:51:57.9017262Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:51:59.1367005Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_listup4vnkm6shu65zgb7bbafhohgdxbkswecl4mskxmqvzntkf/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec6rujwq3xvzhsggwolcnqgex22xxongo7j\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-spec6rujwq3xvzhsggwolcnqgex22xxongo7j\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:52:01.7485937Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:52:03.2436158Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_listxcyzknyqbygqok2ox6apbv42y7astbcj5gin2tihdl3hrbs/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec6rujwq3xvzhsggwolcnqgex22xxongo7j\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-spec6rujwq3xvzhsggwolcnqgex22xxongo7j\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-04-27T20:54:23.111295Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n + \ \"lastModifiedAt\": \"2021-04-27T20:54:27.9320432Z\"\r\n },\r\n + \ \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_listinzbzl46tgds7j3dgmzy7zmwrpgcqfigojv6t7halppp3zz/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-specbjewaea62fcgwp4ixdpnx364e5aexpfgo\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-list-template-specbjewaea62fcgwp4ixdpnx364e5aexpfgo\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-04-27T20:54:26.1244654Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-27T20:54:33.6873964Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs2b2iidenhsnrn4c3wshdu5q7zgmn4rfah2sxgbbsua6ijkjg3c4a/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tagso5pg7nmi4qstojbo45gkxs2dxilluwjq7\",\r\n + \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": + \"cli-test-template-spec-tagso5pg7nmi4qstojbo45gkxs2dxilluwjq7\"\r\n },\r\n + \ {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:42.8404136Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:43.9405052Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n },\r\n {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": - \"zhoxing@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": - \"2021-04-16T02:01:17.9560792Z\",\r\n \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n - \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:26.1833995Z\"\r\n + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-05-19T08:35:47.0530236Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:50.9292715Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-list-template-spec000003\"\r\n },\r\n {\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": - \"zhoxing@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": - \"2021-04-16T02:01:22.5933904Z\",\r\n \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n - \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:01:30.1903268Z\"\r\n - \ },\r\n \"properties\": {\r\n \"displayName\": \"create-specurnu7fgkj\",\r\n - \ \"description\": \"AzCLI test root template spec\"\r\n },\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specsmk3hrlyq2tagtsc3ji46xylg32qcc7bf7ymaiqezrrbhm7qvz56h/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec3mvc3xeujb6q34arffal7ekpi5mdf6a\",\r\n + \"daetienn@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": + \"2021-05-19T08:35:51.357263Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n + \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:52.3922043Z\"\r\n + \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs2zecj42kohrcltcfmethofd7d5u5losxcnpr2r47sp3bwi2vbg5y/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-speclz6z44yernpxhnv7zajxvxe7jxn4vwp5x3\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": - \"cli-test-update-template-spec3mvc3xeujb6q34arffal7ekpi5mdf6a\"\r\n }\r\n + \"cli-test-get-template-speclz6z44yernpxhnv7zajxvxe7jxn4vwp5x3\"\r\n }\r\n \ ]\r\n}" headers: cache-control: - no-cache content-length: - - '2529' + - '14405' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:30 GMT + - Wed, 19 May 2021 08:35:52 GMT expires: - '-1' pragma: @@ -895,9 +1012,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000002/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: '' @@ -907,7 +1024,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:01:34 GMT + - Wed, 19 May 2021 08:35:55 GMT expires: - '-1' pragma: @@ -939,9 +1056,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_list000001/providers/Microsoft.Resources/templateSpecs/cli-test-list-template-spec000003?api-version=2021-05-01 response: body: string: '' @@ -951,7 +1068,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:01:39 GMT + - Wed, 19 May 2021 08:35:56 GMT expires: - '-1' pragma: @@ -963,7 +1080,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_deployment_ts.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_deployment_ts.yaml index 0e420b8dd83..1cde3ee0811 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_deployment_ts.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_deployment_ts.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:23 GMT + - Wed, 19 May 2021 08:30:07 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:24 GMT + - Wed, 19 May 2021 08:30:08 GMT expires: - '-1' pragma: @@ -105,16 +105,16 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:30.2175552Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:30.2175552Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:30:10.294185Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:30:10.294185Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-resource-group-ts-deploy000002\"\r\n}" headers: @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:31 GMT + - Wed, 19 May 2021 08:30:10 GMT expires: - '-1' pragma: @@ -142,8 +142,8 @@ interactions: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,22 +162,22 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:33.5885698Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:33.5885698Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:30:11.3391995Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:30:11.3391995Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:34 GMT + - Wed, 19 May 2021 08:30:11 GMT expires: - '-1' pragma: @@ -233,16 +233,16 @@ interactions: ParameterSetName: - --resource-group --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:33.5885698Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:33.5885698Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:30:11.3391995Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:30:11.3391995Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -264,11 +264,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:35 GMT + - Wed, 19 May 2021 08:30:12 GMT expires: - '-1' pragma: @@ -306,12 +306,12 @@ interactions: ParameterSetName: - --resource-group --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:38.8607827Z","duration":"PT0S","correlationId":"20b130c9-395e-48b2-ac72-3fb6e1af88e0","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:13.9909385Z","duration":"PT0S","correlationId":"e925e9f4-230d-41a7-bc8d-8255f20c4d14","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' headers: cache-control: - no-cache @@ -320,7 +320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:39 GMT + - Wed, 19 May 2021 08:30:13 GMT expires: - '-1' pragma: @@ -352,16 +352,16 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:33.5885698Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:33.5885698Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:30:11.3391995Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:30:11.3391995Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -383,11 +383,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:40 GMT + - Wed, 19 May 2021 08:30:14 GMT expires: - '-1' pragma: @@ -425,12 +425,12 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:42.7875492Z","duration":"PT0S","correlationId":"fa105989-5771-490a-b1f1-7f67e76a24c3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:16.4958884Z","duration":"PT0S","correlationId":"c7d38d97-d97b-4615-8f27-ebc027cab5f1","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' headers: cache-control: - no-cache @@ -439,7 +439,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:42 GMT + - Wed, 19 May 2021 08:30:15 GMT expires: - '-1' pragma: @@ -477,15 +477,15 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T08:55:46.5304218Z","duration":"PT2.0288555S","correlationId":"bb02031c-a331-47af-8a2c-f4f01a506ee9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:30:17.7609667Z","duration":"PT0.7025328S","correlationId":"64719e2a-cd2f-4c9a-9a4d-43435e072f10","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_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operationStatuses/08585819203409760452?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operationStatuses/08585801938684191774?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -493,7 +493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:47 GMT + - Wed, 19 May 2021 08:30:17 GMT expires: - '-1' pragma: @@ -503,7 +503,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -521,9 +521,9 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585819203409760452?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801938684191774?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -535,7 +535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:18 GMT + - Wed, 19 May 2021 08:30:48 GMT expires: - '-1' pragma: @@ -563,27 +563,27 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:59.5706575Z","duration":"PT15.0690912S","correlationId":"bb02031c-a331-47af-8a2c-f4f01a506ee9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"e2944fb6-3500-4125-aca2-8c62567a628d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:25.0345623Z","duration":"PT7.9761284S","correlationId":"64719e2a-cd2f-4c9a-9a4d-43435e072f10","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"6f325f5b-a712-4258-82f4-a74dd0d589fd","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' headers: cache-control: - no-cache content-length: - - '5889' + - '5888' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:18 GMT + - Wed, 19 May 2021 08:30:48 GMT expires: - '-1' pragma: @@ -611,27 +611,27 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/?api-version=2020-10-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:59.5706575Z","duration":"PT15.0690912S","correlationId":"bb02031c-a331-47af-8a2c-f4f01a506ee9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"e2944fb6-3500-4125-aca2-8c62567a628d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:25.0345623Z","duration":"PT7.9761284S","correlationId":"64719e2a-cd2f-4c9a-9a4d-43435e072f10","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"6f325f5b-a712-4258-82f4-a74dd0d589fd","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}]}' headers: cache-control: - no-cache content-length: - - '5901' + - '5900' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:19 GMT + - Wed, 19 May 2021 08:30:49 GMT expires: - '-1' pragma: @@ -659,27 +659,27 @@ interactions: ParameterSetName: - --resource-group --filter User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/?$filter=provisioningState%20eq%20%27Succeeded%27&api-version=2020-10-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:59.5706575Z","duration":"PT15.0690912S","correlationId":"bb02031c-a331-47af-8a2c-f4f01a506ee9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"e2944fb6-3500-4125-aca2-8c62567a628d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:25.0345623Z","duration":"PT7.9761284S","correlationId":"64719e2a-cd2f-4c9a-9a4d-43435e072f10","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"6f325f5b-a712-4258-82f4-a74dd0d589fd","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}]}' headers: cache-control: - no-cache content-length: - - '5901' + - '5900' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:20 GMT + - Wed, 19 May 2021 08:30:49 GMT expires: - '-1' pragma: @@ -707,27 +707,27 @@ interactions: ParameterSetName: - --resource-group -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:59.5706575Z","duration":"PT15.0690912S","correlationId":"bb02031c-a331-47af-8a2c-f4f01a506ee9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"e2944fb6-3500-4125-aca2-8c62567a628d","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"cc6cc18e-9aad-478e-82fb-5d3d683b1bc1\"","type":"Microsoft.Network/networkSecurityGroups/defaultSecurityRules","properties":{"provisioningState":"Succeeded","description":"Deny + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003","name":"azure-cli-resource-group-deployment000003","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:25.0345623Z","duration":"PT7.9761284S","correlationId":"64719e2a-cd2f-4c9a-9a4d-43435e072f10","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"outputs":{"newNSG":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"6f325f5b-a712-4258-82f4-a74dd0d589fd","securityRules":[],"defaultSecurityRules":[{"name":"AllowVnetInBound","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllInBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowVnetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/AllowInternetOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1/defaultSecurityRules/DenyAllOutBound","etag":"W/\"eec53a23-4b94-44d7-a87b-e5d2e40a9233\"","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_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' headers: cache-control: - no-cache content-length: - - '5889' + - '5888' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:21 GMT + - Wed, 19 May 2021 08:30:50 GMT expires: - '-1' pragma: @@ -757,7 +757,7 @@ interactions: ParameterSetName: - --resource-group -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/exportTemplate?api-version=2020-10-01 response: @@ -773,7 +773,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:22 GMT + - Wed, 19 May 2021 08:30:50 GMT expires: - '-1' pragma: @@ -805,21 +805,21 @@ interactions: ParameterSetName: - --resource-group -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/deployments/mock-deployment/operations?api-version=2020-10-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operations/6D2AD8D3B15C4F8B","operationId":"6D2AD8D3B15C4F8B","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:58.4982726Z","duration":"PT10.4316544S","trackingId":"abcaddd7-113f-4d40-ba26-ea50ca881e63","serviceRequestId":"9cce3be7-204e-43de-a826-04f97566a83e","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_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_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operations/08585819203409760452","operationId":"08585819203409760452","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:59.3634858Z","duration":"PT11.2968676S","trackingId":"d1118e38-1d85-47fb-969e-aa9616f8f9af","statusCode":"OK"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operations/93D1EDC2C528D7B3","operationId":"93D1EDC2C528D7B3","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:23.7949359Z","duration":"PT5.1164526S","trackingId":"7fc53255-1093-48d7-9b80-fc52cb8c4b9e","serviceRequestId":"8765dd87-ee04-47bc-8c14-9df5a4346480","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_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_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000003/operations/08585801938684191774","operationId":"08585801938684191774","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:24.6405389Z","duration":"PT5.9620556S","trackingId":"276f0b6c-b207-4b8b-99de-41a0bb36f711","statusCode":"OK"}}]}' headers: cache-control: - no-cache content-length: - - '1514' + - '1512' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:23 GMT + - Wed, 19 May 2021 08:30:51 GMT expires: - '-1' pragma: @@ -847,16 +847,16 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:33.5885698Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:33.5885698Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:30:11.3391995Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:30:11.3391995Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -878,11 +878,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:25 GMT + - Wed, 19 May 2021 08:30:51 GMT expires: - '-1' pragma: @@ -920,12 +920,12 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:56:27.9232348Z","duration":"PT0S","correlationId":"9b43fb3a-45d2-43d1-b7f5-c5bd7115e5de","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:30:53.8318345Z","duration":"PT0S","correlationId":"148c6ffa-3163-462d-ba18-e830ff66aa5e","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Network/networkSecurityGroups/azure-cli-deploy-test-nsg1"}]}}' headers: cache-control: - no-cache @@ -934,7 +934,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:27 GMT + - Wed, 19 May 2021 08:30:53 GMT expires: - '-1' pragma: @@ -972,15 +972,15 @@ interactions: ParameterSetName: - --resource-group -n --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T08:56:31.1375154Z","duration":"PT2.0248598S","correlationId":"876eb22f-4fc0-4835-baa9-f76f94d50e95","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:30:55.3049175Z","duration":"PT0.8674474S","correlationId":"aac0dd96-cd24-4113-8ffb-85036a34d522","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_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004/operationStatuses/08585819202963649571?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004/operationStatuses/08585801938310401497?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -988,7 +988,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:31 GMT + - Wed, 19 May 2021 08:30:55 GMT expires: - '-1' pragma: @@ -1018,7 +1018,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment/cancel?api-version=2020-10-01 response: @@ -1028,7 +1028,7 @@ interactions: cache-control: - no-cache date: - - Thu, 29 Apr 2021 08:56:35 GMT + - Wed, 19 May 2021 08:30:56 GMT expires: - '-1' pragma: @@ -1038,7 +1038,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 204 message: No Content @@ -1056,12 +1056,12 @@ interactions: ParameterSetName: - -n -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2021-04-29T08:56:34.8240581Z","duration":"PT5.7114025S","correlationId":"876eb22f-4fc0-4835-baa9-f76f94d50e95","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/deployments/azure-cli-resource-group-deployment000004","name":"azure-cli-resource-group-deployment000004","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_resource_group_deployment000001/providers/Microsoft.Resources/templateSpecs/cli-test-resource-group-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"18214098974183646216","parameters":{"location":{"type":"String","value":"westus"},"name":{"type":"String","value":"azure-cli-deploy-test-nsg1"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2021-05-19T08:30:56.8816504Z","duration":"PT2.4441803S","correlationId":"aac0dd96-cd24-4113-8ffb-85036a34d522","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"networkSecurityGroups","locations":["westus"]}]}],"dependencies":[]}}' headers: cache-control: - no-cache @@ -1070,7 +1070,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:35 GMT + - Wed, 19 May 2021 08:30:58 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_level_what_if_ts.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_level_what_if_ts.yaml index 582af7cb2d3..5fd195d096e 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_level_what_if_ts.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_resource_group_level_what_if_ts.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:29 GMT + - Wed, 19 May 2021 08:34:00 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:30 GMT + - Wed, 19 May 2021 08:34:01 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:34.7835185Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:34.7835185Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:02.8760126Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:02.8760126Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-deploy-what-if-rg-deploy000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:35 GMT + - Wed, 19 May 2021 08:34:02 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"storageAccountType": {"type": "string", "defaultValue": "Standard_LRS", "allowedValues": ["Standard_LRS", "Standard_GRS", "Standard_ZRS", "Premium_LRS"], "metadata": {"description": "Storage Account @@ -164,22 +164,22 @@ interactions: Connection: - keep-alive Content-Length: - - '1076' + - '1086' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:39.453555Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:39.453555Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9111242Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9111242Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountType\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Standard_LRS\",\r\n @@ -206,11 +206,11 @@ interactions: cache-control: - no-cache content-length: - - '2205' + - '2213' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:40 GMT + - Wed, 19 May 2021 08:34:03 GMT expires: - '-1' pragma: @@ -222,7 +222,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -240,16 +240,16 @@ interactions: ParameterSetName: - --resource-group --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:39.453555Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:39.453555Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9111242Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9111242Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountType\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Standard_LRS\",\r\n @@ -276,11 +276,11 @@ interactions: cache-control: - no-cache content-length: - - '2205' + - '2213' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:41 GMT + - Wed, 19 May 2021 08:34:04 GMT expires: - '-1' pragma: @@ -317,12 +317,12 @@ interactions: ParameterSetName: - --resource-group --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:55:44.4623387Z","duration":"PT0S","correlationId":"897dd3f1-d16f-4808-af9e-c403b691ab4b","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:34:06.7528548Z","duration":"PT0S","correlationId":"b5488d3c-2284-44a5-81c0-44c1d91c8e86","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc"}]}}' headers: cache-control: - no-cache @@ -331,7 +331,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:45 GMT + - Wed, 19 May 2021 08:34:07 GMT expires: - '-1' pragma: @@ -368,23 +368,23 @@ interactions: ParameterSetName: - --resource-group --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T08:55:49.5801772Z","duration":"PT1.8626219S","correlationId":"33643037-0542-4a71-80f7-be8494c094a1","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:34:08.2128092Z","duration":"PT0.626685S","correlationId":"92f3a3dc-30e3-4938-a6a5-bd363dd2c461","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1/operationStatuses/08585819203377600573?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1/operationStatuses/08585801936378914854?api-version=2020-10-01 cache-control: - no-cache content-length: - - '1052' + - '1051' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:55:50 GMT + - Wed, 19 May 2021 08:34:08 GMT expires: - '-1' pragma: @@ -412,9 +412,9 @@ interactions: ParameterSetName: - --resource-group --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585819203377600573?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801936378914854?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -426,7 +426,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:21 GMT + - Wed, 19 May 2021 08:34:38 GMT expires: - '-1' pragma: @@ -454,12 +454,12 @@ interactions: ParameterSetName: - --resource-group --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:56:20.7088204Z","duration":"PT32.9912651S","correlationId":"33643037-0542-4a71-80f7-be8494c094a1","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[],"outputs":{"storageAccountId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6230226507688242128","parameters":{"storageAccountType":{"type":"String","value":"Standard_LRS"},"location":{"type":"String","value":"westus"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:34:35.2024777Z","duration":"PT27.6163535S","correlationId":"92f3a3dc-30e3-4938-a6a5-bd363dd2c461","providers":[{"namespace":"Microsoft.Storage","resourceTypes":[{"resourceType":"storageAccounts","locations":["westus"]}]}],"dependencies":[],"outputs":{"storageAccountId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc"}]}}' headers: cache-control: - no-cache @@ -468,7 +468,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:21 GMT + - Wed, 19 May 2021 08:34:38 GMT expires: - '-1' pragma: @@ -496,16 +496,16 @@ interactions: ParameterSetName: - --resource-group --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:55:39.453555Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:55:39.453555Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9111242Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9111242Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountType\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"Standard_LRS\",\r\n @@ -532,11 +532,11 @@ interactions: cache-control: - no-cache content-length: - - '2205' + - '2213' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:23 GMT + - Wed, 19 May 2021 08:34:38 GMT expires: - '-1' pragma: @@ -574,7 +574,7 @@ interactions: ParameterSetName: - --resource-group --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/deployments/mock-deployment/whatIf?api-version=2020-10-01 response: @@ -586,11 +586,11 @@ interactions: content-length: - '0' date: - - Thu, 29 Apr 2021 08:56:27 GMT + - Wed, 19 May 2021 08:34:40 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItQ0xJOjVGVEVTVDo1RkRFUExPWU1FTlQ6NUZXSEFUOjVGSUY6NUZURU1QTEFURTp8NzAwMTM0MjNCRUUxOTc3OS0xLUFFM0I1MUUyOjJEMTk5NDoyRDRGQUE6MkRBRjNBOjJENUQyRUFBQ0NBNjQ4Iiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItQ0xJOjVGVEVTVDo1RkRFUExPWU1FTlQ6NUZXSEFUOjVGSUY6NUZURU1QTEFURTp8OUIwOEZEOTg0REY5ODI5Ny0xLTAxMjU2Qjg2OjJEQjREQToyRDQxNjU6MkQ5OTgxOjJEM0YyNDg5QUFDREIzIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2020-10-01 pragma: - no-cache strict-transport-security: @@ -598,7 +598,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -616,12 +616,12 @@ interactions: ParameterSetName: - --resource-group --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItQ0xJOjVGVEVTVDo1RkRFUExPWU1FTlQ6NUZXSEFUOjVGSUY6NUZURU1QTEFURTp8NzAwMTM0MjNCRUUxOTc3OS0xLUFFM0I1MUUyOjJEMTk5NDoyRDRGQUE6MkRBRjNBOjJENUQyRUFBQ0NBNjQ4Iiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItQ0xJOjVGVEVTVDo1RkRFUExPWU1FTlQ6NUZXSEFUOjVGSUY6NUZURU1QTEFURTp8OUIwOEZEOTg0REY5ODI5Ny0xLTAxMjU2Qjg2OjJEQjREQToyRDQxNjU6MkQ5OTgxOjJEM0YyNDg5QUFDREIzIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2020-10-01 response: body: - string: '{"status":"Succeeded","properties":{"correlationId":"ae3b51e2-1994-4faa-af3a-5d2eaacca648","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","changeType":"Ignore","before":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002","type":"Microsoft.Resources/templateSpecs"},"after":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002","type":"Microsoft.Resources/templateSpecs"}},{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","changeType":"Ignore","before":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002/1.0","type":"Microsoft.Resources/templateSpecs/versions"},"after":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002/1.0","type":"Microsoft.Resources/templateSpecs/versions"}},{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6","changeType":"Modify","before":{"apiVersion":"2019-04-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6","kind":"StorageV2","location":"westus","name":"storevqbbl54pz5eg6","properties":{"accessTier":"Hot","encryption":{"keySource":"Microsoft.Storage"},"networkAcls":{"bypass":"AzureServices","defaultAction":"Allow"},"supportsHttpsTrafficOnly":true},"sku":{"name":"Standard_LRS"},"type":"Microsoft.Storage/storageAccounts"},"after":{"apiVersion":"2019-04-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storevqbbl54pz5eg6","kind":"StorageV2","location":"westus","name":"storevqbbl54pz5eg6","properties":{"accessTier":"Hot","encryption":{"keySource":"Microsoft.Storage"},"networkAcls":{"bypass":"AzureServices","defaultAction":"Allow"},"supportsHttpsTrafficOnly":true},"sku":{"name":"Standard_GRS"},"type":"Microsoft.Storage/storageAccounts"},"delta":[{"path":"sku.name","propertyChangeType":"Modify","before":"Standard_LRS","after":"Standard_GRS"}]}]}}' + string: '{"status":"Succeeded","properties":{"correlationId":"01256b86-b4da-4165-9981-3f2489aacdb3","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","changeType":"Ignore","before":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002","type":"Microsoft.Resources/templateSpecs"},"after":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002","type":"Microsoft.Resources/templateSpecs"}},{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","changeType":"Ignore","before":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002/1.0","type":"Microsoft.Resources/templateSpecs/versions"},"after":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-rg-deploy000002/versions/1.0","location":"westus","name":"cli-test-deploy-what-if-rg-deploy000002/1.0","type":"Microsoft.Resources/templateSpecs/versions"}},{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc","changeType":"Modify","before":{"apiVersion":"2019-04-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc","kind":"StorageV2","location":"westus","name":"storebmukxalb7hqqc","properties":{"accessTier":"Hot","encryption":{"keySource":"Microsoft.Storage"},"networkAcls":{"bypass":"AzureServices","defaultAction":"Allow"},"supportsHttpsTrafficOnly":true},"sku":{"name":"Standard_LRS"},"type":"Microsoft.Storage/storageAccounts"},"after":{"apiVersion":"2019-04-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Storage/storageAccounts/storebmukxalb7hqqc","kind":"StorageV2","location":"westus","name":"storebmukxalb7hqqc","properties":{"accessTier":"Hot","encryption":{"keySource":"Microsoft.Storage"},"networkAcls":{"bypass":"AzureServices","defaultAction":"Allow"},"supportsHttpsTrafficOnly":true},"sku":{"name":"Standard_GRS"},"type":"Microsoft.Storage/storageAccounts"},"delta":[{"path":"sku.name","propertyChangeType":"Modify","before":"Standard_LRS","after":"Standard_GRS"}]}]}}' headers: cache-control: - no-cache @@ -630,7 +630,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:56:42 GMT + - Wed, 19 May 2021 08:34:56 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_show_template_spec.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_show_template_spec.yaml index a3e2bde0758..df160d24fe0 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_show_template_spec.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_show_template_spec.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:47 GMT + - Wed, 19 May 2021 08:35:49 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:49 GMT + - Wed, 19 May 2021 08:35:49 GMT expires: - '-1' pragma: @@ -105,16 +105,16 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:53.2863451Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:53.2863451Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:51.357263Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:51.357263Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-get-template-spec000002\"\r\n}" headers: @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:54 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,23 +162,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:57.1863517Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:57.1863517Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:52.3922043Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:52.3922043Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:58 GMT + - Wed, 19 May 2021 08:35:52 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1198' status: code: 201 message: Created @@ -233,29 +233,29 @@ interactions: ParameterSetName: - -g --name User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:53.2863451Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:57.1863517Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": - {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-04-16T02:01:57.1863517+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:01:57.1863517+00:00\"\r\n }\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:51.357263Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:52.3922043Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": + {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-05-19T08:35:52.3922043+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:35:52.3922043+00:00\"\r\n }\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-get-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '909' + - '910' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:01:59 GMT + - Wed, 19 May 2021 08:35:52 GMT expires: - '-1' pragma: @@ -287,29 +287,29 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:53.2863451Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:57.1863517Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": - {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-04-16T02:01:57.1863517+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:01:57.1863517+00:00\"\r\n }\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:51.357263Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:52.3922043Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": + {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-05-19T08:35:52.3922043+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:35:52.3922043+00:00\"\r\n }\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-get-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '909' + - '910' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:00 GMT + - Wed, 19 May 2021 08:35:53 GMT expires: - '-1' pragma: @@ -341,17 +341,17 @@ interactions: ParameterSetName: - -g --name --version User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:57.1863517Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:57.1863517Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:52.3922043Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:52.3922043Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -372,11 +372,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:00 GMT + - Wed, 19 May 2021 08:35:54 GMT expires: - '-1' pragma: @@ -408,17 +408,17 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:01:57.1863517Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:01:57.1863517Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:52.3922043Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:35:52.3922043Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -439,11 +439,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:01 GMT + - Wed, 19 May 2021 08:35:54 GMT expires: - '-1' pragma: @@ -477,9 +477,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-get-template-spec000002?api-version=2021-05-01 response: body: string: '' @@ -489,7 +489,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:02:06 GMT + - Wed, 19 May 2021 08:35:56 GMT expires: - '-1' pragma: @@ -501,7 +501,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_deployment_ts.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_deployment_ts.yaml index 5e3c8de4450..008dd35e023 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_deployment_ts.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_deployment_ts.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:40 GMT + - Wed, 19 May 2021 08:32:45 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:41 GMT + - Wed, 19 May 2021 08:32:46 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:58:47.1001515Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:58:47.1001515Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:32:47.6599921Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:32:47.6599921Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-sub-lvl-ts-deploy000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:49 GMT + - Wed, 19 May 2021 08:32:47 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "eastus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "eastus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"storageAccountName": {"type": "string", "defaultValue": "armbuilddemo1801"}, "nestedRGName": {"type": "string", "defaultValue": "cli_test_subscription_level_deployment"}}, "variables": {}, "resources": [{"type": @@ -172,22 +172,22 @@ interactions: Connection: - keep-alive Content-Length: - - '1756' + - '1766' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:58:52.0151628Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:58:52.0151628Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:32:48.434872Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:32:48.434872Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n @@ -230,11 +230,11 @@ interactions: cache-control: - no-cache content-length: - - '3451' + - '3455' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:53 GMT + - Wed, 19 May 2021 08:32:48 GMT expires: - '-1' pragma: @@ -246,7 +246,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -264,16 +264,16 @@ interactions: ParameterSetName: - --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:58:52.0151628Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:58:52.0151628Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:32:48.434872Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:32:48.434872Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n @@ -316,11 +316,11 @@ interactions: cache-control: - no-cache content-length: - - '3451' + - '3455' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:55 GMT + - Wed, 19 May 2021 08:32:48 GMT expires: - '-1' pragma: @@ -376,13 +376,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:56 GMT + - Wed, 19 May 2021 08:32:49 GMT etag: - '"2cc7b94cb1a1129b25fb74b5079c39ebea46f9ed18b7ed5ab643967ad43be835"' expires: - - Thu, 29 Apr 2021 09:03:56 GMT + - Wed, 19 May 2021 08:37:49 GMT source-age: - - '0' + - '97' strict-transport-security: - max-age=31536000 vary: @@ -390,21 +390,21 @@ interactions: via: - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 4fb0b1852a92ac06a7afa51705aae798084a0add + - ab1caf600662234a1488e4e6d74c1b91aec7f92b x-frame-options: - deny x-github-request-id: - - D510:4A7D:CE239:17C476:608A7550 + - A776:4EF2:A7E8EE:DE22D4:60A4CCD0 x-served-by: - - cache-hkg17928-HKG + - cache-fty21349-FTY x-timer: - - S1619686736.011956,VS0,VE288 + - S1621413170.534126,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -430,12 +430,12 @@ interactions: ParameterSetName: - --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:58:58.0747447Z","duration":"PT0S","correlationId":"ef236145-4963-4e84-8492-7f40161143cf","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:32:50.4188025Z","duration":"PT0S","correlationId":"c532c8c4-6443-4e95-b12a-913b63630e3b","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' headers: cache-control: - no-cache @@ -444,7 +444,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:58 GMT + - Wed, 19 May 2021 08:32:49 GMT expires: - '-1' pragma: @@ -476,16 +476,16 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:58:52.0151628Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:58:52.0151628Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:32:48.434872Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:32:48.434872Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n @@ -528,11 +528,11 @@ interactions: cache-control: - no-cache content-length: - - '3451' + - '3455' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:59 GMT + - Wed, 19 May 2021 08:32:50 GMT expires: - '-1' pragma: @@ -570,12 +570,12 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:02.0577476Z","duration":"PT0S","correlationId":"8168a36e-6374-4ecb-a323-c51d7a6c89cf","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:32:51.8947633Z","duration":"PT0S","correlationId":"e8572d9d-ddba-45ea-9066-9d665927ab63","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' headers: cache-control: - no-cache @@ -584,7 +584,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:01 GMT + - Wed, 19 May 2021 08:32:52 GMT expires: - '-1' pragma: @@ -622,15 +622,15 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T08:59:06.6168727Z","duration":"PT3.4291338S","correlationId":"a6bd5fcf-3bf8-48d9-8056-126c10bc7a12","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:32:53.6738619Z","duration":"PT1.1858808S","correlationId":"3a8da817-e1b3-4194-a93a-1c84050c7771","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operationStatuses/08585819201422898878?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operationStatuses/08585801937129896421?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -638,7 +638,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:06 GMT + - Wed, 19 May 2021 08:32:54 GMT expires: - '-1' pragma: @@ -648,7 +648,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -666,51 +666,9 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585819201422898878?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 29 Apr 2021 08:59:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - deployment sub create - Connection: - - keep-alive - ParameterSetName: - - -n --location --template-spec --parameters --parameters - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585819201422898878?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801937129896421?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -722,7 +680,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:08 GMT + - Wed, 19 May 2021 08:33:24 GMT expires: - '-1' pragma: @@ -750,12 +708,12 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --parameters User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:54.7905722Z","duration":"PT51.6028333S","correlationId":"a6bd5fcf-3bf8-48d9-8056-126c10bc7a12","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:33:23.7260995Z","duration":"PT31.2381184S","correlationId":"3a8da817-e1b3-4194-a93a-1c84050c7771","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' headers: cache-control: - no-cache @@ -764,7 +722,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:08 GMT + - Wed, 19 May 2021 08:33:24 GMT expires: - '-1' pragma: @@ -792,12 +750,12 @@ interactions: ParameterSetName: - -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:54.7905722Z","duration":"PT51.6028333S","correlationId":"a6bd5fcf-3bf8-48d9-8056-126c10bc7a12","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003","name":"azure-cli-subscription_level_deployment000003","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo000005"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:33:23.7260995Z","duration":"PT31.2381184S","correlationId":"3a8da817-e1b3-4194-a93a-1c84050c7771","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo000005"}]}}' headers: cache-control: - no-cache @@ -806,7 +764,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:09 GMT + - Wed, 19 May 2021 08:33:25 GMT expires: - '-1' pragma: @@ -836,7 +794,7 @@ interactions: ParameterSetName: - -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/exportTemplate?api-version=2020-10-01 response: @@ -852,7 +810,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:10 GMT + - Wed, 19 May 2021 08:33:25 GMT expires: - '-1' pragma: @@ -866,7 +824,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -884,21 +842,21 @@ interactions: ParameterSetName: - -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operations?api-version=2020-10-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/BB0CC53EFF348AD5","operationId":"BB0CC53EFF348AD5","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:53.5971782Z","duration":"PT45.2191659S","trackingId":"c3b4192e-6d71-4c41-8f11-f7b1e782ca11","serviceRequestId":"b682b8d3-1e1e-47dd-8021-99f4f082b853","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/047BF7D373F16CED","operationId":"047BF7D373F16CED","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:14.7843499Z","duration":"PT6.4063376S","trackingId":"8e5ee950-d2c8-4fdd-853a-1f4de4f28bd4","serviceRequestId":"2e88d644-bc8e-400e-9114-4aab8688a4d9","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/0CCC0FCC7A260D94","operationId":"0CCC0FCC7A260D94","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:09.8181109Z","duration":"PT1.4400986S","trackingId":"a3fa22c6-8efd-4b4f-8b23-2a927a42cd81","serviceRequestId":"cdf6b1ec-6dc8-48a3-b9ab-c8a848752020","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/D53862B573E9142D","operationId":"D53862B573E9142D","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:09.0517534Z","duration":"PT0.6737411S","trackingId":"fc1cc1e4-e44f-4893-8965-1dda13920c98","serviceRequestId":"5e9cf6f4-c965-444f-b790-3cfc052bca64","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/08585819201422898878","operationId":"08585819201422898878","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:54.5765117Z","duration":"PT0.5639047S","trackingId":"c699a215-ee16-4476-a18f-f8b17384b676","statusCode":"OK"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/329EE474E6D6C89B","operationId":"329EE474E6D6C89B","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-05-19T08:33:23.5141758Z","duration":"PT28.9750203S","trackingId":"21ecf3bb-a7bc-444d-9579-a9e13165c34c","serviceRequestId":"e54e5b3d-7658-4277-beb5-e101d79bc354","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/AB73B60C58049248","operationId":"AB73B60C58049248","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-05-19T08:32:55.6370994Z","duration":"PT1.0979439S","trackingId":"5e99295f-f5f3-4651-aae6-d9f2806d67d6","serviceRequestId":"13d12f65-2bf9-4d9c-89a8-86ed9af82d9d","statusCode":"OK","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/E0AC39399CA5D988","operationId":"E0AC39399CA5D988","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-05-19T08:32:55.0089931Z","duration":"PT0.4698376S","trackingId":"66f68797-c320-42c9-ae04-e42f6b73e294","serviceRequestId":"08eb99fb-1b2f-43f9-a88c-a3e7bc47d8ec","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/02C83B583A6FE177","operationId":"02C83B583A6FE177","properties":{"provisioningOperation":"Create","provisioningState":"Succeeded","timestamp":"2021-05-19T08:32:54.8390781Z","duration":"PT0.2999226S","trackingId":"001d5dc7-e926-4660-a060-aa9bd77e2e1f","serviceRequestId":"818db735-c325-4d81-9698-5bab35f6fa57","statusCode":"Created","targetResource":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000003/operations/08585801937129896421","operationId":"08585801937129896421","properties":{"provisioningOperation":"EvaluateDeploymentOutput","provisioningState":"Succeeded","timestamp":"2021-05-19T08:33:23.66767Z","duration":"PT0.0817014S","trackingId":"f27d2aa2-5d0c-4778-ab0b-7ca7a74178ef","statusCode":"OK"}}]}' headers: cache-control: - no-cache content-length: - - '3463' + - '3456' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:12 GMT + - Wed, 19 May 2021 08:33:25 GMT expires: - '-1' pragma: @@ -926,16 +884,16 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:58:52.0151628Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:58:52.0151628Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:32:48.434872Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:32:48.434872Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n @@ -978,11 +936,11 @@ interactions: cache-control: - no-cache content-length: - - '3451' + - '3455' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:13 GMT + - Wed, 19 May 2021 08:33:26 GMT expires: - '-1' pragma: @@ -1020,12 +978,12 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T09:00:15.6321448Z","duration":"PT0S","correlationId":"f7edf10b-8249-4852-8a56-cd2f5f462000","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo1801"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:33:27.4876112Z","duration":"PT0S","correlationId":"aa7d639a-93da-4130-b4db-c888962617df","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Storage/storageAccounts/armbuilddemo1801"}]}}' headers: cache-control: - no-cache @@ -1034,7 +992,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:16 GMT + - Wed, 19 May 2021 08:33:26 GMT expires: - '-1' pragma: @@ -1048,7 +1006,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1072,15 +1030,15 @@ interactions: ParameterSetName: - -n --location --template-spec --parameters --no-wait User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T09:00:20.1641752Z","duration":"PT3.2061537S","correlationId":"a7b22723-2c50-4fd5-94d9-786e5d3e9f3a","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:33:29.1452267Z","duration":"PT1.1594197S","correlationId":"f18e6ba5-07ab-48b1-b0e4-eab027367a0b","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004/operationStatuses/08585819200685196209?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004/operationStatuses/08585801936774918172?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -1088,7 +1046,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:20 GMT + - Wed, 19 May 2021 08:33:28 GMT expires: - '-1' pragma: @@ -1098,7 +1056,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1118,7 +1076,7 @@ interactions: ParameterSetName: - -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/cancel?api-version=2020-10-01 response: @@ -1128,7 +1086,7 @@ interactions: cache-control: - no-cache date: - - Thu, 29 Apr 2021 09:00:22 GMT + - Wed, 19 May 2021 08:33:29 GMT expires: - '-1' pragma: @@ -1138,7 +1096,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 204 message: No Content @@ -1156,21 +1114,21 @@ interactions: ParameterSetName: - -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2021-04-29T09:00:21.994284Z","duration":"PT5.0362625S","correlationId":"a7b22723-2c50-4fd5-94d9-786e5d3e9f3a","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/azure-cli-subscription_level_deployment000004","name":"azure-cli-subscription_level_deployment000004","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"13231341667663423384","parameters":{"storageAccountName":{"type":"String","value":"armbuilddemo1801"},"nestedRGName":{"type":"String","value":"cli_test_subscription_level_deployment"}},"mode":"Incremental","provisioningState":"Canceled","timestamp":"2021-05-19T08:33:30.1491532Z","duration":"PT2.1633462S","correlationId":"f18e6ba5-07ab-48b1-b0e4-eab027367a0b","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]},{"resourceType":"policyAssignments","locations":[null]}]},{"namespace":"Microsoft.Resources","resourceTypes":[{"resourceType":"resourceGroups","locations":["westus"]},{"resourceType":"deployments","locations":[null]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy2","resourceType":"Microsoft.Authorization/policyDefinitions","resourceName":"policy2"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyAssignments/location-lock","resourceType":"Microsoft.Authorization/policyAssignments","resourceName":"location-lock"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment","resourceType":"Microsoft.Resources/resourceGroups","resourceName":"cli_test_subscription_level_deployment"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_subscription_level_deployment/providers/Microsoft.Resources/deployments/rg-nested6","resourceType":"Microsoft.Resources/deployments","resourceName":"rg-nested6"}]}}' headers: cache-control: - no-cache content-length: - - '2277' + - '2278' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:24 GMT + - Wed, 19 May 2021 08:33:30 GMT expires: - '-1' pragma: @@ -1200,9 +1158,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs_tenant_deploy000001/providers/Microsoft.Resources/templateSpecs/cli-test-sub-lvl-ts-deploy000002?api-version=2021-05-01 response: body: string: '' @@ -1212,7 +1170,7 @@ interactions: content-length: - '0' date: - - Thu, 29 Apr 2021 09:00:30 GMT + - Wed, 19 May 2021 08:33:32 GMT expires: - '-1' pragma: @@ -1224,7 +1182,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if_ts.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if_ts.yaml index 1a1e8b8413a..81af07e15f6 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if_ts.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if_ts.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:58 GMT + - Wed, 19 May 2021 08:34:00 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:58:59 GMT + - Wed, 19 May 2021 08:34:00 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:59:03.2087126Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:59:03.2087126Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:02.8131421Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:02.8131421Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-deploy-what-if-sub-deploy000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:04 GMT + - Wed, 19 May 2021 08:34:02 GMT expires: - '-1' pragma: @@ -142,8 +142,8 @@ interactions: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"denyLocation": {"type": "string", "defaultValue": "northeurope"}}, "variables": {"policyDefinitionName": "policy-for-what-if-test"}, "resources": [{"name": "[variables(''policyDefinitionName'')]", "type": "Microsoft.Authorization/policyDefinitions", @@ -161,22 +161,22 @@ interactions: Connection: - keep-alive Content-Length: - - '813' + - '823' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:59:07.7296418Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:59:07.7296418Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9081483Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9081483Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"denyLocation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"northeurope\"\r\n @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1862' + - '1868' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:08 GMT + - Wed, 19 May 2021 08:34:03 GMT expires: - '-1' pragma: @@ -233,16 +233,16 @@ interactions: ParameterSetName: - --location --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:59:07.7296418Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:59:07.7296418Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9081483Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9081483Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"denyLocation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"northeurope\"\r\n @@ -265,11 +265,11 @@ interactions: cache-control: - no-cache content-length: - - '1862' + - '1868' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:09 GMT + - Wed, 19 May 2021 08:34:04 GMT expires: - '-1' pragma: @@ -306,12 +306,12 @@ interactions: ParameterSetName: - --location --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:11.7149196Z","duration":"PT0S","correlationId":"9d3c6a68-017f-4d86-b18c-c64013667d28","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:34:06.6909716Z","duration":"PT0S","correlationId":"508a4eef-cdb1-441f-97a6-82e5ed9bf65b","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' headers: cache-control: - no-cache @@ -320,7 +320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:11 GMT + - Wed, 19 May 2021 08:34:06 GMT expires: - '-1' pragma: @@ -357,15 +357,15 @@ interactions: ParameterSetName: - --location --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-29T08:59:15.8146028Z","duration":"PT3.2474745S","correlationId":"cb0a3d25-44e1-4029-b24c-41a84f5fc5f1","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-19T08:34:08.2693089Z","duration":"PT1.1578021S","correlationId":"911491c8-552f-4e0f-94c5-e04adea8f637","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1/operationStatuses/08585819201329105057?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1/operationStatuses/08585801936383661063?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -373,7 +373,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:16 GMT + - Wed, 19 May 2021 08:34:08 GMT expires: - '-1' pragma: @@ -405,9 +405,9 @@ interactions: ParameterSetName: - --location --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585819201329105057?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585801936383661063?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -419,7 +419,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:46 GMT + - Wed, 19 May 2021 08:34:38 GMT expires: - '-1' pragma: @@ -447,12 +447,12 @@ interactions: ParameterSetName: - --location --template-spec User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-29T08:59:19.6646712Z","duration":"PT7.0975429S","correlationId":"cb0a3d25-44e1-4029-b24c-41a84f5fc5f1","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"outputs":{"policyDefinitionId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/1","name":"1","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateLink":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0","contentVersion":"1.0.0.0"},"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-19T08:34:09.4902951Z","duration":"PT2.3787883S","correlationId":"911491c8-552f-4e0f-94c5-e04adea8f637","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"outputs":{"policyDefinitionId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' headers: cache-control: - no-cache @@ -461,7 +461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:47 GMT + - Wed, 19 May 2021 08:34:38 GMT expires: - '-1' pragma: @@ -489,16 +489,16 @@ interactions: ParameterSetName: - --location --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_deployment_what_if_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-deploy-what-if-sub-deploy000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-29T08:59:07.7296418Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-29T08:59:07.7296418Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:34:03.9081483Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:34:03.9081483Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"denyLocation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"northeurope\"\r\n @@ -521,11 +521,11 @@ interactions: cache-control: - no-cache content-length: - - '1862' + - '1868' content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 08:59:48 GMT + - Wed, 19 May 2021 08:34:39 GMT expires: - '-1' pragma: @@ -563,7 +563,7 @@ interactions: ParameterSetName: - --location --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/whatIf?api-version=2020-10-01 response: @@ -575,11 +575,11 @@ interactions: content-length: - '0' date: - - Thu, 29 Apr 2021 08:59:51 GMT + - Wed, 19 May 2021 08:34:40 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLTEtMkNGNkU4RDY6MkQwRERGOjJENEVCNDoyRDgxQTY6MkQ5NzU5MTgyQzUzMzMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLTEtRTlEODUwNzQ6MkQzNkQ4OjJENEFFODoyRDhDNTQ6MkRGMUVFN0E1MDM1NDgiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 pragma: - no-cache strict-transport-security: @@ -605,12 +605,12 @@ interactions: ParameterSetName: - --location --template-spec --parameters --no-pretty-print User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLTEtMkNGNkU4RDY6MkQwRERGOjJENEVCNDoyRDgxQTY6MkQ5NzU5MTgyQzUzMzMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLTEtRTlEODUwNzQ6MkQzNkQ4OjJENEFFODoyRDhDNTQ6MkRGMUVFN0E1MDM1NDgiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 response: body: - string: '{"status":"Succeeded","properties":{"correlationId":"2cf6e8d6-0ddf-4eb4-81a6-9759182c5333","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","changeType":"Modify","before":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"northeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"after":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"westeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"delta":[{"path":"properties.policyRule.if.equals","propertyChangeType":"Modify","before":"northeurope","after":"westeurope"}]}]}}' + string: '{"status":"Succeeded","properties":{"correlationId":"e9d85074-36d8-4ae8-8c54-f1ee7a503548","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","changeType":"Modify","before":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"northeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"after":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"westeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"delta":[{"path":"properties.policyRule.if.equals","propertyChangeType":"Modify","before":"northeurope","after":"westeurope"}]}]}}' headers: cache-control: - no-cache @@ -619,7 +619,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 29 Apr 2021 09:00:06 GMT + - Wed, 19 May 2021 08:34:55 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_template_spec_create_and_update_with_tags.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_template_spec_create_and_update_with_tags.yaml index ab2224c8489..de28f602835 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_template_spec_create_and_update_with_tags.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_template_spec_create_and_update_with_tags.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:13 GMT + - Wed, 19 May 2021 08:35:51 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:13 GMT + - Wed, 19 May 2021 08:35:52 GMT expires: - '-1' pragma: @@ -105,27 +105,27 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:19.1239848Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:53.6153676Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '760' + - '762' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:20 GMT + - Wed, 19 May 2021 08:35:53 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"artifacts": - [], "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"linkedTemplates": + [], "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,24 +162,24 @@ interactions: Connection: - keep-alive Content-Length: - - '811' + - '821' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:22.5789971Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:54.8153821Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -200,11 +200,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:23 GMT + - Wed, 19 May 2021 08:35:54 GMT expires: - '-1' pragma: @@ -216,7 +216,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1198' status: code: 201 message: Created @@ -234,18 +234,18 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:22.5789971Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:54.8153821Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -266,11 +266,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:24 GMT + - Wed, 19 May 2021 08:35:55 GMT expires: - '-1' pragma: @@ -302,30 +302,30 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:22.5789971Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:54.8153821Z\"\r\n \ },\r\n \"properties\": {\r\n \"versions\": {\r\n \"1.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:22.5789971+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:22.5789971+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": + \ \"timeCreated\": \"2021-05-19T08:35:54.8153821+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:35:54.8153821+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '937' + - '939' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:25 GMT + - Wed, 19 May 2021 08:35:56 GMT expires: - '-1' pragma: @@ -357,9 +357,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0'' @@ -373,7 +373,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:26 GMT + - Wed, 19 May 2021 08:35:57 GMT expires: - '-1' pragma: @@ -401,27 +401,27 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:22.5789971Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:54.8153821Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '760' + - '762' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:27 GMT + - Wed, 19 May 2021 08:35:57 GMT expires: - '-1' pragma: @@ -440,8 +440,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"artifacts": - [], "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"linkedTemplates": + [], "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -460,24 +460,24 @@ interactions: Connection: - keep-alive Content-Length: - - '811' + - '821' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:30.9303378Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:30.9303378Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:58.9738098Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:58.9738098Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -498,11 +498,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:32 GMT + - Wed, 19 May 2021 08:35:59 GMT expires: - '-1' pragma: @@ -514,7 +514,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -532,18 +532,18 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:30.9303378Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:30.9303378Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:58.9738098Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:58.9738098Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -564,11 +564,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:33 GMT + - Wed, 19 May 2021 08:35:59 GMT expires: - '-1' pragma: @@ -600,9 +600,9 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0'' @@ -616,7 +616,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:34 GMT + - Wed, 19 May 2021 08:36:01 GMT expires: - '-1' pragma: @@ -644,27 +644,27 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:30.9303378Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:58.9738098Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '760' + - '762' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:35 GMT + - Wed, 19 May 2021 08:36:01 GMT expires: - '-1' pragma: @@ -684,7 +684,7 @@ interactions: message: OK - request: body: '{"location": "westus", "tags": {"cliName1": "cliValue1", "cliName4": "cliValue4"}, - "properties": {"artifacts": [], "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "properties": {"linkedTemplates": [], "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -703,24 +703,24 @@ interactions: Connection: - keep-alive Content-Length: - - '841' + - '851' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cliName1\": \"cliValue1\",\r\n \"cliName4\": \"cliValue4\"\r\n },\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:40.0579713Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:40.0579713Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.9449741Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:02.9449741Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -741,11 +741,11 @@ interactions: cache-control: - no-cache content-length: - - '1893' + - '1877' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:41 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -757,7 +757,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -775,18 +775,18 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cliName1\": \"cliValue1\",\r\n \"cliName4\": \"cliValue4\"\r\n },\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:40.0579713Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:40.0579713Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.9449741Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:02.9449741Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -807,11 +807,11 @@ interactions: cache-control: - no-cache content-length: - - '1893' + - '1877' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:42 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -843,34 +843,34 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:40.0579713Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:02.9449741Z\"\r\n \ },\r\n \"properties\": {\r\n \"versions\": {\r\n \"1.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:22.5789971+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:22.5789971+00:00\"\r\n },\r\n \"2.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:30.9303378+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:30.9303378+00:00\"\r\n },\r\n \"3.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:40.0579713+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:40.0579713+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": + \ \"timeCreated\": \"2021-05-19T08:35:54.8153821+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:35:54.8153821+00:00\"\r\n },\r\n \"2.0\": {\r\n + \ \"timeCreated\": \"2021-05-19T08:35:58.9738098+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:35:58.9738098+00:00\"\r\n },\r\n \"3.0\": {\r\n + \ \"timeCreated\": \"2021-05-19T08:36:02.9449741+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:36:02.9449741+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '1233' + - '1235' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:43 GMT + - Wed, 19 May 2021 08:36:04 GMT expires: - '-1' pragma: @@ -902,18 +902,18 @@ interactions: ParameterSetName: - -g -n -v -f --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:22.5789971Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:54.8153821Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -934,11 +934,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:44 GMT + - Wed, 19 May 2021 08:36:05 GMT expires: - '-1' pragma: @@ -957,8 +957,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"artifacts": - [], "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {"cli-test": "test"}, "properties": {"linkedTemplates": + [], "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -977,24 +977,24 @@ interactions: Connection: - keep-alive Content-Length: - - '811' + - '821' Content-Type: - application/json ParameterSetName: - -g -n -v -f --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:45.0366159Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:05.7295004Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1015,11 +1015,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:45 GMT + - Wed, 19 May 2021 08:36:05 GMT expires: - '-1' pragma: @@ -1031,7 +1031,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -1049,18 +1049,18 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:45.0366159Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:05.7295004Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1081,11 +1081,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:45 GMT + - Wed, 19 May 2021 08:36:05 GMT expires: - '-1' pragma: @@ -1117,18 +1117,18 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:45.0366159Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:05.7295004Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1149,11 +1149,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:46 GMT + - Wed, 19 May 2021 08:36:06 GMT expires: - '-1' pragma: @@ -1172,8 +1172,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -1192,23 +1192,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:48.0233825Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:07.7510997Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1229,11 +1229,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:50 GMT + - Wed, 19 May 2021 08:36:08 GMT expires: - '-1' pragma: @@ -1245,7 +1245,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -1263,17 +1263,17 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:22.5789971Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:48.0233825Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:54.8153821Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:07.7510997Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1294,11 +1294,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:51 GMT + - Wed, 19 May 2021 08:36:08 GMT expires: - '-1' pragma: @@ -1330,18 +1330,18 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:30.9303378Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:30.9303378Z\"\r\n - \ },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:58.9738098Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:35:58.9738098Z\"\r\n + \ },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1362,11 +1362,11 @@ interactions: cache-control: - no-cache content-length: - - '1858' + - '1842' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:52 GMT + - Wed, 19 May 2021 08:36:09 GMT expires: - '-1' pragma: @@ -1385,8 +1385,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -1405,23 +1405,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:30.9303378Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:53.9681398Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:58.9738098Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:11.2287469Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1442,11 +1442,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:55 GMT + - Wed, 19 May 2021 08:36:11 GMT expires: - '-1' pragma: @@ -1458,7 +1458,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -1476,17 +1476,17 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/2.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:30.9303378Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:53.9681398Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:58.9738098Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:11.2287469Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1507,11 +1507,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:56 GMT + - Wed, 19 May 2021 08:36:12 GMT expires: - '-1' pragma: @@ -1543,21 +1543,21 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-16T02:02:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-19T08:35:49Z","NameTag":"ValueTag","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:57 GMT + - Wed, 19 May 2021 08:36:12 GMT expires: - '-1' pragma: @@ -1585,27 +1585,27 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:53.9681398Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:11.2287469Z\"\r\n \ },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '760' + - '762' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:02:58 GMT + - Wed, 19 May 2021 08:36:12 GMT expires: - '-1' pragma: @@ -1624,8 +1624,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -1644,23 +1644,23 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:40.0579713Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:58.9354691Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.9449741Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:13.8719967Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1681,11 +1681,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:00 GMT + - Wed, 19 May 2021 08:36:13 GMT expires: - '-1' pragma: @@ -1697,7 +1697,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -1715,17 +1715,17 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002/versions/3.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:40.0579713Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:02:58.9354691Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [],\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.9449741Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:13.8719967Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -1746,11 +1746,11 @@ interactions: cache-control: - no-cache content-length: - - '1830' + - '1814' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:00 GMT + - Wed, 19 May 2021 08:36:15 GMT expires: - '-1' pragma: @@ -1782,34 +1782,34 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cli-test\": - \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n - \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n - \ \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2021-04-16T02:02:58.9354691Z\"\r\n + \"test\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n + \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": + \"User\",\r\n \"lastModifiedAt\": \"2021-05-19T08:36:13.8719967Z\"\r\n \ },\r\n \"properties\": {\r\n \"versions\": {\r\n \"1.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:22.5789971+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:48.0233825+00:00\"\r\n },\r\n \"2.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:30.9303378+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:53.9681398+00:00\"\r\n },\r\n \"3.0\": {\r\n - \ \"timeCreated\": \"2021-04-16T02:02:40.0579713+00:00\",\r\n \"timeModified\": - \"2021-04-16T02:02:58.9354691+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": + \ \"timeCreated\": \"2021-05-19T08:35:54.8153821+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:36:07.7510997+00:00\"\r\n },\r\n \"2.0\": {\r\n + \ \"timeCreated\": \"2021-05-19T08:35:58.9738098+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:36:11.2287469+00:00\"\r\n },\r\n \"3.0\": {\r\n + \ \"timeCreated\": \"2021-05-19T08:36:02.9449741+00:00\",\r\n \"timeModified\": + \"2021-05-19T08:36:13.8719967+00:00\"\r\n }\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '1233' + - '1235' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:01 GMT + - Wed, 19 May 2021 08:36:15 GMT expires: - '-1' pragma: @@ -1841,21 +1841,21 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_template_specs000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-16T02:02:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001","name":"cli_test_template_specs000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-19T08:35:49Z","NameTag":"ValueTag","StorageType":"Standard_LRS"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '478' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:02 GMT + - Wed, 19 May 2021 08:36:15 GMT expires: - '-1' pragma: @@ -1887,27 +1887,27 @@ interactions: ParameterSetName: - -g -n --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:03:04.0076383Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:17.5156077Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '734' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:05 GMT + - Wed, 19 May 2021 08:36:17 GMT expires: - '-1' pragma: @@ -1919,7 +1919,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -1937,33 +1937,33 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?$expand=versions&api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-16T02:02:19.1239848Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-16T02:03:04.0076383Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": - {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-04-16T02:02:22.5789971+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:02:48.0233825+00:00\"\r\n },\r\n - \ \"2.0\": {\r\n \"timeCreated\": \"2021-04-16T02:02:30.9303378+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:02:53.9681398+00:00\"\r\n },\r\n - \ \"3.0\": {\r\n \"timeCreated\": \"2021-04-16T02:02:40.0579713+00:00\",\r\n - \ \"timeModified\": \"2021-04-16T02:02:58.9354691+00:00\"\r\n }\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:35:53.6153676Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:17.5156077Z\"\r\n },\r\n \"properties\": {\r\n \"versions\": + {\r\n \"1.0\": {\r\n \"timeCreated\": \"2021-05-19T08:35:54.8153821+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:36:07.7510997+00:00\"\r\n },\r\n + \ \"2.0\": {\r\n \"timeCreated\": \"2021-05-19T08:35:58.9738098+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:36:11.2287469+00:00\"\r\n },\r\n + \ \"3.0\": {\r\n \"timeCreated\": \"2021-05-19T08:36:02.9449741+00:00\",\r\n + \ \"timeModified\": \"2021-05-19T08:36:13.8719967+00:00\"\r\n }\r\n \ }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-template-spec-tags000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '1205' + - '1207' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:03:05 GMT + - Wed, 19 May 2021 08:36:18 GMT expires: - '-1' pragma: @@ -1997,9 +1997,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-template-spec-tags000002?api-version=2021-05-01 response: body: string: '' @@ -2009,7 +2009,7 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:03:10 GMT + - Wed, 19 May 2021 08:36:20 GMT expires: - '-1' pragma: @@ -2021,7 +2021,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_update_template_specs.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_update_template_specs.yaml index ba0f893e1a2..3137f8d67a3 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_update_template_specs.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_update_template_specs.yaml @@ -13,9 +13,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0'' @@ -29,7 +29,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:44 GMT + - Wed, 19 May 2021 08:35:59 GMT expires: - '-1' pragma: @@ -57,9 +57,9 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2021-05-01 response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002'' @@ -73,7 +73,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:45 GMT + - Wed, 19 May 2021 08:35:59 GMT expires: - '-1' pragma: @@ -105,16 +105,16 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:49.5269194Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:49.5269194Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:01.314655Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:01.314655Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-update-template-spec000002\"\r\n}" headers: @@ -125,7 +125,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:51 GMT + - Wed, 19 May 2021 08:36:01 GMT expires: - '-1' pragma: @@ -137,13 +137,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [], "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"linkedTemplates": [], + "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -162,22 +162,22 @@ interactions: Connection: - keep-alive Content-Length: - - '793' + - '803' Content-Type: - application/json ParameterSetName: - -g -n -v -l -f User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:54.1482897Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:54.1482897Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.5597231Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:02.5597231Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -199,11 +199,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:54 GMT + - Wed, 19 May 2021 08:36:02 GMT expires: - '-1' pragma: @@ -215,7 +215,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -233,27 +233,27 @@ interactions: ParameterSetName: - -s --display-name --description --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:49.5269194Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:54.1482897Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:01.314655Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:02.5597231Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-update-template-spec000002\"\r\n}" headers: cache-control: - no-cache content-length: - - '732' + - '733' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:56 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -290,16 +290,16 @@ interactions: ParameterSetName: - -s --display-name --description --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:49.5269194Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:56.7142443Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:01.314655Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:03.7289391Z\"\r\n },\r\n \"properties\": {\r\n \"displayName\": \"create-spec000003\",\r\n \"description\": \"AzCLI test root template spec\"\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"cli-test-update-template-spec000002\"\r\n}" @@ -307,11 +307,11 @@ interactions: cache-control: - no-cache content-length: - - '832' + - '833' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:56 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -323,7 +323,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -341,16 +341,16 @@ interactions: ParameterSetName: - -s --version-description --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:54.1482897Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:54.1482897Z\"\r\n },\r\n \"properties\": {\r\n \"template\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.5597231Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:02.5597231Z\"\r\n },\r\n \"properties\": {\r\n \"mainTemplate\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -372,11 +372,11 @@ interactions: cache-control: - no-cache content-length: - - '1808' + - '1814' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:58 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -396,7 +396,7 @@ interactions: message: OK - request: body: '{"location": "westus", "tags": {}, "properties": {"description": "AzCLI - test version of root template spec", "template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + test version of root template spec", "mainTemplate": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"location": {"type": "string", "defaultValue": "[resourceGroup().location]", "metadata": {"description": "Location for the network security group."}}, "name": {"type": "string", "metadata": {"description": @@ -415,24 +415,24 @@ interactions: Connection: - keep-alive Content-Length: - - '835' + - '839' Content-Type: - application/json ParameterSetName: - -s --version-description --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:54.1482897Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:58.737853Z\"\r\n },\r\n \"properties\": {\r\n \"description\": - \"AzCLI test version of root template spec\",\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.5597231Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:04.5841529Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + \"AzCLI test version of root template spec\",\r\n \"mainTemplate\": {\r\n + \ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -453,11 +453,11 @@ interactions: cache-control: - no-cache content-length: - - '1871' + - '1878' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:58 GMT + - Wed, 19 May 2021 08:36:03 GMT expires: - '-1' pragma: @@ -469,7 +469,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -485,20 +485,20 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -v -f --yes + - -g -n -v -f --ui-form-definition --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:54.1482897Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:46:58.737853Z\"\r\n },\r\n \"properties\": {\r\n \"description\": - \"AzCLI test version of root template spec\",\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.5597231Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:04.5841529Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + \"AzCLI test version of root template spec\",\r\n \"mainTemplate\": {\r\n + \ \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n \ \"metadata\": {\r\n \"description\": \"Location for the @@ -519,11 +519,11 @@ interactions: cache-control: - no-cache content-length: - - '1871' + - '1878' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:46:59 GMT + - Wed, 19 May 2021 08:36:04 GMT expires: - '-1' pragma: @@ -542,15 +542,14 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "tags": {}, "properties": {"artifacts": [{"path": - "artifacts\\createResourceGroup.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + body: '{"location": "westus", "tags": {}, "properties": {"description": "AzCLI + test version of root template spec", "linkedTemplates": [{"path": "artifacts\\createResourceGroup.json", + "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/resourceGroups", "apiVersion": "2019-10-01", "name": "[parameters(''rgName'')]", "location": "[parameters(''rgLocation'')]", "properties": {}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVault.json", "kind": "template", "template": {"$schema": - "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVault.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": @@ -567,15 +566,14 @@ interactions: "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover", "purge"]}}], "sku": {"name": "[parameters(''skuName'')]", "family": "A"}, "networkAcls": {"defaultAction": "Allow", "bypass": "AzureServices"}}}], "outputs": {}}}, {"path": - "artifacts\\createKeyVaultWithSecret.json", "kind": "template", "template": - {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "artifacts\\createKeyVaultWithSecret.json", "template": {"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"keyVaultName": {"type": "string"}, "location": {"type": "string", "defaultValue": "[resourceGroup().location]"}, "skuName": {"type": "string", "defaultValue": "standard"}, "tenantId": {"type": "string", "defaultValue": "[subscription().tenantId]"}, "aadObjectId": {"type": "string", "defaultValue": "177f56a0-9e41-4008-a321-d3676aae9c69"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": - "2019-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": + "2020-10-01", "name": "keyVault", "properties": {"mode": "Incremental", "templateLink": {"relativePath": "createKeyVault.json", "contentVersion": "1.0.0.0"}, "parameters": {"keyVaultName": {"value": "[parameters(''keyVaultName'')]"}, "location": {"value": "[parameters(''location'')]"}, "skuName": {"value": "[parameters(''skuName'')]"}, @@ -583,8 +581,8 @@ interactions: "[parameters(''aadObjectId'')]"}}}}, {"type": "Microsoft.KeyVault/vaults/secrets", "apiVersion": "2018-02-14", "name": "[concat(parameters(''keyVaultName''), ''/mySecret'')]", "location": "[parameters(''location'')]", "dependsOn": ["keyVault"], "properties": - {"value": "mySecretValue"}}], "outputs": {}}}], "description": "AzCLI test version - of root template spec", "template": {"$schema": "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", + {"value": "mySecretValue"}}], "outputs": {}}}], "mainTemplate": {"$schema": + "https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": {"rgName": {"type": "string"}, "rgLocation": {"type": "string"}, "keyVaultName": {"type": "string"}}, "variables": {}, "resources": [{"type": "Microsoft.Resources/deployments", "apiVersion": "2019-10-01", "name": @@ -596,7 +594,33 @@ interactions: "dependsOn": ["deploymentRg"], "properties": {"mode": "Incremental", "templateLink": {"relativePath": "artifacts/createKeyVaultWithSecret.json", "contentVersion": "1.0.0.0"}, "parameters": {"keyVaultName": {"value": "[parameters(''keyVaultName'')]"}}}}], - "outputs": {}}}}' + "outputs": {}}, "uiFormDefinition": {"$schema": "createFormUI.schema.json", + "view": {"kind": "Form", "properties": {"title": "titleFooMG", "steps": [{"name": + "basics", "label": "Basics", "elements": [{"name": "resourceScope", "type": + "Microsoft.Common.ResourceScope", "subscription": {"constraints": {"validations": + [{"isValid": "[expression for checking]", "message": "Please select a valid\u202fsubscription."}, + {"permission": "/", "message": "Must have correct + permission to complete this step."}]}, "resourceProviders": [""]}, + "resourceGroup": {"constraints": {"validations": [{"isValid": "[expression for + checking]", "message": "Please select a valid\u202fresource\u202fgroup."}]}, + "allowExisting": true}, "location": {"label": "Custom label for location", "toolTip": + "provide\u202fa\u202fuseful\u202ftooltip", "resourceTypes": ["Microsoft.Compute/virtualMachines"], + "allowedValues": ["eastus", "westus2"]}}], "description": "Customized description + with **markdown**, see [more](https://www.microsoft.com)."}, {"name": "storageConfig", + "label": "Storage settings", "elements": [{"name": "storageAccounts", "type": + "Microsoft.Storage.MultiStorageAccountCombo", "label": {"prefix": "Storage account + name prefix", "type": "Storage account type"}, "defaultValue": {"prefix": "stracct", + "type": "Standard_LRS"}, "constraints": {"allowedTypes": ["Premium_LRS", "Standard_LRS", + "Standard_GRS"]}, "count": 2, "scope": {"subscriptionId": "[steps(''basics'').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps(''basics'').resourceScope.resourceGroup.name]", + "location": "[steps(''basics'').resourceScope.location.name]"}}]}, {"name": + "tags", "label": "Tags", "elements": [{"name": "tagsByResource", "type": "Microsoft.Common.TagsByResource", + "resources": ["Microsoft.Storage/storageAccounts", "Microsoft.Compute/virtualMachines"]}]}]}, + "outputs": {"parameters": {"storageAccountNamePrefix": "[steps(''storageConfig'').storageAccounts.prefix]", + "storageAccountType": "[steps(''storageConfig'').storageAccounts.type]", "location": + "[steps(''basics'').resourceScope.location.name]", "tagsByResource": "[steps(''tags'').tagsByResource]"}, + "kind": "ManagementGroup", "location": "[steps(''basics'').resourceScope.location.name]", + "managementGroupId": "[steps(''basics'').resourceScope.managementGroup.id]"}}}}}' headers: Accept: - application/json @@ -607,23 +631,107 @@ interactions: Connection: - keep-alive Content-Length: - - '4608' + - '6893' Content-Type: - application/json ParameterSetName: - - -g -n -v -f --yes + - -g -n -v -f --ui-form-definition --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0?api-version=2021-05-01 response: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": - {\r\n \"createdBy\": \"zhoxing@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2021-04-22T14:46:54.1482897Z\",\r\n \"lastModifiedBy\": - \"zhoxing@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2021-04-22T14:47:00.4368123Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": - [\r\n {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-05-19T08:36:02.5597231Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-05-19T08:36:05.472341Z\"\r\n },\r\n \"properties\": {\r\n \"description\": + \"AzCLI test version of root template spec\",\r\n \"uiFormDefinition\": + {\r\n \"$schema\": \"createFormUI.schema.json\",\r\n \"view\": {\r\n + \ \"kind\": \"Form\",\r\n \"properties\": {\r\n \"title\": + \"titleFooMG\",\r\n \"steps\": [\r\n {\r\n \"name\": + \"basics\",\r\n \"label\": \"Basics\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"resourceScope\",\r\n + \ \"type\": \"Microsoft.Common.ResourceScope\",\r\n \"subscription\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fsubscription.\"\r\n },\r\n {\r\n + \ \"permission\": \"/\",\r\n + \ \"message\": \"Must have correct permission to complete + this step.\"\r\n }\r\n ]\r\n },\r\n + \ \"resourceProviders\": [\r\n \"\"\r\n ]\r\n },\r\n \"resourceGroup\": + {\r\n \"constraints\": {\r\n \"validations\": + [\r\n {\r\n \"isValid\": \"[expression + for checking]\",\r\n \"message\": \"Please select + a valid\u202Fresource\u202Fgroup.\"\r\n }\r\n ]\r\n + \ },\r\n \"allowExisting\": true\r\n + \ },\r\n \"location\": {\r\n \"label\": + \"Custom label for location\",\r\n \"toolTip\": \"provide\u202Fa\u202Fuseful\u202Ftooltip\",\r\n + \ \"resourceTypes\": [\r\n \"Microsoft.Compute/virtualMachines\"\r\n + \ ],\r\n \"allowedValues\": [\r\n \"eastus\",\r\n + \ \"westus2\"\r\n ]\r\n }\r\n + \ }\r\n ],\r\n \"description\": \"Customized + description with **markdown**, see [more](https://www.microsoft.com).\"\r\n + \ },\r\n {\r\n \"name\": \"storageConfig\",\r\n + \ \"label\": \"Storage settings\",\r\n \"elements\": + [\r\n {\r\n \"name\": \"storageAccounts\",\r\n + \ \"type\": \"Microsoft.Storage.MultiStorageAccountCombo\",\r\n + \ \"label\": {\r\n \"prefix\": \"Storage + account name prefix\",\r\n \"type\": \"Storage account + type\"\r\n },\r\n \"defaultValue\": {\r\n + \ \"prefix\": \"stracct\",\r\n \"type\": + \"Standard_LRS\"\r\n },\r\n \"constraints\": + {\r\n \"allowedTypes\": [\r\n \"Premium_LRS\",\r\n + \ \"Standard_LRS\",\r\n \"Standard_GRS\"\r\n + \ ]\r\n },\r\n \"count\": + 2,\r\n \"scope\": {\r\n \"subscriptionId\": + \"[steps('basics').resourceScope.subscription.subscriptionId]\",\r\n \"resourceGroupName\": + \"[steps('basics').resourceScope.resourceGroup.name]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\"\r\n }\r\n + \ }\r\n ]\r\n },\r\n {\r\n + \ \"name\": \"tags\",\r\n \"label\": \"Tags\",\r\n + \ \"elements\": [\r\n {\r\n \"name\": + \"tagsByResource\",\r\n \"type\": \"Microsoft.Common.TagsByResource\",\r\n + \ \"resources\": [\r\n \"Microsoft.Storage/storageAccounts\",\r\n + \ \"Microsoft.Compute/virtualMachines\"\r\n ]\r\n + \ }\r\n ]\r\n }\r\n ]\r\n },\r\n + \ \"outputs\": {\r\n \"parameters\": {\r\n \"storageAccountNamePrefix\": + \"[steps('storageConfig').storageAccounts.prefix]\",\r\n \"storageAccountType\": + \"[steps('storageConfig').storageAccounts.type]\",\r\n \"location\": + \"[steps('basics').resourceScope.location.name]\",\r\n \"tagsByResource\": + \"[steps('tags').tagsByResource]\"\r\n },\r\n \"kind\": + \"ManagementGroup\",\r\n \"location\": \"[steps('basics').resourceScope.location.name]\",\r\n + \ \"managementGroupId\": \"[steps('basics').resourceScope.managementGroup.id]\"\r\n + \ }\r\n }\r\n },\r\n \"mainTemplate\": {\r\n \"$schema\": + \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": + {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": + {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": + {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": + {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n + \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n + \ },\r\n \"rgLocation\": {\r\n \"value\": + \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n + \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n + \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n + \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": + [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": + {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": + {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n + \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": + {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n + \ }\r\n }\r\n }\r\n }\r\n ],\r\n + \ \"outputs\": {}\r\n },\r\n \"linkedTemplates\": [\r\n {\r\n + \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"template\": + {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"rgName\": {\r\n \"type\": \"string\"\r\n },\r\n \ \"rgLocation\": {\r\n \"type\": \"string\"\r\n }\r\n @@ -631,10 +739,9 @@ interactions: \ {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"[parameters('rgName')]\",\r\n \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n },\r\n - \ \"path\": \"artifacts\\\\createResourceGroup.json\",\r\n \"kind\": - \"template\"\r\n },\r\n {\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n ],\r\n \"outputs\": {}\r\n }\r\n + \ },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -678,9 +785,8 @@ interactions: \ \"networkAcls\": {\r\n \"defaultAction\": \"Allow\",\r\n \"bypass\": \"AzureServices\"\r\n }\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVault.json\",\r\n - \ \"kind\": \"template\"\r\n },\r\n {\r\n \"template\": - {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + {}\r\n }\r\n },\r\n {\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n + \ \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \ \"keyVaultName\": {\r\n \"type\": \"string\"\r\n \ },\r\n \"location\": {\r\n \"type\": \"string\",\r\n @@ -692,7 +798,7 @@ interactions: \"string\",\r\n \"defaultValue\": \"177f56a0-9e41-4008-a321-d3676aae9c69\"\r\n \ }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVault\",\r\n + \ \"apiVersion\": \"2020-10-01\",\r\n \"name\": \"keyVault\",\r\n \ \"properties\": {\r\n \"mode\": \"Incremental\",\r\n \ \"templateLink\": {\r\n \"relativePath\": \"createKeyVault.json\",\r\n \"contentVersion\": \"1.0.0.0\"\r\n @@ -710,44 +816,18 @@ interactions: \ \"dependsOn\": [\r\n \"keyVault\"\r\n ],\r\n \ \"properties\": {\r\n \"value\": \"mySecretValue\"\r\n \ }\r\n }\r\n ],\r\n \"outputs\": - {}\r\n },\r\n \"path\": \"artifacts\\\\createKeyVaultWithSecret.json\",\r\n - \ \"kind\": \"template\"\r\n }\r\n ],\r\n \"description\": - \"AzCLI test version of root template spec\",\r\n \"template\": {\r\n \"$schema\": - \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n - \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"rgName\": - {\r\n \"type\": \"string\"\r\n },\r\n \"rgLocation\": - {\r\n \"type\": \"string\"\r\n },\r\n \"keyVaultName\": - {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"variables\": - {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"deploymentRg\",\r\n - \ \"location\": \"[parameters('rgLocation')]\",\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createResourceGroup.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"rgName\": {\r\n \"value\": \"[parameters('rgName')]\"\r\n - \ },\r\n \"rgLocation\": {\r\n \"value\": - \"[parameters('rgLocation')]\"\r\n }\r\n }\r\n }\r\n - \ },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n - \ \"apiVersion\": \"2019-10-01\",\r\n \"name\": \"keyVaultAndSecret\",\r\n - \ \"resourceGroup\": \"[parameters('rgName')]\",\r\n \"dependsOn\": - [\r\n \"deploymentRg\"\r\n ],\r\n \"properties\": - {\r\n \"mode\": \"Incremental\",\r\n \"templateLink\": - {\r\n \"relativePath\": \"artifacts/createKeyVaultWithSecret.json\",\r\n - \ \"contentVersion\": \"1.0.0.0\"\r\n },\r\n \"parameters\": - {\r\n \"keyVaultName\": {\r\n \"value\": \"[parameters('keyVaultName')]\"\r\n - \ }\r\n }\r\n }\r\n }\r\n ],\r\n - \ \"outputs\": {}\r\n }\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0\",\r\n + {}\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002/versions/1.0\",\r\n \ \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"1.0\"\r\n}" headers: cache-control: - no-cache content-length: - - '9439' + - '13845' content-type: - application/json; charset=utf-8 date: - - Thu, 22 Apr 2021 14:47:00 GMT + - Wed, 19 May 2021 08:36:05 GMT expires: - '-1' pragma: @@ -779,9 +859,9 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_template_specs000001/providers/Microsoft.Resources/templateSpecs/cli-test-update-template-spec000002?api-version=2021-05-01 response: body: string: '' @@ -791,7 +871,7 @@ interactions: content-length: - '0' date: - - Thu, 22 Apr 2021 14:47:04 GMT + - Wed, 19 May 2021 08:36:06 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_mg.json b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_mg.json new file mode 100644 index 00000000000..0590c538fdb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_mg.json @@ -0,0 +1,117 @@ +{ + "$schema": "createFormUI.schema.json", + "view": { + "kind": "Form", + "properties": { + "title": "titleFooMG", + "steps": [ + { + "name": "basics", + "label": "Basics", + "elements": [ + { + "name": "resourceScope", + "type": "Microsoft.Common.ResourceScope", + "subscription": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid subscription." + }, + { + "permission": "/", + "message": "Must have correct permission to complete this step." + } + ] + }, + "resourceProviders": [ + "" + ] + }, + "resourceGroup": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid resource group." + } + ] + }, + "allowExisting": true + }, + "location": { + "label": "Custom label for location", + "toolTip": "provide a useful tooltip", + "resourceTypes": [ + "Microsoft.Compute/virtualMachines" + ], + "allowedValues": [ + "eastus", + "westus2" + ] + } + } + ], + "description": "Customized description with **markdown**, see [more](https://www.microsoft.com)." + }, + { + "name": "storageConfig", + "label": "Storage settings", + "elements": [ + { + "name": "storageAccounts", + "type": "Microsoft.Storage.MultiStorageAccountCombo", + "label": { + "prefix": "Storage account name prefix", + "type": "Storage account type" + }, + "defaultValue": { + "prefix": "stracct", + "type": "Standard_LRS" + }, + "constraints": { + "allowedTypes": [ + "Premium_LRS", + "Standard_LRS", + "Standard_GRS" + ] + }, + "count": 2, + "scope": { + "subscriptionId": "[steps('basics').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps('basics').resourceScope.resourceGroup.name]", + "location": "[steps('basics').resourceScope.location.name]" + } + } + ] + }, + { + "name": "tags", + "label": "Tags", + "elements": [ + { + "name": "tagsByResource", + "type": "Microsoft.Common.TagsByResource", + "resources": [ + "Microsoft.Storage/storageAccounts", + "Microsoft.Compute/virtualMachines" + ] + } + ] + } + ] + }, + "outputs": { + "parameters": { + "storageAccountNamePrefix": "[steps('storageConfig').storageAccounts.prefix]", + "storageAccountType": "[steps('storageConfig').storageAccounts.type]", + "location": "[steps('basics').resourceScope.location.name]", + "tagsByResource": "[steps('tags').tagsByResource]" + }, + "kind": "ManagementGroup", + "location": "[steps('basics').resourceScope.location.name]", + "managementGroupId": "[steps('basics').resourceScope.managementGroup.id]" + } + } +} diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_rg.json b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_rg.json new file mode 100644 index 00000000000..c56d7835560 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_rg.json @@ -0,0 +1,118 @@ +{ + "$schema": "createFormUI.schema.json", + "view": { + "kind": "Form", + "properties": { + "title": "titleFooRG", + "steps": [ + { + "name": "basics", + "label": "Basics", + "elements": [ + { + "name": "resourceScope", + "type": "Microsoft.Common.ResourceScope", + "subscription": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid subscription." + }, + { + "permission": "/", + "message": "Must have correct permission to complete this step." + } + ] + }, + "resourceProviders": [ + "" + ] + }, + "resourceGroup": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid resource group." + } + ] + }, + "allowExisting": true + }, + "location": { + "label": "Custom label for location", + "toolTip": "provide a useful tooltip", + "resourceTypes": [ + "Microsoft.Compute/virtualMachines" + ], + "allowedValues": [ + "eastus", + "westus2" + ] + } + } + ], + "description": "Customized description with **markdown**, see [more](https://www.microsoft.com)." + }, + { + "name": "storageConfig", + "label": "Storage settings", + "elements": [ + { + "name": "storageAccounts", + "type": "Microsoft.Storage.MultiStorageAccountCombo", + "label": { + "prefix": "Storage account name prefix", + "type": "Storage account type" + }, + "defaultValue": { + "prefix": "stracct", + "type": "Standard_LRS" + }, + "constraints": { + "allowedTypes": [ + "Premium_LRS", + "Standard_LRS", + "Standard_GRS" + ] + }, + "count": 2, + "scope": { + "subscriptionId": "[steps('basics').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps('basics').resourceScope.resourceGroup.name]", + "location": "[steps('basics').resourceScope.location.name]" + } + } + ] + }, + { + "name": "tags", + "label": "Tags", + "elements": [ + { + "name": "tagsByResource", + "type": "Microsoft.Common.TagsByResource", + "resources": [ + "Microsoft.Storage/storageAccounts", + "Microsoft.Compute/virtualMachines" + ] + } + ] + } + ] + }, + "outputs": { + "parameters": { + "storageAccountNamePrefix": "[steps('storageConfig').storageAccounts.prefix]", + "storageAccountType": "[steps('storageConfig').storageAccounts.type]", + "location": "[steps('basics').resourceScope.location.name]", + "tagsByResource": "[steps('tags').tagsByResource]" + }, + "kind": "ResourceGroup", + "location": "[steps('basics').resourceScope.location.name]", + "subscriptionId": "[steps('basics').resourceScope.subscription.id]", + "resourceGroupId": "[steps('basics').resourceScope.resourceGroup.id]" + } + } +} \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_sub.json b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_sub.json new file mode 100644 index 00000000000..0001524e678 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_sub.json @@ -0,0 +1,117 @@ +{ + "$schema": "createFormUI.schema.json", + "view": { + "kind": "Form", + "properties": { + "title": "titleFooSub", + "steps": [ + { + "name": "basics", + "label": "Basics", + "elements": [ + { + "name": "resourceScope", + "type": "Microsoft.Common.ResourceScope", + "subscription": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid subscription." + }, + { + "permission": "/", + "message": "Must have correct permission to complete this step." + } + ] + }, + "resourceProviders": [ + "" + ] + }, + "resourceGroup": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid resource group." + } + ] + }, + "allowExisting": true + }, + "location": { + "label": "Custom label for location", + "toolTip": "provide a useful tooltip", + "resourceTypes": [ + "Microsoft.Compute/virtualMachines" + ], + "allowedValues": [ + "eastus", + "westus2" + ] + } + } + ], + "description": "Customized description with **markdown**, see [more](https://www.microsoft.com)." + }, + { + "name": "storageConfig", + "label": "Storage settings", + "elements": [ + { + "name": "storageAccounts", + "type": "Microsoft.Storage.MultiStorageAccountCombo", + "label": { + "prefix": "Storage account name prefix", + "type": "Storage account type" + }, + "defaultValue": { + "prefix": "stracct", + "type": "Standard_LRS" + }, + "constraints": { + "allowedTypes": [ + "Premium_LRS", + "Standard_LRS", + "Standard_GRS" + ] + }, + "count": 2, + "scope": { + "subscriptionId": "[steps('basics').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps('basics').resourceScope.resourceGroup.name]", + "location": "[steps('basics').resourceScope.location.name]" + } + } + ] + }, + { + "name": "tags", + "label": "Tags", + "elements": [ + { + "name": "tagsByResource", + "type": "Microsoft.Common.TagsByResource", + "resources": [ + "Microsoft.Storage/storageAccounts", + "Microsoft.Compute/virtualMachines" + ] + } + ] + } + ] + }, + "outputs": { + "parameters": { + "storageAccountNamePrefix": "[steps('storageConfig').storageAccounts.prefix]", + "storageAccountType": "[steps('storageConfig').storageAccounts.type]", + "location": "[steps('basics').resourceScope.location.name]", + "tagsByResource": "[steps('tags').tagsByResource]" + }, + "kind": "Subscription", + "location": "[steps('basics').resourceScope.location.name]", + "subscriptionId": "[steps('basics').resourceScope.subscription.id]" + } + } +} \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_tenant.json b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_tenant.json new file mode 100644 index 00000000000..065ff553942 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/sample_form_ui_definition_tenant.json @@ -0,0 +1,116 @@ +{ + "$schema": "createFormUI.schema.json", + "view": { + "kind": "Form", + "properties": { + "title": "titleFooTenant", + "steps": [ + { + "name": "basics", + "label": "Basics", + "elements": [ + { + "name": "resourceScope", + "type": "Microsoft.Common.ResourceScope", + "subscription": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid subscription." + }, + { + "permission": "/", + "message": "Must have correct permission to complete this step." + } + ] + }, + "resourceProviders": [ + "" + ] + }, + "resourceGroup": { + "constraints": { + "validations": [ + { + "isValid": "[expression for checking]", + "message": "Please select a valid resource group." + } + ] + }, + "allowExisting": true + }, + "location": { + "label": "Custom label for location", + "toolTip": "provide a useful tooltip", + "resourceTypes": [ + "Microsoft.Compute/virtualMachines" + ], + "allowedValues": [ + "eastus", + "westus2" + ] + } + } + ], + "description": "Customized description with **markdown**, see [more](https://www.microsoft.com)." + }, + { + "name": "storageConfig", + "label": "Storage settings", + "elements": [ + { + "name": "storageAccounts", + "type": "Microsoft.Storage.MultiStorageAccountCombo", + "label": { + "prefix": "Storage account name prefix", + "type": "Storage account type" + }, + "defaultValue": { + "prefix": "stracct", + "type": "Standard_LRS" + }, + "constraints": { + "allowedTypes": [ + "Premium_LRS", + "Standard_LRS", + "Standard_GRS" + ] + }, + "count": 2, + "scope": { + "subscriptionId": "[steps('basics').resourceScope.subscription.subscriptionId]", + "resourceGroupName": "[steps('basics').resourceScope.resourceGroup.name]", + "location": "[steps('basics').resourceScope.location.name]" + } + } + ] + }, + { + "name": "tags", + "label": "Tags", + "elements": [ + { + "name": "tagsByResource", + "type": "Microsoft.Common.TagsByResource", + "resources": [ + "Microsoft.Storage/storageAccounts", + "Microsoft.Compute/virtualMachines" + ] + } + ] + } + ] + }, + "outputs": { + "parameters": { + "storageAccountNamePrefix": "[steps('storageConfig').storageAccounts.prefix]", + "storageAccountType": "[steps('storageConfig').storageAccounts.type]", + "location": "[steps('basics').resourceScope.location.name]", + "tagsByResource": "[steps('tags').tagsByResource]" + }, + "kind": "Tenant", + "location": "[steps('basics').resourceScope.location.name]" + } + } +} \ No newline at end of file diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py index 4a3d92e0be2..9c866fb819d 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py @@ -753,13 +753,13 @@ def test_create_template_specs(self, resource_group, resource_group_location): }) result = self.cmd('ts create -g {rg} -n {template_spec_name} -v 1.0 -l {resource_group_location} -f "{tf}" --description {description} --version-description {version_description}', checks=[ - self.check('template.variables.provider', "[split(parameters('resource'), '/')[0]]"), - self.check('template.variables.resourceType', "[replace(parameters('resource'), concat(variables('provider'), '/'), '')]"), - self.check('template.variables.hyphenedName', ("[format('[0]-[1]-[2]-[3]-[4]-[5]', parameters('customer'), variables('environments')[parameters('environment')], variables('locations')[parameters('location')], parameters('group'), parameters('service'), if(equals(parameters('kind'), ''), variables('resources')[variables('provider')][variables('resourceType')], variables('resources')[variables('provider')][variables('resourceType')][parameters('kind')]))]")), - self.check('template.variables.removeOptionalsFromHyphenedName', "[replace(variables('hyphenedName'), '--', '-')]"), - self.check('template.variables.isInstanceCount', "[greater(parameters('instance'), -1)]"), - self.check('template.variables.hyphenedNameAfterInstanceCount', "[if(variables('isInstanceCount'), format('[0]-[1]', variables('removeOptionalsFromHyphenedName'), string(parameters('instance'))), variables('removeOptionalsFromHyphenedName'))]"), - self.check('template.variables.name', "[if(parameters('useHyphen'), variables('hyphenedNameAfterInstanceCount'), replace(variables('hyphenedNameAfterInstanceCount'), '-', ''))]") + self.check('mainTemplate.variables.provider', "[split(parameters('resource'), '/')[0]]"), + self.check('mainTemplate.variables.resourceType', "[replace(parameters('resource'), concat(variables('provider'), '/'), '')]"), + self.check('mainTemplate.variables.hyphenedName', ("[format('[0]-[1]-[2]-[3]-[4]-[5]', parameters('customer'), variables('environments')[parameters('environment')], variables('locations')[parameters('location')], parameters('group'), parameters('service'), if(equals(parameters('kind'), ''), variables('resources')[variables('provider')][variables('resourceType')], variables('resources')[variables('provider')][variables('resourceType')][parameters('kind')]))]")), + self.check('mainTemplate.variables.removeOptionalsFromHyphenedName', "[replace(variables('hyphenedName'), '--', '-')]"), + self.check('mainTemplate.variables.isInstanceCount', "[greater(parameters('instance'), -1)]"), + self.check('mainTemplate.variables.hyphenedNameAfterInstanceCount', "[if(variables('isInstanceCount'), format('[0]-[1]', variables('removeOptionalsFromHyphenedName'), string(parameters('instance'))), variables('removeOptionalsFromHyphenedName'))]"), + self.check('mainTemplate.variables.name', "[if(parameters('useHyphen'), variables('hyphenedNameAfterInstanceCount'), replace(variables('hyphenedNameAfterInstanceCount'), '-', ''))]") ]).get_output_in_json() with self.assertRaises(IncorrectUsageError) as err: @@ -781,6 +781,7 @@ def test_create_template_specs_with_artifacts(self, resource_group, resource_gro 'display_name': self.create_random_name('create-spec', 20), 'description': '"AzCLI test root template spec"', 'version_description': '"AzCLI test version of root template spec"', + 'uf': os.path.join(curr_dir, 'sample_form_ui_definition_rg.json').replace('\\', '\\\\') }) path = os.path.join(curr_dir, 'artifacts') @@ -790,11 +791,12 @@ def test_create_template_specs_with_artifacts(self, resource_group, resource_gro for f in files: shutil.copy(os.path.join(curr_dir, f), path) - result = self.cmd('ts create -g {rg} -n {template_spec_name} -v 1.0 -l {resource_group_location} -f "{tf}" -d {display_name} --description {description} --version-description {version_description}', checks=[ - self.check('artifacts.length([])', 3), - self.check_pattern('artifacts[0].path', 'artifacts.createResourceGroup.json'), - self.check_pattern('artifacts[1].path', 'artifacts.createKeyVault.json'), - self.check_pattern('artifacts[2].path', 'artifacts.createKeyVaultWithSecret.json') + result = self.cmd('ts create -g {rg} -n {template_spec_name} -v 1.0 -l {resource_group_location} -f "{tf}" --ui-form-definition "{uf}" -d {display_name} --description {description} --version-description {version_description}', checks=[ + self.check('linkedTemplates.length([])', 3), + self.check_pattern('linkedTemplates[0].path', 'artifacts.createResourceGroup.json'), + self.check_pattern('linkedTemplates[1].path', 'artifacts.createKeyVault.json'), + self.check_pattern('linkedTemplates[2].path', 'artifacts.createKeyVaultWithSecret.json'), + self.check('uiFormDefinition.view.properties.title', 'titleFooRG') ]).get_output_in_json() self.cmd('ts create -g {rg} -n {template_spec_name} -v 1.0 -f "{tf}" --yes', checks=[ @@ -818,6 +820,8 @@ def test_update_template_specs(self, resource_group, resource_group_location): 'display_name': self.create_random_name('create-spec', 20), 'description': '"AzCLI test root template spec"', 'version_description': '"AzCLI test version of root template spec"', + 'uf': os.path.join(curr_dir, 'sample_form_ui_definition_sub.json').replace('\\', '\\\\'), + 'uf1': os.path.join(curr_dir, 'sample_form_ui_definition_mg.json').replace('\\', '\\\\'), }) result = self.cmd('ts create -g {rg} -n {template_spec_name} -v 1.0 -l {resource_group_location} -f "{tf}"', checks=[ @@ -829,16 +833,16 @@ def test_update_template_specs(self, resource_group, resource_group_location): self.kwargs['template_spec_id'] = result['id'].replace('/versions/1.0', '') self.cmd('ts update -s {template_spec_id} --display-name {display_name} --description {description} --yes', checks=[ - self.check('name', self.kwargs['template_spec_name']), - self.check('description', self.kwargs['description'].replace('"', '')), - self.check('displayName', self.kwargs['display_name'].replace('"', '')) - ]) + self.check('name', self.kwargs['template_spec_name']), + self.check('description', self.kwargs['description'].replace('"', '')), + self.check('displayName', self.kwargs['display_name'].replace('"', '')) + ]) self.cmd('ts update -s {template_spec_version_id} --version-description {version_description} --yes', checks=[ - self.check('name', '1.0'), - self.check('description', self.kwargs['version_description'].replace('"', '')), - self.check('artifacts', None) - ]) + self.check('name', '1.0'), + self.check('description', self.kwargs['version_description'].replace('"', '')), + self.check('linkedTemplates', None) + ]) path = os.path.join(curr_dir, 'artifacts') if not os.path.exists(path): @@ -847,13 +851,14 @@ def test_update_template_specs(self, resource_group, resource_group_location): for f in files: shutil.copy(os.path.join(curr_dir, f), path) - self.cmd('ts update -g {rg} -n {template_spec_name} -v 1.0 -f "{tf1}" --yes', checks=[ - self.check('description', self.kwargs['version_description'].replace('"', '')), - self.check('artifacts.length([])', 3), - self.check_pattern('artifacts[0].path', 'artifacts.createResourceGroup.json'), - self.check_pattern('artifacts[1].path', 'artifacts.createKeyVault.json'), - self.check_pattern('artifacts[2].path', 'artifacts.createKeyVaultWithSecret.json') - ]) + self.cmd('ts update -g {rg} -n {template_spec_name} -v 1.0 -f "{tf1}" --ui-form-definition "{uf1}" --yes', checks=[ + self.check('description', self.kwargs['version_description'].replace('"', '')), + self.check('linkedTemplates.length([])', 3), + self.check_pattern('linkedTemplates[0].path', 'artifacts.createResourceGroup.json'), + self.check_pattern('linkedTemplates[1].path', 'artifacts.createKeyVault.json'), + self.check_pattern('linkedTemplates[2].path', 'artifacts.createKeyVaultWithSecret.json'), + self.check('uiFormDefinition.view.properties.title', 'titleFooMG') + ]) # clean up self.cmd('ts delete --template-spec {template_spec_id} --yes') @@ -1042,7 +1047,7 @@ def test_template_spec_export_error_handling(self, resource_group, resource_grou class DeploymentTestsWithQueryString(LiveScenarioTest): @ResourceGroupPreparer(name_prefix='cli_test_query_str_rg', location='eastus') - @StorageAccountPreparer(name_prefix='testquerystrrg', location='eastus', kind='StorageV2') + @StorageAccountPreparer(name_prefix='testquerystr', location='eastus', kind='StorageV2') def test_resource_group_level_deployment_with_query_string(self, resource_group, resource_group_location, storage_account): container_name = self.create_random_name('querystr', 20) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 9e56807ef9f..c0b5ac24c32 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -71,7 +71,7 @@ azure-mgmt-redhatopenshift==0.1.0 azure-mgmt-redis==7.0.0rc1 azure-mgmt-relay==0.1.0 azure-mgmt-reservations==0.6.0 -azure-mgmt-resource==16.1.0 +azure-mgmt-resource==18.0.0 azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==6.0.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index fae2b6ea9cc..c675be21a87 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -71,7 +71,7 @@ azure-mgmt-redhatopenshift==0.1.0 azure-mgmt-redis==7.0.0rc1 azure-mgmt-relay==0.1.0 azure-mgmt-reservations==0.6.0 -azure-mgmt-resource==16.1.0 +azure-mgmt-resource==18.0.0 azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==6.0.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index bd83d4be99c..def26214859 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -71,7 +71,7 @@ azure-mgmt-redhatopenshift==0.1.0 azure-mgmt-redis==7.0.0rc1 azure-mgmt-relay==0.1.0 azure-mgmt-reservations==0.6.0 -azure-mgmt-resource==16.1.0 +azure-mgmt-resource==18.0.0 azure-mgmt-search==8.0.0 azure-mgmt-security==0.6.0 azure-mgmt-servicebus==6.0.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 62922bb78e4..b6d206e9b25 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -114,7 +114,7 @@ 'azure-mgmt-redis~=7.0.0rc1', 'azure-mgmt-relay~=0.1.0', 'azure-mgmt-reservations==0.6.0', # TODO: Use requirements.txt instead of '==' #9781 - 'azure-mgmt-resource==16.1.0', + 'azure-mgmt-resource==18.0.0', # 'azure-mgmt-reservations~=0.6.0', 'azure-mgmt-search~=8.0', 'azure-mgmt-security~=0.6.0',