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

[Hub Generated] Review request for Microsoft.Billing EA Auth to version preview/2019-10-01-preview #9827

Merged
merged 7 commits into from
Jun 18, 2020
Merged
Show file tree
Hide file tree
Changes from 4 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,39 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"actions": [
"Microsoft.Billing/billingAccounts/read",
"Microsoft.Billing/billingAccounts/write",
"Microsoft.Billing/billingAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/read",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/write",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/action",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/read",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/write",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/action",
"Microsoft.Billing/billingAccounts/departments/read",
"Microsoft.Billing/billingAccounts/departments/write",
"Microsoft.Billing/billingAccounts/departments/action",
"Microsoft.Billing/billingAccounts/departments/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/action"
],
"notActions": []
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingRoleAssignmentName": "{billingRoleAssignmentId}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleAssignments/b20266a0-3966-4283-bbb6-fb8ad761f08b",
"name": "b20266a0-3966-4283-bbb6-fb8ad761f08b",
"properties": {
"createdOn": "2018-11-28T07:00:08.87-08:00",
"createdByUserEmailAddress": "foo@microsoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"scope": "/providers/Microsoft.Billing/billingAccounts/8608480",
"userAuthenticationType": "Organization",
"userEmailAddress": "bar@testea.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleAssignments"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingRoleAssignmentName": "b20266a0-3966-4283-bbb6-fb8ad761f08b"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleAssignments/b20266a0-3966-4283-bbb6-fb8ad761f08b",
"name": "b20266a0-3966-4283-bbb6-fb8ad761f08b",
"properties": {
"createdOn": "2018-11-28T07:00:08.87-08:00",
"createdByUserEmailAddress": "foo@microsoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"scope": "/providers/Microsoft.Billing/billingAccounts/8608480",
"userAuthenticationType": "Organization",
"userEmailAddress": "bar@testea.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleAssignments"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleAssignments/b20266a0-3966-4283-bbb6-fb8ad761f08b",
"name": "b20266a0-3966-4283-bbb6-fb8ad761f08b",
"properties": {
"createdOn": "2018-11-28T07:00:08.87-08:00",
"createdByUserEmailAddress": "foo@microsoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"scope": "/providers/Microsoft.Billing/billingAccounts/8608480",
"userAuthenticationType": "Organization",
"userEmailAddress": "bar@testea.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleAssignments"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleAssignments/c20266a0-3966-4283-bbb6-fb8ad761f08b",
"name": "c20266a0-3966-4283-bbb6-fb8ad761f08b",
"properties": {
"createdOn": "2018-11-28T07:00:08.87-08:00",
"createdByUserEmailAddress": "foo@microsoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"scope": "/providers/Microsoft.Billing/billingAccounts/8608480",
"userAuthenticationType": "Organization",
"userEmailAddress": "baz@testea.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleAssignments"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"billingRoleDefinitionName": "{billingRoleDefinitionName}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/{billingRoleDefinitionName}",
"name": "{billingRoleDefinitionName}",
"properties": {
"description": "The enrollment administrator role gives the user all permissions including access management rights to an Enrollment and its departments and accounts.",
"permissions": [
{
"actions": [
"Microsoft.Billing/billingAccounts/read",
"Microsoft.Billing/billingAccounts/write",
"Microsoft.Billing/billingAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/read",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/write",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/action",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/read",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/write",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/action",
"Microsoft.Billing/billingAccounts/departments/read",
"Microsoft.Billing/billingAccounts/departments/write",
"Microsoft.Billing/billingAccounts/departments/action",
"Microsoft.Billing/billingAccounts/departments/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/action"
]
}
],
"roleName": "Enrollment administrator"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleDefinitions"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/9f1983cb-2574-400c-87e9-34cf8e2280db",
"name": "9f1983cb-2574-400c-87e9-34cf8e2280db",
"properties": {
"description": "The enrollment administrator role gives the user all permissions including access management rights to an Enrollment and its departments and accounts.",
"permissions": [
{
"actions": [
"Microsoft.Billing/billingAccounts/read",
"Microsoft.Billing/billingAccounts/write",
"Microsoft.Billing/billingAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/read",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/write",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/action",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/read",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/write",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/action",
"Microsoft.Billing/billingAccounts/departments/read",
"Microsoft.Billing/billingAccounts/departments/write",
"Microsoft.Billing/billingAccounts/departments/action",
"Microsoft.Billing/billingAccounts/departments/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/action",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/delete",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/action"
]
}
],
"roleName": "Enrollment administrator"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleDefinitions"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/8608480/billingRoleDefinitions/24f8edb6-1668-4659-b5e2-40bb5f3a7d7e",
"name": "24f8edb6-1668-4659-b5e2-40bb5f3a7d7e",
"properties": {
"description": "The enrollment reader role gives the user read-only permissions to an Enrollment and its departments and accounts.",
"permissions": [
{
"actions": [
"Microsoft.Billing/billingAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentPolicies/read",
"Microsoft.Billing/billingAccounts/enrollmentNotificationContacts/read",
"Microsoft.Billing/billingAccounts/departments/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/read"
]
}
],
"roleName": "Enrollment reader"
},
"type": "Microsoft.Billing/billingAccounts/billingRoleDefinitions"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"departmentName": "{departmentName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"actions": [
"Microsoft.Billing/billingAccounts/departments/read",
"Microsoft.Billing/billingAccounts/departments/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/write",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/read",
"Microsoft.Billing/billingAccounts/enrollmentAccounts/billingSubscriptions/write"
],
"notActions": []
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"departmentName": "{departmentName}",
"billingRoleAssignmentName": "{billingRoleAssignmentName}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleAssignments/bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"name": "bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"properties": {
"createdOn": "2019-06-28T19:19:45.5380644+00:00",
"createdByUserEmailAddress": "e_admin@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleDefinitions/fb2cf67f-be5b-42e7-8025-4683c668f840",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603",
"userAuthenticationType": "Organization",
"userEmailAddress": "d_admin@billtest900006.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"departmentName": "{departmentName}",
"billingRoleAssignmentName": "{billingRoleAssignmentName}"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleAssignments/bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"name": "bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"properties": {
"createdOn": "2019-06-28T19:19:45.5380644+00:00",
"createdByUserEmailAddress": "e_admin@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleDefinitions/fb2cf67f-be5b-42e7-8025-4683c668f840",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603",
"userAuthenticationType": "Organization",
"userEmailAddress": "d_admin@billtest900006.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"parameters": {
"api-version": "2019-10-01-preview",
"billingAccountName": "{billingAccountName}",
"departmentName": "{departmentName}"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleAssignments/bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"name": "bc818868-7ade-4dbe-9a02-d2bef6fddb2f",
"properties": {
"createdOn": "2019-06-28T19:19:45.5380644+00:00",
"createdByUserEmailAddress": "e_admin@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleDefinitions/fb2cf67f-be5b-42e7-8025-4683c668f840",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603",
"userAuthenticationType": "Organization",
"userEmailAddress": "d_admin@billtest900006.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingRoleAssignments"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleAssignments/af1239f3-15d9-4faf-800a-673882134d9f",
"name": "af1239f3-15d9-4faf-800a-673882134d9f",
"properties": {
"createdOn": "2019-06-28T19:20:04.1301372+00:00",
"createdByUserEmailAddress": "e_admin@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603/billingRoleDefinitions/db609904-a47f-4794-9be8-9bd86fbffd8a",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/departments/97603",
"userAuthenticationType": "Organization",
"userEmailAddress": "d_reader@billtest900006.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingRoleAssignments"
}
]
}
}
}
}
Loading