CognitiveServicesManagementClient class

Extends

Constructors

CognitiveServicesManagementClient(TokenCredential, string, CognitiveServicesManagementClientOptionalParams)

Initializes a new instance of the CognitiveServicesManagementClient class.

Properties

$host
accounts
apiVersion
commitmentPlans
commitmentTiers
deletedAccounts
deployments
models
operations
privateEndpointConnections
privateLinkResources
resourceSkus
subscriptionId
usages

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

checkDomainAvailability(string, string, CheckDomainAvailabilityOptionalParams)

Check whether a domain is available.

checkSkuAvailability(string, string[], string, string, CheckSkuAvailabilityOptionalParams)

Check available SKUs.

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

CognitiveServicesManagementClient(TokenCredential, string, CognitiveServicesManagementClientOptionalParams)

Initializes a new instance of the CognitiveServicesManagementClient class.

new CognitiveServicesManagementClient(credentials: TokenCredential, subscriptionId: string, options?: CognitiveServicesManagementClientOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

subscriptionId

string

The ID of the target subscription.

options
CognitiveServicesManagementClientOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

accounts

accounts: Accounts

Property Value

apiVersion

apiVersion: string

Property Value

string

commitmentPlans

commitmentPlans: CommitmentPlans

Property Value

commitmentTiers

commitmentTiers: CommitmentTiers

Property Value

deletedAccounts

deletedAccounts: DeletedAccounts

Property Value

deployments

deployments: Deployments

Property Value

models

models: Models

Property Value

operations

operations: Operations

Property Value

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

Property Value

privateLinkResources

privateLinkResources: PrivateLinkResources

Property Value

resourceSkus

resourceSkus: ResourceSkus

Property Value

subscriptionId

subscriptionId: string

Property Value

string

usages

usages: Usages

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Method Details

checkDomainAvailability(string, string, CheckDomainAvailabilityOptionalParams)

Check whether a domain is available.

function checkDomainAvailability(subdomainName: string, typeParam: string, options?: CheckDomainAvailabilityOptionalParams): Promise<DomainAvailability>

Parameters

subdomainName

string

The subdomain name to use.

typeParam

string

The Type of the resource.

options
CheckDomainAvailabilityOptionalParams

The options parameters.

Returns

checkSkuAvailability(string, string[], string, string, CheckSkuAvailabilityOptionalParams)

Check available SKUs.

function checkSkuAvailability(location: string, skus: string[], kind: string, typeParam: string, options?: CheckSkuAvailabilityOptionalParams): Promise<SkuAvailabilityListResult>

Parameters

location

string

Resource location.

skus

string[]

The SKU of the resource.

kind

string

The Kind of the resource.

typeParam

string

The Type of the resource.

options
CheckSkuAvailabilityOptionalParams

The options parameters.

Returns

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest