Partager via


CheckNameAvailabilityResult Class

Definition

The CheckNameAvailability operation response.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.CheckNameAvailabilityResultTypeConverter))]
public class CheckNameAvailabilityResult : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ICheckNameAvailabilityResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.CheckNameAvailabilityResultTypeConverter))>]
type CheckNameAvailabilityResult = class
    interface ICheckNameAvailabilityResult
    interface IJsonSerializable
Public Class CheckNameAvailabilityResult
Implements ICheckNameAvailabilityResult
Inheritance
CheckNameAvailabilityResult
Attributes
Implements

Constructors

CheckNameAvailabilityResult()

Creates an new CheckNameAvailabilityResult instance.

Properties

Message

Gets an error message explaining the Reason value in more detail.

NameAvailable

Gets 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

Gets the reason that a storage account 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 CheckNameAvailabilityResult.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CheckNameAvailabilityResult.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ICheckNameAvailabilityResult.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CheckNameAvailabilityResult into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to