Partager via


Encryption Constructors

Definition

Overloads

Encryption()

Initializes a new instance of the Encryption class.

Encryption(String, EncryptionServices, Nullable<Boolean>, KeyVaultProperties, EncryptionIdentity)

Initializes a new instance of the Encryption class.

Encryption()

Initializes a new instance of the Encryption class.

public Encryption ();
Public Sub New ()

Applies to

Encryption(String, EncryptionServices, Nullable<Boolean>, KeyVaultProperties, EncryptionIdentity)

Initializes a new instance of the Encryption class.

public Encryption (string keySource, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionServices services = default, bool? requireInfrastructureEncryption = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyVaultProperties keyVaultProperties = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionIdentity encryptionIdentity = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Encryption : string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionServices * Nullable<bool> * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.KeyVaultProperties * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.EncryptionIdentity -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Encryption
Public Sub New (keySource As String, Optional services As EncryptionServices = Nothing, Optional requireInfrastructureEncryption As Nullable(Of Boolean) = Nothing, Optional keyVaultProperties As KeyVaultProperties = Nothing, Optional encryptionIdentity As EncryptionIdentity = Nothing)

Parameters

keySource
String

The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'

services
EncryptionServices

List of services which support encryption.

requireInfrastructureEncryption
Nullable<Boolean>

A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

keyVaultProperties
KeyVaultProperties

Properties provided by key vault.

encryptionIdentity
EncryptionIdentity

The identity to be used with service-side encryption at rest.

Applies to