From cd1b5c9510b0e46b7a9aaa2b4aeb170f96979ae8 Mon Sep 17 00:00:00 2001 From: leonard Date: Fri, 25 Oct 2019 16:23:17 +0000 Subject: [PATCH 01/14] ANF-327 New swagger for 2019-08-01 API For R6. Initial version, identical to 2019-07-01 as baseline. --- .../examples/Accounts_CreateOrUpdate.json | 30 + .../2019-08-01/examples/Accounts_Delete.json | 12 + .../2019-08-01/examples/Accounts_Get.json | 18 + .../2019-08-01/examples/Accounts_List.json | 21 + .../2019-08-01/examples/Accounts_Update.json | 20 + .../examples/CheckFilePathAvailability.json | 19 + .../examples/CheckNameAvailability.json | 19 + .../examples/MountTargets_List.json | 33 + .../examples/Pools_CreateOrUpdate.json | 41 + .../2019-08-01/examples/Pools_Delete.json | 13 + .../stable/2019-08-01/examples/Pools_Get.json | 22 + .../2019-08-01/examples/Pools_List.json | 25 + .../2019-08-01/examples/Pools_Update.json | 24 + .../2019-08-01/examples/Snapshots_Create.json | 28 + .../2019-08-01/examples/Snapshots_Delete.json | 16 + .../2019-08-01/examples/Snapshots_Get.json | 24 + .../2019-08-01/examples/Snapshots_List.json | 27 + .../2019-08-01/examples/Snapshots_Update.json | 26 + .../examples/Volumes_CreateOrUpdate.json | 48 + .../2019-08-01/examples/Volumes_Delete.json | 14 + .../2019-08-01/examples/Volumes_Get.json | 25 + .../2019-08-01/examples/Volumes_List.json | 28 + .../2019-08-01/examples/Volumes_Update.json | 27 + .../stable/2019-08-01/netapp.json | 2358 +++++++++++++++++ 24 files changed, 2918 insertions(+) create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json new file mode 100644 index 000000000000..23b886874e54 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-07-01", + "body": { + "location": "eastus" + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json new file mode 100644 index 000000000000..02e5f9dcdff8 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-07-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json new file mode 100644 index 000000000000..8d66e1d9a64b --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-05-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json new file mode 100644 index 000000000000..420d52e4bc14 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json new file mode 100644 index 000000000000..a339211b0eed --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-07-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json new file mode 100644 index 000000000000..07a82007b19a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "location": "eastus", + "api-version": "2019-07-01", + "body": { + "name": "my-exact-filepth", + "type": "netAppAccount/capacityPools/volume", + "resourceGroup": "myrg" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json new file mode 100644 index 000000000000..c4f861e24e16 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "location": "eastus", + "api-version": "2019-07-01", + "body": { + "name": "accName", + "type": "netAppAccount", + "resourceGroup": "myrg" + } + }, + "responses": { + "200": { + "body": { + "isAvailable": true + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json new file mode 100644 index 000000000000..135cee712e5a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "endIp": "1.2.3.4", + "mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "startIp": "1.2.3.4", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "subnet": "1.2.3.4", + "netmask": "255.255.255.0", + "ipAddress": "1.2.3.4", + "gateway": "1.2.3.4", + "smbServerFqdn": "fullyqualified.domainname.com", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json new file mode 100644 index 000000000000..314995cbcaaf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-07-01", + "body": { + "location": "eastus", + "properties": { + "size": 4398046511104, + "serviceLevel": "Premium" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json new file mode 100644 index 000000000000..5d521e774da5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-07-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json new file mode 100644 index 000000000000..114854dae1a7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json new file mode 100644 index 000000000000..1dfa390d4c7f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json new file mode 100644 index 000000000000..eb6bc16169ac --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-07-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "provisioningState": "Created", + "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "serviceLevel": "Premium", + "size": 4398046511104 + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json new file mode 100644 index 000000000000..aa15a7c3cfe5 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-07-01", + "body": { + "location": "eastus" + } + }, + "responses": { + "201": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json new file mode 100644 index 000000000000..d3a9c516244c --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-07-01" + }, + "responses": { + "204": {}, + "202": {}, + "200": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json new file mode 100644 index 000000000000..259b2291f651 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json new file mode 100644 index 000000000000..c05bb76975b3 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json new file mode 100644 index 000000000000..2bee6a23f8e7 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "snapshotName": "snapshotName", + "api-version": "2019-07-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", + "created": "2017-08-15T13:23:33Z", + "provisioningState": "Created" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json new file mode 100644 index 000000000000..a02103f2ffaf --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01", + "body": { + "location": "eastus", + "properties": { + "serviceLevel": "Premium", + "creationToken": "my-unique-file-path", + "usageThreshold": 107374182400, + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "201": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json new file mode 100644 index 000000000000..902afd17fd4d --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01" + }, + "responses": { + "204": {}, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json new file mode 100644 index 000000000000..25634dbaff00 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json new file mode 100644 index 000000000000..d48101b88c0f --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "api-version": "2019-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json new file mode 100644 index 000000000000..259affa8416e --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroup", + "accountName": "accountName", + "poolName": "poolName", + "volumeName": "volumeName", + "api-version": "2019-07-01", + "body": {} + }, + "responses": { + "200": { + "body": { + "location": "eastus", + "properties": { + "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", + "creationToken": "some-amazing-filepath", + "usageThreshold": 107374182400, + "serviceLevel": "Premium", + "provisioningState": "Created", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + } + } + }, + "202": {} + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json new file mode 100644 index 000000000000..ea1fa7b7abc2 --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -0,0 +1,2358 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft NetApp", + "description": "Microsoft NetApp Azure Resource Provider specification", + "version": "2019-07-01", + "x-ms-code-generation-settings": { + "name": "AzureNetAppFilesManagementClient" + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "host": "management.azure.com", + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.NetApp/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "Describes the Resource Provider", + "description": "Lists all of the available Microsoft.NetApp Rest API operations", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkNameAvailability": { + "post": { + "summary": "Check resource name availability", + "description": "Check if a resource name is available.", + "operationId": "CheckNameAvailability", + "parameters": [ + { + "name": "body", + "in": "body", + "description": "Name availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + }, + "x-ms-client-flatten": true + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/location" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "CheckNameAvailability": { + "$ref": "examples/CheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability": { + "post": { + "summary": "Check file path availability", + "description": "Check if a file path is available.", + "operationId": "CheckFilePathAvailability", + "parameters": [ + { + "name": "body", + "in": "body", + "description": "File path availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/ResourceNameAvailabilityRequest" + }, + "x-ms-client-flatten": true + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/location" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceNameAvailability" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "CheckFilePathAvailability": { + "$ref": "examples/CheckFilePathAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "summary": "Describe all NetApp Accounts in a resource group", + "description": "List and describe all NetApp accounts in the resource group", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccountList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "examples/Accounts_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { + "get": { + "summary": "Describe a NetApp Account", + "description": "Get the NetApp account", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_Get": { + "$ref": "examples/Accounts_Get.json" + } + } + }, + "put": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_CreateOrUpdate", + "summary": "Create or update a NetApp account", + "description": "Create or update the specified NetApp account within the resource group", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - account updated", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "201": { + "description": "Account created", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_CreateOrUpdate": { + "$ref": "examples/Accounts_CreateOrUpdate.json" + } + } + }, + "delete": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Delete", + "summary": "Delete a NetApp account", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "Delete the specified NetApp account", + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Accounts_Delete": { + "$ref": "examples/Accounts_Delete.json" + } + } + }, + "patch": { + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_Update", + "summary": "Update a NetApp account", + "description": "Patch the specified NetApp account", + "parameters": [ + { + "name": "body", + "description": "NetApp Account object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/netAppAccountPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - account updated", + "schema": { + "$ref": "#/definitions/netAppAccount" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_Update": { + "$ref": "examples/Accounts_Update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { + "get": { + "summary": "Describe all Capacity Pools", + "description": "List all capacity pools in the NetApp Account", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPoolList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_List": { + "$ref": "examples/Pools_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { + "get": { + "summary": "Describe a Capacity Pool", + "description": "Get details of the specified capacity pool", + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_Get": { + "$ref": "examples/Pools_Get.json" + } + } + }, + "put": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_CreateOrUpdate", + "summary": "Create or Update the specified capacity pool within the resource group", + "description": "Create or Update a capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK - pool updated", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "201": { + "description": "Pool created", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_CreateOrUpdate": { + "$ref": "examples/Pools_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Update", + "summary": "Update a capacity pool", + "description": "Patch the specified capacity pool", + "parameters": [ + { + "name": "body", + "description": "Capacity pool object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/capacityPoolPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/capacityPool" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Pools_Update": { + "$ref": "examples/Pools_Update.json" + } + } + }, + "delete": { + "tags": [ + "Capacity Pools" + ], + "operationId": "Pools_Delete", + "summary": "Delete a capacity pool", + "description": "Delete the specified capacity pool", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Pools_Delete": { + "$ref": "examples/Pools_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { + "get": { + "summary": "Describe all volumes", + "description": "List all volumes within the capacity pool", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "tags": [ + "Volumes" + ], + "operationId": "Volumes_List", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volumeList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_List": { + "$ref": "examples/Volumes_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { + "get": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Get", + "summary": "Describe a volume", + "description": "Get the details of the specified volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_Get": { + "$ref": "examples/Volumes_Get.json" + } + } + }, + "put": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_CreateOrUpdate", + "summary": "Create or Update a volume", + "description": "Create or update the specified volume within the capacity pool", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volume" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Ok - volume updated", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "201": { + "description": "Volume created", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_CreateOrUpdate": { + "$ref": "examples/Volumes_CreateOrUpdate.json" + } + } + }, + "patch": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Update", + "summary": "Update a volume", + "description": "Patch the specified volume", + "parameters": [ + { + "name": "body", + "description": "Volume object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/volumePatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/volume" + } + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Volumes_Update": { + "$ref": "examples/Volumes_Update.json" + } + } + }, + "delete": { + "tags": [ + "Volumes" + ], + "operationId": "Volumes_Delete", + "summary": "Delete a volume", + "description": "Delete the specified volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Volumes_Delete": { + "$ref": "examples/Volumes_Delete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { + "get": { + "tags": [ + "MountTargets" + ], + "operationId": "MountTargets_List", + "summary": "Describe all mount targets", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "List all mount targets associated with the volume", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/mountTargetList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "MountTargets_List": { + "$ref": "examples/MountTargets_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_List", + "summary": "Describe all snapshots", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "description": "List all snapshots associated with the volume", + "x-ms-pageable": { + "nextLinkName": null + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshotsList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_List": { + "$ref": "examples/Snapshots_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { + "get": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Get", + "summary": "Describe a snapshot", + "description": "Get details of the specified snapshot", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "examples/Snapshots_Get.json" + } + } + }, + "put": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Create", + "summary": "Create a snapshot", + "description": "Create the specified snapshot within the given volume", + "parameters": [ + { + "name": "body", + "description": "Snapshot object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Snapshot created", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "202": { + "description": "Accepted -- Create request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Snapshots_Create": { + "$ref": "examples/Snapshots_Create.json" + } + } + }, + "patch": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Update", + "summary": "Update a snapshot", + "description": "Patch a snapshot", + "parameters": [ + { + "name": "body", + "description": "Snapshot object supplied in the body of the operation.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/snapshotPatch" + } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshot" + } + }, + "202": { + "description": "Accepted -- Update request accepted; operation will complete asynchronously" + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Snapshots_Update": { + "$ref": "examples/Snapshots_Update.json" + } + } + }, + "delete": { + "tags": [ + "Snapshots" + ], + "operationId": "Snapshots_Delete", + "summary": "Delete a snapshot", + "description": "Delete snapshot", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/SnapshotName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted -- Create, update or delete request accepted; operation will complete asynchronously" + }, + "204": { + "description": "NoContent -- Resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Snapshots_Delete": { + "$ref": "examples/Snapshots_Delete.json" + } + } + } + } + }, + "definitions": { + "OperationListResult": { + "description": "Result of the request to list Cloud Volume operations. It contains a list of operations and a URL link to get the next set of results.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of Storage operations supported by the Storage resource provider." + } + } + }, + "Operation": { + "description": "Microsoft.NetApp REST API operation definition.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "description": "Service provider: Microsoft NetApp.", + "type": "string" + }, + "resource": { + "description": "Resource on which the operation is performed etc.", + "type": "string" + }, + "operation": { + "description": "Type of operation: get, read, delete, etc.", + "type": "string" + }, + "description": { + "description": "Operation description.", + "type": "string" + } + } + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true + } + } + }, + "OperationProperties": { + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "ServiceSpecification": { + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "description": "Metric specifications of operation.", + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "MetricSpecification": { + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "description": "Dimensions of blobs, including blob type and access tier.", + "type": "array", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "Dimension": { + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "ResourceNameAvailability": { + "description": "Information regarding availability of a resource name.", + "type": "object", + "properties": { + "isAvailable": { + "description": "true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.", + "type": "boolean" + }, + "reason": { + "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "x-ms-enum": { + "name": "InAvailabilityReasonType", + "modelAsString": true + } + }, + "message": { + "description": "If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.", + "type": "string" + } + } + }, + "ResourceNameAvailabilityRequest": { + "description": "Resource name availability request content.", + "required": [ + "name", + "type", + "resourceGroup" + ], + "type": "object", + "properties": { + "name": { + "description": "Resource name to verify.", + "type": "string" + }, + "type": { + "description": "Resource type used for verification.", + "enum": [ + "Microsoft.NetApp/netAppAccounts", + "Microsoft.NetApp/netAppAccounts/capacityPools", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", + "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" + ], + "type": "string", + "x-ms-enum": { + "name": "CheckNameResourceTypes", + "modelAsString": true + } + }, + "resourceGroup": { + "description": "Resource group name.", + "type": "string" + } + } + }, + "netAppAccountList": { + "description": "List of NetApp account resources", + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Multiple NetApp accounts", + "items": { + "$ref": "#/definitions/netAppAccount" + } + } + } + }, + "netAppAccount": { + "description": "NetApp account resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "NetApp Account properties", + "$ref": "#/definitions/accountProperties", + "x-ms-client-flatten": true + } + } + }, + "netAppAccountPatch": { + "description": "NetApp account patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "NetApp Account properties", + "$ref": "#/definitions/accountProperties", + "x-ms-client-flatten": true + } + } + }, + "accountProperties": { + "description": "NetApp account properties", + "type": "object", + "properties": { + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + }, + "activeDirectories": { + "description": "Active Directories", + "type": "array", + "items": { + "$ref": "#/definitions/activeDirectory" + } + } + } + }, + "activeDirectory": { + "description": "Active Directory", + "type": "object", + "properties": { + "activeDirectoryId": { + "type": "string", + "description": "Id of the Active Directory" + }, + "username": { + "type": "string", + "description": "Username of Active Directory domain administrator" + }, + "password": { + "type": "string", + "description": "Plain text password of Active Directory domain administrator" + }, + "domain": { + "type": "string", + "description": "Name of the Active Directory domain" + }, + "dns": { + "type": "string", + "description": "Comma separated list of DNS server IP addresses for the Active Directory domain" + }, + "status": { + "type": "string", + "description": "Status of the Active Directory" + }, + "smbServerName": { + "type": "string", + "description": "NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes" + }, + "organizationalUnit": { + "type": "string", + "description": "The Organizational Unit (OU) within the Windows Active Directory" + } + } + }, + "capacityPoolList": { + "description": "List of capacity pool resources", + "type": "object", + "properties": { + "value": { + "description": "List of Capacity pools", + "type": "array", + "items": { + "$ref": "#/definitions/capacityPool" + } + } + } + }, + "capacityPool": { + "description": "Capacity pool resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Capacity pool properties", + "$ref": "#/definitions/poolProperties", + "x-ms-client-flatten": true + } + } + }, + "poolProperties": { + "description": "Pool properties", + "type": "object", + "required": [ + "size", + "serviceLevel" + ], + "properties": { + "poolId": { + "title": "poolId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Pool", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "size": { + "title": "size", + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).", + "minimum": 4398046511104, + "maximum": 549755813888000 + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "capacityPoolPatch": { + "description": "Capacity pool patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Capacity pool properties", + "$ref": "#/definitions/poolPatchProperties", + "x-ms-client-flatten": true + } + } + }, + "poolPatchProperties": { + "description": "Patchable pool properties", + "type": "object", + "properties": { + "size": { + "title": "size", + "type": "integer", + "format": "int64", + "description": "Provisioned size of the pool (in bytes). Allowed values are in 4TiB chunks (value must be multiply of 4398046511104).", + "minimum": 4398046511104, + "maximum": 549755813888000, + "default": 4398046511104 + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + } + } + }, + "volumeList": { + "description": "List of volume resources", + "type": "object", + "properties": { + "value": { + "description": "List of volumes", + "type": "array", + "items": { + "$ref": "#/definitions/volume" + } + } + } + }, + "volume": { + "description": "Volume resource", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Volume properties", + "$ref": "#/definitions/volumeProperties", + "x-ms-client-flatten": true + } + } + }, + "resourceTags": { + "description": "Resource tags", + "type": "object" + }, + "volumeProperties": { + "description": "Volume properties", + "type": "object", + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], + "properties": { + "fileSystemId": { + "title": "FileSystem ID", + "type": "string", + "readOnly": true, + "description": "Unique FileSystem Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca7778" + }, + "creationToken": { + "title": "Creation Token or File Path", + "type": "string", + "description": "A unique file path for the volume. Used when creating mount targets", + "minimum": 16, + "maximum": 40, + "example": "some-amazing-filepath" + }, + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.", + "minimum": 107374182400, + "maximum": 109951162777600, + "default": 107374182400, + "example": 107374182400 + }, + "exportPolicy": { + "title": "exportPolicy", + "description": "Set of export policy rules", + "properties": { + "rules": { + "title": "Export policy rule", + "description": "Export policy rule", + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } + }, + "protocolTypes": { + "title": "protocolTypes", + "description": "Set of protocol types", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "NFSv3", + "NFSv4.1" + ] + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + }, + "snapshotId": { + "title": "Snapshot ID", + "type": "string", + "description": "UUID v4 or resource identifier used to identify the Snapshot.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "baremetalTenantId": { + "title": "Baremetal Tenant ID", + "type": "string", + "readOnly": true, + "description": "Unique Baremetal Tenant Identifier.", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9560acf5-4e3a-12e7-9bdb-02007cca7779" + }, + "subnetId": { + "type": "string", + "description": "The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes" + }, + "mountTargets": { + "title": "mountTargets", + "description": "List of mount targets", + "items": { + "$ref": "#/definitions/mountTargetList" + } + } + } + }, + "exportPolicyRule": { + "description": "Volume Export Policy Rule", + "type": "object", + "properties": { + "ruleIndex": { + "type": "integer", + "description": "Order index" + }, + "unixReadOnly": { + "type": "boolean", + "description": "Read only access" + }, + "unixReadWrite": { + "type": "boolean", + "description": "Read and write access" + }, + "cifs": { + "type": "boolean", + "description": "Allows CIFS protocol" + }, + "nfsv3": { + "type": "boolean", + "description": "Allows NFSv3 protocol" + }, + "nfsv41": { + "type": "boolean", + "description": "Allows NFSv4.1 protocol" + }, + "allowedClients": { + "type": "string", + "description": "Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names" + } + } + }, + "volumePatch": { + "description": "Volume patch resource", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags" + }, + "properties": { + "description": "Patchable volume properties", + "$ref": "#/definitions/volumePatchProperties", + "x-ms-client-flatten": true + } + } + }, + "volumePatchProperties": { + "description": "Patchable volume properties", + "type": "object", + "properties": { + "serviceLevel": { + "title": "serviceLevel", + "type": "string", + "description": "The service level of the file system", + "enum": [ + "Standard", + "Premium", + "Ultra" + ], + "x-ms-enum": { + "name": "ServiceLevel", + "modelAsString": true, + "values": [ + { + "value": "Standard", + "description": "Standard service level" + }, + { + "value": "Premium", + "description": "Premium service level" + }, + { + "value": "Ultra", + "description": "Ultra service level" + } + ] + }, + "example": "Ultra", + "default": "Premium" + }, + "usageThreshold": { + "title": "usageThreshold", + "type": "integer", + "format": "int64", + "description": "Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes.", + "minimum": 107374182400, + "maximum": 109951162777600, + "default": 107374182400, + "example": 107374182400 + }, + "exportPolicy": { + "title": "exportPolicy", + "description": "Set of export policy rules", + "properties": { + "rules": { + "title": "Export policy rule", + "description": "Export policy rule", + "type": "array", + "items": { + "$ref": "#/definitions/exportPolicyRule" + } + } + } + } + } + }, + "mountTargetList": { + "description": "List of Mount Targets", + "type": "object", + "properties": { + "value": { + "description": "A list of Mount targets", + "type": "array", + "items": { + "$ref": "#/definitions/mountTarget" + } + } + } + }, + "mountTarget": { + "description": "Mount Target", + "type": "object", + "required": [ + "location", + "properties" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location" + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Mount Target Properties", + "$ref": "#/definitions/mountTargetProperties", + "x-ms-client-flatten": true + } + } + }, + "mountTargetProperties": { + "description": "Mount target properties", + "type": "object", + "required": [ + "fileSystemId" + ], + "properties": { + "mountTargetId": { + "title": "mountTargetId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the MountTarget", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "ipAddress": { + "title": "ipAddress", + "description": "The mount target's IPv4 address", + "type": "string", + "readOnly": true, + "example": "1.2.3.4" + }, + "subnet": { + "title": "subnet", + "type": "string", + "description": "The subnet", + "example": "1.2.3.4" + }, + "startIp": { + "title": "startIp", + "description": "The start of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "endIp": { + "title": "endIp", + "description": "The end of IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "gateway": { + "title": "gateway", + "description": "The gateway of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "1.2.3.4" + }, + "netmask": { + "title": "netmask", + "description": "The netmask of the IPv4 address range to use when creating a new mount target", + "type": "string", + "example": "255.255.255.0" + }, + "smbServerFqdn": { + "title": "smbServerFQDN", + "description": "The SMB server's Fully Qualified Domain Name, FQDN", + "type": "string", + "example": "fullyqualified.domainname.com" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + }, + "snapshotsList": { + "description": "List of Snapshots", + "type": "object", + "properties": { + "value": { + "description": "A list of Snapshots", + "type": "array", + "items": { + "$ref": "#/definitions/snapshot" + } + } + } + }, + "snapshot": { + "description": "Snapshot of a Volume", + "type": "object", + "x-ms-azure-resource": true, + "required": [ + "location" + ], + "properties": { + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "id": { + "type": "string", + "readOnly": true, + "description": "Resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + }, + "properties": { + "description": "Snapshot Properties", + "$ref": "#/definitions/snapshotProperties", + "x-ms-client-flatten": true + } + } + }, + "snapshotPatch": { + "description": "Snapshot patch", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "tags": { + "description": "Resource tags", + "$ref": "#/definitions/resourceTags", + "x-ms-client-flatten": true + } + } + }, + "snapshotProperties": { + "description": "Snapshot properties", + "type": "object", + "properties": { + "snapshotId": { + "title": "snapshotId", + "type": "string", + "readOnly": true, + "description": "UUID v4 used to identify the Snapshot", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "fileSystemId": { + "title": "fileSystemId", + "type": "string", + "description": "UUID v4 used to identify the FileSystem", + "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", + "maxLength": 36, + "minLength": 36, + "example": "9760acf5-4638-11e7-9bdb-020073ca3333" + }, + "created": { + "title": "name", + "type": "string", + "format": "date-time", + "readOnly": true, + "description": "The creation date of the snapshot", + "example": "2017-08-15 13:23:33" + }, + "provisioningState": { + "type": "string", + "readOnly": true, + "description": "Azure lifecycle management" + } + } + } + }, + "parameters": { + "SubscriptionId": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "location": { + "name": "location", + "description": "The location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceGroup": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90, + "x-ms-parameter-location": "method" + }, + "AccountName": { + "name": "accountName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the NetApp account", + "x-ms-parameter-location": "method" + }, + "PoolName": { + "name": "poolName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the capacity pool", + "x-ms-parameter-location": "method" + }, + "VolumeName": { + "name": "volumeName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the volume", + "x-ms-parameter-location": "method" + }, + "MountTargetName": { + "name": "mountTargetName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "SnapshotName": { + "name": "snapshotName", + "type": "string", + "in": "path", + "required": true, + "description": "The name of the mount target", + "x-ms-parameter-location": "method" + }, + "ApiVersionParameter": { + "name": "api-version", + "description": "Version of the API to be used with the client request.", + "in": "query", + "type": "string", + "required": true, + "default": "2019-07-01" + } + } +} From 6998394f636aceb028cb6a130f976cf318c48025 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 28 Oct 2019 12:09:49 +0000 Subject: [PATCH 02/14] ANF-327 New swagger for 2019-08-01 API For R6 Amendments to 08 baseline version - corrections to dates - R6 specific alterations --- .../stable/2019-05-01/netapp.json | 2 +- .../examples/Accounts_CreateOrUpdate.json | 2 +- .../2019-06-01/examples/Accounts_Delete.json | 2 +- .../2019-06-01/examples/Accounts_Get.json | 2 +- .../2019-06-01/examples/Accounts_List.json | 2 +- .../2019-06-01/examples/Accounts_Update.json | 2 +- .../examples/CheckFilePathAvailability.json | 2 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/MountTargets_List.json | 2 +- .../examples/Pools_CreateOrUpdate.json | 2 +- .../2019-06-01/examples/Pools_Delete.json | 2 +- .../stable/2019-06-01/examples/Pools_Get.json | 2 +- .../2019-06-01/examples/Pools_List.json | 2 +- .../2019-06-01/examples/Pools_Update.json | 2 +- .../2019-06-01/examples/Snapshots_Create.json | 2 +- .../2019-06-01/examples/Snapshots_Delete.json | 2 +- .../2019-06-01/examples/Snapshots_Get.json | 2 +- .../2019-06-01/examples/Snapshots_List.json | 2 +- .../2019-06-01/examples/Snapshots_Update.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 2 +- .../2019-06-01/examples/Volumes_Delete.json | 2 +- .../2019-06-01/examples/Volumes_Get.json | 2 +- .../2019-06-01/examples/Volumes_List.json | 2 +- .../2019-06-01/examples/Volumes_Update.json | 2 +- .../stable/2019-06-01/netapp.json | 7 +-- .../2019-07-01/examples/Accounts_Get.json | 2 +- .../stable/2019-07-01/netapp.json | 5 +- .../examples/Accounts_CreateOrUpdate.json | 2 +- .../2019-08-01/examples/Accounts_Delete.json | 2 +- .../2019-08-01/examples/Accounts_Get.json | 2 +- .../2019-08-01/examples/Accounts_List.json | 2 +- .../2019-08-01/examples/Accounts_Update.json | 2 +- .../examples/CheckFilePathAvailability.json | 2 +- .../examples/CheckNameAvailability.json | 2 +- .../examples/MountTargets_List.json | 2 +- .../examples/Pools_CreateOrUpdate.json | 2 +- .../2019-08-01/examples/Pools_Delete.json | 2 +- .../stable/2019-08-01/examples/Pools_Get.json | 2 +- .../2019-08-01/examples/Pools_List.json | 2 +- .../2019-08-01/examples/Pools_Update.json | 2 +- .../2019-08-01/examples/Snapshots_Create.json | 2 +- .../2019-08-01/examples/Snapshots_Delete.json | 2 +- .../2019-08-01/examples/Snapshots_Get.json | 2 +- .../2019-08-01/examples/Snapshots_List.json | 2 +- .../2019-08-01/examples/Snapshots_Update.json | 2 +- .../examples/Volumes_CreateOrUpdate.json | 2 +- .../2019-08-01/examples/Volumes_Delete.json | 2 +- .../2019-08-01/examples/Volumes_Get.json | 2 +- .../2019-08-01/examples/Volumes_List.json | 2 +- .../2019-08-01/examples/Volumes_Update.json | 2 +- .../stable/2019-08-01/netapp.json | 61 ++++++++++++++++--- .../netapp/resource-manager/readme.go.md | 10 +++ .../netapp/resource-manager/readme.java.md | 14 +++++ .../netapp/resource-manager/readme.md | 12 +++- 54 files changed, 140 insertions(+), 65 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json index ecae3bae0891..245c83d88b3c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json @@ -1726,7 +1726,7 @@ }, "nfsv4": { "type": "boolean", - "description": "Allows NFSv4 protocol" + "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later" }, "allowedClients": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json index f7e8185facac..0158a70fb30c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "location": "eastus" } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json index 8968a51a5a99..d049c0350a07 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json index 8d66e1d9a64b..9729364d74c0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json index 4c8836049b95..30badb9d3ee7 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_List.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json index f4d5bf8d5031..9059646327f0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Accounts_Update.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json index cf432f1c14d7..87a3b9e12df5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckFilePathAvailability.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "location": "eastus", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "name": "my-exact-filepth", "type": "netAppAccount/capacityPools/volume", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json index 05afbf0db5d4..8579eda54950 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/CheckNameAvailability.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "location": "eastus", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "name": "accName", "type": "netAppAccount", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json index f3ee2188744e..3b9b4cb96a9f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/MountTargets_List.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json index 9b7c0eac8a3d..07c8118ac9df 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_CreateOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "location": "eastus", "properties": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json index 949559f94709..fc184b1459d0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json index a0994c4c9805..1884e9b99420 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json index 101578bc6c93..ea75d5004fa4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_List.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json index 352fb9f2bff3..ff3252ca444a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Pools_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json index 19a57beace0a..966e674d6fc4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Create.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "location": "eastus" } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json index b6f87582dda5..9019401f8961 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Delete.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json index 762f230637d1..1078047ed3fa 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Get.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json index 5bf9ef6dbc3e..465e1547cee8 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_List.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json index 626d011ca2ef..f26da8a65957 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Snapshots_Update.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json index 5d5d05bac956..486f16fdebeb 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_CreateOrUpdate.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": { "location": "eastus", "properties": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json index c497f27bf6e8..a1b8721b532c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Delete.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json index fb6864c7e431..7f41dcbe946a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Get.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json index e707fe00a83d..7992afab88b5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_List.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-05-01" + "api-version": "2019-06-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json index dd2c40ea4091..c9d53e15f628 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/examples/Volumes_Update.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-05-01", + "api-version": "2019-06-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index 185bff3eace0..f4157fd6e322 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -1878,10 +1878,7 @@ "items": { "type": "string" }, - "example": [ - "NFSv3", - "NFSv4" - ] + "example": [ "NFSv3", "NFSv4" ] }, "provisioningState": { "type": "string", @@ -1946,7 +1943,7 @@ }, "nfsv4": { "type": "boolean", - "description": "Allows NFSv4 protocol" + "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later", }, "allowedClients": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json index 8d66e1d9a64b..9abf7cc79a1e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/examples/Accounts_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01" + "api-version": "2019-07-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json index ea1fa7b7abc2..75282ef7fa0e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json @@ -1878,10 +1878,7 @@ "items": { "type": "string" }, - "example": [ - "NFSv3", - "NFSv4.1" - ] + "example": [ "NFSv4.1" ] }, "provisioningState": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json index 23b886874e54..8448b4788995 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "location": "eastus" } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json index 02e5f9dcdff8..3cf56e04e053 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json index 8d66e1d9a64b..aba12c87df7b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-05-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json index 420d52e4bc14..2cae6501e676 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json index a339211b0eed..a1acf96502c1 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json index 07a82007b19a..7535375321ed 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "location": "eastus", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "name": "my-exact-filepth", "type": "netAppAccount/capacityPools/volume", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json index c4f861e24e16..8d0153ca6149 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "subscriptionId", "location": "eastus", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "name": "accName", "type": "netAppAccount", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json index 135cee712e5a..b2ae6d9ad4d6 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json index 314995cbcaaf..47c1358d0a93 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "location": "eastus", "properties": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json index 5d521e774da5..0cb08d9fc16f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json index 114854dae1a7..23bbcb5adaba 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json index 1dfa390d4c7f..7c8ba29d3a16 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json @@ -3,7 +3,7 @@ "subscriptionId": "subscriptionId", "resourceGroupName": "resourceGroup", "accountName": "accountName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json index eb6bc16169ac..452ff04ae9a5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json index aa15a7c3cfe5..7a244157dd8a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "location": "eastus" } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json index d3a9c516244c..8f0d11507c02 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json index 259b2291f651..91e07d686784 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json index c05bb76975b3..4d8367ce834d 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json index 2bee6a23f8e7..1d120ac4f7fd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json @@ -6,7 +6,7 @@ "poolName": "poolName", "volumeName": "volumeName", "snapshotName": "snapshotName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json index a02103f2ffaf..7c01278630fc 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": { "location": "eastus", "properties": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json index 902afd17fd4d..a5c7e28b4e27 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "204": {}, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json index 25634dbaff00..71c21560cacb 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json index d48101b88c0f..d2bf8c132880 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup", "accountName": "accountName", "poolName": "poolName", - "api-version": "2019-07-01" + "api-version": "2019-08-01" }, "responses": { "200": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json index 259affa8416e..c2268ca80e15 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json @@ -5,7 +5,7 @@ "accountName": "accountName", "poolName": "poolName", "volumeName": "volumeName", - "api-version": "2019-07-01", + "api-version": "2019-08-01", "body": {} }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index ea1fa7b7abc2..f0b0ca29fec4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -3,7 +3,7 @@ "info": { "title": "Microsoft NetApp", "description": "Microsoft NetApp Azure Resource Provider specification", - "version": "2019-07-01", + "version": "2019-08-01", "x-ms-code-generation-settings": { "name": "AzureNetAppFilesManagementClient" } @@ -1515,7 +1515,7 @@ }, "dns": { "type": "string", - "description": "Comma separated list of DNS server IP addresses for the Active Directory domain" + "description": "Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain" }, "status": { "type": "string", @@ -1878,10 +1878,7 @@ "items": { "type": "string" }, - "example": [ - "NFSv3", - "NFSv4.1" - ] + "example": [ "NFSv4.1" ] }, "provisioningState": { "type": "string", @@ -1917,6 +1914,23 @@ "items": { "$ref": "#/definitions/mountTargetList" } + }, + "volumeType": { + "type": "string", + "description": "What type of volume is this", + "example": "DataProtection" + }, + "dataProtection": { + "title": "DataProtection", + "description": "DataProtection volume, can have a replication object", + "properties": { + "replication": { + "title": "Replication", + "description": "Replication properties", + "type": "object", + "$ref": "#/definitions/replicationObject" + } + } } } }, @@ -1954,6 +1968,39 @@ } } }, + "replicationObject": { + "description": "Replication properties", + "type": "object", + "required": [ + "endpointType", + "remoteVolumeResourceId", + "replicationSchedule" + ], + "properties": { + "replicationId": { + "title": "replicationId", + "type": "string", + "description": "Id" + }, + "endpointType": { + "title": "endpointType", + "type": "string", + "description": "Indicates whether the local volume is the source or destination for the Volume Replication", + "example": "src, dst" + }, + "replicationSchedule": { + "title": "replicationSchedule", + "type": "string", + "description": "Schedule", + "example": "10minutely, hourly, daily, weekly, monthly" + }, + "remoteVolumeResourceId": { + "title": "remoteVolumeResourceId", + "type": "string", + "description": "The resouce ID of the remote volume." + } + } + }, "volumePatch": { "description": "Volume patch resource", "type": "object", @@ -2352,7 +2399,7 @@ "in": "query", "type": "string", "required": true, - "default": "2019-07-01" + "default": "2019-08-01" } } } diff --git a/specification/netapp/resource-manager/readme.go.md b/specification/netapp/resource-manager/readme.go.md index 3560088fb6e9..f682f953d93b 100644 --- a/specification/netapp/resource-manager/readme.go.md +++ b/specification/netapp/resource-manager/readme.go.md @@ -13,12 +13,22 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-netapp-2019-08-01 - tag: package-netapp-2019-07-01 - tag: package-netapp-2019-06-01 - tag: package-netapp-2019-05-01 - tag: package-2017-08-15 ``` +### Tag: package-netapp-2019-08-01 and go + +These settings apply only when `--tag=package-netapp-2019-08-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-08-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace) +``` + ### Tag: package-netapp-2019-07-01 and go These settings apply only when `--tag=package-netapp-2019-07-01 --go` is specified on the command line. diff --git a/specification/netapp/resource-manager/readme.java.md b/specification/netapp/resource-manager/readme.java.md index b7ed1d61a3de..59f3d3859e7a 100644 --- a/specification/netapp/resource-manager/readme.java.md +++ b/specification/netapp/resource-manager/readme.java.md @@ -16,12 +16,26 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-netapp ``` yaml $(java) && $(multiapi) batch: + - tag: package-netapp-2019-08-01 - tag: package-netapp-2019-07-01 - tag: package-netapp-2019-06-01 - tag: package-netapp-2019-05-01 - tag: package-2017-08-15 ``` +### Tag: package-netapp-2019-08-01 and java + +These settings apply only when `--tag=package-netapp-2019-08-01 --java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-08-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.netapp.v2019_08_01 + output-folder: $(azure-libraries-for-java-folder)/netapp/resource-manager/v2019_08_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-netapp-2019-07-01 and java These settings apply only when `--tag=package-netapp-2019-07-01 --java` is specified on the command line. diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md index 0072c2a6e37f..31fe1eade980 100644 --- a/specification/netapp/resource-manager/readme.md +++ b/specification/netapp/resource-manager/readme.md @@ -28,7 +28,16 @@ These are the global settings for the Azure NetApp Files API. title: NetAppManagementClient description: Microsoft NetApp Azure Resource Provider specification openapi-type: arm -tag: package-netapp-2019-07-01 +tag: package-netapp-2019-08-01 +``` + +### Tag: package-netapp-2019-08-01 + +These settings apply only when `--tag=package-netapp-2019-08-01` is specified on the command line. + +``` yaml $(tag) == 'package-netapp-2019-08-01' +input-file: +- Microsoft.NetApp/stable/2019-08-01/netapp.json ``` ### Tag: package-netapp-2019-07-01 @@ -119,6 +128,7 @@ require: $(this-folder)/../../../profiles/readme.md # all the input files across all versions input-file: + - $(this-folder)/Microsoft.NetApp/stable/2019-08-01/netapp.json - $(this-folder)/Microsoft.NetApp/stable/2019-07-01/netapp.json - $(this-folder)/Microsoft.NetApp/stable/2019-06-01/netapp.json - $(this-folder)/Microsoft.NetApp/stable/2019-05-01/netapp.json From ac7fa45208968288cd19369e440e2ace05b0af45 Mon Sep 17 00:00:00 2001 From: leonard Date: Tue, 29 Oct 2019 08:36:52 +0000 Subject: [PATCH 03/14] ANF-327 Update for 2019-08-01 API Improve examples --- .../examples/Accounts_CreateOrUpdate.json | 16 +++++++--- .../2019-08-01/examples/Accounts_Delete.json | 10 +++---- .../2019-08-01/examples/Accounts_Get.json | 11 ++++--- .../2019-08-01/examples/Accounts_List.json | 10 +++++-- .../2019-08-01/examples/Accounts_Update.json | 9 ++++-- .../examples/CheckFilePathAvailability.json | 4 +-- .../examples/CheckNameAvailability.json | 4 +-- .../examples/MountTargets_List.json | 19 +++++++----- .../examples/Pools_CreateOrUpdate.json | 18 +++++++---- .../2019-08-01/examples/Pools_Delete.json | 8 ++--- .../stable/2019-08-01/examples/Pools_Get.json | 13 ++++---- .../2019-08-01/examples/Pools_List.json | 11 ++++--- .../2019-08-01/examples/Pools_Update.json | 13 ++++---- .../2019-08-01/examples/Snapshots_Create.json | 17 ++++++----- .../2019-08-01/examples/Snapshots_Delete.json | 12 ++++---- .../2019-08-01/examples/Snapshots_Get.json | 17 ++++++----- .../2019-08-01/examples/Snapshots_List.json | 15 ++++++---- .../2019-08-01/examples/Snapshots_Update.json | 17 ++++++----- .../examples/Volumes_CreateOrUpdate.json | 30 +++++++++++-------- .../2019-08-01/examples/Volumes_Delete.json | 10 +++---- .../2019-08-01/examples/Volumes_Get.json | 15 ++++++---- .../2019-08-01/examples/Volumes_List.json | 13 ++++---- .../2019-08-01/examples/Volumes_Update.json | 15 ++++++---- .../stable/2019-08-01/netapp.json | 16 +++++++--- 24 files changed, 197 insertions(+), 126 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json index 8448b4788995..0b21a8995dc5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json @@ -1,16 +1,21 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", "api-version": "2019-08-01", "body": { - "location": "eastus" + "location": "eastus", + "properties": { + } } }, "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" @@ -19,6 +24,9 @@ }, "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" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json index 3cf56e04e053..2a9c050bae91 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Delete.json @@ -1,12 +1,12 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", "api-version": "2019-08-01" }, "responses": { - "204": {}, - "202": {} + "202": {}, + "204": {} } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json index aba12c87df7b..888483196522 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Get.json @@ -1,16 +1,19 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", "api-version": "2019-08-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": "Created" + "provisioningState": "Succeeded" } } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json index 2cae6501e676..3b9881b0727c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json @@ -1,7 +1,7 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", "api-version": "2019-08-01" }, "responses": { @@ -9,10 +9,14 @@ "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": "Created" + "provisioningState": "Succeeded" } + } ] } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json index a1acf96502c1..2bf73d359a7b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_Update.json @@ -1,14 +1,17 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", "api-version": "2019-08-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" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json index 7535375321ed..61e438a0b0ea 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckFilePathAvailability.json @@ -1,12 +1,12 @@ { "parameters": { - "subscriptionId": "subscriptionId", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", "location": "eastus", "api-version": "2019-08-01", "body": { "name": "my-exact-filepth", "type": "netAppAccount/capacityPools/volume", - "resourceGroup": "myrg" + "resourceGroup": "myRG" } }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json index 8d0153ca6149..646ba2df55a2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/CheckNameAvailability.json @@ -1,12 +1,12 @@ { "parameters": { - "subscriptionId": "subscriptionId", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", "location": "eastus", "api-version": "2019-08-01", "body": { "name": "accName", "type": "netAppAccount", - "resourceGroup": "myrg" + "resourceGroup": "myRG" } }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json index b2ae6d9ad4d6..515cd77646d5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/MountTargets_List.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01" }, "responses": { @@ -12,6 +12,9 @@ "body": { "value": [ { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/mountTargets/target1", + "name": "account1/pool1/volume1/target1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets", "location": "eastus", "properties": { "endIp": "1.2.3.4", @@ -19,11 +22,11 @@ "startIp": "1.2.3.4", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", "subnet": "1.2.3.4", - "netmask": "255.255.255.0", + "netmask": "", "ipAddress": "1.2.3.4", - "gateway": "1.2.3.4", + "gateway": "", "smbServerFqdn": "fullyqualified.domainname.com", - "provisioningState": "Created" + "provisioningState": "Succeeded" } } ] diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json index 47c1358d0a93..0577b50e64e4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_CreateOrUpdate.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", "api-version": "2019-08-01", "body": { "location": "eastus", @@ -16,9 +16,12 @@ "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", "location": "eastus", "properties": { - "provisioningState": "Created", + "provisioningState": "Succeeded", "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", "serviceLevel": "Premium", "size": 4398046511104 @@ -27,9 +30,12 @@ }, "201": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", "location": "eastus", "properties": { - "provisioningState": "Created", + "provisioningState": "Succeeded", "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", "serviceLevel": "Premium", "size": 4398046511104 diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json index 0cb08d9fc16f..de4e00232d6b 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Delete.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", "api-version": "2019-08-01" }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json index 23bbcb5adaba..5c9e106791bd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Get.json @@ -1,17 +1,20 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", "api-version": "2019-08-01" }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", "location": "eastus", "properties": { - "provisioningState": "Created", + "provisioningState": "Succeeded", "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", "serviceLevel": "Premium", "size": 4398046511104 diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json index 7c8ba29d3a16..99b56256ddcf 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_List.json @@ -1,8 +1,8 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", "api-version": "2019-08-01" }, "responses": { @@ -10,9 +10,12 @@ "body": { "value": [ { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", "location": "eastus", "properties": { - "provisioningState": "Created", + "provisioningState": "Succeeded", "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", "serviceLevel": "Premium", "size": 4398046511104 diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json index 452ff04ae9a5..0faaf0c7a947 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Pools_Update.json @@ -1,18 +1,21 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", "api-version": "2019-08-01", "body": {} }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1", + "name": "account1/pool1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools", "location": "eastus", "properties": { - "provisioningState": "Created", + "provisioningState": "Succeeded", "poolId": "9760acf5-4638-11e7-9bdb-020073ca7778", "serviceLevel": "Premium", "size": 4398046511104 diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json index 7a244157dd8a..f2ae1cad6a69 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Create.json @@ -1,11 +1,11 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", - "snapshotName": "snapshotName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", "api-version": "2019-08-01", "body": { "location": "eastus" @@ -14,12 +14,15 @@ "responses": { "201": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", "location": "eastus", "properties": { "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", "created": "2017-08-15T13:23:33Z", - "provisioningState": "Created" + "provisioningState": "Succeeded" } } }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json index 8f0d11507c02..064269b38ac2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Delete.json @@ -1,11 +1,11 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", - "snapshotName": "snapshotName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", "api-version": "2019-08-01" }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json index 91e07d686784..1870e448f451 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Get.json @@ -1,22 +1,25 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", - "snapshotName": "snapshotName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", "api-version": "2019-08-01" }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", "location": "eastus", "properties": { "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", "created": "2017-08-15T13:23:33Z", - "provisioningState": "Created" + "provisioningState": "Succeeded" } } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json index 4d8367ce834d..5024d91118e2 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_List.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01" }, "responses": { @@ -12,12 +12,15 @@ "body": { "value": [ { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", "location": "eastus", "properties": { "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", "created": "2017-08-15T13:23:33Z", - "provisioningState": "Created" + "provisioningState": "Succeeded" } } ] diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json index 1d120ac4f7fd..af0698ebf90f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Snapshots_Update.json @@ -1,23 +1,26 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", - "snapshotName": "snapshotName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", + "snapshotName": "snapshot1", "api-version": "2019-08-01", "body": {} }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1/snapshots/snapshot1", + "name": "account1/pool1/volume1/snapshot1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots", "location": "eastus", "properties": { "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333", "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333", "created": "2017-08-15T13:23:33Z", - "provisioningState": "Created" + "provisioningState": "Succeeded" } } }, diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json index 7c01278630fc..4c2c385eaf36 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_CreateOrUpdate.json @@ -1,46 +1,52 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01", "body": { "location": "eastus", "properties": { - "serviceLevel": "Premium", "creationToken": "my-unique-file-path", - "usageThreshold": 107374182400, - "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" + "serviceLevel": "Premium", + "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3", + "usageThreshold": 107374182400 } } }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", + "name": "account1/pool1/volume1", "properties": { "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "creationToken": "some-amazing-filepath", "usageThreshold": 107374182400, "serviceLevel": "Premium", - "provisioningState": "Created", + "provisioningState": "Succeeded", "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" - } + }, + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" } }, "201": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", "location": "eastus", + "name": "account1/pool1/volume1", "properties": { "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "creationToken": "some-amazing-filepath", "usageThreshold": 107374182400, "serviceLevel": "Premium", - "provisioningState": "Created", + "provisioningState": "Succeeded", "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" - } + }, + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" } }, "202": {} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json index a5c7e28b4e27..7c0b66cb32dd 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Delete.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01" }, "responses": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json index 71c21560cacb..173fd5e9c3a4 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Get.json @@ -1,22 +1,25 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01" }, "responses": { "200": { "body": { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "location": "eastus", "properties": { "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "creationToken": "some-amazing-filepath", "usageThreshold": 107374182400, "serviceLevel": "Premium", - "provisioningState": "Created", + "provisioningState": "Succeeded", "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json index d2bf8c132880..32ca22bd8c0a 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_List.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", "api-version": "2019-08-01" }, "responses": { @@ -11,13 +11,16 @@ "body": { "value": [ { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "location": "eastus", "properties": { "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "creationToken": "some-amazing-filepath", "usageThreshold": 107374182400, "serviceLevel": "Premium", - "provisioningState": "Created", + "provisioningState": "Succeeded", "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json index c2268ca80e15..4e8ea140d15f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Volumes_Update.json @@ -1,23 +1,26 @@ { "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroupName": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "resourceGroupName": "myRG", + "accountName": "account1", + "poolName": "pool1", + "volumeName": "volume1", "api-version": "2019-08-01", "body": {} }, "responses": { "200": { "body": { + "id": "/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/account1/capacityPools/pool1/volumes/volume1", + "name": "account1/pool1/volume1", + "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes", "location": "eastus", "properties": { "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778", "creationToken": "some-amazing-filepath", "usageThreshold": 107374182400, "serviceLevel": "Premium", - "provisioningState": "Created", + "provisioningState": "Succeeded", "subnetId": "/subscriptions/9760acf5-4638-11e7-9bdb-020073ca7778/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3" } } diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index f0b0ca29fec4..c33a1b0e26ac 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -70,7 +70,7 @@ "post": { "summary": "Check resource name availability", "description": "Check if a resource name is available.", - "operationId": "CheckNameAvailability", + "operationId": "NetAppResource_CheckNameAvailability", "parameters": [ { "name": "body", @@ -114,7 +114,7 @@ "post": { "summary": "Check file path availability", "description": "Check if a file path is available.", - "operationId": "CheckFilePathAvailability", + "operationId": "NetAppResource_CheckFilePathAvailability", "parameters": [ { "name": "body", @@ -1787,8 +1787,11 @@ } }, "resourceTags": { - "description": "Resource tags", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags are a list of key-value pairs that describe the resource" }, "volumeProperties": { "description": "Volume properties", @@ -2131,6 +2134,11 @@ "readOnly": true, "description": "Resource name" }, + "type": { + "type": "string", + "readOnly": true, + "description": "Resource type" + }, "tags": { "description": "Resource tags", "$ref": "#/definitions/resourceTags", From b2eb8297ce04de703b3af3ba4d1f885276a7a59f Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 09:36:01 +0000 Subject: [PATCH 04/14] Update netapp.json --- .../Microsoft.NetApp/stable/2019-08-01/netapp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index c33a1b0e26ac..a45df79121c9 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -2000,7 +2000,7 @@ "remoteVolumeResourceId": { "title": "remoteVolumeResourceId", "type": "string", - "description": "The resouce ID of the remote volume." + "description": "The resource ID of the remote volume." } } }, From 00499ea12d7d7e38fe059c4e89de9175dc9ac2cb Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 09:41:52 +0000 Subject: [PATCH 05/14] Update netapp.json --- .../Microsoft.NetApp/stable/2019-06-01/netapp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index f4157fd6e322..ebe4f8796cb1 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -1943,7 +1943,7 @@ }, "nfsv4": { "type": "boolean", - "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later", + "description": "Deprecated: Will use the NFSv4.1 protocol, please use swagger version 2019-07-01 or later" }, "allowedClients": { "type": "string", From 0dc1a98bb2ef690b35c478ddf39d9c713498e317 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 10:19:34 +0000 Subject: [PATCH 06/14] Prettify --- .../stable/2019-08-01/netapp.json | 201 ++++-------------- 1 file changed, 46 insertions(+), 155 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index a45df79121c9..7dc04d0d139e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -8,21 +8,13 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], + "consumes": ["application/json"], + "produces": ["application/json"], + "schemes": ["https"], "host": "management.azure.com", "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -39,9 +31,7 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": [ - "Operations" - ], + "tags": ["Operations"], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -158,9 +148,7 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_List", "parameters": [ { @@ -198,9 +186,7 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Get", "parameters": [ { @@ -234,9 +220,7 @@ } }, "put": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -291,9 +275,7 @@ } }, "delete": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -330,9 +312,7 @@ } }, "patch": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -384,9 +364,7 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_List", "parameters": [ { @@ -427,9 +405,7 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Get", "parameters": [ { @@ -466,9 +442,7 @@ } }, "put": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -526,9 +500,7 @@ } }, "patch": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -579,9 +551,7 @@ } }, "delete": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -642,9 +612,7 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -669,9 +637,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -713,9 +679,7 @@ } }, "put": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -776,9 +740,7 @@ } }, "patch": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -832,9 +794,7 @@ } }, "delete": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -879,9 +839,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": [ - "MountTargets" - ], + "tags": ["MountTargets"], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -928,9 +886,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -977,9 +933,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -1024,9 +978,7 @@ } }, "put": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1084,9 +1036,7 @@ } }, "patch": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1143,9 +1093,7 @@ } }, "delete": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1336,10 +1284,7 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": [ - "Invalid", - "AlreadyExists" - ], + "enum": ["Invalid", "AlreadyExists"], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1354,11 +1299,7 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": [ - "name", - "type", - "resourceGroup" - ], + "required": ["name", "type", "resourceGroup"], "type": "object", "properties": { "name": { @@ -1402,17 +1343,12 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1548,18 +1484,12 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1590,10 +1520,7 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": [ - "size", - "serviceLevel" - ], + "required": ["size", "serviceLevel"], "properties": { "poolId": { "title": "poolId", @@ -1617,11 +1544,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1702,11 +1625,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1747,18 +1666,12 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1796,11 +1709,7 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": [ - "creationToken", - "usageThreshold", - "subnetId" - ], + "required": ["creationToken", "usageThreshold", "subnetId"], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1824,11 +1733,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1881,7 +1786,7 @@ "items": { "type": "string" }, - "example": [ "NFSv4.1" ] + "example": ["NFSv4.1"] }, "provisioningState": { "type": "string", @@ -2000,7 +1905,7 @@ "remoteVolumeResourceId": { "title": "remoteVolumeResourceId", "type": "string", - "description": "The resource ID of the remote volume." + "description": "The resouce ID of the remote volume." } } }, @@ -2047,11 +1952,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -2115,10 +2016,7 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", @@ -2154,9 +2052,7 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": [ - "fileSystemId" - ], + "required": ["fileSystemId"], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2244,17 +2140,12 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", From 907c3f1d41f162401bb943f075aac412b5f24668 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 10:22:08 +0000 Subject: [PATCH 07/14] Prettify --- .../stable/2019-07-01/netapp.json | 199 ++++-------------- 1 file changed, 45 insertions(+), 154 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json index 75282ef7fa0e..d7f9598d1348 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json @@ -8,21 +8,13 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], + "consumes": ["application/json"], + "produces": ["application/json"], + "schemes": ["https"], "host": "management.azure.com", "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -39,9 +31,7 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": [ - "Operations" - ], + "tags": ["Operations"], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -158,9 +148,7 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_List", "parameters": [ { @@ -198,9 +186,7 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Get", "parameters": [ { @@ -234,9 +220,7 @@ } }, "put": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -291,9 +275,7 @@ } }, "delete": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -330,9 +312,7 @@ } }, "patch": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -384,9 +364,7 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_List", "parameters": [ { @@ -427,9 +405,7 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Get", "parameters": [ { @@ -466,9 +442,7 @@ } }, "put": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -526,9 +500,7 @@ } }, "patch": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -579,9 +551,7 @@ } }, "delete": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -642,9 +612,7 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -669,9 +637,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -713,9 +679,7 @@ } }, "put": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -776,9 +740,7 @@ } }, "patch": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -832,9 +794,7 @@ } }, "delete": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -879,9 +839,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": [ - "MountTargets" - ], + "tags": ["MountTargets"], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -928,9 +886,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -977,9 +933,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -1024,9 +978,7 @@ } }, "put": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1084,9 +1036,7 @@ } }, "patch": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1143,9 +1093,7 @@ } }, "delete": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1336,10 +1284,7 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": [ - "Invalid", - "AlreadyExists" - ], + "enum": ["Invalid", "AlreadyExists"], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1354,11 +1299,7 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": [ - "name", - "type", - "resourceGroup" - ], + "required": ["name", "type", "resourceGroup"], "type": "object", "properties": { "name": { @@ -1402,17 +1343,12 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1548,18 +1484,12 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1590,10 +1520,7 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": [ - "size", - "serviceLevel" - ], + "required": ["size", "serviceLevel"], "properties": { "poolId": { "title": "poolId", @@ -1617,11 +1544,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1702,11 +1625,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1747,18 +1666,12 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1793,11 +1706,7 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": [ - "creationToken", - "usageThreshold", - "subnetId" - ], + "required": ["creationToken", "usageThreshold", "subnetId"], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1821,11 +1730,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1878,7 +1783,7 @@ "items": { "type": "string" }, - "example": [ "NFSv4.1" ] + "example": ["NFSv4.1"] }, "provisioningState": { "type": "string", @@ -1994,11 +1899,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -2062,10 +1963,7 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", @@ -2096,9 +1994,7 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": [ - "fileSystemId" - ], + "required": ["fileSystemId"], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2186,17 +2082,12 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", From 0a76e2aeb2437aa244f4460e64bfce0e848eb80f Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 10:23:47 +0000 Subject: [PATCH 08/14] Prettify --- .../stable/2019-06-01/netapp.json | 199 ++++-------------- 1 file changed, 45 insertions(+), 154 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index ebe4f8796cb1..6b53d65892ed 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -8,21 +8,13 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], + "consumes": ["application/json"], + "produces": ["application/json"], + "schemes": ["https"], "host": "management.azure.com", "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -39,9 +31,7 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": [ - "Operations" - ], + "tags": ["Operations"], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -158,9 +148,7 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_List", "parameters": [ { @@ -198,9 +186,7 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Get", "parameters": [ { @@ -234,9 +220,7 @@ } }, "put": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -291,9 +275,7 @@ } }, "delete": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -330,9 +312,7 @@ } }, "patch": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -384,9 +364,7 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_List", "parameters": [ { @@ -427,9 +405,7 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Get", "parameters": [ { @@ -466,9 +442,7 @@ } }, "put": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -526,9 +500,7 @@ } }, "patch": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -579,9 +551,7 @@ } }, "delete": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -642,9 +612,7 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -669,9 +637,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -713,9 +679,7 @@ } }, "put": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -776,9 +740,7 @@ } }, "patch": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -832,9 +794,7 @@ } }, "delete": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Delete", "summary": "Delete a volume", "parameters": [ @@ -879,9 +839,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": [ - "MountTargets" - ], + "tags": ["MountTargets"], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -928,9 +886,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -977,9 +933,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -1024,9 +978,7 @@ } }, "put": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1084,9 +1036,7 @@ } }, "patch": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1143,9 +1093,7 @@ } }, "delete": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1336,10 +1284,7 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": [ - "Invalid", - "AlreadyExists" - ], + "enum": ["Invalid", "AlreadyExists"], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1354,11 +1299,7 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": [ - "name", - "type", - "resourceGroup" - ], + "required": ["name", "type", "resourceGroup"], "type": "object", "properties": { "name": { @@ -1402,17 +1343,12 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1548,18 +1484,12 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1590,10 +1520,7 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": [ - "size", - "serviceLevel" - ], + "required": ["size", "serviceLevel"], "properties": { "poolId": { "title": "poolId", @@ -1617,11 +1544,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1702,11 +1625,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1747,18 +1666,12 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1793,11 +1706,7 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": [ - "creationToken", - "usageThreshold", - "subnetId" - ], + "required": ["creationToken", "usageThreshold", "subnetId"], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1821,11 +1730,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1878,7 +1783,7 @@ "items": { "type": "string" }, - "example": [ "NFSv3", "NFSv4" ] + "example": ["NFSv3", "NFSv4"] }, "provisioningState": { "type": "string", @@ -1994,11 +1899,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -2062,10 +1963,7 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", @@ -2096,9 +1994,7 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": [ - "fileSystemId" - ], + "required": ["fileSystemId"], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2186,17 +2082,12 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", From da4d2e8b74637d2a269c0d14bfb7a7138717633d Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 10:25:15 +0000 Subject: [PATCH 09/14] Prettify --- .../stable/2019-05-01/netapp.json | 197 ++++-------------- 1 file changed, 44 insertions(+), 153 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json index 245c83d88b3c..4b93c7c8deee 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json @@ -8,21 +8,13 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "schemes": [ - "https" - ], + "consumes": ["application/json"], + "produces": ["application/json"], + "schemes": ["https"], "host": "management.azure.com", "security": [ { - "azure_auth": [ - "user_impersonation" - ] + "azure_auth": ["user_impersonation"] } ], "securityDefinitions": { @@ -39,9 +31,7 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": [ - "Operations" - ], + "tags": ["Operations"], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -169,9 +159,7 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_List", "x-ms-pageable": { "nextLinkName": null @@ -212,9 +200,7 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Get", "responses": { "200": { @@ -234,9 +220,7 @@ } }, "put": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -279,9 +263,7 @@ } }, "delete": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "description": "Delete the specified NetApp account", @@ -304,9 +286,7 @@ } }, "patch": { - "tags": [ - "NetApp Accounts" - ], + "tags": ["NetApp Accounts"], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -357,9 +337,7 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_List", "x-ms-pageable": { "nextLinkName": null @@ -403,9 +381,7 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Get", "responses": { "200": { @@ -425,9 +401,7 @@ } }, "put": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -470,9 +444,7 @@ } }, "patch": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -505,9 +477,7 @@ } }, "delete": { - "tags": [ - "Capacity Pools" - ], + "tags": ["Capacity Pools"], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -551,9 +521,7 @@ "get": { "summary": "Describe all volumes", "description": "List all volumes within the capacity pool", - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -598,9 +566,7 @@ } ], "get": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -622,9 +588,7 @@ } }, "put": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -667,9 +631,7 @@ } }, "patch": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -702,9 +664,7 @@ } }, "delete": { - "tags": [ - "Volumes" - ], + "tags": ["Volumes"], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -749,9 +709,7 @@ } ], "get": { - "tags": [ - "MountTargets" - ], + "tags": ["MountTargets"], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "description": "List all mount targets associated with the volume", @@ -798,9 +756,7 @@ } ], "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "description": "List all snapshots associated with the volume", @@ -850,9 +806,7 @@ } ], "get": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -874,9 +828,7 @@ } }, "put": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -913,9 +865,7 @@ } }, "patch": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -948,9 +898,7 @@ } }, "delete": { - "tags": [ - "Snapshots" - ], + "tags": ["Snapshots"], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1118,10 +1066,7 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": [ - "Invalid", - "AlreadyExists" - ], + "enum": ["Invalid", "AlreadyExists"], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1136,11 +1081,7 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": [ - "name", - "type", - "resourceGroup" - ], + "required": ["name", "type", "resourceGroup"], "type": "object", "properties": { "name": { @@ -1184,17 +1125,12 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1330,18 +1266,12 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1372,10 +1302,7 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": [ - "size", - "serviceLevel" - ], + "required": ["size", "serviceLevel"], "properties": { "poolId": { "title": "poolId", @@ -1400,11 +1327,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1485,11 +1408,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1530,18 +1449,12 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", @@ -1576,11 +1489,7 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": [ - "creationToken", - "usageThreshold", - "subnetId" - ], + "required": ["creationToken", "usageThreshold", "subnetId"], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1604,11 +1513,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1777,11 +1682,7 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": [ - "Standard", - "Premium", - "Ultra" - ], + "enum": ["Standard", "Premium", "Ultra"], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1845,10 +1746,7 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": [ - "location", - "properties" - ], + "required": ["location", "properties"], "properties": { "location": { "type": "string", @@ -1879,9 +1777,7 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": [ - "fileSystemId" - ], + "required": ["fileSystemId"], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -1969,17 +1865,12 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": [ - "location" - ], + "required": ["location"], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": [ - "read", - "create" - ] + "x-ms-mutability": ["read", "create"] }, "id": { "type": "string", From ec4f50be3d365ddf3563f2560e037eaf18a8d909 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 10:31:13 +0000 Subject: [PATCH 10/14] Spell Check --- .../Microsoft.NetApp/stable/2019-08-01/netapp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index 7dc04d0d139e..e5977ff3bb7c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -1905,7 +1905,7 @@ "remoteVolumeResourceId": { "title": "remoteVolumeResourceId", "type": "string", - "description": "The resouce ID of the remote volume." + "description": "The resource ID of the remote volume." } } }, From be252a3da4294b30d42fbfb72ed6df5ae0f7ba53 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 13:01:33 +0000 Subject: [PATCH 11/14] Prettier --- .../stable/2019-08-01/examples/Accounts_List.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json index 3b9881b0727c..c494097c267f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_List.json @@ -16,7 +16,6 @@ "properties": { "provisioningState": "Succeeded" } - } ] } From 3f16eeaee87557bd3b7c46e213db27ab955be995 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 29 Oct 2019 13:07:33 +0000 Subject: [PATCH 12/14] Prettier --- .../stable/2019-08-01/examples/Accounts_CreateOrUpdate.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json index 0b21a8995dc5..0419d4bee4b7 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/examples/Accounts_CreateOrUpdate.json @@ -6,8 +6,7 @@ "api-version": "2019-08-01", "body": { "location": "eastus", - "properties": { - } + "properties": {} } }, "responses": { From 781dcea5dbd19e127cf9823921b6ba9892d91b4c Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Wed, 30 Oct 2019 09:58:41 +0000 Subject: [PATCH 13/14] Typo correction (re-trigger test) --- .../Microsoft.NetApp/stable/2019-08-01/netapp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index e5977ff3bb7c..b6093bbd7527 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -147,7 +147,7 @@ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { "get": { "summary": "Describe all NetApp Accounts in a resource group", - "description": "List and describe all NetApp accounts in the resource group", + "description": "List and describe all NetApp accounts in the resource group.", "tags": ["NetApp Accounts"], "operationId": "Accounts_List", "parameters": [ From 5fb6d44e6933230e3f88c488bdff8b22438b72cf Mon Sep 17 00:00:00 2001 From: leonard Date: Fri, 1 Nov 2019 09:33:57 +0000 Subject: [PATCH 14/14] ANF-327 New swagger for 2019-08-01 API With upstream pull and rerun of prettier --- .../stable/2019-05-01/netapp.json | 197 +++++++++++++---- .../stable/2019-06-01/netapp.json | 202 ++++++++++++++---- .../stable/2019-07-01/netapp.json | 201 +++++++++++++---- .../stable/2019-08-01/netapp.json | 201 +++++++++++++---- 4 files changed, 622 insertions(+), 179 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json index 4b93c7c8deee..245c83d88b3c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json @@ -8,13 +8,21 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": ["application/json"], - "produces": ["application/json"], - "schemes": ["https"], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], "host": "management.azure.com", "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -31,7 +39,9 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -159,7 +169,9 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_List", "x-ms-pageable": { "nextLinkName": null @@ -200,7 +212,9 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Get", "responses": { "200": { @@ -220,7 +234,9 @@ } }, "put": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -263,7 +279,9 @@ } }, "delete": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "description": "Delete the specified NetApp account", @@ -286,7 +304,9 @@ } }, "patch": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -337,7 +357,9 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_List", "x-ms-pageable": { "nextLinkName": null @@ -381,7 +403,9 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Get", "responses": { "200": { @@ -401,7 +425,9 @@ } }, "put": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -444,7 +470,9 @@ } }, "patch": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -477,7 +505,9 @@ } }, "delete": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -521,7 +551,9 @@ "get": { "summary": "Describe all volumes", "description": "List all volumes within the capacity pool", - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -566,7 +598,9 @@ } ], "get": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -588,7 +622,9 @@ } }, "put": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -631,7 +667,9 @@ } }, "patch": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -664,7 +702,9 @@ } }, "delete": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -709,7 +749,9 @@ } ], "get": { - "tags": ["MountTargets"], + "tags": [ + "MountTargets" + ], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "description": "List all mount targets associated with the volume", @@ -756,7 +798,9 @@ } ], "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "description": "List all snapshots associated with the volume", @@ -806,7 +850,9 @@ } ], "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -828,7 +874,9 @@ } }, "put": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -865,7 +913,9 @@ } }, "patch": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -898,7 +948,9 @@ } }, "delete": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1066,7 +1118,10 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": ["Invalid", "AlreadyExists"], + "enum": [ + "Invalid", + "AlreadyExists" + ], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1081,7 +1136,11 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": ["name", "type", "resourceGroup"], + "required": [ + "name", + "type", + "resourceGroup" + ], "type": "object", "properties": { "name": { @@ -1125,12 +1184,17 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1266,12 +1330,18 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1302,7 +1372,10 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": ["size", "serviceLevel"], + "required": [ + "size", + "serviceLevel" + ], "properties": { "poolId": { "title": "poolId", @@ -1327,7 +1400,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1408,7 +1485,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1449,12 +1530,18 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1489,7 +1576,11 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": ["creationToken", "usageThreshold", "subnetId"], + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1513,7 +1604,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1682,7 +1777,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1746,7 +1845,10 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", @@ -1777,7 +1879,9 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": ["fileSystemId"], + "required": [ + "fileSystemId" + ], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -1865,12 +1969,17 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index 6b53d65892ed..7c5708072949 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -8,13 +8,21 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": ["application/json"], - "produces": ["application/json"], - "schemes": ["https"], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], "host": "management.azure.com", "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -31,7 +39,9 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -148,7 +158,9 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_List", "parameters": [ { @@ -186,7 +198,9 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Get", "parameters": [ { @@ -220,7 +234,9 @@ } }, "put": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -275,7 +291,9 @@ } }, "delete": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -312,7 +330,9 @@ } }, "patch": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -364,7 +384,9 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_List", "parameters": [ { @@ -405,7 +427,9 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Get", "parameters": [ { @@ -442,7 +466,9 @@ } }, "put": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -500,7 +526,9 @@ } }, "patch": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -551,7 +579,9 @@ } }, "delete": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -612,7 +642,9 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -637,7 +669,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -679,7 +713,9 @@ } }, "put": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -740,7 +776,9 @@ } }, "patch": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -794,7 +832,9 @@ } }, "delete": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Delete", "summary": "Delete a volume", "parameters": [ @@ -839,7 +879,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": ["MountTargets"], + "tags": [ + "MountTargets" + ], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -886,7 +928,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -933,7 +977,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -978,7 +1024,9 @@ } }, "put": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1036,7 +1084,9 @@ } }, "patch": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1093,7 +1143,9 @@ } }, "delete": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1284,7 +1336,10 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": ["Invalid", "AlreadyExists"], + "enum": [ + "Invalid", + "AlreadyExists" + ], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1299,7 +1354,11 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": ["name", "type", "resourceGroup"], + "required": [ + "name", + "type", + "resourceGroup" + ], "type": "object", "properties": { "name": { @@ -1343,12 +1402,17 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1484,12 +1548,18 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1520,7 +1590,10 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": ["size", "serviceLevel"], + "required": [ + "size", + "serviceLevel" + ], "properties": { "poolId": { "title": "poolId", @@ -1544,7 +1617,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1625,7 +1702,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1666,12 +1747,18 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1706,7 +1793,11 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": ["creationToken", "usageThreshold", "subnetId"], + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1730,7 +1821,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1783,7 +1878,10 @@ "items": { "type": "string" }, - "example": ["NFSv3", "NFSv4"] + "example": [ + "NFSv3", + "NFSv4" + ] }, "provisioningState": { "type": "string", @@ -1899,7 +1997,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1963,7 +2065,10 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", @@ -1994,7 +2099,9 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": ["fileSystemId"], + "required": [ + "fileSystemId" + ], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2082,12 +2189,17 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json index d7f9598d1348..73384bb727a5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json @@ -8,13 +8,21 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": ["application/json"], - "produces": ["application/json"], - "schemes": ["https"], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], "host": "management.azure.com", "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -31,7 +39,9 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -148,7 +158,9 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_List", "parameters": [ { @@ -186,7 +198,9 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Get", "parameters": [ { @@ -220,7 +234,9 @@ } }, "put": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -275,7 +291,9 @@ } }, "delete": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -312,7 +330,9 @@ } }, "patch": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -364,7 +384,9 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_List", "parameters": [ { @@ -405,7 +427,9 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Get", "parameters": [ { @@ -442,7 +466,9 @@ } }, "put": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -500,7 +526,9 @@ } }, "patch": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -551,7 +579,9 @@ } }, "delete": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -612,7 +642,9 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -637,7 +669,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -679,7 +713,9 @@ } }, "put": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -740,7 +776,9 @@ } }, "patch": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -794,7 +832,9 @@ } }, "delete": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -839,7 +879,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": ["MountTargets"], + "tags": [ + "MountTargets" + ], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -886,7 +928,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -933,7 +977,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -978,7 +1024,9 @@ } }, "put": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1036,7 +1084,9 @@ } }, "patch": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1093,7 +1143,9 @@ } }, "delete": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1284,7 +1336,10 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": ["Invalid", "AlreadyExists"], + "enum": [ + "Invalid", + "AlreadyExists" + ], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1299,7 +1354,11 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": ["name", "type", "resourceGroup"], + "required": [ + "name", + "type", + "resourceGroup" + ], "type": "object", "properties": { "name": { @@ -1343,12 +1402,17 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1484,12 +1548,18 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1520,7 +1590,10 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": ["size", "serviceLevel"], + "required": [ + "size", + "serviceLevel" + ], "properties": { "poolId": { "title": "poolId", @@ -1544,7 +1617,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1625,7 +1702,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1666,12 +1747,18 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1706,7 +1793,11 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": ["creationToken", "usageThreshold", "subnetId"], + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1730,7 +1821,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1783,7 +1878,9 @@ "items": { "type": "string" }, - "example": ["NFSv4.1"] + "example": [ + "NFSv4.1" + ] }, "provisioningState": { "type": "string", @@ -1899,7 +1996,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1963,7 +2064,10 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", @@ -1994,7 +2098,9 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": ["fileSystemId"], + "required": [ + "fileSystemId" + ], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2082,12 +2188,17 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index b6093bbd7527..f46460062840 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -8,13 +8,21 @@ "name": "AzureNetAppFilesManagementClient" } }, - "consumes": ["application/json"], - "produces": ["application/json"], - "schemes": ["https"], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], "host": "management.azure.com", "security": [ { - "azure_auth": ["user_impersonation"] + "azure_auth": [ + "user_impersonation" + ] } ], "securityDefinitions": { @@ -31,7 +39,9 @@ "paths": { "/providers/Microsoft.NetApp/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "summary": "Describes the Resource Provider", "description": "Lists all of the available Microsoft.NetApp Rest API operations", "operationId": "Operations_List", @@ -148,7 +158,9 @@ "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group.", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_List", "parameters": [ { @@ -186,7 +198,9 @@ "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Get", "parameters": [ { @@ -220,7 +234,9 @@ } }, "put": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_CreateOrUpdate", "summary": "Create or update a NetApp account", "description": "Create or update the specified NetApp account within the resource group", @@ -275,7 +291,9 @@ } }, "delete": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Delete", "summary": "Delete a NetApp account", "parameters": [ @@ -312,7 +330,9 @@ } }, "patch": { - "tags": ["NetApp Accounts"], + "tags": [ + "NetApp Accounts" + ], "operationId": "Accounts_Update", "summary": "Update a NetApp account", "description": "Patch the specified NetApp account", @@ -364,7 +384,9 @@ "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_List", "parameters": [ { @@ -405,7 +427,9 @@ "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Get", "parameters": [ { @@ -442,7 +466,9 @@ } }, "put": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_CreateOrUpdate", "summary": "Create or Update the specified capacity pool within the resource group", "description": "Create or Update a capacity pool", @@ -500,7 +526,9 @@ } }, "patch": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Update", "summary": "Update a capacity pool", "description": "Patch the specified capacity pool", @@ -551,7 +579,9 @@ } }, "delete": { - "tags": ["Capacity Pools"], + "tags": [ + "Capacity Pools" + ], "operationId": "Pools_Delete", "summary": "Delete a capacity pool", "description": "Delete the specified capacity pool", @@ -612,7 +642,9 @@ "$ref": "#/parameters/ApiVersionParameter" } ], - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_List", "x-ms-pageable": { "nextLinkName": null @@ -637,7 +669,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { "get": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Get", "summary": "Describe a volume", "description": "Get the details of the specified volume", @@ -679,7 +713,9 @@ } }, "put": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_CreateOrUpdate", "summary": "Create or Update a volume", "description": "Create or update the specified volume within the capacity pool", @@ -740,7 +776,9 @@ } }, "patch": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Update", "summary": "Update a volume", "description": "Patch the specified volume", @@ -794,7 +832,9 @@ } }, "delete": { - "tags": ["Volumes"], + "tags": [ + "Volumes" + ], "operationId": "Volumes_Delete", "summary": "Delete a volume", "description": "Delete the specified volume", @@ -839,7 +879,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { "get": { - "tags": ["MountTargets"], + "tags": [ + "MountTargets" + ], "operationId": "MountTargets_List", "summary": "Describe all mount targets", "parameters": [ @@ -886,7 +928,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_List", "summary": "Describe all snapshots", "parameters": [ @@ -933,7 +977,9 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { "get": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Get", "summary": "Describe a snapshot", "description": "Get details of the specified snapshot", @@ -978,7 +1024,9 @@ } }, "put": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Create", "summary": "Create a snapshot", "description": "Create the specified snapshot within the given volume", @@ -1036,7 +1084,9 @@ } }, "patch": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Update", "summary": "Update a snapshot", "description": "Patch a snapshot", @@ -1093,7 +1143,9 @@ } }, "delete": { - "tags": ["Snapshots"], + "tags": [ + "Snapshots" + ], "operationId": "Snapshots_Delete", "summary": "Delete a snapshot", "description": "Delete snapshot", @@ -1284,7 +1336,10 @@ }, "reason": { "description": "Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.", - "enum": ["Invalid", "AlreadyExists"], + "enum": [ + "Invalid", + "AlreadyExists" + ], "type": "string", "x-ms-enum": { "name": "InAvailabilityReasonType", @@ -1299,7 +1354,11 @@ }, "ResourceNameAvailabilityRequest": { "description": "Resource name availability request content.", - "required": ["name", "type", "resourceGroup"], + "required": [ + "name", + "type", + "resourceGroup" + ], "type": "object", "properties": { "name": { @@ -1343,12 +1402,17 @@ "description": "NetApp account resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1484,12 +1548,18 @@ "description": "Capacity pool resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1520,7 +1590,10 @@ "poolProperties": { "description": "Pool properties", "type": "object", - "required": ["size", "serviceLevel"], + "required": [ + "size", + "serviceLevel" + ], "properties": { "poolId": { "title": "poolId", @@ -1544,7 +1617,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1625,7 +1702,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1666,12 +1747,18 @@ "description": "Volume resource", "type": "object", "x-ms-azure-resource": true, - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string", @@ -1709,7 +1796,11 @@ "volumeProperties": { "description": "Volume properties", "type": "object", - "required": ["creationToken", "usageThreshold", "subnetId"], + "required": [ + "creationToken", + "usageThreshold", + "subnetId" + ], "properties": { "fileSystemId": { "title": "FileSystem ID", @@ -1733,7 +1824,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -1786,7 +1881,9 @@ "items": { "type": "string" }, - "example": ["NFSv4.1"] + "example": [ + "NFSv4.1" + ] }, "provisioningState": { "type": "string", @@ -1952,7 +2049,11 @@ "title": "serviceLevel", "type": "string", "description": "The service level of the file system", - "enum": ["Standard", "Premium", "Ultra"], + "enum": [ + "Standard", + "Premium", + "Ultra" + ], "x-ms-enum": { "name": "ServiceLevel", "modelAsString": true, @@ -2016,7 +2117,10 @@ "mountTarget": { "description": "Mount Target", "type": "object", - "required": ["location", "properties"], + "required": [ + "location", + "properties" + ], "properties": { "location": { "type": "string", @@ -2052,7 +2156,9 @@ "mountTargetProperties": { "description": "Mount target properties", "type": "object", - "required": ["fileSystemId"], + "required": [ + "fileSystemId" + ], "properties": { "mountTargetId": { "title": "mountTargetId", @@ -2140,12 +2246,17 @@ "description": "Snapshot of a Volume", "type": "object", "x-ms-azure-resource": true, - "required": ["location"], + "required": [ + "location" + ], "properties": { "location": { "type": "string", "description": "Resource location", - "x-ms-mutability": ["read", "create"] + "x-ms-mutability": [ + "read", + "create" + ] }, "id": { "type": "string",