POST /subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability

Changed on

Checks that the resource name is valid and is not already in use.

Request

  • Base URL
    https://management.azure.com
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

subscriptionIdstring uuid required

The ID of the target subscription. The value must be an UUID.

locationstring required

The name of the Azure region.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

typestring required

The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas"

namestring required

The resource name to validate. e.g."my-resource-name"

Response

The request has succeeded.

nameAvailableboolean

Indicates whether the name is available or not.

reasonstring

The reason of the availability. Required if name is not available.

messagestring

The message of the operation.

Changes

  • 2021-04-01-preview1af7b550cd0bRevision changes
    • breaking

      added the new path request parameter subscriptionId

    • breaking

      added the new required query request parameter api-version

    • info

      api tag WebPubSub removed