ServerPropertiesForRestore Constructors
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.
Overloads
ServerPropertiesForRestore() |
Initializes a new instance of the ServerPropertiesForRestore class. |
ServerPropertiesForRestore(String, DateTime, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile) |
Initializes a new instance of the ServerPropertiesForRestore class. |
ServerPropertiesForRestore()
Initializes a new instance of the ServerPropertiesForRestore class.
public ServerPropertiesForRestore ();
Public Sub New ()
Applies to
ServerPropertiesForRestore(String, DateTime, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)
Initializes a new instance of the ServerPropertiesForRestore class.
public ServerPropertiesForRestore (string sourceServerId, DateTime restorePointInTime, string version = default, Microsoft.Azure.Management.PostgreSQL.Models.SslEnforcementEnum? sslEnforcement = default, string minimalTlsVersion = default, string infrastructureEncryption = default, string publicNetworkAccess = default, Microsoft.Azure.Management.PostgreSQL.Models.StorageProfile storageProfile = default);
new Microsoft.Azure.Management.PostgreSQL.Models.ServerPropertiesForRestore : string * DateTime * string * Nullable<Microsoft.Azure.Management.PostgreSQL.Models.SslEnforcementEnum> * string * string * string * Microsoft.Azure.Management.PostgreSQL.Models.StorageProfile -> Microsoft.Azure.Management.PostgreSQL.Models.ServerPropertiesForRestore
Public Sub New (sourceServerId As String, restorePointInTime As DateTime, Optional version As String = Nothing, Optional sslEnforcement As Nullable(Of SslEnforcementEnum) = Nothing, Optional minimalTlsVersion As String = Nothing, Optional infrastructureEncryption As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional storageProfile As StorageProfile = Nothing)
Parameters
- sourceServerId
- String
The source server id to restore from.
- restorePointInTime
- DateTime
Restore point creation time (ISO8601 format), specifying the time to restore from.
- version
- String
Server version. Possible values include: '9.5', '9.6', '10', '10.0', '10.2', '11'
- sslEnforcement
- Nullable<SslEnforcementEnum>
Enable ssl enforcement or not when connect to server. Possible values include: 'Enabled', 'Disabled'
- minimalTlsVersion
- String
Enforce a minimal Tls version for the server. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2', 'TLSEnforcementDisabled'
- infrastructureEncryption
- String
Status showing whether the server enabled infrastructure encryption. Possible values include: 'Enabled', 'Disabled'
- publicNetworkAccess
- String
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'
- storageProfile
- StorageProfile
Storage profile of a server.
Applies to
Azure SDK for .NET