getCostAllocationRule

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

billingAccountId

BillingAccount ID

ruleName

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


Return

The cost allocation rule model definition

Parameters

argument

Builder for com.pulumi.azurenative.costmanagement.kotlin.inputs.GetCostAllocationRulePlainArgs.

See also