Checks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.

post/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability

Parameters

../../../../../../common-types/resource-management/v4/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
../../../../../../common-types/resource-management/v4/types.json#/components/parameters/SubscriptionIdParameter — unresolved $ref

Request body

namestring required

Cluster name to verify.

type'Microsoft.DBforPostgreSQL/serverGroupsv2' required

Resource type used for name availability verification.

Response

The request has succeeded.

messagestring

Error message.

nameAvailableboolean

Indicates whether the cluster name is available.

namestring

Name of the cluster.

typestring

Type of the cluster.

Changes