Sdílet prostřednictvím


CheckMhsmNameAvailabilityResult Class

Definition

The CheckMhsmNameAvailability operation response.

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

Constructors

CheckMhsmNameAvailabilityResult()

Creates an new CheckMhsmNameAvailabilityResult 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 managed hsm 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 CheckMhsmNameAvailabilityResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckMhsmNameAvailabilityResult.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckMhsmNameAvailabilityResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to