Skip to content

Commit 4dc7b7e

Browse files
authored
[NetAppFiles]Anf 6195 swagger restapi to2020 06 01 (#10425)
* Inititial commit of 2020-06-01 folder * Update to 2020-06-01 API version * Removed BOM from Backups_Account examples * Spelling errors * Prettier Account_Update example * Update readme * LitDiff fixes * Set format on integer types that where missing format * Set format on integer type * Prettier 2020-02-01 * Format and Prettier 2020-06-01 * Fix lint issues * Renamed ResourceNameAvailability response * Change result of PUT backuppolicy operation * Added 200 to backupPoliciy create, added x-ms-secret to password of ActiveDirectory * backupPolicyDetails add x-ms-azure-resource * Prettier * Prettier example * Updated result of backuppolicy get * Update result type of backupPolicy PUT/PATCH Co-authored-by: Audunn Baldvinsson <[email protected]>
1 parent e52be70 commit 4dc7b7e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+6356
-4
lines changed

custom-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,3 +1872,5 @@ watchlists
18721872
Watchlists
18731873
watchlist
18741874
Watchlist
1875+
Mibps
1876+
ntfs

specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-01/netapp.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,7 @@
19061906
"Ultra"
19071907
],
19081908
"x-ms-enum": {
1909-
"name": "ServiceLevel",
1909+
"name": "PoolServiceLevel",
19101910
"modelAsString": true,
19111911
"values": [
19121912
{
@@ -1991,7 +1991,7 @@
19911991
"Ultra"
19921992
],
19931993
"x-ms-enum": {
1994-
"name": "ServiceLevel",
1994+
"name": "PatchServiceLevel",
19951995
"modelAsString": true,
19961996
"values": [
19971997
{
@@ -2114,7 +2114,7 @@
21142114
"Ultra"
21152115
],
21162116
"x-ms-enum": {
2117-
"name": "ServiceLevel",
2117+
"name": "VolumeServiceLevel",
21182118
"modelAsString": true,
21192119
"values": [
21202120
{
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-06-01",
7+
"body": {
8+
"location": "eastus",
9+
"properties": {
10+
"activeDirectories": [
11+
{
12+
"site": "SiteName",
13+
"username": "ad_user_name",
14+
"password": "ad_password",
15+
"domain": "10.10.10.3",
16+
"dns": "10.10.10.3, 10.10.10.4",
17+
"smbServerName": "SMBServer",
18+
"organizationalUnit": "Engineering"
19+
}
20+
]
21+
}
22+
}
23+
},
24+
"responses": {
25+
"200": {
26+
"body": {
27+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
28+
"name": "account1",
29+
"type": "Microsoft.NetApp/netAppAccounts",
30+
"location": "eastus",
31+
"properties": {
32+
"provisioningState": "Succeeded"
33+
}
34+
}
35+
},
36+
"201": {
37+
"body": {
38+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
39+
"name": "account1",
40+
"type": "Microsoft.NetApp/netAppAccounts",
41+
"location": "eastus",
42+
"properties": {
43+
"provisioningState": "Succeeded"
44+
}
45+
}
46+
},
47+
"202": {}
48+
}
49+
}
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-06-01"
7+
},
8+
"responses": {
9+
"202": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-06-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+
"activeDirectories": [
18+
{
19+
"site": "SiteName",
20+
"activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936",
21+
"username": "ad_user_name",
22+
"password": "****************",
23+
"domain": "10.10.10.3",
24+
"dns": "10.10.10.3, 10.10.10.4",
25+
"status": "InUse",
26+
"smbServerName": "SMBServer",
27+
"organizationalUnit": "Engineering",
28+
"statusDetails": "Status Details"
29+
}
30+
]
31+
}
32+
}
33+
}
34+
}
35+
}
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-06-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-06-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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"backupPolicyName": "backupPolicyName",
7+
"api-version": "2020-06-01",
8+
"body": {
9+
"location": "westus",
10+
"properties": {
11+
"dailyBackupsToKeep": 10,
12+
"weeklyBackupsToKeep": 10,
13+
"monthlyBackupsToKeep": 10,
14+
"enabled": true
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
22+
"name": "account1/backupPolicyName",
23+
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
24+
"location": "westus",
25+
"properties": {
26+
"dailyBackupsToKeep": 10,
27+
"weeklyBackupsToKeep": 10,
28+
"monthlyBackupsToKeep": 10,
29+
"enabled": true,
30+
"provisioningState": "creating"
31+
}
32+
}
33+
},
34+
"201": {
35+
"body": {
36+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
37+
"name": "account1/backupPolicyName",
38+
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
39+
"location": "westus",
40+
"properties": {
41+
"dailyBackupsToKeep": 10,
42+
"weeklyBackupsToKeep": 10,
43+
"monthlyBackupsToKeep": 10,
44+
"enabled": true,
45+
"provisioningState": "creating"
46+
}
47+
}
48+
},
49+
"202": {}
50+
}
51+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "resourceGroup",
5+
"accountName": "accountName",
6+
"backupPolicyName": "backupPolicyName",
7+
"api-version": "2020-06-01"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {},
12+
"200": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"backupPolicyName": "backupPolicyName",
7+
"api-version": "2020-06-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
13+
"name": "account1/backupPolicyName",
14+
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
15+
"location": "eastus",
16+
"properties": {
17+
"name": "Policy 1",
18+
"dailyBackupsToKeep": 10,
19+
"weeklyBackupsToKeep": 10,
20+
"monthlyBackupsToKeep": 10,
21+
"yearlyBackupsToKeep": 10,
22+
"volumesAssigned": 0,
23+
"enabled": true,
24+
"volumeBackups": [
25+
{
26+
"volumeName": "volume 1",
27+
"backupsCount": 5,
28+
"policyEnabled": true
29+
}
30+
]
31+
}
32+
}
33+
}
34+
}
35+
}

0 commit comments

Comments
 (0)