ResourceNameAvailability Class

Definition

Information regarding availability of a resource name.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityTypeConverter))]
public class ResourceNameAvailability : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityTypeConverter))>]
type ResourceNameAvailability = class
    interface IResourceNameAvailability
    interface IJsonSerializable
Public Class ResourceNameAvailability
Implements IResourceNameAvailability
Inheritance
ResourceNameAvailability
Attributes
Implements

Constructors

ResourceNameAvailability()

Creates an new ResourceNameAvailability instance.

Properties

Message

If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

NameAvailable

true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

Reason

Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceNameAvailability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceNameAvailability.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceNameAvailability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to