Skip to content

Commit

Permalink
Rename step to stage based on PM feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamguptacal committed Feb 18, 2021
1 parent e4307c7 commit a0a7a7c
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
}
}
},
"/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/steps": {
"/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/stages": {
"get": {
"tags": [
"GetRoleAssignmentApprovalSteps"
Expand Down Expand Up @@ -182,7 +182,7 @@
}
}
},
"/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/steps/{stepId}": {
"/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/stages/{stageId}": {
"get": {
"tags": [
"GetRoleAssignmentApprovalStepById"
Expand All @@ -203,11 +203,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -248,11 +248,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"name": "properties",
Expand All @@ -261,7 +261,7 @@
"schema": {
"$ref": "#/definitions/RoleAssignmentApprovalStepProperties"
},
"description": "Role Assignment Approval step properties to patch."
"description": "Role Assignment Approval stage properties to patch."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -302,11 +302,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"name": "properties",
Expand All @@ -315,7 +315,7 @@
"schema": {
"$ref": "#/definitions/RoleAssignmentApprovalStepProperties"
},
"description": "Role Assignment Approval step properties to put."
"description": "Role Assignment Approval stage properties to put."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -432,7 +432,7 @@
}
}
},
"/{scope}/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/steps": {
"/{scope}/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/stages": {
"get": {
"tags": [
"ScopeGetRoleAssignmentApprovalSteps"
Expand Down Expand Up @@ -480,7 +480,7 @@
}
}
},
"/{scope}/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/steps/{stepId}": {
"/{scope}/providers/Microsoft.Authorization/roleAssignmentApprovals/{approvalId}/stages/{stageId}": {
"get": {
"tags": [
"ScopeGetRoleAssignmentApprovalStepById"
Expand All @@ -501,11 +501,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -554,11 +554,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"name": "properties",
Expand All @@ -567,7 +567,7 @@
"schema": {
"$ref": "#/definitions/RoleAssignmentApprovalStepProperties"
},
"description": "Role Assignment Approval step properties to patch."
"description": "Role Assignment Approval stage properties to patch."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -616,11 +616,11 @@
"description": "The id of the role assignment approval."
},
{
"name": "stepId",
"name": "stageId",
"in": "path",
"required": true,
"type": "string",
"description": "The id of the role assignment approval step."
"description": "The id of the role assignment approval stage."
},
{
"name": "properties",
Expand All @@ -629,7 +629,7 @@
"schema": {
"$ref": "#/definitions/RoleAssignmentApprovalStepProperties"
},
"description": "Role Assignment Approval step properties to put."
"description": "Role Assignment Approval stage properties to put."
},
{
"$ref": "#/parameters/ApiVersionParameter"
Expand Down Expand Up @@ -722,12 +722,12 @@
},
"RoleAssignmentApprovalProperties": {
"properties": {
"steps": {
"stages": {
"type": "array",
"items": {
"$ref": "#/definitions/RoleAssignmentApprovalStep"
},
"description": "This is the collection of steps returned when one does an expand on it."
"description": "This is the collection of stages returned when one does an expand on it."
}
},
"description": "Role Assignment Approval properties."
Expand Down Expand Up @@ -755,12 +755,12 @@
"id": {
"type": "string",
"readOnly": true,
"description": "The role assignment approval step id."
"description": "The role assignment approval stage id."
},
"name": {
"type": "string",
"readOnly": true,
"description": "The role assignment approval step name."
"description": "The role assignment approval stage name."
},
"type": {
"type": "string",
Expand All @@ -773,13 +773,13 @@
"description": "Role Assignment Approval Step properties."
}
},
"description": "Role assignment approval step properties."
"description": "Role assignment approval stage properties."
},
"RoleAssignmentApprovalStepProperties": {
"properties": {
"displayName": {
"type": "string",
"description": "The display name for the approval step."
"description": "The display name for the approval stage."
},
"status": {
"type": "string",
Expand All @@ -802,7 +802,7 @@
},
"assignedToMe": {
"readOnly": true,
"description": "Indicates whether the step is assigned to me for review",
"description": "Indicates whether the stage is assigned to me for review",
"type": "boolean"
},
"reviewedBy": {
Expand All @@ -821,7 +821,7 @@
},
"reviewResult": {
"type": "string",
"description": "The decision on the approval step. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny",
"description": "The decision on the approval stage. This value is initially set to NotReviewed. Approvers can take action of Approve/Deny",
"enum": [
"Approve",
"Deny",
Expand Down Expand Up @@ -854,7 +854,7 @@
"description": "The URL to use for getting the next set of results."
}
},
"description": "List of role assignment approval step list."
"description": "List of role assignment approval stage list."
},
"ErrorDefinition": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"200": {
"body": {
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages",
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"properties": {
"steps": [
"stages": [
{
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"parameters": {
"api-version": "2021-01-01-preview",
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"stepId": "4135f961-be78-4005-8101-c72a5af307a2"
"stageId": "4135f961-be78-4005-8101-c72a5af307a2"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"body": {
"value": [
{
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"value": [
{
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages",
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"properties": {
"steps": [
"stages": [
{
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"api-version": "2021-01-01-preview",
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"stepId": "4135f961-be78-4005-8101-c72a5af307a2",
"stageId": "4135f961-be78-4005-8101-c72a5af307a2",
"properties": {},
"body": {
"properties": {
Expand All @@ -14,8 +14,8 @@
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"api-version": "2021-01-01-preview",
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"stepId": "4135f961-be78-4005-8101-c72a5af307a2",
"stageId": "4135f961-be78-4005-8101-c72a5af307a2",
"properties": {},
"body": {
"properties": {
Expand All @@ -24,8 +24,8 @@
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"200": {
"body": {
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages",
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"properties": {
"steps": [
"stages": [
{
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"parameters": {
"api-version": "2021-01-01-preview",
"approvalId": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"stepId": "4135f961-be78-4005-8101-c72a5af307a2",
"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/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"body": {
"value": [
{
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"value": [
{
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"type": "Microsoft.Authorization/roleAssignmentApprovals/stages",
"name": "488a6d0e-0a63-4946-86e3-1f5bbc934661",
"properties": {
"steps": [
"stages": [
{
"id": "/subscriptions/69356bc4-b3be-441a-b12f-503b745e0dea/providers/Microsoft.Authorization/roleAssignmentApprovals/488a6d0e-0a63-4946-86e3-1f5bbc934661/steps/4135f961-be78-4005-8101-c72a5af307a2",
"type": "Microsoft.Authorization/roleAssignmentApprovals/steps",
"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",
Expand Down
Loading

0 comments on commit a0a7a7c

Please sign in to comment.