Skip to content

Commit 2b45143

Browse files
harshitha-akkarajuruyingchenHarshitha AkkarajuArcturusZhang
authored
StoragePool GA Swagger Release (#15760)
* initial from 2021-04-01-preview * update version * long running operations description * list skus 1 * First pass -- added rest of the updates. * Fix validation issues * Updated README files * Address team's comments * Avocado errors * Fix Lint diff errors * Review feedback * Updated sku fields level for resource sku api * Fix lint errors * Fix go readme * Fixed go read me * Update specification/storagepool/resource-manager/readme.go.md Co-authored-by: Arcturus <[email protected]> Co-authored-by: ruyingchen <[email protected]> Co-authored-by: Harshitha Akkaraju <[email protected]> Co-authored-by: Arcturus <[email protected]>
1 parent 851fac2 commit 2b45143

22 files changed

+4145
-2
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"location": "eastus"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"availabilityZones": [
13+
"1",
14+
"2",
15+
"3"
16+
],
17+
"sku": {
18+
"tier": "Basic_V1",
19+
"name": "Basic"
20+
},
21+
"additionalCapabilities": []
22+
},
23+
{
24+
"availabilityZones": [
25+
"1",
26+
"2"
27+
],
28+
"sku": {
29+
"tier": "Standard_V1",
30+
"name": "Standard"
31+
},
32+
"additionalCapabilities": []
33+
}
34+
]
35+
},
36+
"nextLink": "null"
37+
}
38+
}
39+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"diskPoolName": "myDiskPool"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {}
11+
}
12+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"diskPoolName": "myDiskPool"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {},
11+
"202": {}
12+
}
13+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-08-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "myResourceGroup",
6+
"diskPoolName": "myDiskPool"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.StoragePool/diskPools/myDiskPool",
12+
"location": "westus2",
13+
"name": "myDiskPool",
14+
"type": "Microsoft.StoragePool/diskPools",
15+
"sku": {
16+
"name": "Basic_V1",
17+
"tier": "Basic"
18+
},
19+
"managedBy": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.AVS/privateClouds/myPrivateCloud/clusters/Cluster-1/datastores/datastore1",
20+
"managedByExtended": [
21+
"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.AVS/privateClouds/myPrivateCloud/clusters/Cluster-1/datastores/datastore1",
22+
"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.AVS/privateClouds/myPrivateCloud/clusters/Cluster-1/datastores/datastore2"
23+
],
24+
"properties": {
25+
"availabilityZones": [
26+
"1"
27+
],
28+
"subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet",
29+
"provisioningState": "Succeeded",
30+
"status": "Healthy",
31+
"disks": [
32+
{
33+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDataDisk_0"
34+
}
35+
]
36+
},
37+
"systemData": {
38+
"createdAt": "2020-06-24T06:53:57+00:00",
39+
"createdBy": "alias",
40+
"createdByType": "User",
41+
"lastModifiedAt": "2020-06-24T06:53:57+00:00",
42+
"lastModifiedBy": "alias",
43+
"lastModifiedByType": "User"
44+
},
45+
"tags": {
46+
"env": "int"
47+
}
48+
}
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)