Partager via


CheckNameAvailabilityResult Class

Definition

The CheckNameAvailability operation response.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.CheckNameAvailabilityResultTypeConverter))]
public class CheckNameAvailabilityResult : Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckNameAvailabilityResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.CheckNameAvailabilityResultTypeConverter))>]
type CheckNameAvailabilityResult = class
    interface ICheckNameAvailabilityResult
    interface IJsonSerializable
Public Class CheckNameAvailabilityResult
Implements ICheckNameAvailabilityResult
Inheritance
CheckNameAvailabilityResult
Attributes
Implements

Constructors

CheckNameAvailabilityResult()

Creates an new CheckNameAvailabilityResult instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CheckNameAvailabilityResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckNameAvailabilityResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.KeyVault.Models.ICheckNameAvailabilityResult.

FromJsonString(String)

Creates a new instance of CheckNameAvailabilityResult, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckNameAvailabilityResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to