Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing RoleAssignmentApproval APIs #12108

Merged
merged 2 commits into from
Feb 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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