Dela via


EncryptionService Class

Definition

A service that allows server-side encryption to be used.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.EncryptionServiceTypeConverter))]
public class EncryptionService : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IEncryptionService
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.EncryptionServiceTypeConverter))>]
type EncryptionService = class
    interface IEncryptionService
    interface IJsonSerializable
Public Class EncryptionService
Implements IEncryptionService
Inheritance
EncryptionService
Attributes
Implements

Constructors

EncryptionService()

Creates an new EncryptionService instance.

Properties

Enabled

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.

LastEnabledTime

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of EncryptionService.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of EncryptionService.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IEncryptionService.

FromJsonString(String)

Creates a new instance of EncryptionService, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of EncryptionService into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to