public interface Accounts
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.
|
CheckNameAvailabilityResult |
checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest)
Checks if account name is available.
|
com.azure.core.http.rest.Response<CheckNameAvailabilityResult> |
checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest checkNameAvailabilityRequest,
com.azure.core.util.Context context)
Checks if account name is available.
|
Account.DefinitionStages.Blank |
define(String name)
Begins definition for a new Account resource.
|
void |
delete(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Deletes an account resource.
|
void |
deleteById(String id)
Deletes an account resource.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes an account resource.
|
void |
deleteByResourceGroup(String resourceGroupName,
String accountName)
Deletes an account resource.
|
Account |
getById(String id)
Get an account.
|
com.azure.core.http.rest.Response<Account> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get an account.
|
Account |
getByResourceGroup(String resourceGroupName,
String accountName)
Get an account.
|
com.azure.core.http.rest.Response<Account> |
getByResourceGroupWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Get an account.
|
com.azure.core.http.rest.PagedIterable<Account> |
list()
List accounts in Subscription.
|
com.azure.core.http.rest.PagedIterable<Account> |
list(String skipToken,
com.azure.core.util.Context context)
List accounts in Subscription.
|
com.azure.core.http.rest.PagedIterable<Account> |
listByResourceGroup(String resourceGroupName)
List accounts in ResourceGroup.
|
com.azure.core.http.rest.PagedIterable<Account> |
listByResourceGroup(String resourceGroupName,
String skipToken,
com.azure.core.util.Context context)
List accounts in ResourceGroup.
|
AccessKeys |
listKeys(String resourceGroupName,
String accountName)
List the authorization keys associated with this account.
|
com.azure.core.http.rest.Response<AccessKeys> |
listKeysWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
List the authorization keys associated with this account.
|
com.azure.core.http.rest.PagedIterable<Account> 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<Account> 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<Account> 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<Account> 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.Account 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<Account> 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.void deleteByResourceGroup(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.AccessKeys 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<AccessKeys> 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.CheckNameAvailabilityResult 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<CheckNameAvailabilityResult> 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.Account getById(String id)
id
- the resource ID.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<Account> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.Account.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.