v1

latestSwagger 2.02026-07-13142753.8 KB
SupportTickets

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

post/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability

Path parameters

subscriptionIdstring required

Azure subscription id

Query parameters

api-versionstring required

Api version

Request body

namestring required

The resource name to validate

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

The type of resource

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.