你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HostNameSslState 构造函数

定义

重载

HostNameSslState()

初始化 HostNameSslState 类的新实例。

HostNameSslState(String, Nullable<SslState>, String, String, Nullable<Boolean>, Nullable<HostType>)

初始化 HostNameSslState 类的新实例。

HostNameSslState()

初始化 HostNameSslState 类的新实例。

public HostNameSslState ();
Public Sub New ()

适用于

HostNameSslState(String, Nullable<SslState>, String, String, Nullable<Boolean>, Nullable<HostType>)

初始化 HostNameSslState 类的新实例。

public HostNameSslState (string name = default, Microsoft.Azure.Management.WebSites.Models.SslState? sslState = default, string virtualIP = default, string thumbprint = default, bool? toUpdate = default, Microsoft.Azure.Management.WebSites.Models.HostType? hostType = default);
new Microsoft.Azure.Management.WebSites.Models.HostNameSslState : string * Nullable<Microsoft.Azure.Management.WebSites.Models.SslState> * string * string * Nullable<bool> * Nullable<Microsoft.Azure.Management.WebSites.Models.HostType> -> Microsoft.Azure.Management.WebSites.Models.HostNameSslState
Public Sub New (Optional name As String = Nothing, Optional sslState As Nullable(Of SslState) = Nothing, Optional virtualIP As String = Nothing, Optional thumbprint As String = Nothing, Optional toUpdate As Nullable(Of Boolean) = Nothing, Optional hostType As Nullable(Of HostType) = Nothing)

参数

name
String

主机名

sslState
Nullable<SslState>

SSL 类型。 可能的值包括:“Disabled”、“SniEnabled”、“IpBasedEnabled”

virtualIP
String

如果启用了基于 IP 的 SSL,则分配给主机名的虚拟 IP 地址。

thumbprint
String

SSL 证书指纹。

toUpdate
Nullable<Boolean>

将 设置为 <代码>true</code> 以更新现有主机名。

hostType
Nullable<HostType>

指示主机名是标准主机名还是存储库主机名。 可能的值包括:“Standard”、“Repository”

适用于