StorageAccounts Interface
Implements
public interface StorageAccounts
extends SupportsListing<StorageAccount>, SupportsCreating<Blank>, SupportsDeletingById, SupportsListingByResourceGroup<StorageAccount>, SupportsGettingByResourceGroup<StorageAccount>, SupportsGettingById<StorageAccount>, SupportsDeletingByResourceGroup, SupportsBatchCreation<StorageAccount>, SupportsBatchDeletion, HasManager<StorageManager>
Entry point for storage accounts management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Check |
checkNameAvailability(String name)
Checks that account name is valid and is not in use. |
abstract
Mono<Check |
checkNameAvailabilityAsync(String name)
Checks that account name is valid and is not in use asynchronously. |
abstract String |
createSasToken(String resourceGroupName, String accountName, ServiceSasParameters parameters)
Creates an Sas token for the storage account. |
abstract Mono<String> |
createSasTokenAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)
Creates an Sas token for the storage account asynchronously. |
abstract void |
failover(String resourceGroupName, String accountName)
Sets a failover request that can be triggered for a storage account in case of availability issues. |
abstract 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. |
Method Details
checkNameAvailability
public abstract CheckNameAvailabilityResult checkNameAvailability(String name)
Checks that account name is valid and is not in use.
Parameters:
Returns:
checkNameAvailabilityAsync
public abstract Mono
Checks that account name is valid and is not in use asynchronously.
Parameters:
Returns:
createSasToken
public abstract String createSasToken(String resourceGroupName, String accountName, ServiceSasParameters parameters)
Creates an Sas token for the storage account.
Parameters:
Returns:
createSasTokenAsync
public abstract Mono
Creates an Sas token for the storage account asynchronously.
Parameters:
Returns:
failover
public abstract void failover(String resourceGroupName, String accountName)
Sets a failover request that can be triggered for a storage account in case of availability issues.
Parameters:
failoverAsync
public abstract Mono
Sets a failover request asynchronously that can be triggered for a storage account in case of availability issues.
Parameters:
Returns:
Applies to
Azure SDK for Java