Scope Access Review History Definition Instances - List
Get access review history definition instances by definition Id
GET https://management.azure.com/{scope}/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/{historyDefinitionId}/instances?api-version=2021-12-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
history
|
path | True |
string |
The id of the access review history definition. |
scope
|
path | True |
string |
The scope of the resource. |
api-version
|
query | True |
string |
The API version to be used with the HTTP request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Describe the result of a successful operation. |
|
Other Status Codes |
Unexpected error |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
GetAccessReviewHistoryDefinitionInstances
Sample Request
GET https://management.azure.com/subscriptions/129a304b-4aea-4b86-a9f7-ba7e2b23737a/providers/Microsoft.Authorization/accessReviewHistoryDefinitions/44724910-d7a5-4c29-b28f-db73e717165a/instances?api-version=2021-12-01-preview
Sample Response
{
"value": [
{
"id": "44724910-d7a5-4c29-b28f-db73e717165a",
"name": "44724910-d7a5-4c29-b28f-db73e717165a",
"type": "Microsoft.Authorization/accessReviewHistoryInstance",
"properties": {
"reviewHistoryPeriodStartDateTime": "2021-10-01T00:00:00-07:00",
"reviewHistoryPeriodEndDateTime": "2021-12-01T00:00:00-08:00",
"displayName": "Hello world name",
"status": "Requested",
"runDateTime": "2021-12-23T00:27:33.6905189+00:00",
"fulfilledDateTime": "2021-12-23T00:28:33.6905189+00:00",
"expiration": "2022-01-22T00:28:33.6905189+00:00"
}
}
],
"nextLink": null
}
Definitions
Name | Description |
---|---|
Access |
List of Access Review History Instances. |
Access |
This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error. |
Access |
Access Review History Definition Instance. |
Error |
Error |
Error |
Error |
AccessReviewHistoryDefinitionInstanceListResult
List of Access Review History Instances.
Name | Type | Description |
---|---|---|
nextLink |
string |
The URL to use for getting the next set of results. |
value |
Access Review History Definition's Instance list. |
AccessReviewHistoryDefinitionStatus
This read-only field specifies the of the requested review history data. This is either requested, in-progress, done or error.
Name | Type | Description |
---|---|---|
Done |
string |
|
Error |
string |
|
InProgress |
string |
|
Requested |
string |
AccessReviewHistoryInstance
Access Review History Definition Instance.
Name | Type | Description |
---|---|---|
id |
string |
The access review history definition instance id. |
name |
string |
The access review history definition instance unique id. |
properties.displayName |
string |
The display name for the parent history definition. |
properties.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. |
properties.expiration |
string |
Date time when history data report expires and the associated data is deleted. |
properties.fulfilledDateTime |
string |
Date time when the history data report is scheduled to be generated. |
properties.reviewHistoryPeriodEndDateTime |
string |
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. |
properties.reviewHistoryPeriodStartDateTime |
string |
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. |
properties.runDateTime |
string |
Date time when the history data report is scheduled to be generated. |
properties.status |
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 |
|
type |
string |
The resource type. |
ErrorDefinition
Error
Name | Type | Description |
---|---|---|
error |
Error |
ErrorDefinitionProperties
Error
Name | Type | Description |
---|---|---|
code |
string |
Error code of list gateway. |
message |
string |
Description of the error. |