HostName Constructors

Definition

Overloads

HostName()

Initializes a new instance of the HostName class.

HostName(String, IList<String>, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>)

Initializes a new instance of the HostName class.

HostName()

Initializes a new instance of the HostName class.

public HostName ();
Public Sub New ()

Applies to

HostName(String, IList<String>, String, Nullable<AzureResourceType>, Nullable<CustomHostNameDnsRecordType>, Nullable<HostNameType>)

Initializes a new instance of the HostName class.

public HostName (string name = null, System.Collections.Generic.IList<string> siteNames = null, string azureResourceName = null, Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.AzureResourceType> azureResourceType = null, Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.CustomHostNameDnsRecordType> customHostNameDnsRecordType = null, Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameType> hostNameType = null);
new Microsoft.Azure.Management.AppService.Fluent.Models.HostName : string * System.Collections.Generic.IList<string> * string * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.AzureResourceType> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.CustomHostNameDnsRecordType> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.HostNameType> -> Microsoft.Azure.Management.AppService.Fluent.Models.HostName
Public Sub New (Optional name As String = null, Optional siteNames As IList(Of String) = null, Optional azureResourceName As String = null, Optional azureResourceType As Nullable(Of AzureResourceType) = null, Optional customHostNameDnsRecordType As Nullable(Of CustomHostNameDnsRecordType) = null, Optional hostNameType As Nullable(Of HostNameType) = null)

Parameters

name
System.String

Name of the hostname.

siteNames
System.Collections.Generic.IList<System.String>

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.

azureResourceName
System.String

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
System.Nullable<AzureResourceType>

Type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager'

customHostNameDnsRecordType
System.Nullable<CustomHostNameDnsRecordType>

Type of the DNS record. Possible values include: 'CName', 'A'

hostNameType
System.Nullable<HostNameType>

Type of the hostname. Possible values include: 'Verified', 'Managed'

Applies to