Skip to content

Commit

Permalink
update swagger and generate examples (#19610)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshAulakhh authored Jul 5, 2022
1 parent 5419bfc commit efb0537
Show file tree
Hide file tree
Showing 36 changed files with 500 additions and 497 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaaa",
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "33zg-7s_4_7L2_65o",
"elasticSanName": "l39-840_D8",
"parameters": {
"properties": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
"name": "Premium_LRS",
"tier": "Premium"
},
"availabilityZones": [
"aaaaaaaaaaaaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaaaa"
],
"baseSizeTiB": 26,
"extendedCapacitySizeTiB": 4
"baseSizeTiB": 23,
"extendedCapacitySizeTiB": 14
},
"location": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"location": "aaaaaaaaaaaaaaaaaaaa",
"tags": {
"key3875": "aaaaaaaaa"
"key1810": "aaaa"
}
},
"api-version": "2021-11-20-preview"
Expand All @@ -27,35 +27,35 @@
"body": {
"properties": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
"name": "Premium_LRS",
"tier": "Premium"
},
"availabilityZones": [
"aaaaaaaaaaaaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaaaa"
],
"provisioningState": "Invalid",
"baseSizeTiB": 26,
"extendedCapacitySizeTiB": 4,
"totalVolumeSizeGiB": 24,
"volumeGroupCount": 13,
"totalIops": 3,
"totalMBps": 8,
"provisionedMBps": 19
"baseSizeTiB": 23,
"extendedCapacitySizeTiB": 14,
"totalVolumeSizeGiB": 19,
"volumeGroupCount": 20,
"totalIops": 24,
"totalMBps": 22,
"totalSizeTiB": 22
},
"systemData": {
"createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"createdBy": "aaaaaaaaa",
"createdByType": "User",
"createdAt": "2022-04-08T10:28:01.097Z",
"lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"createdAt": "2022-06-27T12:25:21.489Z",
"lastModifiedBy": "aaaaaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-08T10:28:01.098Z"
"lastModifiedAt": "2022-06-27T12:25:21.489Z"
},
"location": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"id": "/subscriptions/aaaaaaaaaaaaaaaaaaa/resourceGroups/rgelasticsan/providers/Microsoft.ElasticSan/elasticSans/33zg-7s_4_7L2_65o",
"name": "33zg-7s_4_7L2_65o",
"type": "Microsoft.ElasticSan/ElasticSans",
"location": "aaaaaaaaaaaaaaaaaaaa",
"id": "aaa",
"name": "aa",
"type": "aaaaaaaaaaaaaaaaaaa",
"tags": {
"key3875": "aaaaaaaaa"
"key1810": "aaaa"
}
}
},
Expand All @@ -66,35 +66,35 @@
"body": {
"properties": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
"name": "Premium_LRS",
"tier": "Premium"
},
"availabilityZones": [
"aaaaaaaaaaaaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaaaa"
],
"provisioningState": "Invalid",
"baseSizeTiB": 26,
"extendedCapacitySizeTiB": 4,
"totalVolumeSizeGiB": 24,
"volumeGroupCount": 13,
"totalIops": 3,
"totalMBps": 8,
"provisionedMBps": 19
"baseSizeTiB": 23,
"extendedCapacitySizeTiB": 14,
"totalVolumeSizeGiB": 19,
"volumeGroupCount": 20,
"totalIops": 24,
"totalMBps": 22,
"totalSizeTiB": 22
},
"systemData": {
"createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"createdBy": "aaaaaaaaa",
"createdByType": "User",
"createdAt": "2022-04-08T10:28:01.097Z",
"lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"createdAt": "2022-06-27T12:25:21.489Z",
"lastModifiedBy": "aaaaaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-08T10:28:01.098Z"
"lastModifiedAt": "2022-06-27T12:25:21.489Z"
},
"location": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"id": "/subscriptions/aaaaaaaaaaaaaaaaaaa/resourceGroups/rgelasticsan/providers/Microsoft.ElasticSan/elasticSans/33zg-7s_4_7L2_65o",
"name": "33zg-7s_4_7L2_65o",
"type": "Microsoft.ElasticSan/ElasticSans",
"location": "aaaaaaaaaaaaaaaaaaaa",
"id": "aaa",
"name": "aa",
"type": "aaaaaaaaaaaaaaaaaaa",
"tags": {
"key3875": "aaaaaaaaa"
"key1810": "aaaa"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "l39-840_D8",
"parameters": {},
"api-version": "2021-11-20-preview"
},
"responses": {
"200": {
"body": {}
},
"202": {
"headers": {
"Azure-AsyncOperation": "https://foo.com/operationstatus"
},
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaaa",
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "33zg-7s_4_7L2_65o",
"x-ms-delete-volumegroups": true,
"elasticSanName": "l39-840_D8",
"api-version": "2021-11-20-preview"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaaa",
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "33zg-7s_4_7L2_65o",
"elasticSanName": "l39-840_D8",
"api-version": "2021-11-20-preview"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaaa",
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "33zg-7s_4_7L2_65o",
"elasticSanName": "l39-840_D8",
"api-version": "2021-11-20-preview"
},
"responses": {
"200": {
"body": {
"properties": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
"name": "Premium_LRS",
"tier": "Premium"
},
"availabilityZones": [
"aaaaaaaaaaaaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaaaa"
],
"provisioningState": "Invalid",
"baseSizeTiB": 26,
"extendedCapacitySizeTiB": 4,
"totalVolumeSizeGiB": 24,
"volumeGroupCount": 13,
"totalIops": 3,
"totalMBps": 8,
"provisionedMBps": 19
"baseSizeTiB": 23,
"extendedCapacitySizeTiB": 14,
"totalVolumeSizeGiB": 19,
"volumeGroupCount": 20,
"totalIops": 24,
"totalMBps": 22,
"totalSizeTiB": 22
},
"systemData": {
"createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"createdBy": "aaaaaaaaa",
"createdByType": "User",
"createdAt": "2022-04-08T10:28:01.097Z",
"lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"createdAt": "2022-06-27T12:25:21.489Z",
"lastModifiedBy": "aaaaaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-08T10:28:01.098Z"
"lastModifiedAt": "2022-06-27T12:25:21.489Z"
},
"location": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"id": "/subscriptions/aaaaaaaaaaaaaaaaaaa/resourceGroups/rgelasticsan/providers/Microsoft.ElasticSan/elasticSans/33zg-7s_4_7L2_65o",
"name": "33zg-7s_4_7L2_65o",
"type": "Microsoft.ElasticSan/ElasticSans",
"location": "aaaaaaaaaaaaaaaaaaaa",
"id": "aaa",
"name": "aa",
"type": "aaaaaaaaaaaaaaaaaaa",
"tags": {
"key3875": "aaaaaaaaa"
"key1810": "aaaa"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"elasticSanName": "l39-840_D8",
"api-version": "2021-11-20-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaaa",
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"api-version": "2021-11-20-preview"
},
Expand All @@ -11,39 +11,39 @@
{
"properties": {
"sku": {
"name": "Standard_LRS",
"tier": "Standard"
"name": "Premium_LRS",
"tier": "Premium"
},
"availabilityZones": [
"aaaaaaaaaaaaaaaaaaaaaaaaa"
"aaaaaaaaaaaaaaaaa"
],
"provisioningState": "Invalid",
"baseSizeTiB": 26,
"extendedCapacitySizeTiB": 4,
"totalVolumeSizeGiB": 24,
"volumeGroupCount": 13,
"totalIops": 3,
"totalMBps": 8,
"provisionedMBps": 19
"baseSizeTiB": 23,
"extendedCapacitySizeTiB": 14,
"totalVolumeSizeGiB": 19,
"volumeGroupCount": 20,
"totalIops": 24,
"totalMBps": 22,
"totalSizeTiB": 22
},
"systemData": {
"createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"createdBy": "aaaaaaaaa",
"createdByType": "User",
"createdAt": "2022-04-08T10:28:01.097Z",
"lastModifiedBy": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"createdAt": "2022-06-27T12:25:21.489Z",
"lastModifiedBy": "aaaaaaaaaaaa",
"lastModifiedByType": "User",
"lastModifiedAt": "2022-04-08T10:28:01.098Z"
"lastModifiedAt": "2022-06-27T12:25:21.489Z"
},
"location": "aaaaaaaaaaaaaaaaaaaaaaaaa",
"id": "/subscriptions/aaaaaaaaaaaaaaaaaaa/resourceGroups/rgelasticsan/providers/Microsoft.ElasticSan/elasticSans/aaaaaaaaaaaa",
"name": "aaaaaaaaaaaa",
"type": "Microsoft.ElasticSan/ElasticSans",
"location": "aaaaaaaaaaaaaaaaaaaa",
"id": "aaa",
"name": "aa",
"type": "aaaaaaaaaaaaaaaaaaa",
"tags": {
"key3875": "aaaaaaaaa"
"key1810": "aaaa"
}
}
],
"nextLink": "aaaaaaaaaaaaaaaaa"
"nextLink": "aaaaaaaaa"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "aaaaaaaaaaaaaaaaaa",
"resourceGroupName": "rgelasticsan",
"api-version": "2021-11-20-preview"
},
"responses": {
"200": {
"body": {
"value": [
{}
]
}
}
}
}
Loading

0 comments on commit efb0537

Please sign in to comment.