HostName Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = default, System.Collections.Generic.IList<string> siteNames = default, string azureResourceName = default, Microsoft.Azure.Management.AppService.Fluent.Models.AzureResourceType? azureResourceType = default, Microsoft.Azure.Management.AppService.Fluent.Models.CustomHostNameDnsRecordType? customHostNameDnsRecordType = default, Microsoft.Azure.Management.AppService.Fluent.Models.HostNameType? hostNameType = default);
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 = Nothing, Optional siteNames As IList(Of 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)
Parameters
- name
- String
Name of the hostname.
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
- 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
- Nullable<AzureResourceType>
Type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager'
- customHostNameDnsRecordType
- Nullable<CustomHostNameDnsRecordType>
Type of the DNS record. Possible values include: 'CName', 'A'
- hostNameType
- Nullable<HostNameType>
Type of the hostname. Possible values include: 'Verified', 'Managed'
Applies to
Azure SDK for .NET