Skip to content

Commit

Permalink
[NetAppFiles] Anf 8208 update swagger rest api to 2020 09 01 (#11832)
Browse files Browse the repository at this point in the history
* add 2020-09-01 folder

* update api version examples

* Add 2020-09 update, update doc

* Fix througputMips example

* Add missing nextlink to volumes

* Update snapshotvolumelist

* Update prettier

* fix:review comment

Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
  • Loading branch information
audunn and audunn authored Dec 17, 2020
1 parent adfab43 commit 9ac6ebf
Show file tree
Hide file tree
Showing 64 changed files with 6,423 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down Expand Up @@ -3472,7 +3472,7 @@
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"type": "number",
"example": "128.22",
"example": 128.22,
"maximum": 4500,
"minimum": 1,
"multipleOf": 0.001
Expand Down Expand Up @@ -3774,7 +3774,7 @@
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"type": "number",
"example": "128.22",
"example": 128.22,
"maximum": 4500,
"minimum": 1,
"multipleOf": 0.001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@
"Volumes Replication"
],
"summary": "Resync volume replication",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from source to destination.",
"description": "Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source.",
"operationId": "Volumes_ResyncReplication",
"parameters": [
{
Expand Down Expand Up @@ -3472,7 +3472,7 @@
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"type": "number",
"example": "128.22",
"example": 128.22,
"maximum": 4500,
"minimum": 1,
"multipleOf": 0.001
Expand Down Expand Up @@ -3774,7 +3774,7 @@
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"type": "number",
"example": "128.22",
"example": 128.22,
"maximum": 4500,
"minimum": 1,
"multipleOf": 0.001
Expand Down
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",
"api-version": "2020-09-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
}
]
}
}
},
"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": {}
}
}
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-09-01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-09-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",
"aesEncryption": true,
"ldapSigning": true
}
]
}
}
}
}
}
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-09-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"
}
}
]
}
}
}
}
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-09-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": {}
}
}
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-09-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": {}
}
}
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-09-01"
},
"responses": {
"204": {},
"202": {},
"200": {}
}
}
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-09-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
}
]
}
}
}
}
}
Loading

0 comments on commit 9ac6ebf

Please sign in to comment.