JobCollectionOperationsExtensions.CheckNameAvailabilityAsync 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.
Determine if the JobCollection name is available to be used. JobCollection names must be unique within a cloud-service.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse> CheckNameAvailabilityAsync (this Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations operations, string cloudServiceName, string jobCollectionName);
static member CheckNameAvailabilityAsync : Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Scheduler.Models.JobCollectionCheckNameAvailabilityResponse>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IJobCollectionOperations, cloudServiceName As String, jobCollectionName As String) As Task(Of JobCollectionCheckNameAvailabilityResponse)
Parameters
- operations
- IJobCollectionOperations
Reference to the Microsoft.WindowsAzure.Management.Scheduler.IJobCollectionOperations.
- cloudServiceName
- String
Required. The name of the cloud service.
- jobCollectionName
- String
Required. 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.
Returns
The Check Name Availability operation response.
Applies to
Azure SDK for .NET