Share via


AppServiceHostName Class

Definition

Details of a hostname derived from a domain.

public class AppServiceHostName : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServiceHostName>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServiceHostName>
Inheritance
AppServiceHostName
Implements

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.

Methods

Explicit Interface Implementations

IJsonModel<AppServiceHostName>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServiceHostName>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServiceHostName>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServiceHostName>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServiceHostName>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to