-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StoragePool RP New Preview API (#13970)
* 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
1 parent
8169805
commit 3ae1665
Showing
21 changed files
with
3,542 additions
and
26 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
...manager/Microsoft.StoragePool/preview/2021-04-01-preview/examples/DiskPoolZones_List.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,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" | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...nager/Microsoft.StoragePool/preview/2021-04-01-preview/examples/DiskPools_Deallocate.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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-04-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"diskPoolName": "myDiskPool" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...e-manager/Microsoft.StoragePool/preview/2021-04-01-preview/examples/DiskPools_Delete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-04-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"diskPoolName": "myDiskPool" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...urce-manager/Microsoft.StoragePool/preview/2021-04-01-preview/examples/DiskPools_Get.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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.