Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
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
2 changes: 1 addition & 1 deletion lib/services/cognitiveServicesManagement/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Microsoft
Copyright (c) 2019 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class CognitiveServicesAccount extends models['BaseResource'] {
* 'Failed'
* @member {string} [endpoint] Endpoint of the created account.
* @member {string} [internalId] The internal identifier.
* @member {string} [customSubDomainName] Optional subdomain name used for
* token-based authentication.
* @member {object} [sku] The SKU of Cognitive Services account.
* @member {string} [sku.name] Gets or sets the sku name. Required for
* account creation, optional for update.
Expand Down Expand Up @@ -121,6 +123,13 @@ class CognitiveServicesAccount extends models['BaseResource'] {
name: 'String'
}
},
customSubDomainName: {
required: false,
serializedName: 'properties.customSubDomainName',
type: {
name: 'String'
}
},
sku: {
required: false,
serializedName: 'sku',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export interface CognitiveServicesAccountUpdateParameters {
* 'Failed'
* @member {string} [endpoint] Endpoint of the created account.
* @member {string} [internalId] The internal identifier.
* @member {string} [customSubDomainName] Optional subdomain name used for
* token-based authentication.
* @member {object} [sku] The SKU of Cognitive Services account.
* @member {string} [sku.name] Gets or sets the sku name. Required for account
* creation, optional for update.
Expand All @@ -126,6 +128,7 @@ export interface CognitiveServicesAccount extends BaseResource {
readonly provisioningState?: string;
endpoint?: string;
internalId?: string;
customSubDomainName?: string;
sku?: Sku;
tags?: { [propertyName: string]: string };
readonly type?: string;
Expand Down