v1

latestSwagger 2.02026-07-13142753.8 KB
Communications

Check the availability of a resource name. This API should to be used to check the uniqueness of the name for adding a new communication to the support ticket.

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

Path parameters

supportTicketNamestring required

Support ticket name

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.