Skip to content

Commit 31efd71

Browse files
authored
[NetAppFiles] Anf 16015 net app files 2021-08-01 (#16381)
* Add 2021-08-01 folder * Bump to api-version 2021-08 * Apply cahnges to api-version 2021-08 * Apply changes to api-version 2021-08 * Add VolumeGroups API * prettier * Add VolumeGroups API * Update volumeType desciption * Remove Name from backupPolicyPropertyBag * Remove Name from backupPolicy Examples
1 parent 547fc2c commit 31efd71

File tree

63 files changed

+8264
-2
lines changed

Some content is hidden

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

63 files changed

+8264
-2
lines changed
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+
"api-version": "2021-08-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+
"aesEncryption": true,
20+
"ldapSigning": false,
21+
"ldapOverTLS": false
22+
}
23+
]
24+
}
25+
}
26+
},
27+
"responses": {
28+
"200": {
29+
"body": {
30+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
31+
"name": "account1",
32+
"type": "Microsoft.NetApp/netAppAccounts",
33+
"location": "eastus",
34+
"properties": {
35+
"provisioningState": "Succeeded"
36+
}
37+
}
38+
},
39+
"201": {
40+
"body": {
41+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
42+
"name": "account1",
43+
"type": "Microsoft.NetApp/netAppAccounts",
44+
"location": "eastus",
45+
"properties": {
46+
"provisioningState": "Succeeded"
47+
}
48+
}
49+
}
50+
}
51+
}
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": "2021-08-01"
7+
},
8+
"responses": {
9+
"202": {},
10+
"204": {}
11+
}
12+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2021-08-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+
"domain": "10.10.10.3",
23+
"dns": "10.10.10.3, 10.10.10.4",
24+
"status": "InUse",
25+
"smbServerName": "SMBServer",
26+
"organizationalUnit": "Engineering",
27+
"statusDetails": "Status Details",
28+
"aesEncryption": true,
29+
"ldapSigning": true
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
36+
}
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": "2021-08-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: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2020-11-01",
7+
"body": {
8+
"tags": {
9+
"Tag1": "Value1"
10+
}
11+
}
12+
},
13+
"responses": {
14+
"200": {
15+
"body": {
16+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1",
17+
"name": "account1",
18+
"type": "Microsoft.NetApp/netAppAccounts",
19+
"location": "eastus",
20+
"properties": {
21+
"provisioningState": "Succeeded"
22+
}
23+
}
24+
},
25+
"202": {
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+
"tags": {
32+
"Tag1": "Value1"
33+
},
34+
"properties": {
35+
"provisioningState": "Patching",
36+
"encryption": {
37+
"keySource": "Microsoft.NetApp"
38+
}
39+
}
40+
}
41+
}
42+
}
43+
}
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": "2021-08-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": "2021-08-01"
8+
},
9+
"responses": {
10+
"204": {},
11+
"202": {},
12+
"200": {}
13+
}
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"backupPolicyName": "backupPolicyName",
7+
"api-version": "2021-08-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+
"dailyBackupsToKeep": 10,
18+
"weeklyBackupsToKeep": 10,
19+
"monthlyBackupsToKeep": 10,
20+
"volumesAssigned": 0,
21+
"enabled": true,
22+
"volumeBackups": [
23+
{
24+
"volumeName": "volume 1",
25+
"backupsCount": 5,
26+
"policyEnabled": true
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"api-version": "2021-08-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1",
14+
"name": "account1/backupPolicy1",
15+
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
16+
"location": "eastus",
17+
"properties": {
18+
"dailyBackupsToKeep": 10,
19+
"weeklyBackupsToKeep": 10,
20+
"monthlyBackupsToKeep": 10,
21+
"volumesAssigned": 0,
22+
"enabled": true
23+
}
24+
}
25+
]
26+
}
27+
}
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
4+
"resourceGroupName": "myRG",
5+
"accountName": "account1",
6+
"backupPolicyName": "backupPolicyName",
7+
"api-version": "2021-08-01",
8+
"body": {
9+
"location": "westus",
10+
"properties": {
11+
"dailyBackupsToKeep": 5,
12+
"weeklyBackupsToKeep": 10,
13+
"monthlyBackupsToKeep": 10,
14+
"enabled": false
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+
"provisioningState": "Succeeded",
27+
"dailyBackupsToKeep": 5,
28+
"weeklyBackupsToKeep": 10,
29+
"monthlyBackupsToKeep": 10,
30+
"volumesAssigned": 1,
31+
"enabled": false,
32+
"volumeBackups": [
33+
{
34+
"volumeName": "volume 1",
35+
"backupsCount": 5,
36+
"policyEnabled": true
37+
}
38+
]
39+
}
40+
}
41+
},
42+
"202": {
43+
"body": {
44+
"id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName",
45+
"name": "account1/backupPolicyName",
46+
"type": "Microsoft.NetApp/netAppAccounts/backupPolicies",
47+
"location": "westus",
48+
"properties": {
49+
"provisioningState": "Succeeded",
50+
"dailyBackupsToKeep": 5,
51+
"weeklyBackupsToKeep": 10,
52+
"monthlyBackupsToKeep": 10,
53+
"volumesAssigned": 1,
54+
"enabled": false,
55+
"volumeBackups": [
56+
{
57+
"volumeName": "volume 1",
58+
"backupsCount": 5,
59+
"policyEnabled": true
60+
}
61+
]
62+
}
63+
}
64+
}
65+
}
66+
}

0 commit comments

Comments
 (0)