CheckNameAvailabilityResponse Class

Definition

A response indicating whether the specified name for a resource is available.

public class CheckNameAvailabilityResponse
type CheckNameAvailabilityResponse = class
Public Class CheckNameAvailabilityResponse
Inheritance
CheckNameAvailabilityResponse

Constructors

CheckNameAvailabilityResponse()

Initializes a new instance of the CheckNameAvailabilityResponse class.

CheckNameAvailabilityResponse(Nullable<Boolean>, String, String, Nullable<CheckNameAvailabilityReason>)

Initializes a new instance of the CheckNameAvailabilityResponse class.

Properties

Available

Gets true if the name is available, otherwise false.

Message

Gets a message explaining why the name is unavailable. Will be null if the name is available.

Name

Gets the name whose availability was checked.

Reason

Gets the reason code explaining why the name is unavailable. Will be null if the name is available. Possible values include: 'Invalid', 'AlreadyExists'

Applies to