StorageAccountNameAvailabilityResult Class

Definition

The CheckNameAvailability operation response.

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

Properties

IsNameAvailable

Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.

Message

Gets an error message explaining the Reason value in more detail.

Reason

Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.

Explicit Interface Implementations

IJsonModel<StorageAccountNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageAccountNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageAccountNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageAccountNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageAccountNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to