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

Constructor

RoleManagementPolicyAuthenticationContextRule(*, id: Optional[str] = None, target: Optional[azure.mgmt.authorization.v2020_10_01_preview.models._models_py3.RoleManagementPolicyRuleTarget] = None, is_enabled: Optional[bool] = None, claim_value: Optional[str] = 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.

is_enabled
bool
Required

The value indicating if rule is enabled.

claim_value
str
Required

The claim value.