IRegistries.CheckNameAvailabilityAsync(String, CancellationToken) 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 if container registry name is valid and is not in use asynchronously.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.ICheckNameAvailabilityResult> CheckNameAvailabilityAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.ICheckNameAvailabilityResult>
Public Function CheckNameAvailabilityAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ICheckNameAvailabilityResult)
Parameters
- name
- String
The container registry name to check.
- cancellationToken
- CancellationToken