|
34 | 34 | }
|
35 | 35 | },
|
36 | 36 | "paths": {
|
37 |
| - "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}": { |
38 |
| - "get": { |
39 |
| - "description": "Returns Linker resource for a given name.", |
40 |
| - "operationId": "Linker_Get", |
41 |
| - "x-ms-examples": { |
42 |
| - "Link": { |
43 |
| - "$ref": "./examples/Link.json" |
44 |
| - } |
45 |
| - }, |
46 |
| - "parameters": [ |
47 |
| - { |
48 |
| - "$ref": "#/parameters/ResourceUriParameter" |
49 |
| - }, |
50 |
| - { |
51 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" |
52 |
| - }, |
53 |
| - { |
54 |
| - "$ref": "#/parameters/LinkerNameParameter" |
55 |
| - } |
56 |
| - ], |
57 |
| - "responses": { |
58 |
| - "200": { |
59 |
| - "description": "Linker details.", |
60 |
| - "schema": { |
61 |
| - "$ref": "#/definitions/LinkerResource" |
62 |
| - } |
63 |
| - }, |
64 |
| - "default": { |
65 |
| - "description": "Error response describing why the operation failed.", |
66 |
| - "schema": { |
67 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
68 |
| - } |
69 |
| - } |
70 |
| - } |
71 |
| - }, |
72 |
| - "put": { |
73 |
| - "description": "Create or update linker resource.", |
74 |
| - "operationId": "Linker_CreateOrUpdate", |
75 |
| - "x-ms-long-running-operation": true, |
76 |
| - "x-ms-long-running-operation-options": { |
77 |
| - "final-state-via": "azure-async-operation" |
78 |
| - }, |
79 |
| - "x-ms-examples": { |
80 |
| - "PutLink": { |
81 |
| - "$ref": "./examples/PutLink.json" |
82 |
| - }, |
83 |
| - "PutLinkWithServiceEndpoint": { |
84 |
| - "$ref": "./examples/PutLinkWithServiceEndpoint.json" |
85 |
| - }, |
86 |
| - "PutLinkWithSecretStore": { |
87 |
| - "$ref": "./examples/PutLinkWithSecretStore.json" |
88 |
| - } |
89 |
| - }, |
90 |
| - "parameters": [ |
91 |
| - { |
92 |
| - "$ref": "#/parameters/ResourceUriParameter" |
93 |
| - }, |
94 |
| - { |
95 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" |
96 |
| - }, |
97 |
| - { |
98 |
| - "$ref": "#/parameters/LinkerNameParameter" |
99 |
| - }, |
100 |
| - { |
101 |
| - "name": "parameters", |
102 |
| - "description": "Linker details.", |
103 |
| - "in": "body", |
104 |
| - "required": true, |
105 |
| - "schema": { |
106 |
| - "$ref": "#/definitions/LinkerResource" |
107 |
| - } |
108 |
| - } |
109 |
| - ], |
110 |
| - "responses": { |
111 |
| - "200": { |
112 |
| - "description": "Successful.", |
113 |
| - "schema": { |
114 |
| - "$ref": "#/definitions/LinkerResource" |
115 |
| - } |
116 |
| - }, |
117 |
| - "201": { |
118 |
| - "description": "Long running operation.", |
119 |
| - "schema": { |
120 |
| - "$ref": "#/definitions/LinkerResource" |
121 |
| - } |
122 |
| - }, |
123 |
| - "default": { |
124 |
| - "description": "Error response describing why the operation failed.", |
125 |
| - "schema": { |
126 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
127 |
| - } |
128 |
| - } |
129 |
| - } |
130 |
| - }, |
131 |
| - "delete": { |
132 |
| - "tags": [ |
133 |
| - "Links" |
134 |
| - ], |
135 |
| - "operationId": "Linker_Delete", |
136 |
| - "x-ms-long-running-operation": true, |
137 |
| - "x-ms-long-running-operation-options": { |
138 |
| - "final-state-via": "azure-async-operation" |
139 |
| - }, |
140 |
| - "description": "Delete a link.", |
141 |
| - "x-ms-examples": { |
142 |
| - "DeleteLink": { |
143 |
| - "$ref": "./examples/DeleteLink.json" |
144 |
| - } |
145 |
| - }, |
146 |
| - "parameters": [ |
147 |
| - { |
148 |
| - "$ref": "#/parameters/ResourceUriParameter" |
149 |
| - }, |
150 |
| - { |
151 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" |
152 |
| - }, |
153 |
| - { |
154 |
| - "$ref": "#/parameters/LinkerNameParameter" |
155 |
| - } |
156 |
| - ], |
157 |
| - "responses": { |
158 |
| - "200": { |
159 |
| - "description": "OK. The link is deleted." |
160 |
| - }, |
161 |
| - "204": { |
162 |
| - "description": "Deleted. The link is not found." |
163 |
| - }, |
164 |
| - "202": { |
165 |
| - "description": "Long running operation." |
166 |
| - }, |
167 |
| - "default": { |
168 |
| - "description": "Error response describing why the operation failed.", |
169 |
| - "schema": { |
170 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
171 |
| - } |
172 |
| - } |
173 |
| - } |
174 |
| - }, |
175 |
| - "patch": { |
176 |
| - "tags": [ |
177 |
| - "Links" |
178 |
| - ], |
179 |
| - "operationId": "Linker_Update", |
180 |
| - "description": "Operation to update an existing link.", |
181 |
| - "x-ms-long-running-operation": true, |
182 |
| - "x-ms-long-running-operation-options": { |
183 |
| - "final-state-via": "azure-async-operation" |
184 |
| - }, |
185 |
| - "x-ms-examples": { |
186 |
| - "PatchLink": { |
187 |
| - "$ref": "./examples/PatchLink.json" |
188 |
| - } |
189 |
| - }, |
190 |
| - "parameters": [ |
191 |
| - { |
192 |
| - "$ref": "#/parameters/ResourceUriParameter" |
193 |
| - }, |
194 |
| - { |
195 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" |
196 |
| - }, |
197 |
| - { |
198 |
| - "$ref": "#/parameters/LinkerNameParameter" |
199 |
| - }, |
200 |
| - { |
201 |
| - "name": "parameters", |
202 |
| - "description": "Linker details.", |
203 |
| - "in": "body", |
204 |
| - "required": true, |
205 |
| - "schema": { |
206 |
| - "$ref": "#/definitions/LinkerPatch" |
207 |
| - } |
208 |
| - } |
209 |
| - ], |
210 |
| - "responses": { |
211 |
| - "200": { |
212 |
| - "description": "Success. The response describes a link.", |
213 |
| - "schema": { |
214 |
| - "$ref": "#/definitions/LinkerResource" |
215 |
| - } |
216 |
| - }, |
217 |
| - "201": { |
218 |
| - "description": "Long running operation.", |
219 |
| - "schema": { |
220 |
| - "$ref": "#/definitions/LinkerResource" |
221 |
| - } |
222 |
| - }, |
223 |
| - "default": { |
224 |
| - "description": "Error response describing why the operation failed.", |
225 |
| - "schema": { |
226 |
| - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" |
227 |
| - } |
228 |
| - } |
229 |
| - } |
230 |
| - } |
231 |
| - }, |
232 | 37 | "/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}/validateLinker": {
|
233 | 38 | "post": {
|
234 | 39 | "tags": [
|
|
0 commit comments