Partager via


EncryptionService Constructors

Definition

Overloads

EncryptionService()

Initializes a new instance of the EncryptionService class.

EncryptionService(Nullable<Boolean>, Nullable<DateTime>, String)

Initializes a new instance of the EncryptionService class.

EncryptionService()

Initializes a new instance of the EncryptionService class.

public EncryptionService ();
Public Sub New ()

Applies to

EncryptionService(Nullable<Boolean>, Nullable<DateTime>, String)

Initializes a new instance of the EncryptionService class.

public EncryptionService (bool? enabled = default, DateTime? lastEnabledTime = default, string keyType = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionService : Nullable<bool> * Nullable<DateTime> * string -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionService
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional lastEnabledTime As Nullable(Of DateTime) = Nothing, Optional keyType As String = Nothing)

Parameters

enabled
Nullable<Boolean>

A boolean indicating whether or not the service encrypts the data as it is stored.

lastEnabledTime
Nullable<DateTime>

Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.

keyType
String

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. Possible values include: 'Service', 'Account'

Applies to