v4

latestSwagger 2.0raw.githubusercontent.com2019-11-283597141.5 KB
CheckNameAvailability

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

post/providers/Microsoft.Cdn/checkNameAvailability

Query parameters

api-versionstring required

Version of the API to be used with the client request. Current version is 2017-04-02.

Request body

namestring required

The resource name to validate.

type'Microsoft.Cdn/Profiles/Endpoints' required

Type of CDN resource used in CheckNameAvailability.

Response

OK. The request has succeeded.

nameAvailableboolean

Indicates whether the name is available.

reasonstring

The reason why the name is not available.

messagestring

The detailed error message describing why the name is not available.