ArmMySqlModelFactory.MySqlServerPropertiesForRestore 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 MySqlServerPropertiesForRestore.
public static Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForRestore MySqlServerPropertiesForRestore (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, DateTimeOffset restorePointInTime = default);
static member MySqlServerPropertiesForRestore : 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 * DateTimeOffset -> Azure.ResourceManager.MySql.Models.MySqlServerPropertiesForRestore
Public Shared Function MySqlServerPropertiesForRestore (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, Optional restorePointInTime As DateTimeOffset = Nothing) As MySqlServerPropertiesForRestore
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.
- restorePointInTime
- DateTimeOffset
Restore point creation time (ISO8601 format), specifying the time to restore from.
Returns
A new MySqlServerPropertiesForRestore instance for mocking.
Applies to
Azure SDK for .NET