Sprog

ArmAuthorizationModelFactory.AccessReviewHistoryInstance Method

Definition

public static Azure.ResourceManager.Authorization.Models.AccessReviewHistoryInstance AccessReviewHistoryInstance(string id = default, string name = default, string type = default, DateTimeOffset? reviewHistoryPeriodStartOn = default, DateTimeOffset? reviewHistoryPeriodEndOn = default, string displayName = default, Azure.ResourceManager.Authorization.Models.AccessReviewHistoryDefinitionStatus? status = default, DateTimeOffset? runOn = default, DateTimeOffset? fulfilledOn = default, string downloadUri = default, DateTimeOffset? expiration = default);
static member AccessReviewHistoryInstance : string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.Authorization.Models.AccessReviewHistoryDefinitionStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Authorization.Models.AccessReviewHistoryInstance
Public Shared Function AccessReviewHistoryInstance (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional reviewHistoryPeriodStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional reviewHistoryPeriodEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional displayName As String = Nothing, Optional status As Nullable(Of AccessReviewHistoryDefinitionStatus) = Nothing, Optional runOn As Nullable(Of DateTimeOffset) = Nothing, Optional fulfilledOn As Nullable(Of DateTimeOffset) = Nothing, Optional downloadUri As String = Nothing, Optional expiration As Nullable(Of DateTimeOffset) = Nothing) As AccessReviewHistoryInstance

Parameters

id
String

The access review history definition instance id.

name
String

The access review history definition instance unique id.

type
String

The resource type.

reviewHistoryPeriodStartOn
Nullable<DateTimeOffset>

Date time used when selecting review data, all reviews included in data start on or after this date. For use only with one-time/non-recurring reports.

reviewHistoryPeriodEndOn
Nullable<DateTimeOffset>

Date time used when selecting review data, all reviews included in data end on or before this date. For use only with one-time/non-recurring reports.

displayName
String

The display name for the parent history definition.

status
Nullable<AccessReviewHistoryDefinitionStatus>

Status of the requested review history instance data. This is either requested, in-progress, done or error. The state transitions are as follows - Requested -> InProgress -> Done -> Expired.

runOn
Nullable<DateTimeOffset>

Date time when the history data report is scheduled to be generated.

fulfilledOn
Nullable<DateTimeOffset>

Date time when the history data report is scheduled to be generated.

downloadUri
String

Uri which can be used to retrieve review history data. To generate this Uri, generateDownloadUri() must be called for a specific accessReviewHistoryDefinitionInstance. The link expires after a 24 hour period. Callers can see the expiration date time by looking at the 'se' parameter in the generated uri.

expiration
Nullable<DateTimeOffset>

Date time when history data report expires and the associated data is deleted.

Returns

A new AccessReviewHistoryInstance instance for mocking.

Applies to