Delen via


StorageAccountInfo Class

  • java.lang.Object
    • com.azure.storage.blob.models.StorageAccountInfo

public class StorageAccountInfo

This class contains information about the storage account.

Constructor Summary

Constructor Description
StorageAccountInfo(SkuName skuName, AccountKind accountKind)

Constructs a StorageAccountInfo.

StorageAccountInfo(SkuName skuName, AccountKind accountKind, Boolean isHnsEnabled)

Constructs a StorageAccountInfo.

Method Summary

Modifier and Type Method and Description
AccountKind getAccountKind()

Gets the information of the type of the account.

SkuName getSkuName()

Gets the SKU of the account.

boolean isHierarchicalNamespaceEnabled()

Specifies whether hierarchical namespace is enabled on the account.

Methods inherited from java.lang.Object

Constructor Details

StorageAccountInfo

public StorageAccountInfo(SkuName skuName, AccountKind accountKind)

Constructs a StorageAccountInfo.

Parameters:

skuName - SKU of the account.
accountKind - Type of the account.

StorageAccountInfo

public StorageAccountInfo(SkuName skuName, AccountKind accountKind, Boolean isHnsEnabled)

Constructs a StorageAccountInfo.

Parameters:

skuName - SKU of the account.
accountKind - Type of the account.
isHnsEnabled - whether hierarchical namespace is enabled on the account.

Method Details

getAccountKind

public AccountKind getAccountKind()

Gets the information of the type of the account.

Returns:

the type of the account.

getSkuName

public SkuName getSkuName()

Gets the SKU of the account.

Returns:

the SKU of the account.

isHierarchicalNamespaceEnabled

public boolean isHierarchicalNamespaceEnabled()

Specifies whether hierarchical namespace is enabled on the account.

Returns:

whether hierarchical namespace is enabled on the account.

Applies to