Delen via


LocationOperationsExtensions.CheckNameAvailabilityAsync Methode

Definitie

Controleert of de naam van het Batch-account beschikbaar is in de opgegeven regio.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.Batch.ILocationOperations operations, string locationName, string name, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.Batch.ILocationOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As ILocationOperations, locationName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CheckNameAvailabilityResult)

Parameters

operations
ILocationOperations

De bewerkingsgroep voor deze extensiemethode.

locationName
String

De gewenste regio voor de naamcontrole.

name
String

De naam die moet worden gecontroleerd op beschikbaarheid

cancellationToken
CancellationToken

Het annuleringstoken.

Retouren

Van toepassing op