LocationOperationsExtensions.CheckNameAvailability(ILocationOperations, String, String) Method

Definition

Checks whether the Batch account name is available in the specified region.

public static Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult CheckNameAvailability (this Microsoft.Azure.Management.Batch.ILocationOperations operations, string locationName, string name);
static member CheckNameAvailability : Microsoft.Azure.Management.Batch.ILocationOperations * string * string -> Microsoft.Azure.Management.Batch.Models.CheckNameAvailabilityResult
<Extension()>
Public Function CheckNameAvailability (operations As ILocationOperations, locationName As String, name As String) As CheckNameAvailabilityResult

Parameters

operations
ILocationOperations

The operations group for this extension method.

locationName
System.String

The desired region for the name check.

name
System.String

The name to check for availability

Returns

CheckNameAvailabilityResult

Applies to