-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anf 567 anf swagger restapi to2020 02 01 no snapshotpolicy (#9742)
* Initial commit from previous API version * updated to 2020-02-01 * update snapshot example * Validation issues fixes * Fix missing example volumeReplicationStatusGet * Fix missing result example Account Update * Fix missing Account Update op * Fix missing Account Update result code * Fix missing Account Update syntax * Fix underscore * Fix example * Fix Readme * Updated API version in examples * ran prettier * Prettier examples * Trigger automation pipeline * Rervert volue replicationStatus methods change * Rervert volue replicationStatus methods change * prettier * Added Repo Azure sdk for trenton again * Added trenton metadata Co-authored-by: Audunn Baldvinsson <[email protected]>
- Loading branch information
Showing
32 changed files
with
3,518 additions
and
11 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...resource-manager/Microsoft.NetApp/stable/2020-02-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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-02-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": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-02-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...on/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"api-version": "2020-02-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
.../netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-02-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" | ||
} | ||
} | ||
}, | ||
"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": {} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...source-manager/Microsoft.NetApp/stable/2020-02-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": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"location": "eastus", | ||
"api-version": "2020-02-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/2020-02-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": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"location": "eastus", | ||
"api-version": "2020-02-01", | ||
"body": { | ||
"name": "accName", | ||
"type": "netAppAccount", | ||
"resourceGroup": "myRG" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"isAvailable": true | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...pp/resource-manager/Microsoft.NetApp/stable/2020-02-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,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"api-version": "2020-02-01", | ||
"body": { | ||
"location": "eastus", | ||
"properties": { | ||
"size": 4398046511104, | ||
"serviceLevel": "Premium" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", | ||
"name": "account1/pool1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools", | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", | ||
"serviceLevel": "Premium", | ||
"size": 4398046511104 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", | ||
"name": "account1/pool1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools", | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"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/2020-02-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": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...cation/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,25 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", | ||
"name": "account1/pool1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools", | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", | ||
"serviceLevel": "Premium", | ||
"size": 4398046511104 | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ation/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", | ||
"name": "account1/pool1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools", | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", | ||
"serviceLevel": "Premium", | ||
"size": 4398046511104 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"api-version": "2020-02-01", | ||
"body": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", | ||
"name": "account1/pool1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools", | ||
"location": "eastus", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", | ||
"serviceLevel": "Premium", | ||
"size": 4398046511104 | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"volumeName": "volume1", | ||
"snapshotName": "snapshot1", | ||
"api-version": "2020-02-01", | ||
"body": { | ||
"location": "eastus" | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", | ||
"name": "account1/pool1/volume1/snapshot1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", | ||
"location": "eastus", | ||
"properties": { | ||
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", | ||
"created": "2017-08-15T13:23:33Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"volumeName": "volume1", | ||
"snapshotName": "snapshot1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {}, | ||
"200": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...on/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"poolName": "pool1", | ||
"volumeName": "volume1", | ||
"snapshotName": "snapshot1", | ||
"api-version": "2020-02-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", | ||
"name": "account1/pool1/volume1/snapshot1", | ||
"type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", | ||
"location": "eastus", | ||
"properties": { | ||
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", | ||
"created": "2017-08-15T13:23:33Z", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.