Microsoft.DevOpsInfrastructure (stable:2024-10-19)

2024/12/10 • 1 new methods

Pools_CheckNameAvailability (new)
Description Checks that the pool name is valid and is not already in use.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
body:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
available: enum ,
message: string ,
name: string ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}