v5

latestSwagger 2.0raw.githubusercontent.com2021-10-25345293.2 KB
Databases

Checks that the database name is valid and is not already in use.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Kusto/clusters/{clusterName}/checkNameAvailability

Path parameters

resourceGroupNamestring required

The name of the resource group containing the Kusto cluster.

clusterNamestring required

The name of the Kusto cluster.

subscriptionIdstring required

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Query parameters

api-versionstring required

Client API Version.

Request body

namestring required

Resource name.

type'Microsoft.Kusto/clusters/databases' | 'Microsoft.Kusto/clusters/attachedDatabaseConfigurations' required

The type of resource, for instance Microsoft.Kusto/clusters/databases.

Response

OK -- Operation to check the kusto resource name availability was successful.

nameAvailableboolean

Specifies a Boolean value that indicates if the name is available.

namestring

The name that was checked.

messagestring

Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.

reason'Invalid' | 'AlreadyExists'

Message providing the reason why the given name is invalid.