Accounts interface

Interface representing a Accounts.

Methods

beginCreateOrUpdate(string, string, Account, AccountsCreateOrUpdateOptionalParams)

Create a Account

beginCreateOrUpdateAndWait(string, string, Account, AccountsCreateOrUpdateOptionalParams)

Create a Account

beginDelete(string, string, AccountsDeleteOptionalParams)

Delete a Account

beginDeleteAndWait(string, string, AccountsDeleteOptionalParams)

Delete a Account

get(string, string, AccountsGetOptionalParams)

Get a Account

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

List Account resources by resource group

listBySubscription(AccountsListBySubscriptionOptionalParams)

List Account resources by subscription ID

update(string, string, AccountUpdate, AccountsUpdateOptionalParams)

Update a Account

Method Details

beginCreateOrUpdate(string, string, Account, AccountsCreateOrUpdateOptionalParams)

Create a Account

function beginCreateOrUpdate(resourceGroupName: string, name: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Account>, Account>>

Parameters

resourceGroupName

string

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

name

string

Name of account

resource
Account

Resource create parameters.

options
AccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, Account, AccountsCreateOrUpdateOptionalParams)

Create a Account

function beginCreateOrUpdateAndWait(resourceGroupName: string, name: string, resource: Account, options?: AccountsCreateOrUpdateOptionalParams): Promise<Account>

Parameters

resourceGroupName

string

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

name

string

Name of account

resource
Account

Resource create parameters.

options
AccountsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Account>

beginDelete(string, string, AccountsDeleteOptionalParams)

Delete a Account

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

Parameters

resourceGroupName

string

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

name

string

Name of account

options
AccountsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, AccountsDeleteOptionalParams)

Delete a Account

function beginDeleteAndWait(resourceGroupName: string, name: string, options?: AccountsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

name

string

Name of account

options
AccountsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, AccountsGetOptionalParams)

Get a Account

function get(resourceGroupName: string, name: string, options?: AccountsGetOptionalParams): Promise<Account>

Parameters

resourceGroupName

string

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

name

string

Name of account

options
AccountsGetOptionalParams

The options parameters.

Returns

Promise<Account>

listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)

List Account resources by resource group

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

Parameters

resourceGroupName

string

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

options
AccountsListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(AccountsListBySubscriptionOptionalParams)

List Account resources by subscription ID

function listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Account, Account[], PageSettings>

Parameters

options
AccountsListBySubscriptionOptionalParams

The options parameters.

Returns

update(string, string, AccountUpdate, AccountsUpdateOptionalParams)

Update a Account

function update(resourceGroupName: string, name: string, properties: AccountUpdate, options?: AccountsUpdateOptionalParams): Promise<Account>

Parameters

resourceGroupName

string

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

name

string

Name of account

properties
AccountUpdate

The resource properties to be updated.

options
AccountsUpdateOptionalParams

The options parameters.

Returns

Promise<Account>