AccessReviewHistoryDefinitionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. authorization. fluent. models. AccessReviewHistoryDefinitionInner
- com.
- com.
public final class AccessReviewHistoryDefinitionInner
extends ProxyResource
Access Review History Definition.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdDateTime()
Get the created |
|
List<Access |
decisions()
Get the decisions property: Collection of review decisions which the history data should be filtered on. |
| String |
displayName()
Get the display |
|
Offset |
endDate()
Get the end |
|
static
Access |
fromJson(JsonReader jsonReader)
Reads an instance of Access |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
List<Access |
instances()
Get the instances property: Set of access review history instances for this history definition. |
| Integer |
interval()
Get the interval property: The interval for recurrence. |
| String |
name()
Get the name property: The name of the resource. |
| Integer |
numberOfOccurrences()
Get the number |
| String |
principalId()
Get the principal |
| String |
principalName()
Get the principal |
|
Access |
principalType()
Get the principal |
|
Offset |
reviewHistoryPeriodEndDateTime()
Get the review |
|
Offset |
reviewHistoryPeriodStartDateTime()
Get the review |
|
List<Access |
scopes()
Get the scopes property: A collection of scopes used when selecting review history data. |
|
Offset |
startDate()
Get the start |
|
Access |
status()
Get the status property: This read-only field specifies the of the requested review history data. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Access |
typePropertiesType()
Get the type property: The recurrence type : weekly, monthly, etc. |
|
Access |
typeRangeType()
Get the type |
| String |
userPrincipalName()
Get the user |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Method Details
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: Date time when history definition was created.
Returns:
decisions
public List<AccessReviewResult> decisions()
Get the decisions property: Collection of review decisions which the history data should be filtered on. For example if Approve and Deny are supplied the data will only contain review results in which the decision maker approved or denied a review request.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the history definition.
Returns:
endDate
public OffsetDateTime endDate()
Get the endDate property: The DateTime when the review is scheduled to end. Required if type is endDate.
Returns:
fromJson
public static AccessReviewHistoryDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of AccessReviewHistoryDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AccessReviewHistoryDefinitionInner.id()Returns:
instances
public List<AccessReviewHistoryInstanceInner> instances()
Get the instances property: Set of access review history instances for this history definition.
Returns:
interval
public Integer interval()
Get the interval property: The interval for recurrence. For a quarterly review, the interval is 3 for type : absoluteMonthly.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AccessReviewHistoryDefinitionInner.name()Returns:
numberOfOccurrences
public Integer numberOfOccurrences()
Get the numberOfOccurrences property: The number of times to repeat the access review. Required and must be positive if type is numbered.
Returns:
principalId
public String principalId()
Get the principalId property: The identity id.
Returns:
principalName
public String principalName()
Get the principalName property: The identity display name.
Returns:
principalType
public AccessReviewActorIdentityType principalType()
Get the principalType property: The identity type : user/servicePrincipal.
Returns:
reviewHistoryPeriodEndDateTime
public OffsetDateTime reviewHistoryPeriodEndDateTime()
Get the reviewHistoryPeriodEndDateTime property: 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.
Returns:
reviewHistoryPeriodStartDateTime
public OffsetDateTime reviewHistoryPeriodStartDateTime()
Get the reviewHistoryPeriodStartDateTime property: 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.
Returns:
scopes
public List<AccessReviewScope> scopes()
Get the scopes property: A collection of scopes used when selecting review history data.
Returns:
startDate
public OffsetDateTime startDate()
Get the startDate property: The DateTime when the review is scheduled to be start. This could be a date in the future. Required on create.
Returns:
status
public AccessReviewHistoryDefinitionStatus status()
Get the status property: This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AccessReviewHistoryDefinitionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AccessReviewHistoryDefinitionInner.type()Returns:
typePropertiesType
public AccessReviewRecurrencePatternType typePropertiesType()
Get the type property: The recurrence type : weekly, monthly, etc.
Returns:
typeRangeType
public AccessReviewRecurrenceRangeType typeRangeType()
Get the typeRangeType property: The recurrence range type. The possible values are: endDate, noEnd, numbered.
Returns:
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: The user principal name(if valid).
Returns:
validate
public void validate()
Validates the instance.