PowerBIDedicatedExtensions.GetDedicatedCapacity Method

Definition

Gets details about the specified dedicated capacity. <item> Mocking. To mock this method, please mock GetDedicatedCapacity(String, CancellationToken) instead. </item>

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 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

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

resourceGroupResource is null.

Applies to