你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerPropertiesForDefaultCreate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServerPropertiesForDefaultCreate() |
初始化 ServerPropertiesForDefaultCreate 类的新实例。 |
ServerPropertiesForDefaultCreate(String, String, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile) |
初始化 ServerPropertiesForDefaultCreate 类的新实例。 |
ServerPropertiesForDefaultCreate()
初始化 ServerPropertiesForDefaultCreate 类的新实例。
public ServerPropertiesForDefaultCreate ();
Public Sub New ()
适用于
ServerPropertiesForDefaultCreate(String, String, String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)
初始化 ServerPropertiesForDefaultCreate 类的新实例。
public ServerPropertiesForDefaultCreate (string administratorLogin, string administratorLoginPassword, 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.ServerPropertiesForDefaultCreate : string * string * string * Nullable<Microsoft.Azure.Management.MySQL.Models.SslEnforcementEnum> * string * string * string * Microsoft.Azure.Management.MySQL.Models.StorageProfile -> Microsoft.Azure.Management.MySQL.Models.ServerPropertiesForDefaultCreate
Public Sub New (administratorLogin As String, administratorLoginPassword As String, 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)
参数
- administratorLogin
- String
服务器的管理员登录名。 只能在 (创建服务器时指定,并且需要创建) 。 更新密码时需要登录名。
- administratorLoginPassword
- String
管理员登录名的密码。
- 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
服务器的存储配置文件。