ArmCostManagementModelFactory.SourceCostAllocationEntity Method
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.
Source resources for cost allocation.
public static Azure.ResourceManager.CostManagement.Models.SourceCostAllocationEntity SourceCostAllocationEntity(Azure.ResourceManager.CostManagement.Models.CostAllocationResourceType resourceType = default, string name = default, System.Collections.Generic.IEnumerable<string> values = default);
static member SourceCostAllocationEntity : Azure.ResourceManager.CostManagement.Models.CostAllocationResourceType * string * seq<string> -> Azure.ResourceManager.CostManagement.Models.SourceCostAllocationEntity
Public Shared Function SourceCostAllocationEntity (Optional resourceType As CostAllocationResourceType = Nothing, Optional name As String = Nothing, Optional values As IEnumerable(Of String) = Nothing) As SourceCostAllocationEntity
Parameters
- resourceType
- CostAllocationResourceType
Type of resources contained in this cost allocation rule.
- name
- String
If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag.
- values
- IEnumerable<String>
Source Resources for cost allocation. This list cannot contain more than 25 values.
Returns
A new SourceCostAllocationEntity instance for mocking.