Skip to content

Commit

Permalink
Add new ANF API 2019-11-01 (Azure#8164)
Browse files Browse the repository at this point in the history
* ANF-567 add API 2019-11-01

* ANF-567 add API 2019-11-01

* Update netapp.json

Prettier

* ANF-567 add API 2019-11-01

* ANF-567 add API 2019-11-01

* ANF-567 add new API 2019-11-01
Correct long running operations - add dummy terminal 200 state
  • Loading branch information
leonardbf authored and ssripadham committed Feb 21, 2020
1 parent 2ca3fc3 commit ea14f0a
Show file tree
Hide file tree
Showing 32 changed files with 3,455 additions and 1 deletion.
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-11-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-11-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-11-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-11-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-11-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-11-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": "2019-11-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": "2019-11-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": "2019-11-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": "2019-11-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": "2019-11-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": "2019-11-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,31 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"poolName": "pool1",
"volumeName": "volume1",
"snapshotName": "snapshot1",
"api-version": "2019-11-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",
"fileSystemId": "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": "2019-11-01"
},
"responses": {
"204": {},
"202": {},
"200": {}
}
}
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",
"volumeName": "volume1",
"snapshotName": "snapshot1",
"api-version": "2019-11-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",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"created": "2017-08-15T13:23:33Z",
"provisioningState": "Succeeded"
}
}
}
}
}
Loading

0 comments on commit ea14f0a

Please sign in to comment.