From 7aa772262cfbaf65111d4efa54eb376a12a81208 Mon Sep 17 00:00:00 2001 From: "REDMOND\\carloshehe" Date: Wed, 19 Jul 2023 13:13:04 -0700 Subject: [PATCH 1/5] Added lastownership field --- .../Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json index f0fa8bf4ead9..d87703d1004a 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json @@ -766,6 +766,12 @@ "optimizedForFrequentAttach": { "type": "boolean", "description": "Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine." + }, + "LastOwnershipUpdateTime": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The time when the disk ownership last updated." } }, "required": [ From d7a93a77538421b0997fc945260522d7dd3d578b Mon Sep 17 00:00:00 2001 From: "REDMOND\\carloshehe" Date: Fri, 28 Jul 2023 11:48:17 -0700 Subject: [PATCH 2/5] Added to existing DIsk_Get.json example --- .../DiskRP/stable/2023-04-02/examples/diskExamples/Disk_Get.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/examples/diskExamples/Disk_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/examples/diskExamples/Disk_Get.json index 6ea358a2489e..0614e0d09802 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/examples/diskExamples/Disk_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/examples/diskExamples/Disk_Get.json @@ -56,6 +56,7 @@ "encryption": { "type": "EncryptionAtRestWithPlatformKey" }, + "LastOwnershipUpdateTime": "2016-12-28T04:41:35.079872+00:00", "timeCreated": "2016-12-28T04:41:35.079872+00:00", "provisioningState": "Succeeded" }, From 9d5b93b1c24c6e737729013209c99ccdecff4c17 Mon Sep 17 00:00:00 2001 From: "REDMOND\\carloshehe" Date: Thu, 3 Aug 2023 15:04:23 -0700 Subject: [PATCH 3/5] New description --- .../Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json index d87703d1004a..944d910ae550 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json @@ -771,7 +771,7 @@ "readOnly": true, "type": "string", "format": "date-time", - "description": "The time when the disk ownership last updated." + "description": "In UTC time. It is updated when diskState changes between Attached/Unattached/Reserved." } }, "required": [ From e8a21a9fe12352dbb3720258c1afdf3491ba5451 Mon Sep 17 00:00:00 2001 From: "REDMOND\\carloshehe" Date: Thu, 3 Aug 2023 15:55:48 -0700 Subject: [PATCH 4/5] Using Vikram's suggestion for description --- .../Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json index 944d910ae550..cb4459b1ff81 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/disk.json @@ -771,7 +771,7 @@ "readOnly": true, "type": "string", "format": "date-time", - "description": "In UTC time. It is updated when diskState changes between Attached/Unattached/Reserved." + "description": "The UTC time when the ownership state of the disk was last changed i.e., the time the disk was last attached or detached from a VM or the time when the VM to which the disk was attached was deallocated or started." } }, "required": [ From aa2cebc705fde7a066fd8563247839701b49a492 Mon Sep 17 00:00:00 2001 From: "REDMOND\\carloshehe" Date: Thu, 3 Aug 2023 21:35:19 -0700 Subject: [PATCH 5/5] Fixed bad casing --- .../DiskRP/stable/2023-04-02/diskRPCommon.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/diskRPCommon.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/diskRPCommon.json index f78cf442328a..62f71f29b2b4 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/diskRPCommon.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2023-04-02/diskRPCommon.json @@ -372,7 +372,7 @@ }, "elasticSanResourceId": { "type": "string", - "description": "Required if createOption is CopyFromSanSnapshot. this is the ARM id of the source elastic san volume snapshot." + "description": "Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot." } }, "required": [