public interface StorageAccounts extends SupportsListing<StorageAccount>, SupportsCreating<StorageAccount.DefinitionStages.Blank>, SupportsDeletingById, SupportsListingByResourceGroup<StorageAccount>, SupportsGettingByResourceGroup<StorageAccount>, SupportsGettingById<StorageAccount>, SupportsDeletingByResourceGroup, SupportsBatchCreation<StorageAccount>, SupportsBatchDeletion, HasManager<StorageManager>
| Modifier and Type | Method and Description |
|---|---|
CheckNameAvailabilityResult |
checkNameAvailability(String name)
Checks that account name is valid and is not in use.
|
Mono<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name)
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.
|
Mono<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.
|
Mono<Void> |
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, deleteByIdAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsyncgetById, getByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsynccreate, create, createAsync, createAsyncdeleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncmanagerCheckNameAvailabilityResult checkNameAvailability(String name)
name - the account name to checkMono<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name - the account name to checkString 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 resourceMono<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 checkMono<Void> failoverAsync(String resourceGroupName, String accountName)
resourceGroupName - the resource group name of the storage accountaccountName - the account name to checkCopyright © 2021 Microsoft Corporation. All rights reserved.