RoleManagementPolicyExpirationRule Class
The role management policy expiration rule.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.authorization.v2020_10_01_preview.models._models_py3.RoleManagementPolicyRuleRoleManagementPolicyExpirationRule
Constructor
RoleManagementPolicyExpirationRule(*, id: str | None = None, target: _models.RoleManagementPolicyRuleTarget | None = None, is_expiration_required: bool | None = None, maximum_duration: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
id
|
The id of the rule. |
target
|
The target of the current rule. |
is_expiration_required
|
The value indicating whether expiration is required. |
maximum_duration
|
The maximum duration of expiration in timespan. |
Variables
Name | Description |
---|---|
id
|
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. |
is_expiration_required
|
The value indicating whether expiration is required. |
maximum_duration
|
The maximum duration of expiration in timespan. |
Azure SDK for Python