你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HostNameBinding 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
HostNameBinding() |
初始化 HostNameBinding 类的新实例。 |
HostNameBinding(String, String, String, String, String, String, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>, Nullable<SslState>, String, String) |
初始化 HostNameBinding 类的新实例。 |
HostNameBinding()
初始化 HostNameBinding 类的新实例。
public HostNameBinding ();
Public Sub New ()
适用于
HostNameBinding(String, String, String, String, String, String, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>, Nullable<SslState>, String, String)
初始化 HostNameBinding 类的新实例。
public HostNameBinding (string id = default, string name = default, string kind = default, string type = default, string siteName = default, string domainId = default, string azureResourceName = default, Microsoft.Azure.Management.WebSites.Models.AzureResourceType? azureResourceType = default, Microsoft.Azure.Management.WebSites.Models.CustomHostNameDnsRecordType? customHostNameDnsRecordType = default, Microsoft.Azure.Management.WebSites.Models.HostNameType? hostNameType = default, Microsoft.Azure.Management.WebSites.Models.SslState? sslState = default, string thumbprint = default, string virtualIP = default);
new Microsoft.Azure.Management.WebSites.Models.HostNameBinding : string * string * string * string * string * string * string * Nullable<Microsoft.Azure.Management.WebSites.Models.AzureResourceType> * Nullable<Microsoft.Azure.Management.WebSites.Models.CustomHostNameDnsRecordType> * Nullable<Microsoft.Azure.Management.WebSites.Models.HostNameType> * Nullable<Microsoft.Azure.Management.WebSites.Models.SslState> * string * string -> Microsoft.Azure.Management.WebSites.Models.HostNameBinding
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type As String = Nothing, Optional siteName As String = Nothing, Optional domainId As String = Nothing, Optional azureResourceName As String = Nothing, Optional azureResourceType As Nullable(Of AzureResourceType) = Nothing, Optional customHostNameDnsRecordType As Nullable(Of CustomHostNameDnsRecordType) = Nothing, Optional hostNameType As Nullable(Of HostNameType) = Nothing, Optional sslState As Nullable(Of SslState) = Nothing, Optional thumbprint As String = Nothing, Optional virtualIP As String = Nothing)
参数
- id
- String
资源 ID。
- name
- String
资源名称。
- kind
- String
资源类型。
- type
- String
资源类型。
- siteName
- String
App 服务应用名称。
- domainId
- String
完全限定的 ARM 域资源 URI。
- azureResourceName
- String
Azure 资源名称。
- azureResourceType
- Nullable<AzureResourceType>
Azure 资源类型。 可能的值包括:“Website”、“TrafficManager”
- customHostNameDnsRecordType
- Nullable<CustomHostNameDnsRecordType>
自定义 DNS 记录类型。 可能的值包括:“CName”、“A”
- hostNameType
- Nullable<HostNameType>
主机名类型。 可能的值包括:“Verified”、“Managed”
- thumbprint
- String
SSL 证书指纹
- virtualIP
- String
如果启用了基于 IP 的 SSL,则分配给主机名的虚拟 IP 地址。