ArmComputeModelFactory.DiskEncryptionSetData Method

Definition

Initializes a new instance of DiskEncryptionSetData.

public static Azure.ResourceManager.Compute.DiskEncryptionSetData DiskEncryptionSetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.Compute.Models.DiskEncryptionSetType? encryptionType = default, Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet activeKey = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet> previousKeys = default, string provisioningState = default, bool? rotationToLatestKeyVersionEnabled = default, DateTimeOffset? lastKeyRotationTimestamp = default, Azure.ResourceManager.Compute.Models.ComputeApiError autoKeyRotationError = default, string federatedClientId = default);
static member DiskEncryptionSetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.Compute.Models.DiskEncryptionSetType> * Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet * seq<Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet> * string * Nullable<bool> * Nullable<DateTimeOffset> * Azure.ResourceManager.Compute.Models.ComputeApiError * string -> Azure.ResourceManager.Compute.DiskEncryptionSetData
Public Shared Function DiskEncryptionSetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional encryptionType As Nullable(Of DiskEncryptionSetType) = Nothing, Optional activeKey As KeyForDiskEncryptionSet = Nothing, Optional previousKeys As IEnumerable(Of KeyForDiskEncryptionSet) = Nothing, Optional provisioningState As String = Nothing, Optional rotationToLatestKeyVersionEnabled As Nullable(Of Boolean) = Nothing, Optional lastKeyRotationTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional autoKeyRotationError As ComputeApiError = Nothing, Optional federatedClientId As String = Nothing) As DiskEncryptionSetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

encryptionType
Nullable<DiskEncryptionSetType>

The type of key used to encrypt the data of the disk.

activeKey
KeyForDiskEncryptionSet

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

previousKeys
IEnumerable<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<DateTimeOffset>

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

autoKeyRotationError
ComputeApiError

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.

Returns

A new DiskEncryptionSetData instance for mocking.

Applies to