Share via


CheckNameAvailabilityResponse Class

Definition

Response for whether the requested resource name is available or not.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.CheckNameAvailabilityResponseTypeConverter))]
public class CheckNameAvailabilityResponse : Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ICheckNameAvailabilityResponse
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.CheckNameAvailabilityResponseTypeConverter))>]
type CheckNameAvailabilityResponse = class
    interface ICheckNameAvailabilityResponse
    interface IJsonSerializable
Public Class CheckNameAvailabilityResponse
Implements ICheckNameAvailabilityResponse
Inheritance
CheckNameAvailabilityResponse
Attributes
Implements

Constructors

Name Description
CheckNameAvailabilityResponse()

Creates an new CheckNameAvailabilityResponse instance.

Properties

Name Description
Message

Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false.

NameAvailable

Returns true or false depending on the availability of the name

Reason

Reason for why value is not available. This field is returned if nameAvailable is false.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CheckNameAvailabilityResponse.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckNameAvailabilityResponse.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.ICheckNameAvailabilityResponse.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckNameAvailabilityResponse into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to