Proxy

POST /subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability

Changed on

Check if a service instance name is available.

Request

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

Path parameters

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

namestring required

The name of the service instance to check.

typestring required

The fully qualified resource type which includes provider namespace.

Response

This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the service name is available. If the name is not available, the body contains the reason.

nameAvailableboolean

The value which indicates whether the provided name is available.

reason'Invalid' | 'AlreadyExists'

The reason for unavailability.

messagestring

The detailed reason message.

Changes

  • 2018-08-20-preview06ce885a3f23Revision changes
    • breaking

      added the new path request parameter subscriptionId

    • breaking

      added the new required query request parameter api-version

  • 2018-08-20-previewe9a3134bbbf0Revision changes
    • warning

      deleted the path request parameter subscriptionId

    1 more change in this revision