Compartilhar via


RoleManagementPolicyRule Class

The role management policy rule.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: RoleManagementPolicyApprovalRule, RoleManagementPolicyAuthenticationContextRule, RoleManagementPolicyEnablementRule, RoleManagementPolicyExpirationRule, RoleManagementPolicyNotificationRule

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

Inheritance
azure.mgmt.authorization._serialization.Model
RoleManagementPolicyRule

Constructor

RoleManagementPolicyRule(*, id: str | None = None, target: _models.RoleManagementPolicyRuleTarget | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
id
str

The id of the rule.

target

The target of the current 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.