Skip to content

Commit

Permalink
New swagger for 2019-08-01 API (#7660)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardbf authored and yungezz committed Nov 7, 2019
1 parent 46b5a95 commit 80a458c
Show file tree
Hide file tree
Showing 54 changed files with 3,097 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,7 @@
},
"nfsv4": {
"type": "boolean",
"description": "Allows NFSv4 protocol"
"description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later"
},
"allowedClients": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"location": "eastus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"name": "my-exact-filepth",
"type": "netAppAccount/capacityPools/volume",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subscriptionId",
"location": "eastus",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"name": "accName",
"type": "netAppAccount",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"location": "eastus",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"location": "eastus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"poolName": "poolName",
"volumeName": "volumeName",
"snapshotName": "snapshotName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {
"location": "eastus",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"204": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"poolName": "poolName",
"api-version": "2019-05-01"
"api-version": "2019-06-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"accountName": "accountName",
"poolName": "poolName",
"volumeName": "volumeName",
"api-version": "2019-05-01",
"api-version": "2019-06-01",
"body": {}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1946,7 +1946,7 @@
},
"nfsv4": {
"type": "boolean",
"description": "Allows NFSv4 protocol"
"description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later"
},
"allowedClients": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "subscriptionId",
"resourceGroupName": "resourceGroup",
"accountName": "accountName",
"api-version": "2019-05-01"
"api-version": "2019-07-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,6 @@
"type": "string"
},
"example": [
"NFSv3",
"NFSv4.1"
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2019-08-01",
"body": {
"location": "eastus",
"properties": {}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
"name": "account1",
"type": "Microsoft.NetApp/netAppAccounts",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"201": {
"body": {
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
"name": "account1",
"type": "Microsoft.NetApp/netAppAccounts",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2019-08-01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2019-08-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
"name": "account1",
"type": "Microsoft.NetApp/netAppAccounts",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"api-version": "2019-08-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
"name": "account1",
"type": "Microsoft.NetApp/netAppAccounts",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2019-08-01",
"body": {}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
"name": "account1",
"type": "Microsoft.NetApp/netAppAccounts",
"location": "eastus",
"properties": {
"provisioningState": "Succeeded"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"location": "eastus",
"api-version": "2019-08-01",
"body": {
"name": "my-exact-filepth",
"type": "netAppAccount/capacityPools/volume",
"resourceGroup": "myRG"
}
},
"responses": {
"200": {
"body": {
"isAvailable": true
}
}
}
}
Loading

0 comments on commit 80a458c

Please sign in to comment.