Udostępnij za pośrednictwem


PowerBIDedicatedExtensions.GetDedicatedCapacityAsync Method

Definition

Gets details about the specified dedicated capacity.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBIDedicated/capacities/{dedicatedCapacityName}
  • Operation Id: Capacities_GetDetails
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>> GetDedicatedCapacityAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string dedicatedCapacityName, System.Threading.CancellationToken cancellationToken = default);
static member GetDedicatedCapacityAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>>
<Extension()>
Public Function GetDedicatedCapacityAsync (resourceGroupResource As ResourceGroupResource, dedicatedCapacityName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DedicatedCapacityResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

dedicatedCapacityName
String

The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or dedicatedCapacityName is null.

dedicatedCapacityName is an empty string, and was expected to be non-empty.

Applies to