Partilhar via


ArmPostgreSqlModelFactory.PostgreSqlServerPropertiesForGeoRestore Method

Definition

Initializes a new instance of PostgreSqlServerPropertiesForGeoRestore.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForGeoRestore PostgreSqlServerPropertiesForGeoRestore (Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerVersion? version = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlSslEnforcementEnum? sslEnforcement = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlMinimalTlsVersionEnum? minimalTlsVersion = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlInfrastructureEncryption? infrastructureEncryption = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlPublicNetworkAccessEnum? publicNetworkAccess = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlStorageProfile storageProfile = default, Azure.Core.ResourceIdentifier sourceServerId = default);
static member PostgreSqlServerPropertiesForGeoRestore : Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerVersion> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlSslEnforcementEnum> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlMinimalTlsVersionEnum> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlInfrastructureEncryption> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlPublicNetworkAccessEnum> * Azure.ResourceManager.PostgreSql.Models.PostgreSqlStorageProfile * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForGeoRestore
Public Shared Function PostgreSqlServerPropertiesForGeoRestore (Optional version As Nullable(Of PostgreSqlServerVersion) = Nothing, Optional sslEnforcement As Nullable(Of PostgreSqlSslEnforcementEnum) = Nothing, Optional minimalTlsVersion As Nullable(Of PostgreSqlMinimalTlsVersionEnum) = Nothing, Optional infrastructureEncryption As Nullable(Of PostgreSqlInfrastructureEncryption) = Nothing, Optional publicNetworkAccess As Nullable(Of PostgreSqlPublicNetworkAccessEnum) = Nothing, Optional storageProfile As PostgreSqlStorageProfile = Nothing, Optional sourceServerId As ResourceIdentifier = Nothing) As PostgreSqlServerPropertiesForGeoRestore

Parameters

version
Nullable<PostgreSqlServerVersion>

Server version.

sslEnforcement
Nullable<PostgreSqlSslEnforcementEnum>

Enable ssl enforcement or not when connect to server.

minimalTlsVersion
Nullable<PostgreSqlMinimalTlsVersionEnum>

Enforce a minimal Tls version for the server.

infrastructureEncryption
Nullable<PostgreSqlInfrastructureEncryption>

Status showing whether the server enabled infrastructure encryption.

publicNetworkAccess
Nullable<PostgreSqlPublicNetworkAccessEnum>

Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

storageProfile
PostgreSqlStorageProfile

Storage profile of a server.

sourceServerId
ResourceIdentifier

The source server id to restore from.

Returns

A new PostgreSqlServerPropertiesForGeoRestore instance for mocking.

Applies to