Share via


ArmMySqlModelFactory.MySqlServerPropertiesForGeoRestore Method

Definition

Initializes a new instance of MySqlServerPropertiesForGeoRestore.

public static Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForGeoRestore MySqlServerPropertiesForGeoRestore (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 MySqlServerPropertiesForGeoRestore : 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.MySqlServerPropertiesForGeoRestore
Public Shared Function MySqlServerPropertiesForGeoRestore (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 MySqlServerPropertiesForGeoRestore

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 source server id to restore from.

Returns

A new MySqlServerPropertiesForGeoRestore instance for mocking.

Applies to