MockableCostManagementArmClient.GetCostAllocationRuleResource Method

Definition

Gets an object representing a CostAllocationRuleResource along with the instance operations that can be performed on it but with no data.

public virtual Azure.ResourceManager.CostManagement.CostAllocationRuleResource GetCostAllocationRuleResource(Azure.Core.ResourceIdentifier id);
abstract member GetCostAllocationRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CostManagement.CostAllocationRuleResource
override this.GetCostAllocationRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CostManagement.CostAllocationRuleResource
Public Overridable Function GetCostAllocationRuleResource (id As ResourceIdentifier) As CostAllocationRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CostAllocationRuleResource object.

Applies to