BillingRoleAssignmentProperties Class

The properties of the billing role assignment.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.billing._serialization.Model
BillingRoleAssignmentProperties

Constructor

BillingRoleAssignmentProperties(*, role_definition_id: str, principal_puid: str | None = None, principal_id: str | None = None, principal_tenant_id: str | None = None, scope: str | None = None, user_authentication_type: str | None = None, user_email_address: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
principal_puid
str

The principal PUID of the user to whom the role was assigned.

principal_id
str

The object id of the user to whom the role was assigned.

principal_tenant_id
str

The principal tenant id of the user to whom the role was assigned.

role_definition_id
str

The ID of the role definition. Required.

scope
str

The scope at which the role was assigned.

user_authentication_type
str

The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

user_email_address
str

The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

Variables

Name Description
provisioning_state

The provisioning state of the resource during a long-running operation. Known values are: "Succeeded", "Canceled", "Failed", "New", "Pending", "Provisioning", "PendingBilling", "ConfirmedBilling", "Creating", "Created", and "Expired".

created_on

The date the role assignment was created.

created_by_principal_tenant_id
str

The tenant Id of the user who created the role assignment.

created_by_principal_id
str

The object ID of the user who created the role assignment.

created_by_principal_puid
str

The principal PUID of the user who created the role assignment.

created_by_user_email_address
str

The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.

modified_on

The date the role assignment was modified.

modified_by_principal_puid
str

The principal PUID of the user who modified the role assignment.

modified_by_user_email_address
str

The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement.

modified_by_principal_id
str

The principal PUID of the user who modified the role assignment.

modified_by_principal_tenant_id
str

The tenant Id of the user who modified the role assignment.

principal_puid
str

The principal PUID of the user to whom the role was assigned.

principal_id
str

The object id of the user to whom the role was assigned.

principal_tenant_id
str

The principal tenant id of the user to whom the role was assigned.

role_definition_id
str

The ID of the role definition. Required.

scope
str

The scope at which the role was assigned.

user_authentication_type
str

The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

user_email_address
str

The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement.

principal_tenant_name
str

The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account.

principal_display_name
str

The display name of the principal to whom the role was assigned.

principal_type

The type of a role Assignment. Known values are: "Unknown", "None", "User", "Group", "DirectoryRole", "ServicePrincipal", and "Everyone".

billing_request_id
str

The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request.

billing_account_id
str

The fully qualified ID that uniquely identifies a billing account.

billing_account_display_name
str

The name of the billing account.

billing_profile_id
str

The fully qualified ID that uniquely identifies a billing profile.

billing_profile_display_name
str

The name of the billing profile.

invoice_section_id
str

The fully qualified ID that uniquely identifies an invoice section.

invoice_section_display_name
str

The name of the invoice section.

customer_id
str

The fully qualified ID that uniquely identifies a customer.

customer_display_name
str

The name of the customer.