StorageAccount Interface
Implements
public interface StorageAccount
extends GroupableResource<StorageManager,StorageAccountInner>, Refreshable<StorageAccount>, Updatable<Update>, SupportsListingPrivateLinkResource, SupportsListingPrivateEndpointConnection, SupportsUpdatingPrivateEndpointConnection
An immutable client-side representation of an Azure storage account.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Access |
accessTier() |
abstract
Account |
accountStatuses() |
abstract boolean |
canAccessFromAzureServices()
Checks storage account can be accessed from applications running on azure. |
abstract boolean |
canReadLogEntriesFromAnyNetwork()
Checks storage log entries can be read from any network. |
abstract boolean |
canReadMetricsFromAnyNetwork()
Checks storage metrics can be read from any network. |
abstract
Offset |
creationTime() |
abstract
Custom |
customDomain() |
abstract
Storage |
encryptionKeySource()
The source of the key used for encryption. |
abstract
Map<Storage |
encryptionStatuses() |
abstract
Public |
endPoints() |
abstract
List<Storage |
getKeys()
Fetch the up-to-date access keys from Azure for this storage account. |
abstract
Mono<List<Storage |
getKeysAsync()
Fetch the up-to-date access keys from Azure for this storage account asynchronously. |
abstract
Identity |
identityTypeForCustomerEncryptionKey()
Type of the Managed Service Identity used to access Key |
abstract boolean | infrastructureEncryptionEnabled() |
abstract List<String> | ipAddressRangesWithAccess() |
abstract List<String> | ipAddressesWithAccess() |
abstract boolean | isAccessAllowedFromAllNetworks() |
abstract boolean |
isAllowCrossTenantReplication()
Checks whether cross tenant replication is allowed. |
abstract boolean |
isAzureFilesAadIntegrationEnabled()
Checks whether Aad Integration is enabled for files on this storage account. |
abstract boolean |
isBlobPublicAccessAllowed()
Checks whether blob public access is allowed. |
abstract boolean |
isDefaultToOAuthAuthentication()
Checks whether default to oauth authentication is allowed. |
abstract boolean |
isHnsEnabled()
Checks whether Hns is enabled on this storage account. |
abstract boolean |
isHttpsTrafficOnly()
Checks whether storage account only allow HTTPS traffic. |
abstract boolean |
isLargeFileSharesEnabled()
Checks whether large file shares enabled on this storage account. |
abstract boolean |
isSharedKeyAccessAllowed()
Checks whether shared key access is allowed. |
abstract Kind | kind() |
abstract
Offset |
lastGeoFailoverTime() |
abstract
Minimum |
minimumTlsVersion() |
abstract List<String> | networkSubnetsWithAccess() |
abstract
Provisioning |
provisioningState() |
abstract
Public |
publicNetworkAccess()
Whether the storage account can be accessed from public network. |
abstract
List<Storage |
regenerateKey(String keyName)
Regenerates the access keys for this storage account. |
abstract
Mono<List<Storage |
regenerateKeyAsync(String keyName)
Regenerates the access keys for this storage account asynchronously. |
abstract
Storage |
skuType() |
abstract String | systemAssignedManagedServiceIdentityPrincipalId() |
abstract String | systemAssignedManagedServiceIdentityTenantId() |
abstract String |
userAssignedIdentityIdForCustomerEncryptionKey()
User-assigned Managed Service Identity ID to access the Key |
abstract Set<String> | userAssignedManagedServiceIdentityIds() |
Method Details
accessTier
public abstract AccessTier accessTier()
Returns:
accountStatuses
public abstract AccountStatuses accountStatuses()
Returns:
canAccessFromAzureServices
public abstract boolean canAccessFromAzureServices()
Checks storage account can be accessed from applications running on azure.
Returns:
canReadLogEntriesFromAnyNetwork
public abstract boolean canReadLogEntriesFromAnyNetwork()
Checks storage log entries can be read from any network.
Returns:
canReadMetricsFromAnyNetwork
public abstract boolean canReadMetricsFromAnyNetwork()
Checks storage metrics can be read from any network.
Returns:
creationTime
public abstract OffsetDateTime creationTime()
Returns:
customDomain
public abstract CustomDomain customDomain()
Returns:
encryptionKeySource
public abstract StorageAccountEncryptionKeySource encryptionKeySource()
The source of the key used for encryption.
MICROSOFT_STORAGE means that the Storage Account is encrypted using Microsoft-managed Key.
MICROSOFT_KEYVAULT means that the Storage Account is encrypted using Customer-managed Key.
Returns:
encryptionStatuses
public abstract Map
Returns:
endPoints
public abstract PublicEndpoints endPoints()
Returns:
getKeys
public abstract List
Fetch the up-to-date access keys from Azure for this storage account.
Returns:
getKeysAsync
public abstract Mono> getKeysAsync()
Fetch the up-to-date access keys from Azure for this storage account asynchronously.
Returns:
identityTypeForCustomerEncryptionKey
public abstract IdentityType identityTypeForCustomerEncryptionKey()
Type of the Managed Service Identity used to access KeyVault for encryption.
This property only makes sense when the storage account is encrypted using Customer-managed keys, meaning encryptionKeySource() is MICROSOFT_KEYVAULT.
Returns:
null
if encryptionKeySource() is MICROSOFT_STORAGEinfrastructureEncryptionEnabled
public abstract boolean infrastructureEncryptionEnabled()
Returns:
ipAddressRangesWithAccess
public abstract List
Returns:
ipAddressesWithAccess
public abstract List
Returns:
isAccessAllowedFromAllNetworks
public abstract boolean isAccessAllowedFromAllNetworks()
Returns:
isAllowCrossTenantReplication
public abstract boolean isAllowCrossTenantReplication()
Checks whether cross tenant replication is allowed.
Returns:
isAzureFilesAadIntegrationEnabled
public abstract boolean isAzureFilesAadIntegrationEnabled()
Checks whether Aad Integration is enabled for files on this storage account.
Returns:
isBlobPublicAccessAllowed
public abstract boolean isBlobPublicAccessAllowed()
Checks whether blob public access is allowed.
Returns:
isDefaultToOAuthAuthentication
public abstract boolean isDefaultToOAuthAuthentication()
Checks whether default to oauth authentication is allowed.
Returns:
isHnsEnabled
public abstract boolean isHnsEnabled()
Checks whether Hns is enabled on this storage account.
Returns:
isHttpsTrafficOnly
public abstract boolean isHttpsTrafficOnly()
Checks whether storage account only allow HTTPS traffic.
Returns:
isLargeFileSharesEnabled
public abstract boolean isLargeFileSharesEnabled()
Checks whether large file shares enabled on this storage account.
Returns:
isSharedKeyAccessAllowed
public abstract boolean isSharedKeyAccessAllowed()
Checks whether shared key access is allowed.
Returns:
kind
public abstract Kind kind()
Returns:
lastGeoFailoverTime
public abstract OffsetDateTime lastGeoFailoverTime()
Returns:
minimumTlsVersion
public abstract MinimumTlsVersion minimumTlsVersion()
Returns:
networkSubnetsWithAccess
public abstract List
Returns:
provisioningState
public abstract ProvisioningState provisioningState()
Returns:
publicNetworkAccess
public abstract PublicNetworkAccess publicNetworkAccess()
Whether the storage account can be accessed from public network.
Returns:
regenerateKey
public abstract List
Regenerates the access keys for this storage account.
Parameters:
Returns:
regenerateKeyAsync
public abstract Mono> regenerateKeyAsync(String keyName)
Regenerates the access keys for this storage account asynchronously.
Parameters:
Returns:
skuType
public abstract StorageAccountSkuType skuType()
Returns:
systemAssignedManagedServiceIdentityPrincipalId
public abstract String systemAssignedManagedServiceIdentityPrincipalId()
Returns:
systemAssignedManagedServiceIdentityTenantId
public abstract String systemAssignedManagedServiceIdentityTenantId()
Returns:
userAssignedIdentityIdForCustomerEncryptionKey
public abstract String userAssignedIdentityIdForCustomerEncryptionKey()
User-assigned Managed Service Identity ID to access the KeyVault for encryption.
This property only makes sense when the storage account is encrypted using Customer-managed keys, meaning encryptionKeySource() is MICROSOFT_KEYVAULT and identityTypeForCustomerEncryptionKey() is USER_ASSIGNED.
Returns:
userAssignedManagedServiceIdentityIds
public abstract Set
Returns:
Applies to
Azure SDK for Java