Share via


NameAvailability interface

Interface representing a NameAvailability.

Methods

checkGlobally(CheckNameAvailabilityRequest, NameAvailabilityCheckGloballyOptionalParams)

Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.

checkWithLocation(string, CheckNameAvailabilityRequest, NameAvailabilityCheckWithLocationOptionalParams)

Check the availability of name for resource

Method Details

checkGlobally(CheckNameAvailabilityRequest, NameAvailabilityCheckGloballyOptionalParams)

Checks the validity and availability of the given name, to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.

function checkGlobally(parameters: CheckNameAvailabilityRequest, options?: NameAvailabilityCheckGloballyOptionalParams): Promise<NameAvailabilityModel>

Parameters

parameters
CheckNameAvailabilityRequest

Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.

options
NameAvailabilityCheckGloballyOptionalParams

The options parameters.

Returns

checkWithLocation(string, CheckNameAvailabilityRequest, NameAvailabilityCheckWithLocationOptionalParams)

Check the availability of name for resource

function checkWithLocation(locationName: string, parameters: CheckNameAvailabilityRequest, options?: NameAvailabilityCheckWithLocationOptionalParams): Promise<NameAvailabilityModel>

Parameters

locationName

string

The name of the location.

parameters
CheckNameAvailabilityRequest

Parameters required to check if a given name is valid and available to assign it to a new server or to use it as the base name of a new pair of virtual endpoints.

options
NameAvailabilityCheckWithLocationOptionalParams

The options parameters.

Returns