CostAllocationProportion(String, Single) Constructor

Definition

Initializes a new instance of CostAllocationProportion.

public CostAllocationProportion(string name, float percentage);
new Azure.ResourceManager.CostManagement.Models.CostAllocationProportion : string * single -> Azure.ResourceManager.CostManagement.Models.CostAllocationProportion
Public Sub New (name As String, percentage As Single)

Parameters

name
String

Target resource for cost allocation.

percentage
Single

Percentage of source cost to allocate to this resource. This value can be specified to two decimal places and the total percentage of all resources in this rule must sum to 100.00.

Exceptions

name is null.

Applies to