|
376 | 376 | }
|
377 | 377 | }
|
378 | 378 | }
|
| 379 | + }, |
| 380 | + "put": { |
| 381 | + "tags": [ |
| 382 | + "PutAccessReviewInstance" |
| 383 | + ], |
| 384 | + "operationId": "AccessReviewInstances_Create", |
| 385 | + "x-ms-examples": { |
| 386 | + "GetAccessReviews": { |
| 387 | + "$ref": "./examples/PutAccessReviewInstance.json" |
| 388 | + } |
| 389 | + }, |
| 390 | + "description": "Update access review instance.", |
| 391 | + "parameters": [ |
| 392 | + { |
| 393 | + "name": "scheduleDefinitionId", |
| 394 | + "in": "path", |
| 395 | + "required": true, |
| 396 | + "type": "string", |
| 397 | + "description": "The id of the access review schedule definition." |
| 398 | + }, |
| 399 | + { |
| 400 | + "name": "id", |
| 401 | + "in": "path", |
| 402 | + "required": true, |
| 403 | + "type": "string", |
| 404 | + "description": "The id of the access review instance." |
| 405 | + }, |
| 406 | + { |
| 407 | + "name": "properties", |
| 408 | + "in": "body", |
| 409 | + "required": true, |
| 410 | + "schema": { |
| 411 | + "$ref": "#/definitions/AccessReviewInstanceProperties" |
| 412 | + }, |
| 413 | + "description": "Access review instance properties." |
| 414 | + }, |
| 415 | + { |
| 416 | + "$ref": "#/parameters/ApiVersionParameter" |
| 417 | + }, |
| 418 | + { |
| 419 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 420 | + } |
| 421 | + ], |
| 422 | + "responses": { |
| 423 | + "200": { |
| 424 | + "description": "Successful update", |
| 425 | + "schema": { |
| 426 | + "$ref": "#/definitions/AccessReviewInstance" |
| 427 | + } |
| 428 | + }, |
| 429 | + "default": { |
| 430 | + "description": "Unexpected error", |
| 431 | + "schema": { |
| 432 | + "$ref": "#/definitions/ErrorDefinition" |
| 433 | + } |
| 434 | + } |
| 435 | + } |
379 | 436 | }
|
380 | 437 | },
|
381 | 438 | "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/stop": {
|
|
622 | 679 | }
|
623 | 680 | }
|
624 | 681 | },
|
| 682 | + "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/contactedReviewers": { |
| 683 | + "get": { |
| 684 | + "tags": [ |
| 685 | + "GetAccessReviewInstanceContactedReviewers" |
| 686 | + ], |
| 687 | + "operationId": "AccessReviewInstanceContactedReviewers_List", |
| 688 | + "x-ms-examples": { |
| 689 | + "GetAccessReviews": { |
| 690 | + "$ref": "./examples/GetAccessReviewInstanceContactedReviewers.json" |
| 691 | + } |
| 692 | + }, |
| 693 | + "description": "Get access review instance contacted reviewers", |
| 694 | + "parameters": [ |
| 695 | + { |
| 696 | + "name": "scheduleDefinitionId", |
| 697 | + "in": "path", |
| 698 | + "required": true, |
| 699 | + "type": "string", |
| 700 | + "description": "The id of the access review schedule definition." |
| 701 | + }, |
| 702 | + { |
| 703 | + "name": "id", |
| 704 | + "in": "path", |
| 705 | + "required": true, |
| 706 | + "type": "string", |
| 707 | + "description": "The id of the access review instance." |
| 708 | + }, |
| 709 | + { |
| 710 | + "$ref": "#/parameters/ApiVersionParameter" |
| 711 | + }, |
| 712 | + { |
| 713 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 714 | + } |
| 715 | + ], |
| 716 | + "responses": { |
| 717 | + "200": { |
| 718 | + "description": "Describe the result of a successful operation.", |
| 719 | + "schema": { |
| 720 | + "$ref": "#/definitions/AccessReviewContactedReviewerListResult" |
| 721 | + } |
| 722 | + }, |
| 723 | + "default": { |
| 724 | + "description": "Unexpected error", |
| 725 | + "schema": { |
| 726 | + "$ref": "#/definitions/ErrorDefinition" |
| 727 | + } |
| 728 | + } |
| 729 | + }, |
| 730 | + "x-ms-pageable": { |
| 731 | + "nextLinkName": "nextLink" |
| 732 | + } |
| 733 | + } |
| 734 | + }, |
625 | 735 | "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/accessReviewScheduleSettings/default": {
|
626 | 736 | "get": {
|
627 | 737 | "tags": [
|
|
930 | 1040 | }
|
931 | 1041 | }
|
932 | 1042 | },
|
| 1043 | + "/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/contactedReviewers": { |
| 1044 | + "get": { |
| 1045 | + "tags": [ |
| 1046 | + "TenantLevelGetAccessReviewInstanceContactedReviewers" |
| 1047 | + ], |
| 1048 | + "operationId": "TenantLevelAccessReviewInstanceContactedReviewers_List", |
| 1049 | + "x-ms-examples": { |
| 1050 | + "GetAccessReviews": { |
| 1051 | + "$ref": "./examples/TenantLevelGetAccessReviewInstanceContactedReviewers.json" |
| 1052 | + } |
| 1053 | + }, |
| 1054 | + "description": "Get access review instance contacted reviewers", |
| 1055 | + "parameters": [ |
| 1056 | + { |
| 1057 | + "name": "scheduleDefinitionId", |
| 1058 | + "in": "path", |
| 1059 | + "required": true, |
| 1060 | + "type": "string", |
| 1061 | + "description": "The id of the access review schedule definition." |
| 1062 | + }, |
| 1063 | + { |
| 1064 | + "name": "id", |
| 1065 | + "in": "path", |
| 1066 | + "required": true, |
| 1067 | + "type": "string", |
| 1068 | + "description": "The id of the access review instance." |
| 1069 | + }, |
| 1070 | + { |
| 1071 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1072 | + } |
| 1073 | + ], |
| 1074 | + "responses": { |
| 1075 | + "200": { |
| 1076 | + "description": "Describe the result of a successful operation.", |
| 1077 | + "schema": { |
| 1078 | + "$ref": "#/definitions/AccessReviewContactedReviewerListResult" |
| 1079 | + } |
| 1080 | + }, |
| 1081 | + "default": { |
| 1082 | + "description": "Unexpected error", |
| 1083 | + "schema": { |
| 1084 | + "$ref": "#/definitions/ErrorDefinition" |
| 1085 | + } |
| 1086 | + } |
| 1087 | + }, |
| 1088 | + "x-ms-pageable": { |
| 1089 | + "nextLinkName": "nextLink" |
| 1090 | + } |
| 1091 | + } |
| 1092 | + }, |
933 | 1093 | "/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/{scheduleDefinitionId}/instances/{id}/decisions/{decisionId}": {
|
934 | 1094 | "get": {
|
935 | 1095 | "tags": [
|
|
1225 | 1385 | "format": "date-time",
|
1226 | 1386 | "description": "The DateTime when the review instance is scheduled to end.",
|
1227 | 1387 | "x-nullable": false
|
| 1388 | + }, |
| 1389 | + "reviewers": { |
| 1390 | + "type": "array", |
| 1391 | + "items": { |
| 1392 | + "$ref": "#/definitions/AccessReviewReviewer" |
| 1393 | + }, |
| 1394 | + "description": "This is the collection of reviewers." |
| 1395 | + }, |
| 1396 | + "backupReviewers": { |
| 1397 | + "type": "array", |
| 1398 | + "items": { |
| 1399 | + "$ref": "#/definitions/AccessReviewReviewer" |
| 1400 | + }, |
| 1401 | + "description": "This is the collection of backup reviewers." |
| 1402 | + }, |
| 1403 | + "reviewersType": { |
| 1404 | + "type": "string", |
| 1405 | + "readOnly": true, |
| 1406 | + "description": "This field specifies the type of reviewers for a review. Usually for a review, reviewers are explicitly assigned. However, in some cases, the reviewers may not be assigned and instead be chosen dynamically. For example managers review or self review.", |
| 1407 | + "enum": [ |
| 1408 | + "Assigned", |
| 1409 | + "Self", |
| 1410 | + "Managers" |
| 1411 | + ], |
| 1412 | + "x-ms-enum": { |
| 1413 | + "name": "AccessReviewInstanceReviewersType", |
| 1414 | + "modelAsString": true |
| 1415 | + } |
1228 | 1416 | }
|
1229 | 1417 | },
|
1230 | 1418 | "description": "Access Review Instance properties."
|
|
1404 | 1592 | "user",
|
1405 | 1593 | "guestUser",
|
1406 | 1594 | "servicePrincipal",
|
1407 |
| - "user,group" |
| 1595 | + "user,group", |
| 1596 | + "redeemedGuestUser" |
1408 | 1597 | ],
|
1409 | 1598 | "x-ms-enum": {
|
1410 | 1599 | "name": "AccessReviewScopePrincipalType",
|
|
1715 | 1904 | },
|
1716 | 1905 | "description": "Details of the actor identity"
|
1717 | 1906 | },
|
| 1907 | + "AccessReviewContactedReviewer": { |
| 1908 | + "x-ms-azure-resource": true, |
| 1909 | + "properties": { |
| 1910 | + "id": { |
| 1911 | + "type": "string", |
| 1912 | + "readOnly": true, |
| 1913 | + "description": "The access review reviewer id." |
| 1914 | + }, |
| 1915 | + "name": { |
| 1916 | + "type": "string", |
| 1917 | + "readOnly": true, |
| 1918 | + "description": "The access review reviewer id." |
| 1919 | + }, |
| 1920 | + "type": { |
| 1921 | + "type": "string", |
| 1922 | + "readOnly": true, |
| 1923 | + "description": "The resource type." |
| 1924 | + }, |
| 1925 | + "properties": { |
| 1926 | + "x-ms-client-flatten": true, |
| 1927 | + "$ref": "#/definitions/AccessReviewContactedReviewerProperties", |
| 1928 | + "description": "Access Review Contacted Reviewer properties." |
| 1929 | + } |
| 1930 | + }, |
| 1931 | + "description": "Access Review Contacted Reviewer." |
| 1932 | + }, |
| 1933 | + "AccessReviewContactedReviewerProperties": { |
| 1934 | + "properties": { |
| 1935 | + "userDisplayName": { |
| 1936 | + "type": "string", |
| 1937 | + "description": "The display name of the reviewer", |
| 1938 | + "readOnly": true |
| 1939 | + }, |
| 1940 | + "userPrincipalName": { |
| 1941 | + "type": "string", |
| 1942 | + "description": "The user principal name of the reviewer", |
| 1943 | + "readOnly": true |
| 1944 | + }, |
| 1945 | + "createdDateTime": { |
| 1946 | + "type": "string", |
| 1947 | + "readOnly": true, |
| 1948 | + "format": "date-time", |
| 1949 | + "description": "Date Time when the reviewer was contacted.", |
| 1950 | + "x-nullable": true |
| 1951 | + } |
| 1952 | + }, |
| 1953 | + "description": "Properties of access review contacted reviewer." |
| 1954 | + }, |
1718 | 1955 | "AccessReviewScheduleDefinitionListResult": {
|
1719 | 1956 | "properties": {
|
1720 | 1957 | "value": {
|
|
1763 | 2000 | },
|
1764 | 2001 | "description": "List of access review decisions."
|
1765 | 2002 | },
|
| 2003 | + "AccessReviewContactedReviewerListResult": { |
| 2004 | + "properties": { |
| 2005 | + "value": { |
| 2006 | + "type": "array", |
| 2007 | + "items": { |
| 2008 | + "$ref": "#/definitions/AccessReviewContactedReviewer" |
| 2009 | + }, |
| 2010 | + "description": "Access Review Contacted Reviewer." |
| 2011 | + }, |
| 2012 | + "nextLink": { |
| 2013 | + "type": "string", |
| 2014 | + "description": "The URL to use for getting the next set of results." |
| 2015 | + } |
| 2016 | + }, |
| 2017 | + "description": "List of access review contacted reviewers." |
| 2018 | + }, |
1766 | 2019 | "ErrorDefinition": {
|
1767 | 2020 | "type": "object",
|
1768 | 2021 | "title": "Error",
|
|
0 commit comments