Skip to main content

role_assignments_by_departments

Creates, updates, deletes, gets or lists a role_assignments_by_departments resource.

Overview

Namerole_assignments_by_departments
TypeResource
Idazure.billing.role_assignments_by_departments

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
create_or_updateINSERTbillingAccountName, billingRoleAssignmentName, departmentNameCreate or update a billing role assignment. The operation is supported only for billing accounts with agreement type Enterprise Agreement.

INSERT example

Use the following StackQL query and manifest file to create a new role_assignments_by_departments resource.

/*+ create */
INSERT INTO azure.billing.role_assignments_by_departments (
billingAccountName,
billingRoleAssignmentName,
departmentName,
tags,
properties
)
SELECT
'{{ billingAccountName }}',
'{{ billingRoleAssignmentName }}',
'{{ departmentName }}',
'{{ tags }}',
'{{ properties }}'
;