CostAllocationProportion(String, Single) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.