다음을 통해 공유


PowerBIDedicatedExtensions.GetDedicatedCapacity 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 Azure.Response<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource> GetDedicatedCapacity (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string dedicatedCapacityName, System.Threading.CancellationToken cancellationToken = default);
static member GetDedicatedCapacity : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PowerBIDedicated.DedicatedCapacityResource>
<Extension()>
Public Function GetDedicatedCapacity (resourceGroupResource As ResourceGroupResource, dedicatedCapacityName As String, Optional cancellationToken As CancellationToken = Nothing) As 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