ArmMySqlModelFactory.MySqlServerPropertiesForReplica 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 MySqlServerPropertiesForReplica.
public static Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForReplica MySqlServerPropertiesForReplica (Azure.ResourceManager.MySql.Models.MySqlServerVersion? version = default, Azure.ResourceManager.MySql.Models.MySqlSslEnforcementEnum? sslEnforcement = default, Azure.ResourceManager.MySql.Models.MySqlMinimalTlsVersionEnum? minimalTlsVersion = default, Azure.ResourceManager.MySql.Models.MySqlInfrastructureEncryption? infrastructureEncryption = default, Azure.ResourceManager.MySql.Models.MySqlPublicNetworkAccessEnum? publicNetworkAccess = default, Azure.ResourceManager.MySql.Models.MySqlStorageProfile storageProfile = default, Azure.Core.ResourceIdentifier sourceServerId = default);
static member MySqlServerPropertiesForReplica : Nullable<Azure.ResourceManager.MySql.Models.MySqlServerVersion> * Nullable<Azure.ResourceManager.MySql.Models.MySqlSslEnforcementEnum> * Nullable<Azure.ResourceManager.MySql.Models.MySqlMinimalTlsVersionEnum> * Nullable<Azure.ResourceManager.MySql.Models.MySqlInfrastructureEncryption> * Nullable<Azure.ResourceManager.MySql.Models.MySqlPublicNetworkAccessEnum> * Azure.ResourceManager.MySql.Models.MySqlStorageProfile * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForReplica
Public Shared Function MySqlServerPropertiesForReplica (Optional version As Nullable(Of MySqlServerVersion) = Nothing, Optional sslEnforcement As Nullable(Of MySqlSslEnforcementEnum) = Nothing, Optional minimalTlsVersion As Nullable(Of MySqlMinimalTlsVersionEnum) = Nothing, Optional infrastructureEncryption As Nullable(Of MySqlInfrastructureEncryption) = Nothing, Optional publicNetworkAccess As Nullable(Of MySqlPublicNetworkAccessEnum) = Nothing, Optional storageProfile As MySqlStorageProfile = Nothing, Optional sourceServerId As ResourceIdentifier = Nothing) As MySqlServerPropertiesForReplica
Parameters
- version
- Nullable<MySqlServerVersion>
Server version.
- sslEnforcement
- Nullable<MySqlSslEnforcementEnum>
Enable ssl enforcement or not when connect to server.
- minimalTlsVersion
- Nullable<MySqlMinimalTlsVersionEnum>
Enforce a minimal Tls version for the server.
- infrastructureEncryption
- Nullable<MySqlInfrastructureEncryption>
Status showing whether the server enabled infrastructure encryption.
- publicNetworkAccess
- Nullable<MySqlPublicNetworkAccessEnum>
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
- storageProfile
- MySqlStorageProfile
Storage profile of a server.
- sourceServerId
- ResourceIdentifier
The master server id to create replica from.
Returns
A new MySqlServerPropertiesForReplica instance for mocking.
Applies to
Azure SDK for .NET