From fa202ee43cd1263e159ae365977dc2bdb54eb4e3 Mon Sep 17 00:00:00 2001 From: Sarangan Rajamanickam Date: Wed, 26 Jun 2019 12:30:38 -0700 Subject: [PATCH] Fix Swaggers to get the diff working --- .../stable/2019-05-01/netapp.json | 602 ++++++++++++------ .../stable/2019-06-01/netapp.json | 602 ++++++++++++------ 2 files changed, 808 insertions(+), 396 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..77da72333a28 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 @@ -67,31 +67,31 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/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" - } - ], "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", @@ -111,31 +111,31 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/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" - } - ], "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", @@ -155,17 +155,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", @@ -173,6 +162,17 @@ "NetApp Accounts" ], "operationId": "Accounts_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -195,20 +195,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", @@ -216,6 +202,20 @@ "NetApp Accounts" ], "operationId": "Accounts_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "responses": { "200": { "description": "OK", @@ -249,6 +249,18 @@ "schema": { "$ref": "#/definitions/netAppAccount" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -284,6 +296,20 @@ ], "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": { @@ -319,6 +345,18 @@ "schema": { "$ref": "#/definitions/netAppAccountPatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -340,20 +378,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", @@ -361,6 +385,20 @@ "Capacity Pools" ], "operationId": "Pools_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -383,23 +421,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", @@ -407,6 +428,23 @@ "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", @@ -440,6 +478,21 @@ "schema": { "$ref": "#/definitions/capacityPool" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -485,6 +538,21 @@ "schema": { "$ref": "#/definitions/capacityPoolPatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -511,6 +579,23 @@ "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 or update request accepted; operation will complete asynchronously" @@ -531,23 +616,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe all volumes", "description": "List all volumes within the capacity pool", @@ -555,6 +623,23 @@ "Volumes" ], "operationId": "Volumes_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -577,32 +662,32 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "Volumes" ], "operationId": "Volumes_Get", "summary": "Describe a volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "description": "Get the details of the specified volume", "responses": { "200": { @@ -637,6 +722,24 @@ "schema": { "$ref": "#/definitions/volume" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -682,6 +785,24 @@ "schema": { "$ref": "#/definitions/volumePatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -719,6 +840,26 @@ "description": "Error response describing why the operation failed." } }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-long-running-operation": true, "x-ms-examples": { "Volumes_Delete": { @@ -728,26 +869,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "MountTargets" @@ -755,6 +876,26 @@ "operationId": "MountTargets_List", "summary": "Describe all mount targets", "description": "List all mount targets associated with the volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -777,26 +918,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "Snapshots" @@ -804,6 +925,26 @@ "operationId": "Snapshots_List", "summary": "Describe all snapshots", "description": "List all snapshots associated with the volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -826,29 +967,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/SnapshotName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "Snapshots" @@ -856,6 +974,29 @@ "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", @@ -889,6 +1030,27 @@ "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": { @@ -928,6 +1090,27 @@ "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": { @@ -954,6 +1137,29 @@ "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" 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 8f1920fab95e..25dcae543973 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 @@ -67,31 +67,31 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/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" - } - ], "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", @@ -111,31 +111,31 @@ } }, "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/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" - } - ], "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", @@ -155,17 +155,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe all NetApp Accounts in a resource group", "description": "List and describe all NetApp accounts in the resource group", @@ -173,6 +162,17 @@ "NetApp Accounts" ], "operationId": "Accounts_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -195,20 +195,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe a NetApp Account", "description": "Get the NetApp account", @@ -216,6 +202,20 @@ "NetApp Accounts" ], "operationId": "Accounts_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "responses": { "200": { "description": "OK", @@ -249,6 +249,18 @@ "schema": { "$ref": "#/definitions/netAppAccount" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -284,6 +296,20 @@ ], "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": { @@ -319,6 +345,18 @@ "schema": { "$ref": "#/definitions/netAppAccountPatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -343,20 +381,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe all Capacity Pools", "description": "List all capacity pools in the NetApp Account", @@ -364,6 +388,20 @@ "Capacity Pools" ], "operationId": "Pools_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "x-ms-pageable": { "nextLinkName": null }, @@ -386,23 +424,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "summary": "Describe a Capacity Pool", "description": "Get details of the specified capacity pool", @@ -410,6 +431,23 @@ "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", @@ -443,6 +481,21 @@ "schema": { "$ref": "#/definitions/capacityPool" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -488,6 +541,21 @@ "schema": { "$ref": "#/definitions/capacityPoolPatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -517,6 +585,23 @@ "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" @@ -537,26 +622,26 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "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" ], @@ -583,26 +668,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "Volumes" @@ -610,6 +675,26 @@ "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", @@ -643,6 +728,24 @@ "schema": { "$ref": "#/definitions/volume" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -688,6 +791,24 @@ "schema": { "$ref": "#/definitions/volumePatch" } + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { @@ -716,6 +837,26 @@ ], "operationId": "Volumes_Delete", "summary": "Delete a volume", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/PoolName" + }, + { + "$ref": "#/parameters/VolumeName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "description": "Delete the specified volume", "responses": { "202": { @@ -737,32 +878,32 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "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 @@ -786,32 +927,32 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "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 @@ -835,29 +976,6 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}": { - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/PoolName" - }, - { - "$ref": "#/parameters/VolumeName" - }, - { - "$ref": "#/parameters/SnapshotName" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], "get": { "tags": [ "Snapshots" @@ -865,6 +983,29 @@ "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", @@ -898,6 +1039,27 @@ "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": { @@ -937,6 +1099,27 @@ "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": { @@ -966,6 +1149,29 @@ "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"