Dela via


LocationsOperationsExtensions.GetCapabilitiesAsync Method

Definition

Gets the capabilities for the specified location.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.CapabilitiesResult> GetCapabilitiesAsync (this Microsoft.Azure.Management.HDInsight.ILocationsOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member GetCapabilitiesAsync : Microsoft.Azure.Management.HDInsight.ILocationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.HDInsight.Models.CapabilitiesResult>
<Extension()>
Public Function GetCapabilitiesAsync (operations As ILocationsOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CapabilitiesResult)

Parameters

operations
ILocationsOperations

The operations group for this extension method.

location
String

The Azure location (region) for which to make the request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to