Skip to content

Commit

Permalink
NetApp update swagger for R4.5 (Azure#6395)
Browse files Browse the repository at this point in the history
* NFSAAS-2660 swagger update for R4.5

* NFSAAS-2660 delete swagger generated files

* NFSAAS-2660 fixing model validation error

* updated readme

* fixing up the json

* trying to fix serialization bug

* Updating description for responses

* Changing the protocolTypes example

* Fix Swaggers to get the diff working

* Reverting accidental netapp.json changes
  • Loading branch information
tomasm9-zz authored and celikcigdem committed Jul 17, 2019
1 parent 4996417 commit d5f7504
Show file tree
Hide file tree
Showing 25 changed files with 2,924 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01",
"body": {
"location": "eastus"
}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
},
"responses": {
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "eastus",
"properties": {
"provisioningState": "Created"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01",
"body": {}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
"api-version": "2019-05-01",
"body": {
"name": "my-exact-filepth",
"type": "netAppAccount/capacityPools/volume",
"resourceGroup": "myrg"
}
},
"responses": {
"200": {
"body": {
"isAvailable": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
"api-version": "2019-05-01",
"body": {
"name": "accName",
"type": "netAppAccount",
"resourceGroup": "myrg"
}
},
"responses": {
"200": {
"body": {
"isAvailable": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "eastus",
"properties": {
"endIp": "1.2.3.4",
"mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"startIp": "1.2.3.4",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"subnet": "1.2.3.4",
"netmask": "255.255.255.0",
"ipAddress": "1.2.3.4",
"gateway": "1.2.3.4",
"smbServerFqdn": "fullyqualified.domainname.com",
"provisioningState": "Created"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01",
"body": {
"location": "eastus",
"properties": {
"size": 4398046511104,
"serviceLevel": "Premium"
}
}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
},
"201": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01"
},
"responses": {
"204": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01",
"body": {}
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"provisioningState": "Created",
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"serviceLevel": "Premium",
"size": 4398046511104
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01",
"body": {
"location": "eastus"
}
},
"responses": {
"201": {
"body": {
"location": "eastus",
"properties": {
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"provisioningState": "Created"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01"
},
"responses": {
"204": {},
"202": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01"
},
"responses": {
"200": {
"body": {
"location": "eastus",
"properties": {
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"creationDate": "2017-08-15T13:23:33Z",
"provisioningState": "Created"
}
}
}
}
}
Loading

0 comments on commit d5f7504

Please sign in to comment.