forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NetAppFiles]Anf 6195 swagger restapi to2020 06 01 (Azure#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]>
- Loading branch information
Showing
57 changed files
with
6,356 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -1872,3 +1872,5 @@ watchlists | |
Watchlists | ||
watchlist | ||
Watchlist | ||
Mibps | ||
ntfs |
This file contains 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
49 changes: 49 additions & 0 deletions
49
...resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Accounts_CreateOrUpdate.json
This file contains 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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-06-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" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"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": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Accounts_Delete.json
This file contains 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": "2020-06-01" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ion/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Accounts_Get.json
This file contains 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", | ||
"api-version": "2020-06-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", | ||
"password": "****************", | ||
"domain": "10.10.10.3", | ||
"dns": "10.10.10.3, 10.10.10.4", | ||
"status": "InUse", | ||
"smbServerName": "SMBServer", | ||
"organizationalUnit": "Engineering", | ||
"statusDetails": "Status Details" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...on/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Accounts_List.json
This file contains 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": "2020-06-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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
.../netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Accounts_Update.json
This file contains 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,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"api-version": "2020-06-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" | ||
} | ||
} | ||
}, | ||
"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": {} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...p/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/BackupPolicies_Create.json
This file contains 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": "2020-06-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/2020-06-01/examples/BackupPolicies_Delete.json
This file contains 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": "2020-06-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {}, | ||
"200": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...tapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/BackupPolicies_Get.json
This file contains 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": "2020-06-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/2020-06-01/examples/BackupPolicies_List.json
This file contains 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": "2020-06-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 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...p/resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/BackupPolicies_Update.json
This file contains 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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", | ||
"resourceGroupName": "myRG", | ||
"accountName": "account1", | ||
"backupPolicyName": "backupPolicyName", | ||
"api-version": "2020-06-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 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
.../resource-manager/Microsoft.NetApp/stable/2020-06-01/examples/Backups_Account_Delete.json
This file contains 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", | ||
"backupName": "backupName", | ||
"api-version": "2020-06-01" | ||
}, | ||
"responses": { | ||
"204": {}, | ||
"202": {}, | ||
"200": {} | ||
} | ||
} |
Oops, something went wrong.