Udostępnij za pośrednictwem


IJobCollectionOperations.CheckNameAvailabilityAsync Method

Definition

Determine if the JobCollection name is available to be used. JobCollection names must be unique within a cloud-service.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync (string cloudServiceName, string jobCollectionName, System.Threading.CancellationToken cancellationToken);
abstract member CheckNameAvailabilityAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse>
Public Function CheckNameAvailabilityAsync (cloudServiceName As String, jobCollectionName As String, cancellationToken As CancellationToken) As Task(Of JobCollectionCheckNameAvailabilityResponse)

Parameters

cloudServiceName
String

The name of the cloud service.

jobCollectionName
String

A name for the JobCollection. The name must be unique as scoped within the CloudService. The name can be up to 100 characters in length.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Check Name Availability operation response.

Applies to