getCostAllocationRule

Get a cost allocation rule by rule name and billing account or enterprise enrollment. Azure REST API version: 2020-03-01-preview. Other available API versions: 2023-08-01.

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

See also

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.


Return

The cost allocation rule model definition

See also

Parameters

argument

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