Dela via


DeletedAccounts interface

Interface representing a DeletedAccounts.

Methods

beginPurge(string, string, string, DeletedAccountsPurgeOptionalParams)

Deletes a Cognitive Services account from the resource group.

beginPurgeAndWait(string, string, string, DeletedAccountsPurgeOptionalParams)

Deletes a Cognitive Services account from the resource group.

get(string, string, string, DeletedAccountsGetOptionalParams)

Returns a Cognitive Services account specified by the parameters.

list(DeletedAccountsListOptionalParams)

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

Method Details

beginPurge(string, string, string, DeletedAccountsPurgeOptionalParams)

Deletes a Cognitive Services account from the resource group.

function beginPurge(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsPurgeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

location

string

Resource location.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

options
DeletedAccountsPurgeOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginPurgeAndWait(string, string, string, DeletedAccountsPurgeOptionalParams)

Deletes a Cognitive Services account from the resource group.

function beginPurgeAndWait(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsPurgeOptionalParams): Promise<void>

Parameters

location

string

Resource location.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

options
DeletedAccountsPurgeOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DeletedAccountsGetOptionalParams)

Returns a Cognitive Services account specified by the parameters.

function get(location: string, resourceGroupName: string, accountName: string, options?: DeletedAccountsGetOptionalParams): Promise<Account>

Parameters

location

string

Resource location.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

accountName

string

The name of Cognitive Services account.

options
DeletedAccountsGetOptionalParams

The options parameters.

Returns

Promise<Account>

list(DeletedAccountsListOptionalParams)

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

function list(options?: DeletedAccountsListOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>

Parameters

options
DeletedAccountsListOptionalParams

The options parameters.

Returns