Language

NameAvailabilityModel Class

Definition

Availability of a name.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.NameAvailabilityModelTypeConverter))]
public class NameAvailabilityModel : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.INameAvailabilityModel, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.NameAvailabilityModelTypeConverter))>]
type NameAvailabilityModel = class
    interface INameAvailabilityModel
    interface IJsonSerializable
    interface ICheckNameAvailabilityResponse
    interface IValidates
Public Class NameAvailabilityModel
Implements INameAvailabilityModel, IValidates
Inheritance
NameAvailabilityModel
Attributes
Implements

Constructors

Name Description
NameAvailabilityModel()

Creates an new NameAvailabilityModel instance.

Properties

Name Description
Message

Detailed reason why the given name is not available.

Name

Name for which validity and availability was checked.

NameAvailable

Indicates if the resource name is available.

Reason

The reason why the given name is not available.

Type

Type of resource. It can be 'Microsoft.DBforPostgreSQL/flexibleServers' or 'Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints'.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NameAvailabilityModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NameAvailabilityModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.INameAvailabilityModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of NameAvailabilityModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to