KeyForDiskEncryptionSet Constructors

Definition

Overloads

KeyForDiskEncryptionSet()

Initializes a new instance of the KeyForDiskEncryptionSet class.

KeyForDiskEncryptionSet(String, SourceVault)

Initializes a new instance of the KeyForDiskEncryptionSet class.

KeyForDiskEncryptionSet()

Initializes a new instance of the KeyForDiskEncryptionSet class.

public KeyForDiskEncryptionSet ();
Public Sub New ()

Applies to

KeyForDiskEncryptionSet(String, SourceVault)

Initializes a new instance of the KeyForDiskEncryptionSet class.

public KeyForDiskEncryptionSet (string keyUrl, Microsoft.Azure.Management.Compute.Models.SourceVault sourceVault = default);
new Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet : string * Microsoft.Azure.Management.Compute.Models.SourceVault -> Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet
Public Sub New (keyUrl As String, Optional sourceVault As SourceVault = Nothing)

Parameters

keyUrl
String

Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.

sourceVault
SourceVault

Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.

Applies to