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/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability

Parameters

../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter — 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

Changed in 6 of the 12 revisions of this API.128

  • 2019-05-01-preview9dd36a1af9c111See the full diff
    • deleted the path request parameter subscriptionId

      request-parameter-removed

    • api tag SupportTickets removed

      api-tag-removed

  • 2019-05-01-preview11c935a082341See the full diff
    • api path removed without deprecation

      api-path-removed-without-deprecation

  • 2019-05-01-previewf654158becd71See the full diff
    • deleted the query request parameter api-version

      request-parameter-removed

  • 2019-05-01-preview1f70f76295f71See the full diff
    • endpoint added

      endpoint-added

  • 2019-05-01-preview1aeb16acc7cd3See the full diff
    • api operation id CheckNameAvailabilityWithSubscription removed and replaced with SupportTickets_CheckNameAvailability

      api-operation-id-removed

    • api tag SupportTickets added

      api-tag-added

    • api tag CheckNameAvailabilityWithSubscription removed

      api-tag-removed

  • 2019-05-01-preview18e45f17f9943See the full diff
    • api operation id SupportTickets_CheckNameAvailability removed and replaced with CheckNameAvailabilityWithSubscription

      api-operation-id-removed

    • api tag CheckNameAvailabilityWithSubscription added

      api-tag-added

    • api tag SupportTickets removed

      api-tag-removed