Skip to content
Merged
Show file tree
Hide file tree
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 @@ -86,6 +86,12 @@
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
"schema": {
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
Expand Down Expand Up @@ -146,6 +152,12 @@
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.",
"schema": {
"$ref": "#/definitions/CognitiveServicesAccount"
}
},
"default": {
"description": "Error response describing why the operation failed. If the resource group *or* resource does not exist, 404 (NotFound) should be returned.",
"schema": {
Expand Down Expand Up @@ -194,6 +206,9 @@
"200": {
"description": "A 200 (OK) should be returned if the object exists and was deleted successfully;"
},
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
},
"204": {
"description": "a 204 (NoContent) should be used if the resource does not exist and the request is well formed."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,24 @@
"internalId": "9dc1c5b9bb95486aa63899acdaebd9a0"
}
}
},
"202": {
"body": {
"id": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/felixwa-01/providers/Microsoft.CognitiveServices/accounts/testCreate1",
"name": "testCreate1",
"type": "Microsoft.CognitiveServices/accounts",
"location": "West US",
"sku": {
"name": "S0"
},
"kind": "Emotion",
"etag": "W/\"datetime'2017-04-10T07%3A57%3A48.4582781Z'\"",
"properties": {
"endpoint": "https://westus.api.cognitive.microsoft.com/emotion/v1.0",
"provisioningState": "Succeeded",
"internalId": "9dc1c5b9bb95486aa63899acdaebd9a0"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,24 @@
"internalId": "ceebe1e8e40f44e69554c1a759de4cf9"
}
}
},
"202": {
"body": {
"id": "/subscriptions/f9b96b36-1f5e-4021-8959-51527e26e6d3/resourceGroups/bvttest/providers/Microsoft.CognitiveServices/accounts/bingSearch",
"name": "bingSearch",
"type": "Microsoft.CognitiveServices/accounts",
"location": "global",
"sku": {
"name": "S2"
},
"kind": "Bing.Search",
"etag": "W/\"datetime'2017-04-10T07%3A46%3A21.5618831Z'\"",
"properties": {
"endpoint": "https://api.cognitive.microsoft.com/bing/v5.0",
"provisioningState": "Succeeded",
"internalId": "ceebe1e8e40f44e69554c1a759de4cf9"
}
}
}
}
}