Share via


TrafficManagerNameAvailabilityResult Class

Definition

Class representing a Traffic Manager Name Availability response.

public class TrafficManagerNameAvailabilityResult : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.TrafficManager.Models.TrafficManagerNameAvailabilityResult>
type TrafficManagerNameAvailabilityResult = class
    interface IJsonModel<TrafficManagerNameAvailabilityResult>
    interface IPersistableModel<TrafficManagerNameAvailabilityResult>
Public Class TrafficManagerNameAvailabilityResult
Implements IJsonModel(Of TrafficManagerNameAvailabilityResult), IPersistableModel(Of TrafficManagerNameAvailabilityResult)
Inheritance
TrafficManagerNameAvailabilityResult
Implements

Properties

IsNameAvailable

Describes whether the relative name is available or not.

Message

Descriptive message that explains why the name is not available, when applicable.

Name

The relative name.

ResourceType

Traffic Manager profile resource type.

UnavailableReason

The reason why the name is not available, when applicable.

Explicit Interface Implementations

IJsonModel<TrafficManagerNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TrafficManagerNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficManagerNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficManagerNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TrafficManagerNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to