Dela 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()
BlobContainers blobContainers()
BlobServices blobServices()
static Configurable configure()

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

ManagementPolicies managementPolicies()
StorageAccounts storageAccounts()
StorageSkus storageSkus()
Usages usages()

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()

Returns:

the authorization manager

blobContainers

public BlobContainers blobContainers()

Returns:

the blob container management API entry point

blobServices

public BlobServices blobServices()

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()

Returns:

the management policy management API entry point

storageAccounts

public StorageAccounts storageAccounts()

Returns:

the storage account management API entry point

storageSkus

public StorageSkus storageSkus()

Returns:

the storage service SKU management API entry point

usages

public Usages usages()

Returns:

the storage service usage management API entry point

Applies to