CheckNameAvailability

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

Checks the name availability of the resource with requested resource name.

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.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

namestring

The name of the resource for which availability needs to be checked.

typestring

The resource type.

Response

Success

nameAvailableboolean

Indicates if the resource name is available.

reason'Invalid' | 'AlreadyExists'

The reason why the given name is not available.

messagestring

Detailed reason why the given name is available.

Changes

No recorded changes to this operation across all 1 revision of this API.