Skip to content

Commit

Permalink
Exposing RoleAssignmentApproval APIs (Azure#12108)
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamguptacal authored and greenms committed Feb 19, 2021
1 parent a36e0da commit ffaa2d4
Show file tree
Hide file tree
Showing 18 changed files with 1,452 additions and 0 deletions.

Large diffs are not rendered by default.

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": ""
}
}
]
}
}
}
}
}
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": ""
}
}
}
}
}
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": ""
}
}
]
}
}
}
}
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": ""
}
}
]
}
}
]
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
}
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": ""
}
}
]
}
}
}
}
}
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": ""
}
}
}
}
}
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": ""
}
}
]
}
}
}
}
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": ""
}
}
]
}
}
]
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit ffaa2d4

Please sign in to comment.