Share via


SelfHelpNameAvailabilityResult Class

Definition

Response for whether the requested resource name is available or not.

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

Properties

IsNameAvailable

Returns true or false depending on the availability of the name.

Message

Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false.

Reason

Reason for why value is not available. This field is returned if nameAvailable is false.

Explicit Interface Implementations

IJsonModel<SelfHelpNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SelfHelpNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SelfHelpNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SelfHelpNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SelfHelpNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to