You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`{YOUR-ENDPOINT}`| The endpoint for authenticating your API request. |`https://<your-custom-subdomain>.cognitiveservices.azure.com`|
162
152
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
163
153
164
-
### Parameters
165
-
166
-
Pass the following parameter with your request.
167
-
168
-
|Key|Explanation|Value|
169
-
|--|--|--|
170
-
|`api-version`| The API version used.|`2021-11-01-preview`|
171
-
172
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
173
-
174
154
### Headers
175
155
176
156
Use the following header to authenticate your request.
@@ -198,7 +178,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
198
178
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
@@ -218,16 +198,6 @@ Use the following **GET** request to query the status of your model's training p
218
198
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
219
199
|`{JOB-ID}`| The ID for locating your model's training status. This is in the `location` header value you received in the previous step. |`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx`|
220
200
221
-
### Parameters
222
-
223
-
Pass the following parameter with your request.
224
-
225
-
|Key|Explanation|Value|
226
-
|--|--|--|
227
-
|`api-version`| The API version used.|`2021-11-01-preview`|
228
-
229
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
230
-
231
201
### Headers
232
202
233
203
Use the following header to authenticate your request.
@@ -277,7 +247,7 @@ Once you send the request, you will get the following response.
277
247
Create a **PUT** request using the following URL, headers, and JSON body to start deploying a text classification model.
@@ -286,16 +256,6 @@ Create a **PUT** request using the following URL, headers, and JSON body to star
286
256
|`{PROJECT-NAME}`| The name for your project. This value is case-sensitive. |`myProject`|
287
257
|`{DEPLOYMENT-NAME}`| The name of your deployment. This value is case-sensitive. |`prod`|
288
258
289
-
### Parameters
290
-
291
-
Pass the following parameter with your request.
292
-
293
-
|Key|Explanation|Value|
294
-
|--|--|--|
295
-
|`api-version`| The API version used.|`2021-11-01-preview`|
296
-
297
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
298
-
299
259
### Headers
300
260
301
261
Use the following header to authenticate your request.
@@ -318,7 +278,7 @@ Use the following JSON in your request. The model will be named `MyModel` once t
318
278
Once you send your API request, you will receive a `202` response indicating success. In the response headers, extract the `location` value. It will be formatted like this:
`JOB-ID` is used to identify your request, since this operation is asynchronous. You will use this URL in the next step to get the publishing status.
@@ -328,7 +288,7 @@ Once you send your API request, you will receive a `202` response indicating suc
328
288
Use the following **GET** request to query the status of your model's publishing process. You can use the URL you received from the previous step, or replace the placeholder values below with your own values.
@@ -338,16 +298,6 @@ Use the following **GET** request to query the status of your model's publishing
338
298
|`{DEPLOYMENT-NAME}`| The name of your deployment. This value is case-sensitive. |`prod`|
339
299
|`{JOB-ID}`| The ID for locating your model's training status. This is in the `location` header value you received in the previous step. |`xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx`|
340
300
341
-
### Parameters
342
-
343
-
Pass the following parameter with your request.
344
-
345
-
|Key|Explanation|Value|
346
-
|--|--|--|
347
-
|`api-version`| The API version used.|`2021-11-01-preview`|
348
-
349
-
To pass the parameter, add `?api-version=2021-11-01-preview` to the end of your request URL.
350
-
351
301
### Headers
352
302
353
303
Use the following header to authenticate your request.
@@ -525,4 +475,4 @@ Use the following header to authenticate your request.
525
475
526
476
|Key|Value|
527
477
|--|--|
528
-
|Ocp-Apim-Subscription-Key| The key to your resource. Used for authenticating your API requests.|
478
+
|Ocp-Apim-Subscription-Key| The key to your resource. Used for authenticating your API requests.|
0 commit comments