From 27c0982ff348ea856dda22d6ca96526e6b546ee8 Mon Sep 17 00:00:00 2001 From: leonard Date: Tue, 20 Nov 2018 08:04:47 +0000 Subject: [PATCH] NFSAAS-1505 minor update and validation fixes --- .../examples/MountTargets_Delete.json | 15 ------- .../preview/2017-08-15/netapp.json | 45 ++++++++----------- 2 files changed, 18 insertions(+), 42 deletions(-) delete mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json deleted file mode 100644 index 5ba8004905e4..000000000000 --- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/examples/MountTargets_Delete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "subscriptionId", - "resourceGroup": "resourceGroup", - "accountName": "accountName", - "poolName": "poolName", - "volumeName": "volumeName", - "mountTargetName": "mountTargetName", - "api-version": "2017-08-15" - }, - "responses": { - "204": {}, - "202": {} - } -} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json index 103a2b754cf7..e7392ca8f979 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/preview/2017-08-15/netapp.json @@ -49,6 +49,9 @@ "$ref": "#/parameters/ApiVersionParameter" } ], + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK", @@ -83,6 +86,9 @@ "NetApp Accounts" ], "operationId": "Accounts_List", + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK", @@ -272,6 +278,9 @@ "Capacity Pools" ], "operationId": "Pools_List", + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK", @@ -467,6 +476,9 @@ "Volumes" ], "operationId": "Volumes_List", + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK", @@ -668,6 +680,9 @@ ], "operationId": "MountTargets_List", "description": "List mount targets", + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK", @@ -738,33 +753,6 @@ "$ref": "examples/MountTargets_Get.json" } } - }, - "delete": { - "tags": [ - "MountTargets" - ], - "operationId": "MountTargets_Delete", - "description": "Delete mount target", - "responses": { - "202": { - "description": "Accepted -- Create or update request accepted; operation will complete asynchronously" - }, - "204": { - "description": "NoContent -- Resource does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/error" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "MountTargets_Delete": { - "$ref": "examples/MountTargets_Delete.json" - } - } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/pools/{poolName}/volumes/{volumeName}/snapshots": { @@ -794,6 +782,9 @@ ], "operationId": "Snapshots_List", "description": "List snapshots", + "x-ms-pageable": { + "nextLinkName": null + }, "responses": { "200": { "description": "OK",