Skip to content

Commit

Permalink
Anf 567 anf swagger restapi to2020 02 01 no snapshotpolicy (#9742)
Browse files Browse the repository at this point in the history
* 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
audunn and audunn authored Jul 24, 2020
1 parent 60ff1f4 commit 327dad2
Show file tree
Hide file tree
Showing 32 changed files with 3,518 additions and 11 deletions.
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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": {}
}
}
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
}
}
}
}
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
}
}
}
}
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": {}
}
}
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": {}
}
}
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
}
}
}
}
}
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
}
}
]
}
}
}
}
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": {}
}
}
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": {}
}
}
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": {}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 327dad2

Please sign in to comment.