RoleManagementPolicyEnablementRule 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
RoleManagementPolicyEnablementRule

Constructor

RoleManagementPolicyEnablementRule(*, id: Optional[str] = None, target: Optional[azure.mgmt.authorization.v2020_10_01_preview.models._models_py3.RoleManagementPolicyRuleTarget] = None, enabled_rules: Optional[List[Union[str, azure.mgmt.authorization.v2020_10_01_preview.models._authorization_management_client_enums.EnablementRules]]] = 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.

enabled_rules
list[str or EnablementRules]
Required

The list of enabled rules.