diff --git a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json b/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json deleted file mode 100644 index 5704a4b9f312..000000000000 --- a/specification/servicelinker/resource-manager/Microsoft.ServiceLinker/stable/2022-05-01/examples/ValidateLinkSuccess.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "api-version": "2022-05-01", - "resourceUri": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Web/sites/test-app", - "linkerName": "linkName" - }, - "responses": { - "200": { - "body": { - "properties": { - "linkerName": "linkName", - "isConnectionAvailable": true, - "reportStartTimeUtc": "2020-07-12T22:05:09Z", - "reportEndTimeUtc": "2020-07-12T22:06:09Z", - "sourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", - "targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.DocumentDb/databaseAccounts/test-acc/mongodbDatabases/test-db", - "authType": "secret", - "validationDetail": [ - { - "name": "TargetExistence", - "description": "The target existence is validated", - "result": "success" - }, - { - "name": "TargetNetworkAccess", - "description": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.", - "result": "warning" - } - ] - } - } - }, - "202": {} - } -} 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 36c50fd40b7a..b774c2d53c4e 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 @@ -266,52 +266,6 @@ } } }, - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": { - "post": { - "tags": [ - "Links" - ], - "operationId": "Linker_Validate", - "description": "Validate a link.", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "ValidateLinkSuccess": { - "$ref": "./examples/ValidateLinkSuccess.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceUriParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/LinkerNameParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/ValidateOperationResult" - } - }, - "202": { - "description": "Accepted - Returns this status until the asynchronous operation has completed." - }, - "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}/listConfigurations": { "post": { "tags": [