getBillingRoleAssignmentByDepartment

Gets a role assignment for the caller on a department. The operation is supported only for billing accounts with agreement type Enterprise Agreement. Uses Azure REST API version 2024-04-01. Other available API versions: 2019-10-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native billing [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

The properties of the billing role assignment.

Parameters

argument

null


suspend fun getBillingRoleAssignmentByDepartment(billingAccountName: String, billingRoleAssignmentName: String, departmentName: String): GetBillingRoleAssignmentByDepartmentResult

Return

The properties of the billing role assignment.

Parameters

billingAccountName

The ID that uniquely identifies a billing account.

billingRoleAssignmentName

The ID that uniquely identifies a role assignment.

departmentName

The name of the department.

See also


Return

The properties of the billing role assignment.

Parameters

argument

Builder for com.pulumi.azurenative.billing.kotlin.inputs.GetBillingRoleAssignmentByDepartmentPlainArgs.

See also