ArmPostgreSqlModelFactory.PostgreSqlServerPropertiesForRestore 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 PostgreSqlServerPropertiesForRestore.
public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForRestore PostgreSqlServerPropertiesForRestore (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, DateTimeOffset restorePointInTime = default);
static member PostgreSqlServerPropertiesForRestore : 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 * DateTimeOffset -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPropertiesForRestore
Public Shared Function PostgreSqlServerPropertiesForRestore (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, Optional restorePointInTime As DateTimeOffset = Nothing) As PostgreSqlServerPropertiesForRestore
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.
- restorePointInTime
- DateTimeOffset
Restore point creation time (ISO8601 format), specifying the time to restore from.
Returns
A new PostgreSqlServerPropertiesForRestore instance for mocking.