public interface StorageAccounts extends SupportsListing<StorageAccount>, SupportsCreating<StorageAccount.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<StorageAccount>, SupportsGettingByResourceGroup<StorageAccount>, SupportsGettingById<StorageAccount>, SupportsDeletingByResourceGroup, SupportsBatchCreation<StorageAccount>, SupportsBatchDeletion, HasManager<com.microsoft.azure.management.storage.implementation.StorageManager>, HasInner<com.microsoft.azure.management.storage.implementation.StorageAccountsInner>
| Modifier and Type | Method and Description |
|---|---|
CheckNameAvailabilityResult |
checkNameAvailability(String name)
Checks that account name is valid and is not in use.
|
rx.Observable<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name)
Checks that account name is valid and is not in use asynchronously.
|
ServiceFuture<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name,
ServiceCallback<CheckNameAvailabilityResult> callback)
Checks that account name is valid and is not in use asynchronously.
|
String |
createSasToken(String resourceGroupName,
String accountName,
ServiceSasParameters parameters)
Creates an Sas token for the storage account.
|
rx.Observable<String> |
createSasTokenAsync(String resourceGroupName,
String accountName,
ServiceSasParameters parameters)
Creates an Sas token for the storage account asynchronously.
|
void |
failover(String resourceGroupName,
String accountName)
Sets a failover request that can be triggered for a storage account in case of availability issues.
|
rx.Completable |
failoverAsync(String resourceGroupName,
String accountName)
Sets a failover request asynchronously that can be triggered for a storage account in case of availability issues.
|
list, listAsyncdefinedeleteById, deleteByIdAsync, deleteByIdAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsyncgetById, getByIdAsync, getByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsynccreate, create, createAsync, createAsync, createAsync, createAsyncdeleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncmanagerCheckNameAvailabilityResult checkNameAvailability(String name)
name - the account name to checkrx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name - the account name to checkServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback)
name - the account name to checkcallback - the callback to call on success or failureString createSasToken(String resourceGroupName, String accountName, ServiceSasParameters parameters)
resourceGroupName - the name of the account's resource groupaccountName - the account name to checkparameters - the parameters to list service SAS credentials of a specific resourcerx.Observable<String> createSasTokenAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)
resourceGroupName - the name of the account's resource groupaccountName - the account name to checkparameters - the parameters to list service SAS credentials of a specific resourcevoid failover(String resourceGroupName, String accountName)
resourceGroupName - the resource group name of the storage accountaccountName - the account name to checkrx.Completable failoverAsync(String resourceGroupName, String accountName)
resourceGroupName - the resource group name of the storage accountaccountName - the account name to checkCopyright © 2019. All rights reserved.