ArmIotHubModelFactory.IotHubEncryptionProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.