Поделиться через


MediaServicesNameAvailabilityResult Class

Definition

The response from the check name availability request.

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

Properties

IsNameAvailable

Specifies if the name is available.

Message

Specifies the detailed reason if the name is not available.

Reason

Specifies the reason if the name is not available.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaServicesNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MediaServicesNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaServicesNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MediaServicesNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MediaServicesNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to