共用方式為


HostNameBinding Constructors

Definition

Overloads

HostNameBinding()

Initializes a new instance of the HostNameBinding class.

HostNameBinding(String, String, String, String, String, String, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>, Nullable<SslState>, String, String)

Initializes a new instance of the HostNameBinding class.

HostNameBinding()

Initializes a new instance of the HostNameBinding class.

public HostNameBinding ();
Public Sub New ()

Applies to

HostNameBinding(String, String, String, String, String, String, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>, Nullable<SslState>, String, String)

Initializes a new instance of the HostNameBinding class.

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)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

siteName
String

App Service app name.

domainId
String

Fully qualified ARM domain resource URI.

azureResourceName
String

Azure resource name.

azureResourceType
Nullable<AzureResourceType>

Azure resource type. Possible values include: 'Website', 'TrafficManager'

customHostNameDnsRecordType
Nullable<CustomHostNameDnsRecordType>

Custom DNS record type. Possible values include: 'CName', 'A'

hostNameType
Nullable<HostNameType>

Hostname type. Possible values include: 'Verified', 'Managed'

sslState
Nullable<SslState>

SSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'

thumbprint
String

SSL certificate thumbprint

virtualIP
String

Virtual IP address assigned to the hostname if IP based SSL is enabled.

Applies to