public interface AccountsClient
Modifier and Type | Method and Description |
---|---|
void |
addRootCollectionAdmin(String resourceGroupName,
String accountName,
CollectionAdminUpdate collectionAdminUpdate)
Add the administrator for root collection associated with this account.
|
com.azure.core.http.rest.Response<Void> |
addRootCollectionAdminWithResponse(String resourceGroupName,
String accountName,
CollectionAdminUpdate collectionAdminUpdate,
com.azure.core.util.Context context)
Add the administrator for root collection associated with this account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> |
beginCreateOrUpdate(String resourceGroupName,
String accountName,
AccountInner account)
Creates or updates an account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> |
beginCreateOrUpdate(String resourceGroupName,
String accountName,
AccountInner account,
com.azure.core.util.Context context)
Creates or updates an account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String accountName)
Deletes an account resource.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Deletes an account resource.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> |
beginUpdate(String resourceGroupName,
String accountName,
AccountUpdateParameters accountUpdateParameters)
Updates an account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> |
beginUpdate(String resourceGroupName,
String accountName,
AccountUpdateParameters accountUpdateParameters,
com.azure.core.util.Context context)
Updates an account.
|
CheckNameAvailabilityResultInner |
checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest)
Checks if account name is available.
|
com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> |
checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest checkNameAvailabilityRequest,
com.azure.core.util.Context context)
Checks if account name is available.
|
AccountInner |
createOrUpdate(String resourceGroupName,
String accountName,
AccountInner account)
Creates or updates an account.
|
AccountInner |
createOrUpdate(String resourceGroupName,
String accountName,
AccountInner account,
com.azure.core.util.Context context)
Creates or updates an account.
|
void |
delete(String resourceGroupName,
String accountName)
Deletes an account resource.
|
void |
delete(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Deletes an account resource.
|
AccountInner |
getByResourceGroup(String resourceGroupName,
String accountName)
Get an account.
|
com.azure.core.http.rest.Response<AccountInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Get an account.
|
com.azure.core.http.rest.PagedIterable<AccountInner> |
list()
List accounts in Subscription.
|
com.azure.core.http.rest.PagedIterable<AccountInner> |
list(String skipToken,
com.azure.core.util.Context context)
List accounts in Subscription.
|
com.azure.core.http.rest.PagedIterable<AccountInner> |
listByResourceGroup(String resourceGroupName)
List accounts in ResourceGroup.
|
com.azure.core.http.rest.PagedIterable<AccountInner> |
listByResourceGroup(String resourceGroupName,
String skipToken,
com.azure.core.util.Context context)
List accounts in ResourceGroup.
|
AccessKeysInner |
listKeys(String resourceGroupName,
String accountName)
List the authorization keys associated with this account.
|
com.azure.core.http.rest.Response<AccessKeysInner> |
listKeysWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
List the authorization keys associated with this account.
|
AccountInner |
update(String resourceGroupName,
String accountName,
AccountUpdateParameters accountUpdateParameters)
Updates an account.
|
AccountInner |
update(String resourceGroupName,
String accountName,
AccountUpdateParameters accountUpdateParameters,
com.azure.core.util.Context context)
Updates an account.
|
com.azure.core.http.rest.PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The resource group name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<AccountInner> listByResourceGroup(String resourceGroupName, String skipToken, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.skipToken
- The skip token.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<AccountInner> list()
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<AccountInner> list(String skipToken, com.azure.core.util.Context context)
skipToken
- The skip token.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccountInner getByResourceGroup(String resourceGroupName, String accountName)
resourceGroupName
- The resource group name.accountName
- The name of the account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<AccountInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account)
resourceGroupName
- The resource group name.accountName
- The name of the account.account
- The account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> beginCreateOrUpdate(String resourceGroupName, String accountName, AccountInner account, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.account
- The account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account)
resourceGroupName
- The resource group name.accountName
- The name of the account.account
- The account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccountInner createOrUpdate(String resourceGroupName, String accountName, AccountInner account, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.account
- The account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName)
resourceGroupName
- The resource group name.accountName
- The name of the account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName)
resourceGroupName
- The resource group name.accountName
- The name of the account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)
resourceGroupName
- The resource group name.accountName
- The name of the account.accountUpdateParameters
- The account update parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AccountInner>,AccountInner> beginUpdate(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.accountUpdateParameters
- The account update parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters)
resourceGroupName
- The resource group name.accountName
- The name of the account.accountUpdateParameters
- The account update parameters.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccountInner update(String resourceGroupName, String accountName, AccountUpdateParameters accountUpdateParameters, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.accountUpdateParameters
- The account update parameters.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.AccessKeysInner listKeys(String resourceGroupName, String accountName)
resourceGroupName
- The resource group name.accountName
- The name of the account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<AccessKeysInner> listKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName
- The resource group name.accountName
- The name of the account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void addRootCollectionAdmin(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate)
resourceGroupName
- The resource group name.accountName
- The name of the account.collectionAdminUpdate
- The collection admin update payload.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> addRootCollectionAdminWithResponse(String resourceGroupName, String accountName, CollectionAdminUpdate collectionAdminUpdate, com.azure.core.util.Context context)
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.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.CheckNameAvailabilityResultInner checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest)
checkNameAvailabilityRequest
- The check name availability request.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context)
checkNameAvailabilityRequest
- The check name availability request.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.