From 5bdf8b87372c4e8ef5afad52f5affa5d1e8efd47 Mon Sep 17 00:00:00 2001 From: Bruce Johnston Date: Wed, 27 Nov 2019 21:02:19 -0800 Subject: [PATCH] [Search] Rename CognitiveServices to CognitiveServicesAccount --- .../stable/2019-05-06/searchservice.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json index f0989643beb5..62a6a2a61964 100644 --- a/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json +++ b/specification/search/data-plane/Microsoft.Azure.Search.Service/stable/2019-05-06/searchservice.json @@ -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": { @@ -4833,7 +4834,7 @@ }, "description": "A list of skills." }, - "CognitiveServices": { + "CognitiveServicesAccount": { "discriminator": "@odata.type", "properties": { "@odata.type": { @@ -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": {