From 0c69034743af0bacf5dbdfc0419281ef18dfb2e3 Mon Sep 17 00:00:00 2001 From: Ashwani Tiwari Date: Tue, 25 Oct 2022 13:24:45 +0530 Subject: [PATCH 1/3] Added userData property in Restore Point PUT Operation --- .../RestorePoint_Copy_BetweenRegions.json | 3 ++- .../examples/restorePointExamples/RestorePoint_Create.json | 3 ++- .../ComputeRP/stable/2022-11-01/restorePoint.json | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json index 344344c1c4b0..1e5f6a181fb9 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Copy_BetweenRegions.json @@ -71,7 +71,8 @@ "enabled": true } }, - "location": "westus" + "location": "westus", + "userData": "c2FtcGxlIHVzZXJEYXRh" }, "provisioningState": "Creating", "consistencyMode": "ApplicationConsistent", diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Create.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Create.json index 06ea3f308b53..a7dafa2849ed 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Create.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/examples/restorePointExamples/RestorePoint_Create.json @@ -75,7 +75,8 @@ "enabled": true } }, - "location": "westus" + "location": "westus", + "userData": "c2FtcGxlIHVzZXJEYXRh" }, "provisioningState": "Succeeded", "consistencyMode": "ApplicationConsistent", diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json index ffe70dca795f..6a7daf169e1d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json @@ -681,6 +681,10 @@ "location": { "type": "string", "description": "Location of the VM from which the restore point was created." + }, + "userData": { + "type": "string", + "description": "The userData associated with the source VM." } }, "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation." From 07b0ceff8f5afa426e0715166cdc61a9f798a387 Mon Sep 17 00:00:00 2001 From: Ashwani Tiwari Date: Wed, 26 Oct 2022 16:20:46 +0530 Subject: [PATCH 2/3] Update based on review comment --- .../ComputeRP/stable/2022-11-01/restorePoint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json index 6a7daf169e1d..a64ba21c8260 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json @@ -684,7 +684,7 @@ }, "userData": { "type": "string", - "description": "The userData associated with the source VM." + "description": "UserData associated the source VM, which is a base-64 encoded value." } }, "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation." From a4f6e3218b4957781a79e7d541e2adde2d0a56ed Mon Sep 17 00:00:00 2001 From: Ashwani Tiwari Date: Thu, 27 Oct 2022 14:46:07 +0530 Subject: [PATCH 3/3] Updated description --- .../ComputeRP/stable/2022-11-01/restorePoint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json index a64ba21c8260..5d292786d5ba 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-11-01/restorePoint.json @@ -684,7 +684,7 @@ }, "userData": { "type": "string", - "description": "UserData associated the source VM, which is a base-64 encoded value." + "description": "UserData associated with the source VM for which restore point is captured, which is a base-64 encoded value." } }, "description": "Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation."