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

[Search] Rename CognitiveServices to CognitiveServicesAccount #7859

Merged
merged 1 commit into from
Dec 10, 2019
Merged
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 @@ -4814,7 +4814,8 @@
"description": "A list of skills in the skillset."
},
"cognitiveServices": {
"$ref": "#/definitions/CognitiveServices",
"x-ms-client-name": "CognitiveServicesAccount",
"$ref": "#/definitions/CognitiveServicesAccount",
"description": "Details about cognitive services to be used when running skills."
},
"@odata.etag": {
Expand All @@ -4833,7 +4834,7 @@
},
"description": "A list of skills."
},
"CognitiveServices": {
"CognitiveServicesAccount": {
"discriminator": "@odata.type",
"properties": {
"@odata.type": {
Expand All @@ -4848,21 +4849,21 @@
],
"description": "Abstract base class for describing any cognitive service resource attached to the skillset."
},
"DefaultCognitiveServices": {
"DefaultCognitiveServicesAccount": {
"description": "An empty object that represents the default cognitive service resource for a skillset.",
"x-ms-discriminator-value": "#Microsoft.Azure.Search.DefaultCognitiveServices",
"allOf": [
{
"$ref": "#/definitions/CognitiveServices"
"$ref": "#/definitions/CognitiveServicesAccount"
}
]
},
"CognitiveServicesByKey": {
"CognitiveServicesAccountKey": {
"description": "A cognitive service resource provisioned with a key that is attached to a skillset.",
"x-ms-discriminator-value": "#Microsoft.Azure.Search.CognitiveServicesByKey",
"allOf": [
{
"$ref": "#/definitions/CognitiveServices"
"$ref": "#/definitions/CognitiveServicesAccount"
}
],
"properties": {
Expand Down