Share via


ManagedHsmNameAvailabilityResult Class

Definition

The CheckMhsmNameAvailability operation response.

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

Properties

IsNameAvailable

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

An error message explaining the Reason value in more detail.

Reason

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

Explicit Interface Implementations

IJsonModel<ManagedHsmNameAvailabilityResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedHsmNameAvailabilityResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedHsmNameAvailabilityResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedHsmNameAvailabilityResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedHsmNameAvailabilityResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to