get Cost Allocation Rule
suspend fun getCostAllocationRule(argument: GetCostAllocationRulePlainArgs): GetCostAllocationRuleResult
Get a cost allocation rule by rule name and billing account or enterprise enrollment. API Version: 2020-03-01-preview.
Return
The cost allocation rule model definition
Parameters
argument
null
suspend fun getCostAllocationRule(billingAccountId: String, ruleName: String): GetCostAllocationRuleResult
Return
The cost allocation rule model definition
Parameters
billing Account Id
BillingAccount ID
rule Name
Cost allocation rule name. The name cannot include spaces or any non alphanumeric characters other than '_' and '-'. The max length is 260 characters.
See also
suspend fun getCostAllocationRule(argument: suspend GetCostAllocationRulePlainArgsBuilder.() -> Unit): GetCostAllocationRuleResult
Return
The cost allocation rule model definition
Parameters
argument
Builder for com.pulumi.azurenative.costmanagement.kotlin.inputs.GetCostAllocationRulePlainArgs.