ArmPostgreSqlModelFactory.PostgreSqlServerPropertiesForReplica 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.
Initializes a new instance of PostgreSqlServerPropertiesForReplica.
public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForReplica PostgreSqlServerPropertiesForReplica (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 PostgreSqlServerPropertiesForReplica : 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.PostgreSqlServerPropertiesForReplica
Public Shared Function PostgreSqlServerPropertiesForReplica (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 PostgreSqlServerPropertiesForReplica
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 master server id to create replica from.
Returns
A new PostgreSqlServerPropertiesForReplica instance for mocking.