Skip to content
Closed
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
2 changes: 1 addition & 1 deletion sdk/cognitiveservices/arm-cognitiveservices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@azure/arm-cognitiveservices",
"author": "Microsoft Corporation",
"description": "CognitiveServicesManagementClient Library with typescript type definitions for node.js and browser.",
"version": "5.0.0",
"version": "5.1.0",
"dependencies": {
"@azure/ms-rest-azure-js": "^2.0.1",
"@azure/ms-rest-js": "^2.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "@azure/ms-rest-azure-js";

const packageName = "@azure/arm-cognitiveservices";
const packageVersion = "5.0.0";
const packageVersion = "5.1.0";

export class CognitiveServicesManagementClientContext extends msRestAzure.AzureServiceClient {
credentials: msRest.ServiceClientCredentials;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
12 changes: 12 additions & 0 deletions sdk/cognitiveservices/arm-cognitiveservices/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down