Dela via


IResourceNameAvailability Interface

Definition

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

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to