Skip to content

Commit aa2c097

Browse files
committed
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs into fixSecurityConnectors
2 parents 58b716f + fe9ddfb commit aa2c097

File tree

119 files changed

+21988
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+21988
-81
lines changed

.github/comment.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
label: SuppressionReviewRequired
2222
onLabeledComments: "Hi @${PRAuthor}, one or multiple validation error/warning suppression(s) is detected in your PR. Please follow the [Swagger-Suppression-Process](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/85/Swagger-Suppression-Process) to get approval."
2323

24+
- rule:
25+
type: label
26+
label: CI-MissingBaseCommit
27+
onlabeledComments: "Hi, @${PRAuthor}, For review efficiency consideration, when creating a new api version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the [wiki](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/208/OpenAPI-Hub-Adding-new-API-version). Or you could onboard [API spec pipeline](https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/606/Enable-API-Spec-Pipeline)"
2428
- rule:
2529
type: label
2630
repoAllowList:

dev/cognitiveservices/data-plane/Language/analyzeconversations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"paths": {
4545
"/:analyze-conversations": {
4646
"post": {
47-
"operationId": "ConversationAnalysis_AnalyzeConversation",
47+
"operationId": "AnalyzeConversation",
4848
"description": "Analyzes the input conversation utterance.",
4949
"parameters": [
5050
{

dev/cognitiveservices/data-plane/Language/questionanswering-authoring.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
],
3535
"x-ms-parameterized-host": {
36-
"hostTemplate": "{Endpoint}/language/authoring",
36+
"hostTemplate": "{Endpoint}/language",
3737
"useSchemePrefix": false,
3838
"parameters": [
3939
{
@@ -42,7 +42,7 @@
4242
]
4343
},
4444
"paths": {
45-
"/query-knowledgebases/projects": {
45+
"/authoring/query-knowledgebases/projects": {
4646
"get": {
4747
"summary": "Gets all projects for a user.",
4848
"operationId": "QuestionAnsweringProjects_ListProjects",
@@ -91,7 +91,7 @@
9191
}
9292
}
9393
},
94-
"/query-knowledgebases/projects/{projectName}": {
94+
"/authoring/query-knowledgebases/projects/{projectName}": {
9595
"get": {
9696
"summary": "Get the requested project metadata.",
9797
"operationId": "QuestionAnsweringProjects_GetProjectDetails",
@@ -222,7 +222,7 @@
222222
"x-ms-long-running-operation": true
223223
}
224224
},
225-
"/query-knowledgebases/projects/deletion-jobs/{jobId}": {
225+
"/authoring/query-knowledgebases/projects/deletion-jobs/{jobId}": {
226226
"get": {
227227
"summary": "Gets the status of a Project delete job.",
228228
"operationId": "QuestionAnsweringProjects_GetDeleteStatus",
@@ -261,7 +261,7 @@
261261
}
262262
}
263263
},
264-
"/query-knowledgebases/projects/{projectName}/:export": {
264+
"/authoring/query-knowledgebases/projects/{projectName}/:export": {
265265
"post": {
266266
"summary": "Export project metadata and assets.",
267267
"operationId": "QuestionAnsweringProjects_Export",
@@ -315,7 +315,7 @@
315315
"x-ms-long-running-operation": true
316316
}
317317
},
318-
"/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}": {
318+
"/authoring/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}": {
319319
"get": {
320320
"summary": "Gets the status of an Export job, once job completes, returns the project metadata, and assets.",
321321
"operationId": "QuestionAnsweringProjects_GetExportStatus",
@@ -357,7 +357,7 @@
357357
}
358358
}
359359
},
360-
"/query-knowledgebases/projects/{projectName}/:import": {
360+
"/authoring/query-knowledgebases/projects/{projectName}/:import": {
361361
"post": {
362362
"summary": "Import project assets.",
363363
"operationId": "QuestionAnsweringProjects_Import",
@@ -413,7 +413,7 @@
413413
"x-ms-long-running-operation": true
414414
}
415415
},
416-
"/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}": {
416+
"/authoring/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}": {
417417
"get": {
418418
"summary": "Gets the status of an Import job.",
419419
"operationId": "QuestionAnsweringProjects_GetImportStatus",
@@ -455,7 +455,7 @@
455455
}
456456
}
457457
},
458-
"/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}": {
458+
"/authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}": {
459459
"put": {
460460
"summary": "Deploy project to production.",
461461
"operationId": "QuestionAnsweringProjects_DeployProject",
@@ -500,7 +500,7 @@
500500
"x-ms-long-running-operation": true
501501
}
502502
},
503-
"/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}": {
503+
"/authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}": {
504504
"get": {
505505
"summary": "Gets the status of a Deploy job.",
506506
"operationId": "QuestionAnsweringProjects_GetDeployStatus",
@@ -545,7 +545,7 @@
545545
}
546546
}
547547
},
548-
"/query-knowledgebases/projects/{projectName}/deployments": {
548+
"/authoring/query-knowledgebases/projects/{projectName}/deployments": {
549549
"get": {
550550
"summary": "List all deployments of a project.",
551551
"operationId": "QuestionAnsweringProjects_ListDeployments",
@@ -597,7 +597,7 @@
597597
}
598598
}
599599
},
600-
"/query-knowledgebases/projects/{projectName}/synonyms": {
600+
"/authoring/query-knowledgebases/projects/{projectName}/synonyms": {
601601
"get": {
602602
"summary": "Gets all the synonyms of a project.",
603603
"operationId": "QuestionAnsweringProjects_GetSynonyms",
@@ -692,7 +692,7 @@
692692
}
693693
}
694694
},
695-
"/query-knowledgebases/projects/{projectName}/sources": {
695+
"/authoring/query-knowledgebases/projects/{projectName}/sources": {
696696
"get": {
697697
"summary": "Gets all the sources of a project.",
698698
"operationId": "QuestionAnsweringProjects_GetSources",
@@ -793,7 +793,7 @@
793793
"x-ms-long-running-operation": true
794794
}
795795
},
796-
"/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}": {
796+
"/authoring/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}": {
797797
"get": {
798798
"summary": "Gets the status of update sources job.",
799799
"operationId": "QuestionAnsweringProjects_GetUpdateSourcesStatus",
@@ -835,7 +835,7 @@
835835
}
836836
}
837837
},
838-
"/query-knowledgebases/projects/{projectName}/qnas": {
838+
"/authoring/query-knowledgebases/projects/{projectName}/qnas": {
839839
"get": {
840840
"summary": "Gets all the QnAs of a project.",
841841
"operationId": "QuestionAnsweringProjects_GetQnas",
@@ -939,7 +939,7 @@
939939
"x-ms-long-running-operation": true
940940
}
941941
},
942-
"/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}": {
942+
"/authoring/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}": {
943943
"get": {
944944
"summary": "Gets the status of update QnAs job.",
945945
"operationId": "QuestionAnsweringProjects_GetUpdateQnasStatus",
@@ -981,7 +981,7 @@
981981
}
982982
}
983983
},
984-
"/query-knowledgebases/projects/{projectName}/feedback": {
984+
"/authoring/query-knowledgebases/projects/{projectName}/feedback": {
985985
"post": {
986986
"summary": "Update Active Learning feedback.",
987987
"operationId": "QuestionAnsweringProjects_AddFeedback",

specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileAssignment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"201": {
1616
"headers": {},
1717
"body": {
18-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
18+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
1919
"name": "default",
2020
"properties": {
2121
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",
@@ -35,7 +35,7 @@
3535
"200": {
3636
"headers": {},
3737
"body": {
38-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
38+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
3939
"name": "default",
4040
"properties": {
4141
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",

specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCIAssignment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"201": {
1616
"headers": {},
1717
"body": {
18-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName/providers/Microsoft.Automanage/AutomanageAssignments/default",
18+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
1919
"name": "default",
2020
"properties": {
2121
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName",
@@ -35,7 +35,7 @@
3535
"200": {
3636
"headers": {},
3737
"body": {
38-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName/providers/Microsoft.Automanage/AutomanageAssignments/default",
38+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
3939
"name": "default",
4040
"properties": {
4141
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.AzureStackHci/clusters/myClusterName",

specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/examples/createOrUpdateConfigurationProfileHCRPAssignment.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"201": {
1616
"headers": {},
1717
"body": {
18-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName/providers/Microsoft.Automanage/AutomanageAssignments/default",
18+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
1919
"name": "default",
2020
"properties": {
2121
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName",
@@ -35,7 +35,7 @@
3535
"200": {
3636
"headers": {},
3737
"body": {
38-
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName/providers/Microsoft.Automanage/AutomanageAssignments/default",
38+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName/providers/Microsoft.Automanage/configurationProfileAssignments/default",
3939
"name": "default",
4040
"properties": {
4141
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.HybridCompute/machines/myMachineName",

specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/MultivariateAnomalyDetector.json

Lines changed: 33 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,19 @@
2525
}
2626
],
2727
"x-ms-parameterized-host": {
28-
"hostTemplate": "{Endpoint}/anomalydetector/{ApiVersion}",
28+
"hostTemplate": "{Endpoint}/anomalydetector",
2929
"useSchemePrefix": false,
3030
"parameters": [
3131
{
3232
"$ref": "#/parameters/Endpoint"
33-
},
34-
{
35-
"$ref": "#/parameters/ApiVersion"
3633
}
3734
]
3835
},
3936
"schemes": [
4037
"https"
4138
],
4239
"paths": {
43-
"/multivariate/detect-batch/{resultId}": {
40+
"/{ApiVersion}/multivariate/detect-batch/{resultId}": {
4441
"get": {
4542
"responses": {
4643
"200": {
@@ -64,8 +61,11 @@
6461
},
6562
"summary": "Get Multivariate Anomaly Detection Result",
6663
"description": "For asynchronous inference, get multivariate anomaly detection result based on resultId returned by the BatchDetectAnomaly api.",
67-
"operationId": "GetBatchDetectionResult",
64+
"operationId": "GetMultivariateBatchDetectionResult",
6865
"parameters": [
66+
{
67+
"$ref": "#/parameters/ApiVersion"
68+
},
6969
{
7070
"name": "resultId",
7171
"in": "path",
@@ -82,7 +82,7 @@
8282
}
8383
}
8484
},
85-
"/multivariate/models": {
85+
"/{ApiVersion}/multivariate/models": {
8686
"post": {
8787
"responses": {
8888
"201": {
@@ -112,8 +112,11 @@
112112
},
113113
"summary": "Train a Multivariate Anomaly Detection Model",
114114
"description": "Create and train a multivariate anomaly detection model. The request must include a source parameter to indicate an externally accessible Azure blob storage URI.There are two types of data input: An URI pointed to an Azure blob storage folder which contains multiple CSV files, and each CSV file contains two columns, timestamp and variable. Another type of input is an URI pointed to a CSV file in Azure blob storage, which contains all the variables and a timestamp column.",
115-
"operationId": "CreateMultivariateModel",
115+
"operationId": "CreateAndTrainMultivariateModel",
116116
"parameters": [
117+
{
118+
"$ref": "#/parameters/ApiVersion"
119+
},
117120
{
118121
"name": "body",
119122
"required": true,
@@ -153,8 +156,11 @@
153156
},
154157
"summary": "List Multivariate Models",
155158
"description": "List models of a resource.",
156-
"operationId": "ListMultivariateModel",
159+
"operationId": "ListMultivariateModels",
157160
"parameters": [
161+
{
162+
"$ref": "#/parameters/ApiVersion"
163+
},
158164
{
159165
"type": "integer",
160166
"default": 0,
@@ -182,7 +188,7 @@
182188
}
183189
}
184190
},
185-
"/multivariate/models/{modelId}": {
191+
"/{ApiVersion}/multivariate/models/{modelId}": {
186192
"delete": {
187193
"responses": {
188194
"204": {
@@ -205,6 +211,9 @@
205211
"description": "Delete an existing multivariate model according to the modelId",
206212
"operationId": "DeleteMultivariateModel",
207213
"parameters": [
214+
{
215+
"$ref": "#/parameters/ApiVersion"
216+
},
208217
{
209218
"name": "modelId",
210219
"in": "path",
@@ -245,6 +254,9 @@
245254
"description": "Get detailed information of multivariate model, including the training status and variables used in the model.",
246255
"operationId": "GetMultivariateModel",
247256
"parameters": [
257+
{
258+
"$ref": "#/parameters/ApiVersion"
259+
},
248260
{
249261
"name": "modelId",
250262
"in": "path",
@@ -261,7 +273,7 @@
261273
}
262274
}
263275
},
264-
"/multivariate/models/{modelId}:detect-batch": {
276+
"/{ApiVersion}/multivariate/models/{modelId}:detect-batch": {
265277
"post": {
266278
"responses": {
267279
"202": {
@@ -295,8 +307,11 @@
295307
},
296308
"summary": "Detect Multivariate Anomaly",
297309
"description": "Submit multivariate anomaly detection task with the modelId of trained model and inference data, the input schema should be the same with the training request. The request will complete asynchronously and return a resultId to query the detection result.The request should be a source link to indicate an externally accessible Azure storage Uri, either pointed to an Azure blob storage folder, or pointed to a CSV file in Azure blob storage.",
298-
"operationId": "BatchDetectAnomaly",
310+
"operationId": "DetectMultivariateBatchAnomaly",
299311
"parameters": [
312+
{
313+
"$ref": "#/parameters/ApiVersion"
314+
},
300315
{
301316
"name": "modelId",
302317
"in": "path",
@@ -323,7 +338,7 @@
323338
"x-ms-long-running-operation": true
324339
}
325340
},
326-
"/multivariate/models/{modelId}:detect-last": {
341+
"/{ApiVersion}/multivariate/models/{modelId}:detect-last": {
327342
"post": {
328343
"responses": {
329344
"200": {
@@ -347,8 +362,11 @@
347362
},
348363
"summary": "Detect anomalies in the last point of the request body",
349364
"description": "Submit multivariate anomaly detection task with the modelId of trained model and inference data, and the inference data should be put into request body in a JSON format. The request will complete synchronously and return the detection immediately in the response body.",
350-
"operationId": "LastDetectAnomaly",
365+
"operationId": "DetectMultivariateLastAnomaly",
351366
"parameters": [
367+
{
368+
"$ref": "#/parameters/ApiVersion"
369+
},
352370
{
353371
"name": "modelId",
354372
"in": "path",
@@ -1211,6 +1229,7 @@
12111229
"name": "ApiVersion",
12121230
"description": "Anomaly Detector API version (for example, v1.1).",
12131231
"x-ms-parameter-location": "client",
1232+
"x-ms-api-version": true,
12141233
"required": true,
12151234
"type": "string",
12161235
"in": "path"

0 commit comments

Comments
 (0)