From 2e4b0aeb5bca99b1c1318b15375fa5469895c3b6 Mon Sep 17 00:00:00 2001 From: fahdkmsft <51756016+fahdkmsft@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:52:23 -0700 Subject: [PATCH] Fixing auto-rest issues in registries (#20772) * Fixing auto-rest issues in registries * Removing location from the required list Co-authored-by: Fahd Kamal --- .../2022-10-01-preview/registries.json | 41 ------------------- 1 file changed, 41 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json index ef403830fd15..d1f75b6ce252 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2022-10-01-preview/registries.json @@ -9,42 +9,6 @@ "https" ], "paths": { - "/providers/Microsoft.MachineLearningServices/operations": { - "get": { - "tags": [ - "Operation" - ], - "description": "Lists all of the available Azure Machine Learning Services REST API operations.", - "operationId": "Operations_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "machineLearningServices.json#/definitions/AmlOperationListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List registries.": { - "$ref": "./examples/Workspace/operationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/registries": { "get": { "tags": [ @@ -574,7 +538,6 @@ }, "RegistryTrackedResource": { "required": [ - "location", "properties" ], "type": "object", @@ -592,10 +555,6 @@ "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", "type": "string" }, - "location": { - "description": "The geo-location where the resource lives.", - "type": "string" - }, "properties": { "description": "[Required] Additional attributes of the entity.", "$ref": "#/definitions/Registry"