Share via


Encryption Constructors

Definition

Overloads

Encryption()

Initializes a new instance of the Encryption class.

Encryption(String, EncryptionType)

Initializes a new instance of the Encryption class.

Encryption()

Initializes a new instance of the Encryption class.

public Encryption ();
Public Sub New ()

Applies to

Encryption(String, EncryptionType)

Initializes a new instance of the Encryption class.

public Encryption (string diskEncryptionSetId = default, Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionType type = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.Encryption : string * Microsoft.Azure.Management.Compute.Fluent.Models.EncryptionType -> Microsoft.Azure.Management.Compute.Fluent.Models.Encryption
Public Sub New (Optional diskEncryptionSetId As String = Nothing, Optional type As EncryptionType = Nothing)

Parameters

diskEncryptionSetId
String

ResourceId of the disk encryption set to use for enabling encryption at rest.

type
EncryptionType

Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey', 'EncryptionAtRestWithPlatformAndCustomerKeys'

Applies to