Partager via


NameAvailabilityResponse Class

Definition

Indicates whether a proposed resource name is available

public class NameAvailabilityResponse
type NameAvailabilityResponse = class
Public Class NameAvailabilityResponse
Inheritance
NameAvailabilityResponse

Constructors

NameAvailabilityResponse()

Initializes a new instance of the NameAvailabilityResponse class.

NameAvailabilityResponse(Nullable<Boolean>, String, String)

Initializes a new instance of the NameAvailabilityResponse class.

Properties

Message

Gets or sets the localized reason why the name is not available, if nameAvailable is false

NameAvailable

Gets or sets if true, the name is valid and available. If false, 'reason' describes why not.

Reason

Gets or sets the reason why the name is not available, if nameAvailable is false Possible values include: 'AlreadyExists', 'Invalid'

Applies to