Delen via


StorageManager Class

public final class StorageManager
extends Manager<StorageManagementClient>

Entry point to Azure storage resource management.

Method Summary

Modifier and Type Method and Description
static StorageManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of StorageManager that exposes storage resource management API entry points.

static StorageManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of StorageManager that exposes storage resource management API entry points.

AuthorizationManager authorizationManager()

Gets the authorization manager.

BlobContainers blobContainers()

Gets the API entry point of the blob container.

BlobServices blobServices()

Gets the API entry point of the blob service.

static Configurable configure()

Get a Configurable instance that can be used to create StorageManager with optional configuration.

ManagementPolicies managementPolicies()

Gets the API entry point of the management policy.

StorageAccounts storageAccounts()

Gets the API entry point of the storage account.

StorageSkus storageSkus()

Gets the API entry point of the storage service SKU.

Usages usages()

Gets the API entry point of the storage service usage.

Methods inherited from Manager

Methods inherited from java.lang.Object

Method Details

authenticate

public static StorageManager authenticate(TokenCredential credential, AzureProfile profile)

Creates an instance of StorageManager that exposes storage resource management API entry points.

Parameters:

credential - the credential to use
profile - the profile to use

Returns:

the StorageManager

authenticate

public static StorageManager authenticate(HttpPipeline httpPipeline, AzureProfile profile)

Creates an instance of StorageManager that exposes storage resource management API entry points.

Parameters:

httpPipeline - the HttpPipeline configured with Azure authentication credential.
profile - the profile to use

Returns:

the StorageManager

authorizationManager

public AuthorizationManager authorizationManager()

Gets the authorization manager.

Returns:

the authorization manager

blobContainers

public BlobContainers blobContainers()

Gets the API entry point of the blob container.

Returns:

the blob container management API entry point

blobServices

public BlobServices blobServices()

Gets the API entry point of the blob service.

Returns:

the blob service management API entry point

configure

public static StorageManager.Configurable configure()

Get a Configurable instance that can be used to create StorageManager with optional configuration.

Returns:

the instance allowing configurations

managementPolicies

public ManagementPolicies managementPolicies()

Gets the API entry point of the management policy.

Returns:

the management policy API entry point

storageAccounts

public StorageAccounts storageAccounts()

Gets the API entry point of the storage account.

Returns:

the storage account management API entry point

storageSkus

public StorageSkus storageSkus()

Gets the API entry point of the storage service SKU.

Returns:

the storage service SKU management API entry point

usages

public Usages usages()

Gets the API entry point of the storage service usage.

Returns:

the storage service usage management API entry point

Applies to