Interface StorageAccounts

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<StorageAccount.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<StorageAccount>

public interface StorageAccounts extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<StorageAccount.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<StorageAccount>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<StorageManager>
Entry point for storage accounts management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Checks that account name is valid and is not in use.
    Checks that account name is valid and is not in use asynchronously.
    createSasToken(String resourceGroupName, String accountName, ServiceSasParameters parameters)
    Creates an Sas token for the storage account.
    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.
    failoverAsync(String resourceGroupName, String accountName)
    Sets a failover request asynchronously that can be triggered for a storage account in case of availability issues.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion

    deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup

    deleteByResourceGroup, deleteByResourceGroupAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup

    getByResourceGroup, getByResourceGroupAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing

    list, listAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup

    listByResourceGroup, listByResourceGroupAsync
  • Method Details

    • checkNameAvailability

      CheckNameAvailabilityResult checkNameAvailability(String name)
      Checks that account name is valid and is not in use.
      Parameters:
      name - the account name to check
      Returns:
      whether the name is available and other info if not
    • checkNameAvailabilityAsync

      Mono<CheckNameAvailabilityResult> checkNameAvailabilityAsync(String name)
      Checks that account name is valid and is not in use asynchronously.
      Parameters:
      name - the account name to check
      Returns:
      a representation of the deferred computation of this call, returning whether the name is available and other info if not
    • createSasToken

      String createSasToken(String resourceGroupName, String accountName, ServiceSasParameters parameters)
      Creates an Sas token for the storage account.
      Parameters:
      resourceGroupName - the name of the account's resource group
      accountName - the account name to check
      parameters - the parameters to list service SAS credentials of a specific resource
      Returns:
      the created Sas token
    • createSasTokenAsync

      Mono<String> createSasTokenAsync(String resourceGroupName, String accountName, ServiceSasParameters parameters)
      Creates an Sas token for the storage account asynchronously.
      Parameters:
      resourceGroupName - the name of the account's resource group
      accountName - the account name to check
      parameters - the parameters to list service SAS credentials of a specific resource
      Returns:
      an observable of the created Sas token
    • failover

      void failover(String resourceGroupName, String accountName)
      Sets a failover request that can be triggered for a storage account in case of availability issues.
      Parameters:
      resourceGroupName - the resource group name of the storage account
      accountName - the account name to check
    • failoverAsync

      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.
      Parameters:
      resourceGroupName - the resource group name of the storage account
      accountName - the account name to check
      Returns:
      a completable