From d5c5288739eca42d7f3249ae5f5fa9449e7ae1be Mon Sep 17 00:00:00 2001 From: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:09:56 +0530 Subject: [PATCH 1/5] Update diskRestorePoint.json with logicalSectorSize property under "DiskRestorePointProperties" --- .../DiskRP/stable/2024-03-02/diskRestorePoint.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json index a5e0fc45a3fe..d9d26fa8a2df 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json @@ -376,6 +376,11 @@ "securityProfile": { "$ref": "./diskRPCommon.json#/definitions/DiskSecurityProfile", "description": "Contains the security related information for the resource." + }, + "logicalSectorSize": { + "type": "integer", + "description": "Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.", + "readOnly": true } }, "description": "Properties of an incremental disk restore point" From 833de760a8fc2b42e4a810b3d8d6f37807981dff Mon Sep 17 00:00:00 2001 From: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:13:37 +0530 Subject: [PATCH 2/5] Update DiskRestorePoint_Get.json with logicalSectorSize property --- .../diskRestorePointExamples/DiskRestorePoint_Get.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json index 4c9f7eba9738..9f0527cf3638 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json @@ -20,7 +20,8 @@ "familyId": "996bf3ce-b6ff-4e86-9db6-dc27ea06cea5", "sourceUniqueId": "48e058b1-7eea-4968-b532-10a8a1130c13", "networkAccessPolicy": "AllowAll", - "publicNetworkAccess": "Disabled" + "publicNetworkAccess": "Disabled", + "logicalSectorSize": 4096 } } } From 03b32e07353b2fece1b321f4f2dc31ada83845aa Mon Sep 17 00:00:00 2001 From: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:17:25 +0530 Subject: [PATCH 3/5] Update DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json with logicalSectorSize property --- ...storePoint_Get_WhenSourceResourceIsFromDifferentRegion.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json index 555711a6d03f..6317923753bd 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json @@ -23,7 +23,8 @@ "publicNetworkAccess": "Disabled", "replicationState": "Succeeded", "completionPercent": 100, - "sourceResourceLocation": "eastus2" + "sourceResourceLocation": "eastus2", + "logicalSectorSize": 4096 } } } From 8b854b1e6206cb6d0af8206f9b66b918c4bb60be Mon Sep 17 00:00:00 2001 From: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com> Date: Thu, 27 Jun 2024 11:17:56 +0530 Subject: [PATCH 4/5] Update DiskRestorePoint_ListByVmRestorePoint.json with logicalSectorSize property --- .../DiskRestorePoint_ListByVmRestorePoint.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json index 63baaf6bd243..047410076360 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json @@ -21,7 +21,8 @@ "familyId": "996bf3ce-b6ff-4e86-9db6-dc27ea06cea5", "sourceUniqueId": "48e058b1-7eea-4968-b532-10a8a1130c13", "networkAccessPolicy": "AllowAll", - "publicNetworkAccess": "Disabled" + "publicNetworkAccess": "Disabled", + "logicalSectorSize": 4096 } } ] From dbfb6b3014f5f6baac3547d8274472ce81836e93 Mon Sep 17 00:00:00 2001 From: kbaibhavgithub <145315404+kbaibhavgithub@users.noreply.github.com> Date: Fri, 28 Jun 2024 11:25:08 +0530 Subject: [PATCH 5/5] Updated diskRestorePoint.json to add format. --- .../DiskRP/stable/2024-03-02/diskRestorePoint.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json index d9d26fa8a2df..027a5ff3d2a3 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json +++ b/specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json @@ -379,6 +379,7 @@ }, "logicalSectorSize": { "type": "integer", + "format": "int32", "description": "Logical sector size in bytes for disk restore points of UltraSSD_LRS and PremiumV2_LRS disks. Supported values are 512 and 4096. 4096 is the default.", "readOnly": true }