다음을 통해 공유


StorageAccountEncryptionStatus Interface

public interface StorageAccountEncryptionStatus

Type representing the encryption status of a storage service.

Method Summary

Modifier and Type Method and Description
abstract boolean isEnabled()

Checks whether the encryption is enabled for the service false otherwise.

abstract KeyType keyType()

Gets the type of the key used to encrypt the storage service.

abstract OffsetDateTime lastEnabledTime()

Gets rough estimate of the date/time when the encryption was last enabled.

abstract StorageService storageService()

Gets the storage service type.

Method Details

isEnabled

public abstract boolean isEnabled()

Checks whether the encryption is enabled for the service false otherwise.

Returns:

true if the encryption is enabled for the service false otherwise

keyType

public abstract KeyType keyType()

Gets the type of the key used to encrypt the storage service.

Returns:

the type of the key used to encrypt the storage service

lastEnabledTime

public abstract OffsetDateTime lastEnabledTime()

Gets rough estimate of the date/time when the encryption was last enabled.

Returns:

rough estimate of the date/time when the encryption was last enabled, null if the encryption is disabled

storageService

public abstract StorageService storageService()

Gets the storage service type.

Returns:

the storage service type

Applies to