diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json index 0abf53104be0..078023242338 100644 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json +++ b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json @@ -34,201 +34,6 @@ } }, "paths": { - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { - "get": { - "description": "Returns Linker resource for a given name.", - "operationId": "Linker_Get", - "x-ms-examples": { - "Link": { - "$ref": "./examples/Link.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - } - ], - "responses": { - "200": { - "description": "Linker details.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "description": "Create or update linker resource.", - "operationId": "Linker_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "PutLink": { - "$ref": "./examples/PutLink.json" - }, - "PutLinkWithServiceEndpoint": { - "$ref": "./examples/PutLinkWithServiceEndpoint.json" - }, - "PutLinkWithSecretStore": { - "$ref": "./examples/PutLinkWithSecretStore.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - }, - { - "name": "parameters", - "description": "Linker details.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerResource" - } - } - ], - "responses": { - "200": { - "description": "Successful.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "Long running operation.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "Links" - ], - "operationId": "Linker_Delete", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "description": "Delete a link.", - "x-ms-examples": { - "DeleteLink": { - "$ref": "./examples/DeleteLink.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK. The link is deleted." - }, - "204": { - "description": "Deleted. The link is not found." - }, - "202": { - "description": "Long running operation." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "Links" - ], - "operationId": "Linker_Update", - "description": "Operation to update an existing link.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "PatchLink": { - "$ref": "./examples/PatchLink.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - }, - { - "name": "parameters", - "description": "Linker details.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LinkerPatch" - } - } - ], - "responses": { - "200": { - "description": "Success. The response describes a link.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "201": { - "description": "Long running operation.", - "schema": { - "$ref": "#/definitions/LinkerResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - } - }, "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { "post": { "tags": [