public interface StorageAccounts extends com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing<StorageAccount>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating<StorageAccount.DefinitionStages.Blank>, com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<StorageAccount>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<StorageAccount>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById<StorageAccount>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation<StorageAccount>, com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.storage.implementation.StorageManager>, com.microsoft.azure.management.resources.fluentcore.model.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.
|
com.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> |
checkNameAvailabilityAsync(String name,
com.microsoft.rest.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, deleteByIdsAsyncCheckNameAvailabilityResult checkNameAvailability(String name)
name - the account name to checkrx.Observable<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
name - the account name to checkcom.microsoft.rest.ServiceFuture<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name, com.microsoft.rest.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 check/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/