CheckNameAvailabilityOutput Class

Definition

Output of check name availability API.

public class CheckNameAvailabilityOutput
type CheckNameAvailabilityOutput = class
Public Class CheckNameAvailabilityOutput
Inheritance
CheckNameAvailabilityOutput

Constructors

CheckNameAvailabilityOutput()

Initializes a new instance of the CheckNameAvailabilityOutput class.

CheckNameAvailabilityOutput(Nullable<Boolean>, String, String)

Initializes a new instance of the CheckNameAvailabilityOutput class.

Properties

IsNameAvailable

Gets a value indicating whether the name is available.

Message

Gets a message that explains why the name is invalid and provides resource naming requirements. Available only if 'Invalid' is returned in the 'reason' property.

Reason

Gets the reason why the name is not available. 'Invalid' indicates the name provided does not match the naming requirements (incorrect length, unsupported characters, etc.). 'AlreadyExists' indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'

Applies to