Pools

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

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

Parameters

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

Request body

namestring required

The name of the resource.

type'Microsoft.DevOpsInfrastructure/pools' required

The type of resource.

Response

The request has succeeded.

available'Available' | 'Unavailable' required

AvailabilityStatus of a name.

messagestring required

A message explaining why the name is unavailable. Will be null if the name is available.

namestring required

The name whose availability was checked.

reason'Invalid' | 'AlreadyExists' required

The reason code explaining why the name is unavailable. Will be null if the name is available.

Changes