共用方式為


EventHubsNameAvailabilityResult Class

Definition

The Result of the CheckNameAvailability operation.

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

Properties

Message

The detailed info regarding the reason associated with the Namespace.

NameAvailable

Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.

Reason

The reason for unavailability of a Namespace.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<EventHubsNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubsNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubsNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubsNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubsNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to