CompletedApproval
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | String | The approval id. | [optional] |
| Name | String | The name of the approval. | [optional] |
| Created | System.DateTime | When the approval was created. | [optional] |
| Modified | System.DateTime | When the approval was modified last time. | [optional] |
| RequestCreated | System.DateTime | When the access-request was created. | [optional] |
| RequestType | AccessRequestType | [optional] | |
| Requester | AccessItemRequester | [optional] | |
| RequestedFor | RequestedItemStatusRequestedFor | [optional] | |
| ReviewedBy | AccessItemReviewedBy | [optional] | |
| Owner | OwnerDto | [optional] | |
| RequestedObject | RequestableObjectReference | [optional] | |
| RequesterComment | CompletedApprovalRequesterComment | [optional] | |
| ReviewerComment | CompletedApprovalReviewerComment | [optional] | |
| PreviousReviewersComments | []CommentDto | The history of the previous reviewers comments. | [optional] |
| ForwardHistory | []ApprovalForwardHistory | The history of approval forward action. | [optional] |
| CommentRequiredWhenRejected | Boolean | When true the rejector has to provide comments when rejecting | [optional] [default to $false] |
| State | CompletedApprovalState | [optional] | |
| RemoveDate | System.DateTime | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] |
| RemoveDateUpdateRequested | Boolean | If true, then the request was to change the remove date or sunset date. | [optional] [default to $false] |
| CurrentRemoveDate | System.DateTime | The remove date or sunset date that was assigned at the time of the request. | [optional] |
| SodViolationContext | SodViolationContextCheckCompleted | [optional] | |
| PreApprovalTriggerResult | CompletedApprovalPreApprovalTriggerResult | [optional] | |
| ClientMetadata | map[string]String | Arbitrary key-value pairs provided during the request. | [optional] |
| RequestedAccounts | []RequestedAccountRef | The accounts selected by the user for the access to be provisioned on, in case they have multiple accounts on one or more sources. | [optional] |
| PrivilegeLevel | String | The privilege level of the requested access item, if applicable. | [optional] |
Examples
- Prepare the resource
$CompletedApproval = Initialize-CompletedApproval -Id id12345 `
-Name aName `
-Created 2017-07-11T18:45:37.098Z `
-Modified 2018-07-25T20:22:28.104Z `
-RequestCreated 2017-07-11T18:45:35.098Z `
-RequestType null `
-Requester null `
-RequestedFor null `
-ReviewedBy null `
-Owner null `
-RequestedObject null `
-RequesterComment null `
-ReviewerComment null `
-PreviousReviewersComments null `
-ForwardHistory null `
-CommentRequiredWhenRejected true `
-State null `
-RemoveDate 2020-07-11T00:00Z `
-RemoveDateUpdateRequested true `
-CurrentRemoveDate 2020-07-11T00:00Z `
-SodViolationContext null `
-PreApprovalTriggerResult null `
-ClientMetadata {requestedAppName=test-app, requestedAppId=2c91808f7892918f0178b78da4a305a1} `
-RequestedAccounts null `
-PrivilegeLevel High
- Convert the resource to JSON
$CompletedApproval | ConvertTo-JSON