你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServerPropertiesForCreate 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServerPropertiesForCreate() |
初始化 ServerPropertiesForCreate 类的新实例。 |
ServerPropertiesForCreate(String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile) |
初始化 ServerPropertiesForCreate 类的新实例。 |
ServerPropertiesForCreate()
初始化 ServerPropertiesForCreate 类的新实例。
public ServerPropertiesForCreate ();
Public Sub New ()
适用于
ServerPropertiesForCreate(String, Nullable<SslEnforcementEnum>, String, String, String, StorageProfile)
初始化 ServerPropertiesForCreate 类的新实例。
public ServerPropertiesForCreate (string version = default, Microsoft.Azure.Management.PostgreSQL.Models.SslEnforcementEnum? sslEnforcement = default, string minimalTlsVersion = default, string infrastructureEncryption = default, string publicNetworkAccess = default, Microsoft.Azure.Management.PostgreSQL.Models.StorageProfile storageProfile = default);
new Microsoft.Azure.Management.PostgreSQL.Models.ServerPropertiesForCreate : string * Nullable<Microsoft.Azure.Management.PostgreSQL.Models.SslEnforcementEnum> * string * string * string * Microsoft.Azure.Management.PostgreSQL.Models.StorageProfile -> Microsoft.Azure.Management.PostgreSQL.Models.ServerPropertiesForCreate
Public Sub New (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)
参数
- version
- String
服务器版本。 可能的值包括:“9.5”、“9.6”、“10”、“10.0”、“10.2”、“11”
- 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
服务器的存储配置文件。