你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerPropertiesForRestore 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServerPropertiesForRestore() |
初始化 ServerPropertiesForRestore 类的新实例。 |
ServerPropertiesForRestore(String, DateTime, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile) |
初始化 ServerPropertiesForRestore 类的新实例。 |
ServerPropertiesForRestore()
初始化 ServerPropertiesForRestore 类的新实例。
public ServerPropertiesForRestore ();
Public Sub New ()
适用于
ServerPropertiesForRestore(String, DateTime, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)
初始化 ServerPropertiesForRestore 类的新实例。
public ServerPropertiesForRestore (string sourceServerId, DateTime restorePointInTime, 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.ServerPropertiesForRestore : string * DateTime * string * Nullable<Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum> * string * string * string * Microsoft.Azure.Management.MySQL.Models.StorageProfile -> Microsoft.Azure.Management.MySQL.Models.ServerPropertiesForRestore
Public Sub New (sourceServerId As String, restorePointInTime As DateTime, 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)
参数
- sourceServerId
- String
要从中还原的源服务器 ID。
- restorePointInTime
- DateTime
还原点创建时间 (ISO8601 格式) ,指定要从其还原的时间。
- version
- String
服务器版本。 可能的值包括:“5.6”、“5.7”、“8.0”
- sslEnforcement
- Nullable<SslEnforcementEnum>
连接到服务器时是否启用 ssl 强制实施。 可能的值包括:“Enabled”、“Disabled”
- minimalTlsVersion
- String
为服务器强制实施最低 Tls 版本。 可能的值包括:“TLS1_0”、“TLS1_1”、“TLS1_2”、“TLSEnforcementDisabled”
- infrastructureEncryption
- String
显示服务器是否启用了基础结构加密的状态。 可能的值包括:“Enabled”、“Disabled”
- publicNetworkAccess
- String
是否允许此服务器访问公用网络。 值是可选的,但如果传入,则必须为“Enabled”或“Disabled”。 可能的值包括:“Enabled”、“Disabled”
- storageProfile
- StorageProfile
服务器的存储配置文件。