AccessReviewScheduleDefinitionData Class

Definition

Access Review Schedule Definition.

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

Properties

Name Description
BackupReviewers

This is the collection of backup reviewers.

DefaultDecision

This specifies the behavior for the autoReview feature when an access review completes.

DescriptionForAdmins

The description provided by the access review creator and visible to admins.

DescriptionForReviewers

The description provided by the access review creator to be shown to reviewers.

DisplayName

The display name for the schedule definition.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
InstanceDurationInDays

The duration in days for an instance.

Instances

This is the collection of instances returned when one does an expand on it.

IsAutoApplyDecisionsEnabled

Flag to indicate whether auto-apply capability, to automatically change the target object access resource, is enabled. If not enabled, a user must, after the review completes, apply the access review.

IsDefaultDecisionEnabled

Flag to indicate whether reviewers are required to provide a justification when reviewing access.

IsJustificationRequiredOnApproval

Flag to indicate whether the reviewer is required to pass justification when recording a decision.

IsMailNotificationsEnabled

Flag to indicate whether sending mails to reviewers and the review creator is enabled.

IsRecommendationsEnabled

Flag to indicate whether showing recommendations to reviewers is enabled.

IsReminderNotificationsEnabled

Flag to indicate whether sending reminder emails to reviewers are enabled.

Name

The name of the resource.

(Inherited from ResourceData)
Pattern

Access Review schedule definition recurrence pattern.

PrincipalId

The identity id.

PrincipalName

The identity display name.

PrincipalType

The identity type : user/servicePrincipal.

Range

Access Review schedule definition recurrence range.

RecommendationLookBackDuration

Recommendations for access reviews are calculated by looking back at 30 days of data(w.r.t the start date of the review) by default. However, in some scenarios, customers want to change how far back to look at and want to configure 60 days, 90 days, etc. instead. This setting allows customers to configure this duration. 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)).

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Reviewers

This is the collection of reviewers.

ReviewersType

This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.

Scope

This is used to define what to include in scope of the review. The scope definition includes the resourceId and roleDefinitionId.

Status

This read-only field specifies the status of an accessReview.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UserPrincipalName

The user principal name(if valid).

Methods

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

Explicit Interface Implementations

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

Applies to