共用方式為


ServerPropertiesForReplica Constructors

Definition

Overloads

ServerPropertiesForReplica()

Initializes a new instance of the ServerPropertiesForReplica class.

ServerPropertiesForReplica(String, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)

Initializes a new instance of the ServerPropertiesForReplica class.

ServerPropertiesForReplica()

Initializes a new instance of the ServerPropertiesForReplica class.

public ServerPropertiesForReplica ();
Public Sub New ()

Applies to

ServerPropertiesForReplica(String, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)

Initializes a new instance of the ServerPropertiesForReplica class.

public ServerPropertiesForReplica (string sourceServerId, string version = default, Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum? sslEnforcement = default, string minimalTlsVersion = default, string infrastructureEncryption = default, string publicNetworkAccess = default, Microsoft.Azure.Management.MySQL.Models.StorageProfile storageProfile = default);
new Microsoft.Azure.Management.MySQL.Models.ServerPropertiesForReplica : string * string * Nullable<Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum> * string * string * string * Microsoft.Azure.Management.MySQL.Models.StorageProfile -> Microsoft.Azure.Management.MySQL.Models.ServerPropertiesForReplica
Public Sub New (sourceServerId As String, 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 master server id to create replica from.

version
String

Server version. Possible values include: '5.6', '5.7', '8.0'

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