Share via


HostName Class

Definition

Details of a hostname derived from a domain.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.HostNameTypeConverter))]
public class HostName : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IHostName
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.HostNameTypeConverter))>]
type HostName = class
    interface IHostName
    interface IJsonSerializable
Public Class HostName
Implements IHostName
Inheritance
HostName
Attributes
Implements

Constructors

HostName()

Creates an new HostName instance.

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.

Name

Name of the hostname.

SiteName

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.

Type

Type of the hostname.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HostName.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HostName.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IHostName.

FromJsonString(String)

Creates a new instance of HostName, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HostName into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to