Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update servicelinker.json #3676

Open
wants to merge 1 commit into
base: JackTn-test-sdkbreakingchange
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down