TargetCostAllocationEntity Class
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.
Target resources for cost allocation.
public class TargetCostAllocationEntity : Azure.ResourceManager.CostManagement.Models.CostAllocationEntity, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CostManagement.Models.TargetCostAllocationEntity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CostManagement.Models.TargetCostAllocationEntity>
type TargetCostAllocationEntity = class
inherit CostAllocationEntity
interface IJsonModel<TargetCostAllocationEntity>
interface IPersistableModel<TargetCostAllocationEntity>
Public Class TargetCostAllocationEntity
Inherits CostAllocationEntity
Implements IJsonModel(Of TargetCostAllocationEntity), IPersistableModel(Of TargetCostAllocationEntity)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| TargetCostAllocationEntity(CostAllocationResourceType, String, IEnumerable<CostAllocationProportion>, CostAllocationPolicyType) |
Initializes a new instance of TargetCostAllocationEntity. |
Properties
| Name | Description |
|---|---|
| Name |
If resource type is dimension, this must be either ResourceGroupName or SubscriptionId. If resource type is tag, this must be a valid Azure tag. (Inherited from CostAllocationEntity) |
| PolicyType |
Method of cost allocation for the rule. |
| ResourceType |
Type of resources contained in this cost allocation rule. (Inherited from CostAllocationEntity) |
| Values |
Target resources for cost allocation. This list cannot contain more than 25 values. |