-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab6b4d7
commit 5923e10
Showing
20 changed files
with
1,952 additions
and
8 deletions.
There are no files selected for viewing
1,429 changes: 1,429 additions & 0 deletions
1,429
...r/Microsoft.Authorization/preview/2018-05-01-preview/authorization-AccessReviewCalls.json
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...Authorization/preview/2018-05-01-preview/examples/AccessReviewInstanceApplyDecisions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"id": "d9b9e056-7004-470b-bf21-1635e98487da" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...Authorization/preview/2018-05-01-preview/examples/AccessReviewInstanceResetDecisions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"id": "d9b9e056-7004-470b-bf21-1635e98487da" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
....Authorization/preview/2018-05-01-preview/examples/AccessReviewInstanceSendReminders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"id": "d9b9e056-7004-470b-bf21-1635e98487da" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...thorization/preview/2018-05-01-preview/examples/DeleteAccessReviewScheduleDefinition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...oft.Authorization/preview/2018-05-01-preview/examples/GetAccessReviewDefaultSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewSettings/default", | ||
"type": "Microsoft.Authorization/accessReviewSettings", | ||
"name": "default", | ||
"properties": { | ||
"mailNotificationsEnabled": true, | ||
"reminderNotificationsEnabled": true, | ||
"justificationRequiredOnApproval": true, | ||
"recommendationsEnabled": true, | ||
"instanceDurationInDays": 30, | ||
"recurrence": { | ||
"range": { | ||
"type": "endDate", | ||
"numberOfOccurrences": 1, | ||
"startDate": "2018-08-03T21:02:30.667Z", | ||
"endDate": "2018-08-03T21:17:30.513Z" | ||
} | ||
}, | ||
"defaultDecisionEnabled": true, | ||
"defaultDecision": "Approve", | ||
"autoApplyDecisionsEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
.../Microsoft.Authorization/preview/2018-05-01-preview/examples/GetAccessReviewInstance.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"id": "4135f961-be78-4005-8101-c72a5af307a2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/instances/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/accessReviewScheduleDefinitions/instances", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"status": "Applied", | ||
"startDateTime": "2018-08-03T21:02:30.667Z", | ||
"endDateTime": "2018-08-03T21:17:30.513Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...t.Authorization/preview/2018-05-01-preview/examples/GetAccessReviewInstanceDecisions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "265785a7-a81f-4201-8a18-bb0db95982b7", | ||
"id": "f25ed880-9c31-4101-bc57-825d8df3b58c" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/instances/f8882fec-7d56-4e97-ad6d-5e3f4557971d/decisions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"type": "Microsoft.Authorization/accessReviewScheduleDefinitions/instances/decisions", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"reviewedBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"reviewedDateTime": "2018-08-03T21:02:30.667Z", | ||
"decision": "Deny", | ||
"justification": "This person has left this team", | ||
"appliedBy": { | ||
"principalType": "user", | ||
"principalId": "36777fc8-4ec2-49ea-a56c-cec0bd47d83a", | ||
"principalName": "Amit Ghosh", | ||
"userPrincipalName": "amitgho@microsoft.com" | ||
}, | ||
"appliedDateTime": "2018-10-03T21:02:30.667Z", | ||
"applyResult": "Success", | ||
"recommendation": "Deny", | ||
"target": { | ||
"type": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...Microsoft.Authorization/preview/2018-05-01-preview/examples/GetAccessReviewInstances.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "265785a7-a81f-4201-8a18-bb0db95982b7" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/instances/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/accessReviewScheduleDefinitions/instances", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"status": "Applied", | ||
"startDateTime": "2018-08-03T21:02:30.667Z", | ||
"endDateTime": "2018-08-03T21:17:30.513Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
....Authorization/preview/2018-05-01-preview/examples/GetAccessReviewScheduleDefinition.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"scheduleDefinitionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"type": "Microsoft.Authorization/accessReviewScheduleDefinitions", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Hello world", | ||
"status": "InProgress", | ||
"descriptionForAdmins": "asdfasdf", | ||
"descriptionForReviewers": "asdfasdf", | ||
"createdBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"scope": { | ||
"resourceId": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"roleDefinitionId": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/roleDefinitions/b225c7ff-4338-4cdc-a790-6b34d987f7cd" | ||
}, | ||
"reviewers": [ | ||
{ | ||
"principalId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d ", | ||
"principalType": "user" | ||
} | ||
], | ||
"settings": { | ||
"mailNotificationsEnabled": true, | ||
"reminderNotificationsEnabled": true, | ||
"justificationRequiredOnApproval": true, | ||
"recommendationsEnabled": true, | ||
"instanceDurationInDays": 30, | ||
"recurrence": { | ||
"range": { | ||
"type": "endDate", | ||
"numberOfOccurrences": 1, | ||
"startDate": "2018-08-03T21:02:30.667Z", | ||
"endDate": "2018-08-03T21:17:30.513Z" | ||
} | ||
}, | ||
"defaultDecisionEnabled": true, | ||
"defaultDecision": "Approve", | ||
"autoApplyDecisionsEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...Authorization/preview/2018-05-01-preview/examples/GetAccessReviewScheduleDefinitions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewScheduleDefinitions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"type": "Microsoft.Authorization/accessReviewScheduleDefinitions", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Hello world", | ||
"status": "InProgress", | ||
"descriptionForAdmins": "asdfasdf", | ||
"descriptionForReviewers": "asdfasdf", | ||
"createdBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"scope": { | ||
"resourceId": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"roleDefinitionId": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/roleDefinitions/b225c7ff-4338-4cdc-a790-6b34d987f7cd" | ||
}, | ||
"reviewers": [ | ||
{ | ||
"principalId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d ", | ||
"principalType": "user" | ||
} | ||
], | ||
"settings": { | ||
"mailNotificationsEnabled": true, | ||
"reminderNotificationsEnabled": true, | ||
"justificationRequiredOnApproval": true, | ||
"recommendationsEnabled": true, | ||
"instanceDurationInDays": 30, | ||
"recurrence": { | ||
"range": { | ||
"type": "endDate", | ||
"numberOfOccurrences": 1, | ||
"startDate": "2018-08-03T21:02:30.667Z", | ||
"endDate": "2018-08-03T21:17:30.513Z" | ||
} | ||
}, | ||
"defaultDecisionEnabled": true, | ||
"defaultDecision": "Approve", | ||
"autoApplyDecisionsEnabled": true | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...oft.Authorization/preview/2018-05-01-preview/examples/PutAccessReviewDefaultSettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-05-01-preview", | ||
"subscriptionId": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"id": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": {}, | ||
"body": { | ||
"properties": { | ||
"mailNotificationsEnabled": true, | ||
"remindersEnabled": true, | ||
"justificationRequiredOnApproval": true, | ||
"accessRecommendationsEnabled": true, | ||
"recurrenceSettings": { | ||
"recurrenceType": "weekly", | ||
"recurrenceEndType": "never", | ||
"durationInDays": 5, | ||
"recurrenceCount": 0 | ||
}, | ||
"autoReviewEnabled": true, | ||
"autoReviewNotReviewedResult": "Approve", | ||
"autoApplyReviewResultsEnabled": true | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/fa73e90b-5bf1-45fd-a182-35ce5fc0674d/providers/Microsoft.Authorization/accessReviewSettings/default", | ||
"type": "Microsoft.Authorization/accessReviewSettings", | ||
"name": "default", | ||
"properties": { | ||
"mailNotificationsEnabled": true, | ||
"reminderNotificationsEnabled": true, | ||
"justificationRequiredOnApproval": true, | ||
"recommendationsEnabled": true, | ||
"instanceDurationInDays": 30, | ||
"recurrence": { | ||
"range": { | ||
"type": "endDate", | ||
"numberOfOccurrences": 1, | ||
"startDate": "2018-08-03T21:02:30.667Z", | ||
"endDate": "2018-08-03T21:17:30.513Z" | ||
} | ||
}, | ||
"defaultDecisionEnabled": true, | ||
"defaultDecision": "Approve", | ||
"autoApplyDecisionsEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.