共用方式為


HostName interface

Details of a hostname derived from a domain.

Properties

azureResourceName

Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.

azureResourceType

Type of the Azure resource the hostname is assigned to.

customHostNameDnsRecordType

Type of the DNS record.

hostNameType

Type of the hostname.

name

Name of the hostname.

siteNames

List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.

Property Details

azureResourceName

Name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name.

azureResourceName?: string

Property Value

string

azureResourceType

Type of the Azure resource the hostname is assigned to.

azureResourceType?: AzureResourceType

Property Value

customHostNameDnsRecordType

Type of the DNS record.

customHostNameDnsRecordType?: CustomHostNameDnsRecordType

Property Value

hostNameType

Type of the hostname.

hostNameType?: HostNameType

Property Value

name

Name of the hostname.

name?: string

Property Value

string

siteNames

List of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager.

siteNames?: string[]

Property Value

string[]