Dela via


NetAppCheckAvailabilityResult Class

Definition

Information regarding availability of a resource.

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

Properties

IsAvailable

<code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.

Message

If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

Reason

<code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetAppCheckAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NetAppCheckAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetAppCheckAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetAppCheckAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NetAppCheckAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to