Share via


FabricExtensions.GetFabricCapacityResource Method

Definition

Gets an object representing a FabricCapacityResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a FabricCapacityResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetFabricCapacityResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Fabric.FabricCapacityResource GetFabricCapacityResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetFabricCapacityResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Fabric.FabricCapacityResource
<Extension()>
Public Function GetFabricCapacityResource (client As ArmClient, id As ResourceIdentifier) As FabricCapacityResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a FabricCapacityResource object.

Exceptions

client is null.

Applies to