Share via


CheckNameAvailabilityResponseModel Class

Definition

Check name availability response model.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.CheckNameAvailabilityResponseModelTypeConverter))]
public class CheckNameAvailabilityResponseModel : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ICheckNameAvailabilityResponseModel
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.CheckNameAvailabilityResponseModelTypeConverter))>]
type CheckNameAvailabilityResponseModel = class
    interface ICheckNameAvailabilityResponseModel
    interface IJsonSerializable
Public Class CheckNameAvailabilityResponseModel
Implements ICheckNameAvailabilityResponseModel
Inheritance
CheckNameAvailabilityResponseModel
Attributes
Implements

Constructors

CheckNameAvailabilityResponseModel()

Creates an new CheckNameAvailabilityResponseModel instance.

Properties

Message

Gets or sets the message for resource name unavailability.

NameAvailable

Gets or sets a value indicating whether resource name is available or not.

Reason

Gets or sets the reason for resource name unavailability.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CheckNameAvailabilityResponseModel.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckNameAvailabilityResponseModel.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview.ICheckNameAvailabilityResponseModel.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckNameAvailabilityResponseModel into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to