Standard operation
POST

Check name validity and availability

This method checks whether a proposed top-level resource name is valid and available.

post/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

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)
../../../../../../common-types/resource-management/v5/types.json#/components/parameters/LocationParameter (unresolved $ref)

Request body

namestring

The proposed resource name

typestring

The resource type chain (e.g. virtualMachines/extensions)

Response

The request has succeeded.

nameAvailableboolean

If true, the name is valid and available. If false, 'reason' describes why not.

reason'AlreadyExists' | 'Invalid'

The reason why the name is not available, if nameAvailable is false

messagestring

The localized reason why the name is not available, if nameAvailable is false

Changes

No recorded changes to this operation across all 2 revisions of this API.