Skip to content
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

[NetAppFiles] Anf 10301 net app files update swagger rest api to 2020 12 01 #13061

Original file line number Diff line number Diff line change
Expand Up @@ -3475,7 +3475,7 @@
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"type": "number",
"default": 0.0,
"example": "128.22",
"example": 128.22,
"maximum": 4500,
"minimum": 0,
"multipleOf": 0.001
Expand Down Expand Up @@ -3779,7 +3779,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 @@ -3811,7 +3811,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 @@ -3894,7 +3894,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,50 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-11-01",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"api-version": "2020-11-01", [](start = 4, length = 28)

Please fix API versions across all the files.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry about that, done

"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"
}
}
}
}
}
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-11-01"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-11-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
}
]
}
}
}
}
}
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-11-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,43 @@
{
"parameters": {
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-11-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"
}
}
}
}
}
}
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-11-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-11-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-11-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
}
]
}
}
}
}
}
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-11-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
}
}
]
}
}
}
}
Loading