ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerDataEncryption Method

Definition

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption PostgreSqlFlexibleServerDataEncryption(Uri primaryKeyUri = default, Azure.Core.ResourceIdentifier primaryUserAssignedIdentityId = default, Uri geoBackupKeyUri = default, string geoBackupUserAssignedIdentityId = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType? keyType = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlKeyStatus? primaryEncryptionKeyStatus = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlKeyStatus? geoBackupEncryptionKeyStatus = default, Guid? primaryFederatedIdentityClientId = default, Guid? geoBackupFederatedIdentityClientId = default);
static member PostgreSqlFlexibleServerDataEncryption : Uri * Azure.Core.ResourceIdentifier * Uri * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerKeyType> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlKeyStatus> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlKeyStatus> * Nullable<Guid> * Nullable<Guid> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption
Public Shared Function PostgreSqlFlexibleServerDataEncryption (Optional primaryKeyUri As Uri = Nothing, Optional primaryUserAssignedIdentityId As ResourceIdentifier = Nothing, Optional geoBackupKeyUri As Uri = Nothing, Optional geoBackupUserAssignedIdentityId As String = Nothing, Optional keyType As Nullable(Of PostgreSqlFlexibleServerKeyType) = Nothing, Optional primaryEncryptionKeyStatus As Nullable(Of PostgreSqlKeyStatus) = Nothing, Optional geoBackupEncryptionKeyStatus As Nullable(Of PostgreSqlKeyStatus) = Nothing, Optional primaryFederatedIdentityClientId As Nullable(Of Guid) = Nothing, Optional geoBackupFederatedIdentityClientId As Nullable(Of Guid) = Nothing) As PostgreSqlFlexibleServerDataEncryption

Parameters

primaryKeyUri
Uri

URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server.

primaryUserAssignedIdentityId
ResourceIdentifier

Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server.

geoBackupKeyUri
Uri

Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups.

geoBackupUserAssignedIdentityId
String

Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups.

keyType
Nullable<PostgreSqlFlexibleServerKeyType>

Data encryption type used by a server.

primaryEncryptionKeyStatus
Nullable<PostgreSqlKeyStatus>

Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server.

geoBackupEncryptionKeyStatus
Nullable<PostgreSqlKeyStatus>

Status of key used by a server configured with data encryption based on customer managed key, to encrypt the geographically redundant storage associated to the server when it is configured to support geographically redundant backups.

primaryFederatedIdentityClientId
Nullable<Guid>

Client id of multi-tenant Microsoft Entra application.

geoBackupFederatedIdentityClientId
Nullable<Guid>

Client id of multi-tenant Microsoft Entra application for when it is configured to support geographically redundant backups.

Returns

A new PostgreSqlFlexibleServerDataEncryption instance for mocking.

Applies to