Compartilhar via


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.RoleManagementPolicyRule
RoleManagementPolicyNotificationRule

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
str

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

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
str

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

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.