StorageEncryptionService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A service that allows server-side encryption to be used.
public class StorageEncryptionService : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.StorageEncryptionService>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.StorageEncryptionService>
public class StorageEncryptionService
type StorageEncryptionService = class
interface IJsonModel<StorageEncryptionService>
interface IPersistableModel<StorageEncryptionService>
type StorageEncryptionService = class
Public Class StorageEncryptionService
Implements IJsonModel(Of StorageEncryptionService), IPersistableModel(Of StorageEncryptionService)
Public Class StorageEncryptionService
- Inheritance
-
StorageEncryptionService
- Implements
Constructors
StorageEncryptionService() |
Initializes a new instance of StorageEncryptionService. |
Properties
IsEnabled |
A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. |
KeyType |
Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. |
LastEnabledOn |
Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled. |
Explicit Interface Implementations
IJsonModel<StorageEncryptionService>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<StorageEncryptionService>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<StorageEncryptionService>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<StorageEncryptionService>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<StorageEncryptionService>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |