-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger changes for PremiumV2 in DiskRP (#18786)
* Swagger changes for PremiumV2 in DiskRP * Added new property copyCompletionError * Updated description for new property copyCompletionError * Added the type as object for CopyCompletionError * Addressed comment to update the description for CopySourceNotFound Co-authored-by: akashpargat <akashpargat@microsoft.com>
- Loading branch information
1 parent
3ccee3b
commit ad5a64a
Showing
4 changed files
with
103 additions
and
2 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
58 changes: 58 additions & 0 deletions
58
...ble/2022-03-02/DiskRP/examples/diskExamples/Disk_Create_WithPremiumV2_LRSAccountType.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,58 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"api-version": "2022-03-02", | ||
"diskName": "myPremiumV2Disk", | ||
"disk": { | ||
"location": "West US", | ||
"sku": { | ||
"name": "PremiumV2_LRS" | ||
}, | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty" | ||
}, | ||
"diskSizeGB": 200, | ||
"diskIOPSReadWrite": 125, | ||
"diskMBpsReadWrite": 3000 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty" | ||
}, | ||
"diskSizeGB": 200, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myPremiumV2Disk", | ||
"sku": { | ||
"name": "PremiumV2_LRS", | ||
"tier": "Premium" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Empty" | ||
}, | ||
"diskSizeGB": 200, | ||
"provisioningState": "Updating" | ||
}, | ||
"location": "West US", | ||
"name": "myPremiumV2Disk", | ||
"sku": { | ||
"name": "PremiumV2_LRS", | ||
"tier": "Premium" | ||
} | ||
} | ||
} | ||
} | ||
} |
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