From 76413478ce41d1e33446e52ea61ee939dc4d3ad7 Mon Sep 17 00:00:00 2001 From: Jiahui Peng <46921893+Alancere@users.noreply.github.com> Date: Fri, 20 May 2022 16:17:01 +0800 Subject: [PATCH] resources mock test tag:package-resources-2021-04 (#18961) --- .../examples/ForceDeleteVMsAndVMSSInResourceGroup.json | 2 +- .../2021-04-01/examples/ForceDeleteVMsInResourceGroup.json | 2 +- .../examples/PostDeploymentWhatIfOnManagementGroup.json | 4 +++- .../examples/PostDeploymentWhatIfOnResourceGroup.json | 6 ++++-- .../examples/PostDeploymentWhatIfOnSubscription.json | 6 ++++-- .../2021-04-01/examples/PostDeploymentWhatIfOnTenant.json | 4 +++- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json index 2dba850f1157..b742fbd6f2be 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsAndVMSSInResourceGroup.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "my-resource-group", "forceDeletionTypes": "Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets", - "api-version": "2020-06-01" + "api-version": "2021-04-01" }, "responses": { "202": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json index ba2a47410f91..3e7aabf7314a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/ForceDeleteVMsInResourceGroup.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "my-resource-group", "forceDeletionTypes": "Microsoft.Compute/virtualMachines", - "api-version": "2020-06-01" + "api-version": "2021-04-01" }, "responses": { "202": { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnManagementGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnManagementGroup.json index c3bb7da8a1cb..588ec4e1076a 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnManagementGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnManagementGroup.json @@ -6,7 +6,9 @@ "parameters": { "location": "eastus", "properties": { - "templateLink": "https://example.com/exampleTemplate.json", + "templateLink": { + "uri": "https://example.com/exampleTemplate.json" + }, "parameters": {}, "mode": "Incremental" } diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnResourceGroup.json index 2be6e4b25990..8258d821a40e 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnResourceGroup.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnResourceGroup.json @@ -6,7 +6,9 @@ "api-version": "2021-04-01", "parameters": { "properties": { - "templateLink": "https://example.com/exampleTemplate.json", + "templateLink": { + "uri": "https://example.com/exampleTemplate.json" + }, "parameters": {}, "mode": "Incremental" } @@ -15,7 +17,7 @@ "responses": { "200": { "body": { - "status": "succeeded", + "status": "Succeeded", "properties": { "changes": [ { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnSubscription.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnSubscription.json index e9a700a1967e..74cdedd5b8c4 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnSubscription.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnSubscription.json @@ -6,7 +6,9 @@ "parameters": { "location": "westus", "properties": { - "templateLink": "https://example.com/exampleTemplate.json", + "templateLink": { + "uri": "https://example.com/exampleTemplate.json" + }, "parameters": {}, "mode": "Incremental" } @@ -15,7 +17,7 @@ "responses": { "200": { "body": { - "status": "succeeded", + "status": "Succeeded", "properties": { "changes": [ { diff --git a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnTenant.json b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnTenant.json index 1f3575c48471..1f5147717393 100644 --- a/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnTenant.json +++ b/specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/examples/PostDeploymentWhatIfOnTenant.json @@ -5,7 +5,9 @@ "parameters": { "location": "eastus", "properties": { - "templateLink": "https://example.com/exampleTemplate.json", + "templateLink": { + "uri": "https://example.com/exampleTemplate.json" + }, "parameters": {}, "mode": "Incremental" }