Accounts interface
Interface representing a Accounts.
Methods
begin |
Create or update account resource. |
begin |
Create or update account resource. |
delete(string, string, Accounts |
Deletes a account resource. |
get(string, string, Accounts |
Returns account resource for a given name. |
list |
Returns list of accounts apps. |
list |
Returns list of accounts belonging to a subscription. |
update(string, string, Account |
Update account details. |
Method Details
beginCreateAndUpdate(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)
Create or update account resource.
function beginCreateAndUpdate(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountsCreateAndUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AccountResource>, AccountResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the resource.
- accountResource
- AccountResource
Account details.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AccountResource>, AccountResource>>
beginCreateAndUpdateAndWait(string, string, AccountResource, AccountsCreateAndUpdateOptionalParams)
Create or update account resource.
function beginCreateAndUpdateAndWait(resourceGroupName: string, resourceName: string, accountResource: AccountResource, options?: AccountsCreateAndUpdateOptionalParams): Promise<AccountResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the resource.
- accountResource
- AccountResource
Account details.
The options parameters.
Returns
Promise<AccountResource>
delete(string, string, AccountsDeleteOptionalParams)
Deletes a account resource.
function delete(resourceGroupName: string, resourceName: string, options?: AccountsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the resource.
- options
- AccountsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, AccountsGetOptionalParams)
Returns account resource for a given name.
function get(resourceGroupName: string, resourceName: string, options?: AccountsGetOptionalParams): Promise<AccountResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the resource.
- options
- AccountsGetOptionalParams
The options parameters.
Returns
Promise<AccountResource>
listByResourceGroup(string, AccountsListByResourceGroupOptionalParams)
Returns list of accounts apps.
function listByResourceGroup(resourceGroupName: string, options?: AccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AccountResource, AccountResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(AccountsListBySubscriptionOptionalParams)
Returns list of accounts belonging to a subscription.
function listBySubscription(options?: AccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AccountResource, AccountResource[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, AccountPatchResource, AccountsUpdateOptionalParams)
Update account details.
function update(resourceGroupName: string, resourceName: string, accountResource: AccountPatchResource, options?: AccountsUpdateOptionalParams): Promise<AccountResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
The name of the resource.
- accountResource
- AccountPatchResource
Account patch details.
- options
- AccountsUpdateOptionalParams
The options parameters.
Returns
Promise<AccountResource>