MockableDevOpsInfrastructureSubscriptionResource.CheckDevOpsPoolNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks that the pool name is valid and is not already in use.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/checkNameAvailability.
- Operation Id. : Pools_CheckNameAvailability.
- Default Api Version. : 2025-09-20.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsCheckNameAvailabilityResult>> CheckDevOpsPoolNameAvailabilityAsync(Azure.ResourceManager.DevOpsInfrastructure.Models.CheckNameAvailability body, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckDevOpsPoolNameAvailabilityAsync : Azure.ResourceManager.DevOpsInfrastructure.Models.CheckNameAvailability * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsCheckNameAvailabilityResult>>
override this.CheckDevOpsPoolNameAvailabilityAsync : Azure.ResourceManager.DevOpsInfrastructure.Models.CheckNameAvailability * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevOpsInfrastructure.Models.DevOpsCheckNameAvailabilityResult>>
Public Overridable Function CheckDevOpsPoolNameAvailabilityAsync (body As CheckNameAvailability, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevOpsCheckNameAvailabilityResult))
Parameters
The CheckAvailability request.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
body is null.