Custom operation
POST

Check nested resource name validity and availability

This method checks whether a proposed nested resource name is valid and available.

post/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability

Request

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

Path parameters

groupNamestring required

Name of the resource group

serviceNamestring required

Name of the service

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

The proposed resource name

typestring

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

Response

Azure operation completed successfully.

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.