RoleManagementPolicyNotificationRule Class

The role management policy rule.

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

Inheritance
azure.mgmt.authorization.v2020_10_01_preview.models._models_py3.RoleManagementPolicyRule
RoleManagementPolicyNotificationRule

Constructor

RoleManagementPolicyNotificationRule(*, id: Optional[str] = None, target: Optional[azure.mgmt.authorization.v2020_10_01_preview.models._models_py3.RoleManagementPolicyRuleTarget] = None, notification_type: Optional[Union[str, azure.mgmt.authorization.v2020_10_01_preview.models._authorization_management_client_enums.NotificationDeliveryMechanism]] = None, notification_level: Optional[Union[str, azure.mgmt.authorization.v2020_10_01_preview.models._authorization_management_client_enums.NotificationLevel]] = None, recipient_type: Optional[Union[str, azure.mgmt.authorization.v2020_10_01_preview.models._authorization_management_client_enums.RecipientType]] = None, notification_recipients: Optional[List[str]] = None, is_default_recipients_enabled: Optional[bool] = None, **kwargs)

Parameters

id
str
Required

The id of the rule.

rule_type
str or RoleManagementPolicyRuleType
Required

Required. The type of rule.Constant filled by server. Possible values include: "RoleManagementPolicyApprovalRule", "RoleManagementPolicyAuthenticationContextRule", "RoleManagementPolicyEnablementRule", "RoleManagementPolicyExpirationRule", "RoleManagementPolicyNotificationRule".

target
RoleManagementPolicyRuleTarget
Required

The target of the current rule.

notification_type
str or NotificationDeliveryMechanism
Required

The type of notification. Possible values include: "Email".

notification_level
str or NotificationLevel
Required

The notification level. Possible values include: "None", "Critical", "All".

recipient_type
str or RecipientType
Required

The recipient type. Possible values include: "Requestor", "Approver", "Admin".

notification_recipients
list[str]
Required

The list notification recipients.

is_default_recipients_enabled
bool
Required

Its value determine if the notification need to be sent to the recipient type specified in policy rule.