ArmPostgreSqlModelFactory.PostgreSqlServerPropertiesForDefaultCreate Method

Definition

Initializes a new instance of PostgreSqlServerPropertiesForDefaultCreate.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForDefaultCreate PostgreSqlServerPropertiesForDefaultCreate (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, string administratorLogin = default, string administratorLoginPassword = default);
static member PostgreSqlServerPropertiesForDefaultCreate : 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 * string * string -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForDefaultCreate
Public Shared Function PostgreSqlServerPropertiesForDefaultCreate (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 administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing) As PostgreSqlServerPropertiesForDefaultCreate

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.

administratorLogin
String

The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

administratorLoginPassword
String

The password of the administrator login.

Returns

A new PostgreSqlServerPropertiesForDefaultCreate instance for mocking.

Applies to