TargetCostAllocationResourceArgs

data class TargetCostAllocationResourceArgs(val name: Output<String>, val policyType: Output<Either<String, CostAllocationPolicyType>>, val resourceType: Output<Either<String, CostAllocationResourceType>>, val values: Output<List<CostAllocationProportionArgs>>) : ConvertibleToJava<TargetCostAllocationResourceArgs>

Target resources for cost allocation.

Constructors

Link copied to clipboard
constructor(name: Output<String>, policyType: Output<Either<String, CostAllocationPolicyType>>, resourceType: Output<Either<String, CostAllocationResourceType>>, values: Output<List<CostAllocationProportionArgs>>)

Properties

Link copied to clipboard
val name: Output<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

Link copied to clipboard

Method of cost allocation for the rule

Link copied to clipboard

Type of resources contained in this cost allocation rule

Link copied to clipboard

Target resources for cost allocation. This list cannot contain more than 25 values.

Functions

Link copied to clipboard
open override fun toJava(): TargetCostAllocationResourceArgs