forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposing RoleAssignmentApproval APIs (Azure#12108)
- Loading branch information
1 parent
a36e0da
commit ffaa2d4
Showing
18 changed files
with
1,452 additions
and
0 deletions.
There are no files selected for viewing
977 changes: 977 additions & 0 deletions
977
...t.Authorization/preview/2021-01-01-preview/authorization-RoleAssignmentApprovalCalls.json
Large diffs are not rendered by default.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
...soft.Authorization/preview/2021-01-01-preview/examples/GetRoleAssignmentApprovalById.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": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"properties": { | ||
"stages": [ | ||
{ | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
....Authorization/preview/2021-01-01-preview/examples/GetRoleAssignmentApprovalStepById.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": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"stageId": "4135f961-be78-4005-8101-c72a5af307a2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...oft.Authorization/preview/2021-01-01-preview/examples/GetRoleAssignmentApprovalSteps.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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...crosoft.Authorization/preview/2021-01-01-preview/examples/GetRoleAssignmentApprovals.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"properties": { | ||
"stages": [ | ||
{ | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...uthorization/preview/2021-01-01-preview/examples/PatchRoleAssignmentApprovalStepById.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"stageId": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": {}, | ||
"body": { | ||
"properties": { | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person." | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"status": "Completed", | ||
"assignedToMe": true, | ||
"reviewedBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"reviewedDateTime": "2018-08-03T21:02:30.667Z", | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person" | ||
} | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
....Authorization/preview/2021-01-01-preview/examples/PutRoleAssignmentApprovalStepById.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": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"stageId": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": {}, | ||
"body": { | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"status": "Completed", | ||
"assignedToMe": true, | ||
"reviewedBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"reviewedDateTime": "2018-08-03T21:02:30.667Z", | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person." | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"status": "Completed", | ||
"assignedToMe": true, | ||
"reviewedBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"reviewedDateTime": "2018-08-03T21:02:30.667Z", | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person" | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...Authorization/preview/2021-01-01-preview/examples/ScopeGetRoleAssignmentApprovalById.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"scope": "subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"properties": { | ||
"stages": [ | ||
{ | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...orization/preview/2021-01-01-preview/examples/ScopeGetRoleAssignmentApprovalStepById.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"stageId": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"scope": "subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...uthorization/preview/2021-01-01-preview/examples/ScopeGetRoleAssignmentApprovalSteps.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,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"scope": "subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ft.Authorization/preview/2021-01-01-preview/examples/ScopeGetRoleAssignmentApprovals.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,37 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"scope": "subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"properties": { | ||
"stages": [ | ||
{ | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"assignedToMe": true, | ||
"status": "InProgress", | ||
"reviewedBy": null, | ||
"reviewedDateTime": null, | ||
"reviewResult": "NotReviewed", | ||
"justification": "" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...ization/preview/2021-01-01-preview/examples/ScopePatchRoleAssignmentApprovalStepById.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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-01-preview", | ||
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661", | ||
"stageId": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"scope": "subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea", | ||
"properties": {}, | ||
"body": { | ||
"properties": { | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person." | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/stages/4135f961-be78-4005-8101-c72a5af307a2", | ||
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages", | ||
"name": "4135f961-be78-4005-8101-c72a5af307a2", | ||
"properties": { | ||
"displayName": "Vice President Approval Step", | ||
"status": "Completed", | ||
"assignedToMe": true, | ||
"reviewedBy": { | ||
"principalType": "user", | ||
"principalId": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9", | ||
"principalName": "Shubham Gupta", | ||
"userPrincipalName": "shugup@microsoft.com" | ||
}, | ||
"reviewedDateTime": "2018-08-03T21:02:30.667Z", | ||
"reviewResult": "Approve", | ||
"justification": "I trust this person" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.