AccessReviewScope Class
Descriptor for what needs to be reviewed.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.authorization._serialization.ModelAccessReviewScope
Constructor
AccessReviewScope(*, inactive_duration: timedelta | None = None, expand_nested_memberships: bool | None = None, include_inherited_access: bool | None = None, include_access_below_resource: bool | None = None, exclude_resource_id: str | None = None, exclude_role_definition_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
inactive_duration
|
Duration users are inactive for. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This.This) code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)). |
expand_nested_memberships
|
Flag to indicate whether to expand nested memberships or not. |
include_inherited_access
|
Flag to indicate whether to expand nested memberships or not. |
include_access_below_resource
|
Flag to indicate whether to expand nested memberships or not. |
exclude_resource_id
|
This is used to indicate the resource id(s) to exclude. |
exclude_role_definition_id
|
This is used to indicate the role definition id(s) to exclude. |
Variables
Name | Description |
---|---|
resource_id
|
ResourceId in which this review is getting created. |
role_definition_id
|
This is used to indicate the role being reviewed. |
principal_type
|
The identity type user/servicePrincipal to review. Known values are: "user", "guestUser", "servicePrincipal", "user,group", and "redeemedGuestUser". |
assignment_state
|
The role assignment state eligible/active to review. Known values are: "eligible" and "active". |
inactive_duration
|
Duration users are inactive for. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This.This) code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)). |
expand_nested_memberships
|
Flag to indicate whether to expand nested memberships or not. |
include_inherited_access
|
Flag to indicate whether to expand nested memberships or not. |
include_access_below_resource
|
Flag to indicate whether to expand nested memberships or not. |
exclude_resource_id
|
This is used to indicate the resource id(s) to exclude. |
exclude_role_definition_id
|
This is used to indicate the role definition id(s) to exclude. |
Azure SDK for Python