RoleManagementPolicyNotificationRule Class
The role management policy notification rule.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.authorization.v2020_10_01.models._models_py3.RoleManagementPolicyRuleRoleManagementPolicyNotificationRule
Constructor
RoleManagementPolicyNotificationRule(*, id: str | None = None, target: _models.RoleManagementPolicyRuleTarget | None = None, notification_type: str | _models.NotificationDeliveryMechanism | None = None, notification_level: str | _models.NotificationLevel | None = None, recipient_type: str | _models.RecipientType | None = None, notification_recipients: List[str] | None = None, is_default_recipients_enabled: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
The id of the rule. |
target
|
The target of the current rule. |
notification_type
|
The type of notification. "Email" |
notification_level
|
The notification level. Known values are: "None", "Critical", and "All". |
recipient_type
|
str or
RecipientType
The recipient type. Known values are: "Requestor", "Approver", and "Admin". |
notification_recipients
|
The list of notification recipients. |
is_default_recipients_enabled
|
Determines if the notification will be sent to the recipient type specified in the policy rule. |
Variables
Name | Description |
---|---|
id
|
The id of the rule. |
rule_type
|
The type of rule. Required. Known values are: "RoleManagementPolicyApprovalRule", "RoleManagementPolicyAuthenticationContextRule", "RoleManagementPolicyEnablementRule", "RoleManagementPolicyExpirationRule", and "RoleManagementPolicyNotificationRule". |
target
|
The target of the current rule. |
notification_type
|
The type of notification. "Email" |
notification_level
|
The notification level. Known values are: "None", "Critical", and "All". |
recipient_type
|
str or
RecipientType
The recipient type. Known values are: "Requestor", "Approver", and "Admin". |
notification_recipients
|
The list of notification recipients. |
is_default_recipients_enabled
|
Determines if the notification will be sent to the recipient type specified in the policy rule. |
Azure SDK for Python