Condividi tramite


AccountsClient Interface

public interface AccountsClient

An instance of this class provides access to all the operations defined in AccountsClient.

Method Summary

Modifier and Type Method and Description
abstract void addRootCollectionAdmin(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate)

Add the administrator for root collection.

abstract Response<Void> addRootCollectionAdminWithResponse(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate, Context context)

Add the administrator for root collection.

abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account)

Create or update an account resource Creates or updates an account.

abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account, Context context)

Create or update an account resource Creates or updates an account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName)

Deletes the account resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, Context context)

Deletes the account resource.

abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)

Patches the account resource.

abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, Context context)

Patches the account resource.

abstract CheckNameAvailabilityResultInner checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest)

Checks the account name availability.

abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context)

Checks the account name availability.

abstract AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account)

Create or update an account resource Creates or updates an account.

abstract AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account, Context context)

Create or update an account resource Creates or updates an account.

abstract void delete(String resourceGroupName, String accountName)

Deletes the account resource.

abstract void delete(String resourceGroupName, String accountName, Context context)

Deletes the account resource.

abstract AccountInner getByResourceGroup(String resourceGroupName, String accountName)

Gets the account resource.

abstract Response<AccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, Context context)

Gets the account resource.

abstract PagedIterable<AccountInner> list()

Gets the accounts resources by subscription.

abstract PagedIterable<AccountInner> list(String skipToken, Context context)

Gets the accounts resources by subscription.

abstract PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName)

Gets the accounts resources by resource group.

abstract PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName, String skipToken, Context context)

Gets the accounts resources by resource group.

abstract AccessKeysInner listKeys(String resourceGroupName, String accountName)

Lists the keys asynchronous.

abstract Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the keys asynchronous.

abstract AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)

Patches the account resource.

abstract AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, Context context)

Patches the account resource.

Method Details

addRootCollectionAdmin

public abstract void addRootCollectionAdmin(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate)

Add the administrator for root collection. Add the administrator for root collection associated with this account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
collectionAdminUpdate - The collection admin update payload.

addRootCollectionAdminWithResponse

public abstract Response<Void> addRootCollectionAdminWithResponse(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate, Context context)

Add the administrator for root collection. Add the administrator for root collection associated with this account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
collectionAdminUpdate - The collection admin update payload.
context - The context to associate with this operation.

Returns:

beginCreateOrUpdate

public abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account)

Create or update an account resource Creates or updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
account - The account.

Returns:

the SyncPoller<T,U> for polling of account resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account, Context context)

Create or update an account resource Creates or updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
account - The account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of account resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName)

Deletes the account resource. Deletes an account resource.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, Context context)

Deletes the account resource. Deletes an account resource.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)

Patches the account resource. Updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
accountUpdateParameters - The account update parameters.

Returns:

the SyncPoller<T,U> for polling of account resource.

beginUpdate

public abstract SyncPoller<PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, Context context)

Patches the account resource. Updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
accountUpdateParameters - The account update parameters.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of account resource.

checkNameAvailability

public abstract CheckNameAvailabilityResultInner checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest)

Checks the account name availability. Checks if account name is available.

Parameters:

checkNameAvailabilityRequest - The check name availability request.

Returns:

the response payload for CheckNameAvailability API.

checkNameAvailabilityWithResponse

public abstract Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context)

Checks the account name availability. Checks if account name is available.

Parameters:

checkNameAvailabilityRequest - The check name availability request.
context - The context to associate with this operation.

Returns:

the response payload for CheckNameAvailability API along with Response<T>.

createOrUpdate

public abstract AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account)

Create or update an account resource Creates or updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
account - The account.

Returns:

account resource.

createOrUpdate

public abstract AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account, Context context)

Create or update an account resource Creates or updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
account - The account.
context - The context to associate with this operation.

Returns:

account resource.

delete

public abstract void delete(String resourceGroupName, String accountName)

Deletes the account resource. Deletes an account resource.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.

delete

public abstract void delete(String resourceGroupName, String accountName, Context context)

Deletes the account resource. Deletes an account resource.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
context - The context to associate with this operation.

getByResourceGroup

public abstract AccountInner getByResourceGroup(String resourceGroupName, String accountName)

Gets the account resource. Get an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.

Returns:

an account.

getByResourceGroupWithResponse

public abstract Response<AccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, Context context)

Gets the account resource. Get an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
context - The context to associate with this operation.

Returns:

an account along with Response<T>.

list

public abstract PagedIterable<AccountInner> list()

Gets the accounts resources by subscription. List accounts in Subscription.

Returns:

paged list of account resources as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<AccountInner> list(String skipToken, Context context)

Gets the accounts resources by subscription. List accounts in Subscription.

Parameters:

skipToken - The skip token.
context - The context to associate with this operation.

Returns:

paged list of account resources as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName)

Gets the accounts resources by resource group. List accounts in ResourceGroup.

Parameters:

resourceGroupName - The resource group name.

Returns:

paged list of account resources as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName, String skipToken, Context context)

Gets the accounts resources by resource group. List accounts in ResourceGroup.

Parameters:

resourceGroupName - The resource group name.
skipToken - The skip token.
context - The context to associate with this operation.

Returns:

paged list of account resources as paginated response with PagedIterable<T>.

listKeys

public abstract AccessKeysInner listKeys(String resourceGroupName, String accountName)

Lists the keys asynchronous. List the authorization keys associated with this account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.

Returns:

the Account access keys.

listKeysWithResponse

public abstract Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the keys asynchronous. List the authorization keys associated with this account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
context - The context to associate with this operation.

Returns:

the Account access keys along with Response<T>.

update

public abstract AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)

Patches the account resource. Updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
accountUpdateParameters - The account update parameters.

Returns:

account resource.

update

public abstract AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, Context context)

Patches the account resource. Updates an account.

Parameters:

resourceGroupName - The resource group name.
accountName - The name of the account.
accountUpdateParameters - The account update parameters.
context - The context to associate with this operation.

Returns:

account resource.

Applies to