Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.

post/providers/Microsoft.Support/checkNameAvailability

Parameters

../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter — unresolved $ref

Request body

namestring required

The resource name to validate.

type'Microsoft.Support/supportTickets' | 'Microsoft.Support/communications' required

The type of resource.

Response

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.

Changes