AccessReviewScope Class

Definition

Descriptor for what needs to be reviewed.

public class AccessReviewScope : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.Models.AccessReviewScope>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.Models.AccessReviewScope>
type AccessReviewScope = class
    interface IJsonModel<AccessReviewScope>
    interface IPersistableModel<AccessReviewScope>
Public Class AccessReviewScope
Implements IJsonModel(Of AccessReviewScope), IPersistableModel(Of AccessReviewScope)
Inheritance
AccessReviewScope
Implements

Constructors

Name Description
AccessReviewScope()

Initializes a new instance of AccessReviewScope.

Properties

Name Description
AssignmentState

The role assignment state eligible/active to review.

ExcludeResourceId

This is used to indicate the resource id(s) to exclude.

ExcludeRoleDefinitionId

This is used to indicate the role definition id(s) to exclude.

InactiveDuration

Duration users are inactive for. The value should be in ISO 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to convert TimeSpan to a valid interval string: XmlConvert.ToString(new TimeSpan(hours, minutes, seconds)).

IsExpandNestedMemberships

Flag to indicate whether to expand nested memberships or not.

IsIncludeAccessBelowResource

Flag to indicate whether to expand nested memberships or not.

IsIncludeInheritedAccess

Flag to indicate whether to expand nested memberships or not.

PrincipalType

The identity type user/servicePrincipal to review.

ResourceId

ResourceId in which this review is getting created.

RoleDefinitionId

This is used to indicate the role being reviewed.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AccessReviewScope>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AccessReviewScope>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AccessReviewScope>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AccessReviewScope>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AccessReviewScope>.Write(ModelReaderWriterOptions)

Applies to