NameAvailability interface
Interface representing a NameAvailability.
Methods
| check |
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. |
| check |
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.
The options parameters.
Returns
Promise<NameAvailabilityModel>
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.
The options parameters.
Returns
Promise<NameAvailabilityModel>