Delen via


ArmMySqlModelFactory.MySqlServerPropertiesForDefaultCreate Method

Definition

Initializes a new instance of MySqlServerPropertiesForDefaultCreate.

public static Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForDefaultCreate MySqlServerPropertiesForDefaultCreate (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, string administratorLogin = default, string administratorLoginPassword = default);
static member MySqlServerPropertiesForDefaultCreate : 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 * string * string -> Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForDefaultCreate
Public Shared Function MySqlServerPropertiesForDefaultCreate (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 administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing) As MySqlServerPropertiesForDefaultCreate

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.

administratorLogin
String

The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). The login name is required when updating password.

administratorLoginPassword
String

The password of the administrator login.

Returns

A new MySqlServerPropertiesForDefaultCreate instance for mocking.

Applies to