DiskEncryptionSet Constructors

Definition

Overloads

DiskEncryptionSet()

Initializes a new instance of the DiskEncryptionSet class.

DiskEncryptionSet(String, String, String, String, IDictionary<String, String>, EncryptionSetIdentity, String, KeyForDiskEncryptionSet, IList<KeyForDiskEncryptionSet>, String, Nullable<Boolean>, Nullable<DateTime>, ApiError, String)

Initializes a new instance of the DiskEncryptionSet class.

DiskEncryptionSet()

Initializes a new instance of the DiskEncryptionSet class.

public DiskEncryptionSet ();
Public Sub New ()

Applies to

DiskEncryptionSet(String, String, String, String, IDictionary<String, String>, EncryptionSetIdentity, String, KeyForDiskEncryptionSet, IList<KeyForDiskEncryptionSet>, String, Nullable<Boolean>, Nullable<DateTime>, ApiError, String)

Initializes a new instance of the DiskEncryptionSet class.

public DiskEncryptionSet (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity identity = default, string encryptionType = default, Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet activeKey = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet> previousKeys = default, string provisioningState = default, bool? rotationToLatestKeyVersionEnabled = default, DateTime? lastKeyRotationTimestamp = default, Microsoft.Azure.Management.Compute.Models.ApiError autoKeyRotationError = default, string federatedClientId = default);
new Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.EncryptionSetIdentity * string * Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.KeyForDiskEncryptionSet> * string * Nullable<bool> * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.ApiError * string -> Microsoft.Azure.Management.Compute.Models.DiskEncryptionSet
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As EncryptionSetIdentity = Nothing, Optional encryptionType As String = Nothing, Optional activeKey As KeyForDiskEncryptionSet = Nothing, Optional previousKeys As IList(Of KeyForDiskEncryptionSet) = Nothing, Optional provisioningState As String = Nothing, Optional rotationToLatestKeyVersionEnabled As Nullable(Of Boolean) = Nothing, Optional lastKeyRotationTimestamp As Nullable(Of DateTime) = Nothing, Optional autoKeyRotationError As ApiError = Nothing, Optional federatedClientId As String = Nothing)

Parameters

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

encryptionType
String

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

activeKey
KeyForDiskEncryptionSet

The key vault key which is currently used by this disk encryption set.

previousKeys
IList<KeyForDiskEncryptionSet>

A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation.

provisioningState
String

The disk encryption set provisioning state.

rotationToLatestKeyVersionEnabled
Nullable<Boolean>

Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.

lastKeyRotationTimestamp
Nullable<DateTime>

The time when the active key of this disk encryption set was updated.

autoKeyRotationError
ApiError

The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed.

federatedClientId
String

Multi-tenant application client id to access key vault in a different tenant. Setting the value to 'None' will clear the property.

Applies to