Skip to content

Commit

Permalink
StoragePool RP New Preview API (#13970)
Browse files Browse the repository at this point in the history
* No changes -- new version directory with old specs

* New API version Changes

* Validation errors

* revisions

* Fixes

* Revisions

* Revisions

* Revisions

* Updates

* Annotating required property

* Availability zone is not required during Disk Pool Creation

* Fixing swagger route typo

* Fixes Avocado errors due to swagger file not being referenced

* Updated python readme

* [python] Update readme.md (#14184)

* Update readme.md

* Update readme.python.md

* Fix merge conflicts

* Swagger linting errors

Co-authored-by: Harshitha Akkaraju <hakkaraj@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people authored May 6, 2021
1 parent 8169805 commit 3ae1665
Show file tree
Hide file tree
Showing 21 changed files with 3,542 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"api-version": "2021-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"location": "eastus"
},
"responses": {
"200": {
"body": {
"value": [
{
"availabilityZones": [
"1",
"2",
"3"
],
"sku": {
"tier": "Basic",
"name": "Basic"
},
"additionalCapabilities": []
},
{
"availabilityZones": [
"1",
"2"
],
"sku": {
"tier": "Basic",
"name": "Basic"
},
"additionalCapabilities": []
}
]
},
"nextLink": "null"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"api-version": "2021-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"diskPoolName": "myDiskPool"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2021-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"diskPoolName": "myDiskPool"
},
"responses": {
"200": {},
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2021-04-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"diskPoolName": "myDiskPool"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool",
"location": "westus2",
"name": "myDiskPool",
"type": "Microsoft.StoragePool/diskPools",
"sku": {
"name": "Basic_0",
"tier": "Basic"
},
"properties": {
"availabilityZones": [
"1"
],
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet",
"provisioningState": "Succeeded",
"status": "Healthy",
"disks": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0"
}
]
},
"systemData": {
"createdAt": "2020-06-24T06:53:57+00:00",
"createdBy": "alias",
"createdByType": "User",
"lastModifiedAt": "2020-06-24T06:53:57+00:00",
"lastModifiedBy": "alias",
"lastModifiedByType": "User"
},
"tags": {
"env": "int"
}
}
}
}
}
Loading

0 comments on commit 3ae1665

Please sign in to comment.