MockableHDInsightSubscriptionResource.GetHDInsightCapabilitiesAsync Method

Definition

Gets the capabilities for the specified location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities
  • Operation Id: Locations_GetCapabilities
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightCapabilitiesResult>> GetHDInsightCapabilitiesAsync (Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHDInsightCapabilitiesAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightCapabilitiesResult>>
override this.GetHDInsightCapabilitiesAsync : Azure.Core.AzureLocation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HDInsight.Models.HDInsightCapabilitiesResult>>
Public Overridable Function GetHDInsightCapabilitiesAsync (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HDInsightCapabilitiesResult))

Parameters

location
AzureLocation

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to