AccountsOperations interface

Interface representing a Accounts operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.

delete

Deletes a Cognitive Services account from the resource group.

get

Returns a Cognitive Services account specified by the parameters.

list

Returns all the resources of a particular type belonging to a subscription.

listByResourceGroup

Returns all the resources of a particular type belonging to a resource group

listKeys

Lists the account keys for the specified Cognitive Services account.

listModels

List available Models for the requested Cognitive Services account

listSkus

List available SKUs for the requested Cognitive Services account

listUsages

Get usages for the requested Cognitive Services account

regenerateKey

Regenerates the specified account key for the specified Cognitive Services account.

update

Updates a Cognitive Services account

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Account>, Account>>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Account>, Account>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => Promise<Account>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => Promise<Account>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Account>, Account>>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Account>, Account>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => Promise<Account>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => Promise<Account>

create

Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.

create: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => PollerLike<OperationState<Account>, Account>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsCreateOptionalParams) => PollerLike<OperationState<Account>, Account>

delete

Deletes a Cognitive Services account from the resource group.

delete: (resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Returns a Cognitive Services account specified by the parameters.

get: (resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams) => Promise<Account>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsGetOptionalParams) => Promise<Account>

list

Returns all the resources of a particular type belonging to a subscription.

list: (options?: AccountsListOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>

Property Value

(options?: AccountsListOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>

listByResourceGroup

Returns all the resources of a particular type belonging to a resource group

listByResourceGroup: (resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>

Property Value

(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Account, Account[], PageSettings>

listKeys

Lists the account keys for the specified Cognitive Services account.

listKeys: (resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams) => Promise<ApiKeys>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsListKeysOptionalParams) => Promise<ApiKeys>

listModels

List available Models for the requested Cognitive Services account

listModels: (resourceGroupName: string, accountName: string, options?: AccountsListModelsOptionalParams) => PagedAsyncIterableIterator<AccountModel, AccountModel[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsListModelsOptionalParams) => PagedAsyncIterableIterator<AccountModel, AccountModel[], PageSettings>

listSkus

List available SKUs for the requested Cognitive Services account

listSkus: (resourceGroupName: string, accountName: string, options?: AccountsListSkusOptionalParams) => Promise<AccountSkuListResult>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsListSkusOptionalParams) => Promise<AccountSkuListResult>

listUsages

Get usages for the requested Cognitive Services account

listUsages: (resourceGroupName: string, accountName: string, options?: AccountsListUsagesOptionalParams) => Promise<UsageListResult>

Property Value

(resourceGroupName: string, accountName: string, options?: AccountsListUsagesOptionalParams) => Promise<UsageListResult>

regenerateKey

Regenerates the specified account key for the specified Cognitive Services account.

regenerateKey: (resourceGroupName: string, accountName: string, keyName: KeyName, options?: AccountsRegenerateKeyOptionalParams) => Promise<ApiKeys>

Property Value

(resourceGroupName: string, accountName: string, keyName: KeyName, options?: AccountsRegenerateKeyOptionalParams) => Promise<ApiKeys>

update

Updates a Cognitive Services account

update: (resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => PollerLike<OperationState<Account>, Account>

Property Value

(resourceGroupName: string, accountName: string, account: Account, options?: AccountsUpdateOptionalParams) => PollerLike<OperationState<Account>, Account>