MockableHDInsightSubscriptionResource.GetHDInsightCapabilitiesAsync Method

Definition

Gets the capabilities for the specified location.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities.
  • Operation Id. : LocationsOperationGroup_GetCapabilities.
  • Default Api Version. : 2025-01-15-preview.
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 name of the Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to