Skip to content

Commit 3f6b64a

Browse files
Consolidated DiskRP swagger changes for api version 2024-03-02 (#29602)
* Update diskRestorePoint.json with logicalSectorSize property under "DiskRestorePointProperties" * Update DiskRestorePoint_Get.json with logicalSectorSize property * Update DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json with logicalSectorSize property * Update DiskRestorePoint_ListByVmRestorePoint.json with logicalSectorSize property * Updated diskRestorePoint.json to add format.
1 parent 3764d28 commit 3f6b64a

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/diskRestorePoint.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,12 @@
376376
"securityProfile": {
377377
"$ref": "./diskRPCommon.json#/definitions/DiskSecurityProfile",
378378
"description": "Contains the security related information for the resource."
379+
},
380+
"logicalSectorSize": {
381+
"type": "integer",
382+
"format": "int32",
383+
"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.",
384+
"readOnly": true
379385
}
380386
},
381387
"description": "Properties of an incremental disk restore point"

specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"familyId": "996bf3ce-b6ff-4e86-9db6-dc27ea06cea5",
2121
"sourceUniqueId": "48e058b1-7eea-4968-b532-10a8a1130c13",
2222
"networkAccessPolicy": "AllowAll",
23-
"publicNetworkAccess": "Disabled"
23+
"publicNetworkAccess": "Disabled",
24+
"logicalSectorSize": 4096
2425
}
2526
}
2627
}

specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_Get_WhenSourceResourceIsFromDifferentRegion.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"publicNetworkAccess": "Disabled",
2424
"replicationState": "Succeeded",
2525
"completionPercent": 100,
26-
"sourceResourceLocation": "eastus2"
26+
"sourceResourceLocation": "eastus2",
27+
"logicalSectorSize": 4096
2728
}
2829
}
2930
}

specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/2024-03-02/examples/diskRestorePointExamples/DiskRestorePoint_ListByVmRestorePoint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"familyId": "996bf3ce-b6ff-4e86-9db6-dc27ea06cea5",
2222
"sourceUniqueId": "48e058b1-7eea-4968-b532-10a8a1130c13",
2323
"networkAccessPolicy": "AllowAll",
24-
"publicNetworkAccess": "Disabled"
24+
"publicNetworkAccess": "Disabled",
25+
"logicalSectorSize": 4096
2526
}
2627
}
2728
]

0 commit comments

Comments
 (0)