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 a60a989876c..99a719087c4 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/custom.py +++ b/src/azure-cli/azure/cli/command_modules/resource/custom.py @@ -1824,6 +1824,9 @@ def create_template_spec(cmd, resource_group_name, name, template_file=None, loc location = rcf.resource_groups.get(resource_group_name).location rcf = _resource_templatespecs_client_factory(cmd.cli_ctx) + if template_file and not version: + raise IncorrectUsageError('please provide --version if --template-file is specified') + if version: Exists = False if no_prompt is False: 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 edbbfd3b928..a287fe09f54 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,8 +13,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1 + - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 accept-language: - en-US method: GET @@ -32,7 +32,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 13 Nov 2020 04:10:28 GMT + - Thu, 07 Jan 2021 17:53:56 GMT expires: - '-1' pragma: @@ -60,8 +60,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1 + - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 accept-language: - en-US method: GET @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 13 Nov 2020 04:10:28 GMT + - Thu, 07 Jan 2021 17:53:57 GMT expires: - '-1' pragma: @@ -95,7 +95,7 @@ interactions: message: Not Found - request: body: '{"location": "westus", "properties": {"description": "AzCLI test root template - spec"}}' + spec"}, "tags": {}}' headers: Accept: - application/json @@ -106,36 +106,36 @@ interactions: Connection: - keep-alive Content-Length: - - '86' + - '98' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1 + - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 accept-language: - en-US 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 response: body: - string: "{\r\n \"location\": \"westus\",\r\n \"systemData\": {\r\n \"createdBy\": - \"zhoxing@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": - \"2020-11-13T04:10:32.5222805Z\",\r\n \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n - \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2020-11-13T04:10:32.5222805Z\"\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 + string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-01-07T17:53:59.5486662Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-01-07T17:53:59.5486662Z\"\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: - - '773' + - '790' content-type: - application/json; charset=utf-8 date: - - Fri, 13 Nov 2020 04:10:34 GMT + - Thu, 07 Jan 2021 17:53:59 GMT expires: - '-1' pragma: @@ -226,7 +226,8 @@ interactions: string(parameters(''instance''))), variables(''removeOptionalsFromHyphenedName''))]", "name": "[if(parameters(''useHyphen''), variables(''hyphenedNameAfterInstanceCount''), replace(variables(''hyphenedNameAfterInstanceCount''), ''-'', ''''))]"}, "resources": - [], "outputs": {"name": {"type": "string", "value": "[toLower(variables(''name''))]"}}}}}' + [], "outputs": {"name": {"type": "string", "value": "[toLower(variables(''name''))]"}}}}, + "tags": {}}' headers: Accept: - application/json @@ -237,27 +238,27 @@ interactions: Connection: - keep-alive Content-Length: - - '6317' + - '6329' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n -v -l -f --description --version-description User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1 + - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 accept-language: - en-US 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 response: body: - string: "{\r\n \"location\": \"westus\",\r\n \"systemData\": {\r\n \"createdBy\": - \"zhoxing@microsoft.com\",\r\n \"createdByType\": \"User\",\r\n \"createdAt\": - \"2020-11-13T04:10:37.1123264Z\",\r\n \"lastModifiedBy\": \"zhoxing@microsoft.com\",\r\n - \ \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": \"2020-11-13T04:10:37.1123264Z\"\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 + string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": + {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": + \"User\",\r\n \"createdAt\": \"2021-01-07T17:54:00.8486769Z\",\r\n \"lastModifiedBy\": + \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": + \"2021-01-07T17:54:00.8486769Z\"\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 \ \"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 @@ -380,11 +381,11 @@ interactions: cache-control: - no-cache content-length: - - '9745' + - '9762' content-type: - application/json; charset=utf-8 date: - - Fri, 13 Nov 2020 04:10:37 GMT + - Thu, 07 Jan 2021 17:54:00 GMT expires: - '-1' pragma: @@ -416,8 +417,8 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - python/3.8.0 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.14.1 + - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 accept-language: - en-US method: DELETE @@ -431,7 +432,7 @@ interactions: content-length: - '0' date: - - Fri, 13 Nov 2020 04:10:42 GMT + - Thu, 07 Jan 2021 17:54:03 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 595e9d0d376..476df1cee2a 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,8 +13,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -32,7 +32,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:16 GMT + - Thu, 07 Jan 2021 19:19:16 GMT expires: - '-1' pragma: @@ -60,8 +60,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -79,7 +79,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:16 GMT + - Thu, 07 Jan 2021 19:19:16 GMT expires: - '-1' pragma: @@ -111,8 +111,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -121,9 +121,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:18.6917712Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:18.4932071Z\"\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: @@ -134,7 +134,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:18 GMT + - Thu, 07 Jan 2021 19:19:18 GMT expires: - '-1' pragma: @@ -177,8 +177,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -187,9 +187,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:20.0216832Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:19.8282865Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -216,7 +216,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:19 GMT + - Thu, 07 Jan 2021 19:19:19 GMT expires: - '-1' pragma: @@ -246,8 +246,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -256,9 +256,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:20.0216832Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:19.8282865Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -285,7 +285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:20 GMT + - Thu, 07 Jan 2021 19:19:20 GMT expires: - '-1' pragma: @@ -317,8 +317,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -327,9 +327,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:20.0216832Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:19.8282865Z\"\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: @@ -340,7 +340,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:21 GMT + - Thu, 07 Jan 2021 19:19:21 GMT expires: - '-1' pragma: @@ -372,8 +372,8 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -391,7 +391,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:21 GMT + - Thu, 07 Jan 2021 19:19:21 GMT expires: - '-1' pragma: @@ -419,8 +419,8 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -429,9 +429,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:20.0216832Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:19.8282865Z\"\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: @@ -442,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:21 GMT + - Thu, 07 Jan 2021 19:19:21 GMT expires: - '-1' pragma: @@ -487,8 +487,8 @@ interactions: ParameterSetName: - -g -n -v -l -f User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -497,9 +497,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:24.6914167Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:23.6928125Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:24.6914167Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:23.6928125Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -526,7 +526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:24 GMT + - Thu, 07 Jan 2021 19:19:23 GMT expires: - '-1' pragma: @@ -556,8 +556,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -566,9 +566,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:24.6914167Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:23.6928125Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:24.6914167Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:23.6928125Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -595,7 +595,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:25 GMT + - Thu, 07 Jan 2021 19:19:24 GMT expires: - '-1' pragma: @@ -627,8 +627,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -646,7 +646,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:26 GMT + - Thu, 07 Jan 2021 19:19:25 GMT expires: - '-1' pragma: @@ -674,8 +674,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -684,9 +684,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:24.6914167Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:23.6928125Z\"\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: @@ -697,7 +697,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:26 GMT + - Thu, 07 Jan 2021 19:19:25 GMT expires: - '-1' pragma: @@ -743,8 +743,8 @@ interactions: ParameterSetName: - -g -n -v -l -f --tags User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -754,9 +754,9 @@ interactions: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cliName1\": \"cliValue1\",\r\n \"cliName4\": \"cliValue4\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:28.6678607Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:27.2696242Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:28.6678607Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:27.2696242Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -782,7 +782,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:28 GMT + - Thu, 07 Jan 2021 19:19:27 GMT expires: - '-1' pragma: @@ -812,8 +812,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -823,9 +823,9 @@ interactions: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"cliName1\": \"cliValue1\",\r\n \"cliName4\": \"cliValue4\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:28.6678607Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:27.2696242Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:28.6678607Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:27.2696242Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -851,7 +851,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:29 GMT + - Thu, 07 Jan 2021 19:19:28 GMT expires: - '-1' pragma: @@ -883,8 +883,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -893,9 +893,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:28.6678607Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:27.2696242Z\"\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: @@ -906,7 +906,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:29 GMT + - Thu, 07 Jan 2021 19:19:28 GMT expires: - '-1' pragma: @@ -938,8 +938,8 @@ interactions: ParameterSetName: - -g -n -v -f --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -948,9 +948,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:20.0216832Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:19.8282865Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -977,7 +977,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:30 GMT + - Thu, 07 Jan 2021 19:19:28 GMT expires: - '-1' pragma: @@ -1022,8 +1022,8 @@ interactions: ParameterSetName: - -g -n -v -f --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -1032,9 +1032,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:31.5145587Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:29.4606185Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -1061,7 +1061,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:31 GMT + - Thu, 07 Jan 2021 19:19:28 GMT expires: - '-1' pragma: @@ -1091,8 +1091,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1101,9 +1101,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:31.5145587Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:29.4606185Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -1130,7 +1130,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:32 GMT + - Thu, 07 Jan 2021 19:19:29 GMT expires: - '-1' pragma: @@ -1162,8 +1162,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1172,9 +1172,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:20.0216832Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:31.5145587Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:29.4606185Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -1201,7 +1201,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:32 GMT + - Thu, 07 Jan 2021 19:19:29 GMT expires: - '-1' pragma: @@ -1246,8 +1246,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -1256,9 +1256,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:20.0216832Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:33.8386492Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:30.9783726Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1284,7 +1284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:33 GMT + - Thu, 07 Jan 2021 19:19:31 GMT expires: - '-1' pragma: @@ -1314,8 +1314,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1324,9 +1324,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:20.0216832Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:19.8282865Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:33.8386492Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:30.9783726Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1352,7 +1352,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:34 GMT + - Thu, 07 Jan 2021 19:19:32 GMT expires: - '-1' pragma: @@ -1384,8 +1384,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1394,9 +1394,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:24.6914167Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:23.6928125Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:24.6914167Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:23.6928125Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": @@ -1423,7 +1423,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:35 GMT + - Thu, 07 Jan 2021 19:19:32 GMT expires: - '-1' pragma: @@ -1468,8 +1468,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -1478,9 +1478,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:24.6914167Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:23.6928125Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:36.9961081Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:33.3897715Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1506,7 +1506,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:37 GMT + - Thu, 07 Jan 2021 19:19:34 GMT expires: - '-1' pragma: @@ -1536,8 +1536,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1546,9 +1546,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:24.6914167Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:23.6928125Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:36.9961081Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:33.3897715Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1574,7 +1574,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:37 GMT + - Thu, 07 Jan 2021 19:19:34 GMT expires: - '-1' pragma: @@ -1606,24 +1606,24 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US 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":"2020-12-17T22:38:12Z"},"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-01-07T19:19:15Z","StorageType":"testStrogae"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '456' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:38 GMT + - Thu, 07 Jan 2021 19:19:34 GMT expires: - '-1' pragma: @@ -1651,8 +1651,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1661,9 +1661,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:36.9961081Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:33.3897715Z\"\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: @@ -1674,7 +1674,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:38 GMT + - Thu, 07 Jan 2021 19:19:35 GMT expires: - '-1' pragma: @@ -1719,8 +1719,8 @@ interactions: ParameterSetName: - -g -n -v -f --tags --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -1729,9 +1729,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:28.6678607Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:27.2696242Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:40.2728202Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:36.1380633Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1757,7 +1757,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:40 GMT + - Thu, 07 Jan 2021 19:19:36 GMT expires: - '-1' pragma: @@ -1787,8 +1787,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1797,9 +1797,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:28.6678607Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:27.2696242Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:40.2728202Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": + \"2021-01-07T19:19:36.1380633Z\"\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 \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\",\r\n @@ -1825,7 +1825,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:41 GMT + - Thu, 07 Jan 2021 19:19:36 GMT expires: - '-1' pragma: @@ -1857,8 +1857,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -1867,9 +1867,9 @@ interactions: body: string: "{\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\": \"2020-12-17T22:38:18.6917712Z\",\r\n + \ \"createdByType\": \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \ \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": - \"User\",\r\n \"lastModifiedAt\": \"2020-12-17T22:38:40.2728202Z\"\r\n + \"User\",\r\n \"lastModifiedAt\": \"2021-01-07T19:19:36.1380633Z\"\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: @@ -1880,7 +1880,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:42 GMT + - Thu, 07 Jan 2021 19:19:37 GMT expires: - '-1' pragma: @@ -1910,26 +1910,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -n -f --yes + - -g -n --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US 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":"2020-12-17T22:38:12Z"},"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-01-07T19:19:15Z","StorageType":"testStrogae"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache content-length: - - '428' + - '456' content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:43 GMT + - Thu, 07 Jan 2021 19:19:37 GMT expires: - '-1' pragma: @@ -1959,10 +1959,10 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -g -n -f --yes + - -g -n --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: PUT @@ -1971,9 +1971,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:18.6917712Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:44.2659921Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + \"2021-01-07T19:19:38.9815574Z\"\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: @@ -1984,7 +1984,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:44 GMT + - Thu, 07 Jan 2021 19:19:39 GMT expires: - '-1' pragma: @@ -2014,8 +2014,8 @@ interactions: ParameterSetName: - --template-spec User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: GET @@ -2024,9 +2024,9 @@ interactions: body: string: "{\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"daetienn@microsoft.com\",\r\n \"createdByType\": - \"User\",\r\n \"createdAt\": \"2020-12-17T22:38:18.6917712Z\",\r\n \"lastModifiedBy\": + \"User\",\r\n \"createdAt\": \"2021-01-07T19:19:18.4932071Z\",\r\n \"lastModifiedBy\": \"daetienn@microsoft.com\",\r\n \"lastModifiedByType\": \"User\",\r\n \"lastModifiedAt\": - \"2020-12-17T22:38:44.2659921Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": + \"2021-01-07T19:19:38.9815574Z\"\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: @@ -2037,7 +2037,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 17 Dec 2020 22:38:45 GMT + - Thu, 07 Jan 2021 19:19:39 GMT expires: - '-1' pragma: @@ -2071,8 +2071,8 @@ interactions: ParameterSetName: - --template-spec --yes User-Agent: - - python/3.8.6 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - python/3.8.7 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 + azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.17.1 (MSI) accept-language: - en-US method: DELETE @@ -2086,7 +2086,7 @@ interactions: content-length: - '0' date: - - Thu, 17 Dec 2020 22:38:49 GMT + - Thu, 07 Jan 2021 19:19:43 GMT expires: - '-1' pragma: 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 5baa8face8b..b613759306e 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 @@ -754,6 +754,9 @@ def test_create_template_specs(self, resource_group, resource_group_location): self.check('template.variables.name', "[if(parameters('useHyphen'), variables('hyphenedNameAfterInstanceCount'), replace(variables('hyphenedNameAfterInstanceCount'), '-', ''))]") ]).get_output_in_json() + with self.assertRaises(IncorrectUsageError): + self.cmd('ts create --name {template_spec_name} -g {rg} -l {resource_group_location} --template-file "{tf}"') + # clean up self.kwargs['template_spec_id'] = result['id'].replace('/versions/1.0', '') self.cmd('ts delete --template-spec {template_spec_id} --yes') @@ -950,7 +953,7 @@ def test_template_spec_create_and_update_with_tags(self, resource_group, resourc self.cmd('ts show --template-spec {template_spec_version_three_id}', checks=[self.check('tags', {})]) self.cmd('ts show --template-spec {template_spec_id}', checks=[self.check('tags', {'cli-test': 'test'})]) - self.cmd('ts create -g {rg} -n {template_spec_name} -f "{tf}" --yes') + self.cmd('ts create -g {rg} -n {template_spec_name} --yes') self.cmd('ts show --template-spec {template_spec_id}', checks=[self.check('tags', {})]) # clean up