Sprog

ArmIotHubModelFactory.IotHubEncryptionProperties Method

Definition

The encryption properties for the IoT hub.

public static Azure.ResourceManager.IotHub.Models.IotHubEncryptionProperties IotHubEncryptionProperties(string keySource = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotHub.Models.IotHubKeyVaultKeyProperties> keyVaultProperties = default);
static member IotHubEncryptionProperties : string * seq<Azure.ResourceManager.IotHub.Models.IotHubKeyVaultKeyProperties> -> Azure.ResourceManager.IotHub.Models.IotHubEncryptionProperties
Public Shared Function IotHubEncryptionProperties (Optional keySource As String = Nothing, Optional keyVaultProperties As IEnumerable(Of IotHubKeyVaultKeyProperties) = Nothing) As IotHubEncryptionProperties

Parameters

keySource
String

The source of the key.

keyVaultProperties
IEnumerable<IotHubKeyVaultKeyProperties>

The properties of the KeyVault key.

Returns

A new IotHubEncryptionProperties instance for mocking.

Applies to