Share via


NameAvailability Class

Definition

Represents a resource name availability.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityTypeConverter))]
public class NameAvailability : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.NameAvailabilityTypeConverter))>]
type NameAvailability = class
    interface INameAvailability
    interface IJsonSerializable
Public Class NameAvailability
Implements INameAvailability
Inheritance
NameAvailability
Attributes
Implements

Constructors

NameAvailability()

Creates an new NameAvailability instance.

Properties

Message

Error Message.

NameAvailable

Indicates whether the resource name is available.

Reason

Reason for name being unavailable.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NameAvailability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NameAvailability.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20171201.INameAvailability.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NameAvailability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to