-
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.
NetApp update swagger for R4.5 (#6395)
* 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
1 parent
cf33826
commit 1e01123
Showing
25 changed files
with
2,924 additions
and
1 deletion.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.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,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": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"accountName": "accountName", | ||
"api-version": "2019-05-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_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,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"accountName": "accountName", | ||
"api-version": "2019-05-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Created" | ||
} | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...on/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"api-version": "2019-05-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Created" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
.../netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"accountName": "accountName", | ||
"api-version": "2019-05-01", | ||
"body": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...source-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.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,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 | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...p/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"location": "eastus", | ||
"api-version": "2019-05-01", | ||
"body": { | ||
"name": "accName", | ||
"type": "netAppAccount", | ||
"resourceGroup": "myrg" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"isAvailable": true | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...etapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_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,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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...pp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.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,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": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_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": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"accountName": "accountName", | ||
"poolName": "poolName", | ||
"api-version": "2019-05-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...cation/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_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,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 | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ation/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_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,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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.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,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": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.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,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": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_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,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscriptionId", | ||
"resourceGroupName": "resourceGroup", | ||
"accountName": "accountName", | ||
"poolName": "poolName", | ||
"volumeName": "volumeName", | ||
"snapshotName": "snapshotName", | ||
"api-version": "2019-05-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {}, | ||
"200": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...on/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_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,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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.