ArmHDInsightModelFactory.HDInsightDiskEncryptionProperties Method

Definition

public static Azure.ResourceManager.HDInsight.Models.HDInsightDiskEncryptionProperties HDInsightDiskEncryptionProperties(Uri vaultUri = default, string keyName = default, string keyVersion = default, Azure.ResourceManager.HDInsight.Models.JsonWebKeyEncryptionAlgorithm? encryptionAlgorithm = default, Azure.Core.ResourceIdentifier msiResourceId = default, bool? isEncryptionAtHostEnabled = default);
static member HDInsightDiskEncryptionProperties : Uri * string * string * Nullable<Azure.ResourceManager.HDInsight.Models.JsonWebKeyEncryptionAlgorithm> * Azure.Core.ResourceIdentifier * Nullable<bool> -> Azure.ResourceManager.HDInsight.Models.HDInsightDiskEncryptionProperties
Public Shared Function HDInsightDiskEncryptionProperties (Optional vaultUri As Uri = Nothing, Optional keyName As String = Nothing, Optional keyVersion As String = Nothing, Optional encryptionAlgorithm As Nullable(Of JsonWebKeyEncryptionAlgorithm) = Nothing, Optional msiResourceId As ResourceIdentifier = Nothing, Optional isEncryptionAtHostEnabled As Nullable(Of Boolean) = Nothing) As HDInsightDiskEncryptionProperties

Parameters

vaultUri
Uri

Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net.

keyName
String

Key name that is used for enabling disk encryption.

keyVersion
String

Specific key version that is used for enabling disk encryption.

encryptionAlgorithm
Nullable<JsonWebKeyEncryptionAlgorithm>

Algorithm identifier for encryption, default RSA-OAEP.

msiResourceId
ResourceIdentifier

Resource ID of Managed Identity that is used to access the key vault.

isEncryptionAtHostEnabled
Nullable<Boolean>

Indicates whether or not resource disk encryption is enabled.

Returns

A new HDInsightDiskEncryptionProperties instance for mocking.

Applies to