AccessReviewDecisionInner Class

public final class AccessReviewDecisionInner
extends ProxyResource

Access Review.

Method Summary

Modifier and Type Method and Description
OffsetDateTime appliedDateTime()

Get the appliedDateTime property: The date and time when the review decision was applied.

AccessReviewApplyResult applyResult()

Get the applyResult property: The outcome of applying the decision.

AccessReviewResult decision()

Get the decision property: The decision on the approval step.

String displayName()

Get the displayName property: The display name of resource associated with a decision record.

static AccessReviewDecisionInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDecisionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String idPropertiesId()

Get the id property: The id of resource associated with a decision record.

List<AccessReviewDecisionInsight> insights()

Get the insights property: This is the collection of insights for this decision item.

String justification()

Get the justification property: Justification provided by approvers for their action.

List<AccessReviewDecisionPrincipalResourceMembershipType> membershipTypes()

Get the membershipTypes property: Every decision item in an access review represents a principal's membership to a resource.

String name()

Get the name property: The name of the resource.

AccessReviewDecisionIdentity principal()

Get the principal property: Principal associated with the decision record.

String principalId()

Get the principalId property: The identity id.

String principalIdAppliedByPrincipalId()

Get the principalIdAppliedByPrincipalId property: The identity id.

String principalName()

Get the principalName property: The identity display name.

String principalNameAppliedByPrincipalName()

Get the principalNameAppliedByPrincipalName property: The identity display name.

AccessReviewActorIdentityType principalType()

Get the principalType property: The identity type : user/servicePrincipal.

AccessReviewActorIdentityType principalTypeAppliedByPrincipalType()

Get the principalTypeAppliedByPrincipalType property: The identity type : user/servicePrincipal.

AccessRecommendationType recommendation()

Get the recommendation property: The feature- generated recommendation shown to the reviewer.

OffsetDateTime reviewedDateTime()

Get the reviewedDateTime property: Date Time when a decision was taken.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

DecisionResourceType typePropertiesType()

Get the type property: The type of resource.

String userPrincipalName()

Get the userPrincipalName property: The user principal name(if valid).

String userPrincipalNameAppliedByUserPrincipalName()

Get the userPrincipalNameAppliedByUserPrincipalName property: The user principal name(if valid).

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

appliedDateTime

public OffsetDateTime appliedDateTime()

Get the appliedDateTime property: The date and time when the review decision was applied.

Returns:

the appliedDateTime value.

applyResult

public AccessReviewApplyResult applyResult()

Get the applyResult property: The outcome of applying the decision.

Returns:

the applyResult value.

decision

public AccessReviewResult decision()

Get the decision property: The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny.

Returns:

the decision value.

displayName

public String displayName()

Get the displayName property: The display name of resource associated with a decision record.

Returns:

the displayName value.

fromJson

public static AccessReviewDecisionInner fromJson(JsonReader jsonReader)

Reads an instance of AccessReviewDecisionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccessReviewDecisionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AccessReviewDecisionInner.id()

Returns:

the id value.

idPropertiesId

public String idPropertiesId()

Get the id property: The id of resource associated with a decision record.

Returns:

the id value.

insights

public List<AccessReviewDecisionInsight> insights()

Get the insights property: This is the collection of insights for this decision item.

Returns:

the insights value.

justification

public String justification()

Get the justification property: Justification provided by approvers for their action.

Returns:

the justification value.

membershipTypes

public List<AccessReviewDecisionPrincipalResourceMembershipType> membershipTypes()

Get the membershipTypes property: Every decision item in an access review represents a principal's membership to a resource. This property represents details of the membership. Examples of this detail might be whether the principal has direct access or indirect access.

Returns:

the membershipTypes value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AccessReviewDecisionInner.name()

Returns:

the name value.

principal

public AccessReviewDecisionIdentity principal()

Get the principal property: Principal associated with the decision record. Can be AccessReviewDecisionUserIdentity or AccessReviewDecisionServicePrincipalIdentity.

Returns:

the principal value.

principalId

public String principalId()

Get the principalId property: The identity id.

Returns:

the principalId value.

principalIdAppliedByPrincipalId

public String principalIdAppliedByPrincipalId()

Get the principalIdAppliedByPrincipalId property: The identity id.

Returns:

the principalIdAppliedByPrincipalId value.

principalName

public String principalName()

Get the principalName property: The identity display name.

Returns:

the principalName value.

principalNameAppliedByPrincipalName

public String principalNameAppliedByPrincipalName()

Get the principalNameAppliedByPrincipalName property: The identity display name.

Returns:

the principalNameAppliedByPrincipalName value.

principalType

public AccessReviewActorIdentityType principalType()

Get the principalType property: The identity type : user/servicePrincipal.

Returns:

the principalType value.

principalTypeAppliedByPrincipalType

public AccessReviewActorIdentityType principalTypeAppliedByPrincipalType()

Get the principalTypeAppliedByPrincipalType property: The identity type : user/servicePrincipal.

Returns:

the principalTypeAppliedByPrincipalType value.

recommendation

public AccessRecommendationType recommendation()

Get the recommendation property: The feature- generated recommendation shown to the reviewer.

Returns:

the recommendation value.

reviewedDateTime

public OffsetDateTime reviewedDateTime()

Get the reviewedDateTime property: Date Time when a decision was taken.

Returns:

the reviewedDateTime value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AccessReviewDecisionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AccessReviewDecisionInner.type()

Returns:

the type value.

typePropertiesType

public DecisionResourceType typePropertiesType()

Get the type property: The type of resource.

Returns:

the type value.

userPrincipalName

public String userPrincipalName()

Get the userPrincipalName property: The user principal name(if valid).

Returns:

the userPrincipalName value.

userPrincipalNameAppliedByUserPrincipalName

public String userPrincipalNameAppliedByUserPrincipalName()

Get the userPrincipalNameAppliedByUserPrincipalName property: The user principal name(if valid).

Returns:

the userPrincipalNameAppliedByUserPrincipalName value.

validate

public void validate()

Validates the instance.

Applies to