Skip to content

Commit c6b2a4f

Browse files
audunn00Kai0
authored andcommitted
Anf 567 anf swagger restapi to2020 02 01 no snapshotpolicy (Azure#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]>
1 parent fad1ba4 commit c6b2a4f

32 files changed

+3518
-11
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-02-01",
7+
"body": {
8+
"location": "eastus",
9+
"properties": {}
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
16+
"name": "account1",
17+
"type": "Microsoft.NetApp/netAppAccounts",
18+
"location": "eastus",
19+
"properties": {
20+
"provisioningState": "Succeeded"
21+
}
22+
}
23+
},
24+
"201": {
25+
"body": {
26+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
27+
"name": "account1",
28+
"type": "Microsoft.NetApp/netAppAccounts",
29+
"location": "eastus",
30+
"properties": {
31+
"provisioningState": "Succeeded"
32+
}
33+
}
34+
},
35+
"202": {}
36+
}
37+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-02-01"
7+
},
8+
"responses": {
9+
"202": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-02-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
12+
"name": "account1",
13+
"type": "Microsoft.NetApp/netAppAccounts",
14+
"location": "eastus",
15+
"properties": {
16+
"provisioningState": "Succeeded"
17+
}
18+
}
19+
}
20+
}
21+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"api-version": "2020-02-01"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
13+
"name": "account1",
14+
"type": "Microsoft.NetApp/netAppAccounts",
15+
"location": "eastus",
16+
"properties": {
17+
"provisioningState": "Succeeded"
18+
}
19+
}
20+
]
21+
}
22+
}
23+
}
24+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-02-01",
7+
"body": {}
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
13+
"name": "account1",
14+
"type": "Microsoft.NetApp/netAppAccounts",
15+
"location": "eastus",
16+
"properties": {
17+
"provisioningState": "Succeeded"
18+
}
19+
}
20+
},
21+
"201": {
22+
"body": {
23+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
24+
"name": "account1",
25+
"type": "Microsoft.NetApp/netAppAccounts",
26+
"location": "eastus",
27+
"properties": {
28+
"provisioningState": "Succeeded"
29+
}
30+
}
31+
},
32+
"202": {}
33+
}
34+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"location": "eastus",
5+
"api-version": "2020-02-01",
6+
"body": {
7+
"name": "my-exact-filepth",
8+
"type": "netAppAccount/capacityPools/volume",
9+
"resourceGroup": "myRG"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"isAvailable": true
16+
}
17+
}
18+
}
19+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"location": "eastus",
5+
"api-version": "2020-02-01",
6+
"body": {
7+
"name": "accName",
8+
"type": "netAppAccount",
9+
"resourceGroup": "myRG"
10+
}
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"isAvailable": true
16+
}
17+
}
18+
}
19+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"poolName": "pool1",
7+
"api-version": "2020-02-01",
8+
"body": {
9+
"location": "eastus",
10+
"properties": {
11+
"size": 4398046511104,
12+
"serviceLevel": "Premium"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
20+
"name": "account1/pool1",
21+
"type": "Microsoft.NetApp/netAppAccounts/capacityPools",
22+
"location": "eastus",
23+
"properties": {
24+
"provisioningState": "Succeeded",
25+
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
26+
"serviceLevel": "Premium",
27+
"size": 4398046511104
28+
}
29+
}
30+
},
31+
"201": {
32+
"body": {
33+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
34+
"name": "account1/pool1",
35+
"type": "Microsoft.NetApp/netAppAccounts/capacityPools",
36+
"location": "eastus",
37+
"properties": {
38+
"provisioningState": "Succeeded",
39+
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
40+
"serviceLevel": "Premium",
41+
"size": 4398046511104
42+
}
43+
}
44+
},
45+
"202": {}
46+
}
47+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"poolName": "pool1",
7+
"api-version": "2020-02-01"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {}
12+
}
13+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"poolName": "pool1",
7+
"api-version": "2020-02-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1",
13+
"name": "account1/pool1",
14+
"type": "Microsoft.NetApp/netAppAccounts/capacityPools",
15+
"location": "eastus",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"poolId": "9760acf5-4638-11e7-9bdb-020073ca7778",
19+
"serviceLevel": "Premium",
20+
"size": 4398046511104
21+
}
22+
}
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)