role_assignments_by_enrollment_accounts
Creates, updates, deletes, gets or lists a role_assignments_by_enrollment_accounts
resource.
Overview
Name | role_assignments_by_enrollment_accounts |
Type | Resource |
Id | azure.billing.role_assignments_by_enrollment_accounts |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
create_or_update | INSERT | billingAccountName, billingRoleAssignmentName, enrollmentAccountName | Create 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_enrollment_accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.billing.role_assignments_by_enrollment_accounts (
billingAccountName,
billingRoleAssignmentName,
enrollmentAccountName,
tags,
properties
)
SELECT
'{{ billingAccountName }}',
'{{ billingRoleAssignmentName }}',
'{{ enrollmentAccountName }}',
'{{ tags }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: properties
value:
- name: provisioningState
value: string
- name: createdOn
value: string
- name: createdByPrincipalTenantId
value: string
- name: createdByPrincipalId
value: string
- name: createdByPrincipalPuid
value: string
- name: createdByUserEmailAddress
value: string
- name: modifiedOn
value: string
- name: modifiedByPrincipalPuid
value: string
- name: modifiedByUserEmailAddress
value: string
- name: modifiedByPrincipalId
value: string
- name: modifiedByPrincipalTenantId
value: string
- name: principalPuid
value: string
- name: principalId
value: string
- name: principalTenantId
value: string
- name: roleDefinitionId
value: string
- name: scope
value: string
- name: userAuthenticationType
value: string
- name: userEmailAddress
value: string
- name: principalTenantName
value: string
- name: principalDisplayName
value: string
- name: principalType
value: string
- name: billingRequestId
value: string
- name: billingAccountId
value: string
- name: billingAccountDisplayName
value: string
- name: billingProfileId
value: string
- name: billingProfileDisplayName
value: string
- name: invoiceSectionId
value: string
- name: invoiceSectionDisplayName
value: string
- name: customerId
value: string
- name: customerDisplayName
value: string