你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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