CheckNameAvailabilityResult Class

Definition

The CheckNameAvailability operation response.

public class CheckNameAvailabilityResult
type CheckNameAvailabilityResult = class
Public Class CheckNameAvailabilityResult
Inheritance
CheckNameAvailabilityResult

Constructors

CheckNameAvailabilityResult()

Initializes a new instance of the CheckNameAvailabilityResult class.

CheckNameAvailabilityResult(Nullable<Boolean>, Nullable<Reason>, String)

Initializes a new instance of the CheckNameAvailabilityResult class.

Properties

Message

Gets an error message explaining the Reason value in more detail.

NameAvailable

Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.

Reason

Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'AccountNameInvalid', 'AlreadyExists'

Applies to