ArmComputeModelFactory.DiskEncryptionSetPatch Method

Definition

public static Azure.ResourceManager.Compute.Models.DiskEncryptionSetPatch DiskEncryptionSetPatch(Azure.ResourceManager.Compute.Models.DiskEncryptionSetType? encryptionType = default, Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet activeKey = default, bool? rotationToLatestKeyVersionEnabled = default, string federatedClientId = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member DiskEncryptionSetPatch : Nullable<Azure.ResourceManager.Compute.Models.DiskEncryptionSetType> * Azure.ResourceManager.Compute.Models.KeyForDiskEncryptionSet * Nullable<bool> * string * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Compute.Models.DiskEncryptionSetPatch
Public Shared Function DiskEncryptionSetPatch (Optional encryptionType As Nullable(Of DiskEncryptionSetType) = Nothing, Optional activeKey As KeyForDiskEncryptionSet = Nothing, Optional rotationToLatestKeyVersionEnabled As Nullable(Of Boolean) = Nothing, Optional federatedClientId As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As DiskEncryptionSetPatch

Parameters

encryptionType
Nullable<DiskEncryptionSetType>

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

activeKey
KeyForDiskEncryptionSet

Key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots.

rotationToLatestKeyVersionEnabled
Nullable<Boolean>

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

federatedClientId
String

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

tags
IDictionary<String,String>

Resource tags.

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.

Returns

A new DiskEncryptionSetPatch instance for mocking.

Applies to