ArmNetAppModelFactory.ElasticEncryption 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.
public static Azure.ResourceManager.NetApp.Models.ElasticEncryption ElasticEncryption(Azure.ResourceManager.NetApp.Models.NetAppKeySource? keySource = default, Azure.ResourceManager.NetApp.Models.ElasticKeyVaultProperties keyVaultProperties = default, Azure.ResourceManager.NetApp.Models.ElasticEncryptionIdentity identity = default);
static member ElasticEncryption : Nullable<Azure.ResourceManager.NetApp.Models.NetAppKeySource> * Azure.ResourceManager.NetApp.Models.ElasticKeyVaultProperties * Azure.ResourceManager.NetApp.Models.ElasticEncryptionIdentity -> Azure.ResourceManager.NetApp.Models.ElasticEncryption
Public Shared Function ElasticEncryption (Optional keySource As Nullable(Of NetAppKeySource) = Nothing, Optional keyVaultProperties As ElasticKeyVaultProperties = Nothing, Optional identity As ElasticEncryptionIdentity = Nothing) As ElasticEncryption
Parameters
- keySource
- Nullable<NetAppKeySource>
The encryption keySource (provider). Possible values (case-insensitive): Microsoft.NetApp, Microsoft.KeyVault.
- keyVaultProperties
- ElasticKeyVaultProperties
Properties provided by KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
- identity
- ElasticEncryptionIdentity
Identity used to authenticate to KeyVault. Applicable if keySource is 'Microsoft.KeyVault'.
Returns
A new ElasticEncryption instance for mocking.