-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Anf 10997 NetApp Files update swagger rest api to 2021-02-01 #13814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
akning-ms
merged 24 commits into
Azure:master
from
audunn:ANF-10997NetAppFilesUpdateSwaggerRestAPI-to-2021-2-01
May 11, 2021
Merged
Changes from 7 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bb423a9
Add api-version 2021-02-01 folder
audunn 57d91d8
apply udpates
audunn c314d81
Update readme
audunn 93518ef
update backaupStatus operationid
audunn a0a7ab0
Update account encryption settings
audunn db4a57e
Pretty
audunn f4ddaec
Fix plural
audunn 25c6d23
Add x-ms-pageable to AccountBackups_List
audunn 2ba02bb
change next link
audunn 452e932
remove tag from backup proxy resource
audunn 3d31b28
revert change to 2020-12
audunn 18e28aa
remove tag from backup proxy resource
audunn d1391c9
Add x-ms-pageable to AccountBackups_List
audunn 25739d5
Pretty
audunn 2ffaf0d
Add Snapshotpolicy to volumePatch
audunn b326f9c
Add Snapshotpolicy to volumeupdate example file
audunn b059d61
Change subscription id in example
audunn c73eda8
Change subscription id in example
audunn bb0e1dd
pretty
audunn a1ecb64
Remove AccountEncryption proptery, some non funcitonal validation war…
audunn e2de3b0
Fix example for backupoperators and securityoperators
audunn f2bb45b
Remove readme.azureresourceschema.md
audunn ecb5218
Adding tags back to backuppatch, removing needs breaking change reivew
audunn d72c9ff
fix prettier
audunn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
58 changes: 58 additions & 0 deletions
58
...resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/Accounts_CreateOrUpdate.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "api-version": "2021-02-01", | ||
| "body": { | ||
| "location": "eastus", | ||
| "properties": { | ||
| "activeDirectories": [ | ||
| { | ||
| "site": "SiteName", | ||
| "username": "ad_user_name", | ||
| "password": "ad_password", | ||
| "domain": "10.10.10.3", | ||
| "dns": "10.10.10.3, 10.10.10.4", | ||
| "smbServerName": "SMBServer", | ||
| "organizationalUnit": "Engineering", | ||
| "aesEncryption": true, | ||
| "ldapSigning": false, | ||
| "ldapOverTLS": false | ||
| } | ||
| ], | ||
| "encryption": { | ||
| "keySource": "Microsoft.KeyVault", | ||
| "keyVaultProperties": { | ||
| "keyVaultUri": "https://my-key-vault.vault.azure.net/", | ||
| "keyName": "TestKey" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
.../netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/Accounts_Delete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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": "2021-02-01" | ||
| }, | ||
| "responses": { | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
50 changes: 50 additions & 0 deletions
50
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/Accounts_Get.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "api-version": "2021-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", | ||
| "activeDirectories": [ | ||
| { | ||
| "site": "SiteName", | ||
| "activeDirectoryId": "02da3711-6c58-2d64-098a-e3af7afaf936", | ||
| "username": "ad_user_name", | ||
| "domain": "10.10.10.3", | ||
| "dns": "10.10.10.3, 10.10.10.4", | ||
| "status": "InUse", | ||
| "smbServerName": "SMBServer", | ||
| "organizationalUnit": "Engineering", | ||
| "statusDetails": "Status Details", | ||
| "aesEncryption": true, | ||
| "ldapSigning": true | ||
| } | ||
| ], | ||
| "encryption": { | ||
| "keySource": "Microsoft.KeyVault", | ||
| "keyVaultProperties": { | ||
| "keyVaultId": "5a7a95a9-39a9-ddd9-06d9-38b0eb5f283c", | ||
| "keyVaultUri": "https://my-key-vault.vault.azure.net/", | ||
| "keyName": "TestKey", | ||
| "status": "Created" | ||
| } | ||
| } | ||
| }, | ||
| "identity": { | ||
| "principalId": "7e0a45da-4f0d-49b6-8c0c-056f03c888fb", | ||
| "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", | ||
| "type": "SystemAssigned" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
24 changes: 24 additions & 0 deletions
24
...on/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/Accounts_List.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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": "2021-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" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
43 changes: 43 additions & 0 deletions
43
.../netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/Accounts_Update.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "api-version": "2021-02-01", | ||
| "body": { | ||
| "tags": { | ||
| "Tag1": "Value1" | ||
| } | ||
| } | ||
| }, | ||
| "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": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", | ||
| "name": "account1", | ||
| "type": "Microsoft.NetApp/netAppAccounts", | ||
| "location": "eastus", | ||
| "tags": { | ||
| "Tag1": "Value1" | ||
| }, | ||
| "properties": { | ||
| "provisioningState": "Patching", | ||
| "encryption": { | ||
| "keySource": "Microsoft.NetApp" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
51 changes: 51 additions & 0 deletions
51
...p/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/BackupPolicies_Create.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "backupPolicyName": "backupPolicyName", | ||
| "api-version": "2021-02-01", | ||
| "body": { | ||
| "location": "westus", | ||
| "properties": { | ||
| "dailyBackupsToKeep": 10, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "enabled": true | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", | ||
| "name": "account1/backupPolicyName", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "westus", | ||
| "properties": { | ||
| "dailyBackupsToKeep": 10, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "enabled": true, | ||
| "provisioningState": "creating" | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", | ||
| "name": "account1/backupPolicyName", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "westus", | ||
| "properties": { | ||
| "dailyBackupsToKeep": 10, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "enabled": true, | ||
| "provisioningState": "creating" | ||
| } | ||
| } | ||
| }, | ||
| "202": {} | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...p/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/BackupPolicies_Delete.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "resourceGroup", | ||
| "accountName": "accountName", | ||
| "backupPolicyName": "backupPolicyName", | ||
| "api-version": "2021-02-01" | ||
| }, | ||
| "responses": { | ||
| "204": {}, | ||
| "202": {}, | ||
| "200": {} | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
...tapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/BackupPolicies_Get.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "backupPolicyName": "backupPolicyName", | ||
| "api-version": "2021-02-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", | ||
| "name": "account1/backupPolicyName", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "eastus", | ||
| "properties": { | ||
| "name": "Policy 1", | ||
| "dailyBackupsToKeep": 10, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "yearlyBackupsToKeep": 10, | ||
| "volumesAssigned": 0, | ||
| "enabled": true, | ||
| "volumeBackups": [ | ||
| { | ||
| "volumeName": "volume 1", | ||
| "backupsCount": 5, | ||
| "policyEnabled": true | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
31 changes: 31 additions & 0 deletions
31
...app/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/BackupPolicies_List.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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", | ||
| "api-version": "2021-02-01" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicy1", | ||
| "name": "account1/backupPolicy1", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "eastus", | ||
| "properties": { | ||
| "name": "Policy 1", | ||
| "dailyBackupsToKeep": 10, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "yearlyBackupsToKeep": 10, | ||
| "volumesAssigned": 0, | ||
| "enabled": true | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
68 changes: 68 additions & 0 deletions
68
...p/resource-manager/Microsoft.NetApp/stable/2021-02-01/examples/BackupPolicies_Update.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
| "resourceGroupName": "myRG", | ||
| "accountName": "account1", | ||
| "backupPolicyName": "backupPolicyName", | ||
| "api-version": "2021-02-01", | ||
| "body": { | ||
| "location": "westus", | ||
| "properties": { | ||
| "dailyBackupsToKeep": 5, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "enabled": false | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", | ||
| "name": "account1/backupPolicyName", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "westus", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "dailyBackupsToKeep": 5, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "yearlyBackupsToKeep": 0, | ||
| "volumesAssigned": 1, | ||
| "enabled": false, | ||
| "volumeBackups": [ | ||
| { | ||
| "volumeName": "volume 1", | ||
| "backupsCount": 5, | ||
| "policyEnabled": true | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "202": { | ||
| "body": { | ||
| "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/backupPolocies/backupPolicyName", | ||
| "name": "account1/backupPolicyName", | ||
| "type": "Microsoft.NetApp/netAppAccounts/backupPolicies", | ||
| "location": "westus", | ||
| "properties": { | ||
| "provisioningState": "Succeeded", | ||
| "dailyBackupsToKeep": 5, | ||
| "weeklyBackupsToKeep": 10, | ||
| "monthlyBackupsToKeep": 10, | ||
| "yearlyBackupsToKeep": 0, | ||
| "volumesAssigned": 1, | ||
| "enabled": false, | ||
| "volumeBackups": [ | ||
| { | ||
| "volumeName": "volume 1", | ||
| "backupsCount": 5, | ||
| "policyEnabled": true | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.