Share via


PurviewAccountNameAvailabilityResult Class

Definition

The response payload for CheckNameAvailability API.

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

Properties

IsNameAvailable

Indicates if name is valid and available.

Message

Error message.

Reason

The reason the name is not available.

Explicit Interface Implementations

IJsonModel<PurviewAccountNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PurviewAccountNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PurviewAccountNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PurviewAccountNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PurviewAccountNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to