diff --git a/sdk/cognitiveservices/arm-cognitiveservices/src/models/index.ts b/sdk/cognitiveservices/arm-cognitiveservices/src/models/index.ts index 150f51cd9164..076def990ddc 100644 --- a/sdk/cognitiveservices/arm-cognitiveservices/src/models/index.ts +++ b/sdk/cognitiveservices/arm-cognitiveservices/src/models/index.ts @@ -162,6 +162,12 @@ export interface CognitiveServicesAccountProperties { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly internalId?: string; + /** + * Gets the capabilities of the cognitive services account. Each item indicates a specific + * feature is supported by this account. The value is read only and for reference only. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly capabilities?: string[]; /** * Optional subdomain name used for token-based authentication. */ diff --git a/sdk/cognitiveservices/arm-cognitiveservices/src/models/mappers.ts b/sdk/cognitiveservices/arm-cognitiveservices/src/models/mappers.ts index 5e26890f3fca..eca37e86e883 100644 --- a/sdk/cognitiveservices/arm-cognitiveservices/src/models/mappers.ts +++ b/sdk/cognitiveservices/arm-cognitiveservices/src/models/mappers.ts @@ -264,6 +264,18 @@ export const CognitiveServicesAccountProperties: msRest.CompositeMapper = { name: "String" } }, + capabilities: { + readOnly: true, + serializedName: "capabilities", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, customSubDomainName: { serializedName: "customSubDomainName", type: {