Sdílet prostřednictvím


KeyVaultNameAvailabilityResult Class

Definition

The CheckNameAvailability operation response.

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

Properties

Message

An error message explaining the Reason value in more detail.

NameAvailable

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.

Reason

The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false.

Explicit Interface Implementations

IJsonModel<KeyVaultNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyVaultNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyVaultNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to