共用方式為


WebPubSubNameAvailability Class

Definition

Result of the request to check name availability. It contains a flag and possible reason of failure.

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

Properties

Message

The message of the operation.

NameAvailable

Indicates whether the name is available or not.

Reason

The reason of the availability. Required if name is not available.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<WebPubSubNameAvailability>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WebPubSubNameAvailability>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<WebPubSubNameAvailability>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WebPubSubNameAvailability>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WebPubSubNameAvailability>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to