Package version:

Interface CheckNameAvailabilityResult

The CheckNameAvailability operation response.

interface CheckNameAvailabilityResult {
    message?: string;
    nameAvailable?: boolean;
    reason?: string;
}

Properties

message?: string

An error message explaining the Reason value in more detail. NOTE: This property will not be serialized. It can only be populated by the server.

nameAvailable?: boolean

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. NOTE: This property will not be serialized. It can only be populated by the server.

reason?: string

The reason that a vault name could not be used. The Reason element is only returned if NameAvailable is false. NOTE: This property will not be serialized. It can only be populated by the server.