forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed swagger bugs * Addressed comments * Updated description * Added performancePlus property * Updated description for performance plus * Addressed comments * Removed read Only property Co-authored-by: akashpargat <[email protected]>
- Loading branch information
1 parent
68ca5a8
commit 651fdbb
Showing
6 changed files
with
199 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...t.Compute/DiskRP/stable/2022-07-02/examples/diskExamples/Disk_Create_PerformancePlus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2022-07-02", | ||
"diskName": "myDisk", | ||
"disk": { | ||
"location": "West US", | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Upload", | ||
"performancePlus": true | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Upload", | ||
"performancePlus": true | ||
}, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myDisk" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Upload", | ||
"performancePlus": true | ||
}, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myDisk" | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...ute/DiskRP/stable/2022-07-02/examples/diskExamples/Disk_Create_WithUltraSSD_ReadOnly.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2022-07-02", | ||
"diskName": "myUltraReadOnlyDisk", | ||
"disk": { | ||
"location": "West US", | ||
"sku": { | ||
"name": "UltraSSD_LRS" | ||
}, | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty", | ||
"logicalSectorSize": 4096 | ||
}, | ||
"diskSizeGB": 200, | ||
"diskIOPSReadWrite": 125, | ||
"diskMBpsReadWrite": 3000, | ||
"readOnly": true, | ||
"encryption": { | ||
"type": "EncryptionAtRestWithPlatformKey" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty" | ||
}, | ||
"diskSizeGB": 200, | ||
"provisioningState": "Updating" | ||
}, | ||
"readOnly": true, | ||
"location": "West US", | ||
"name": "myUltraReadOnlyDisk", | ||
"sku": { | ||
"name": "UltraSSD_LRS", | ||
"tier": "Ultra" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty" | ||
}, | ||
"diskSizeGB": 200, | ||
"provisioningState": "Updating" | ||
}, | ||
"encryption": { | ||
"type": "EncryptionAtRestWithPlatformKey" | ||
}, | ||
"readOnly": true, | ||
"location": "West US", | ||
"name": "myUltraReadOnlyDisk", | ||
"sku": { | ||
"name": "UltraSSD_LRS", | ||
"tier": "Ultra" | ||
} | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...e/DiskRP/stable/2022-07-02/examples/snapshotExamples/Snapshot_GetIncrementalSnapshot.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2022-07-02", | ||
"snapshotName": "myIncrementalSnapshot" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"osType": "Windows", | ||
"hyperVGeneration": "V1", | ||
"purchasePlan": { | ||
"name": "test_sku", | ||
"publisher": "test_test_pmc2pc1", | ||
"product": "marketplace_vm_test" | ||
}, | ||
"supportedCapabilities": { | ||
"acceleratedNetwork": true | ||
}, | ||
"supportsHibernation": true, | ||
"creationData": { | ||
"createOption": "Copy", | ||
"sourceResourceId": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk", | ||
"sourceUniqueId": "d633885d-d102-4481-901e-5b2413d1a7be" | ||
}, | ||
"diskSizeGB": 100, | ||
"encryptionSettingsCollection": { | ||
"enabled": true, | ||
"encryptionSettings": [ | ||
{ | ||
"diskEncryptionKey": { | ||
"sourceVault": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" | ||
}, | ||
"secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}" | ||
}, | ||
"keyEncryptionKey": { | ||
"sourceVault": { | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault" | ||
}, | ||
"keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}" | ||
} | ||
} | ||
] | ||
}, | ||
"encryption": { | ||
"type": "EncryptionAtRestWithPlatformKey" | ||
}, | ||
"incremental": true, | ||
"networkAccessPolicy": 0, | ||
"diskState": 0, | ||
"diskSizeBytes": 10737418240, | ||
"uniqueId": "a395e9c1-fb9e-446e-a9ba-7b2fa0bcd305", | ||
"incrementalSnapshotFamilyId": "d1a341d5-1ea7-4a85-b304-944ad8021639", | ||
"timeCreated": "2016-12-28T04:41:35.079872+00:00", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.Compute/snapshots", | ||
"location": "westus", | ||
"tags": { | ||
"department": "Development", | ||
"project": "Snapshots" | ||
}, | ||
"id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/myIncrementalSnapshot", | ||
"name": "myIncrementalSnapshot" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters