-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Billing EA Auth to versi…
…on preview/2019-10-01-preview (#9827) * swagger for ea auth * fix example * adding link to example files. * update arm type for billingroleassignments. * pageable. * update comment * adding nextlink to responses for Lint failures.
- Loading branch information
1 parent
b62fff3
commit 6b4d50c
Showing
20 changed files
with
1,363 additions
and
82 deletions.
There are no files selected for viewing
770 changes: 688 additions & 82 deletions
770
...cation/billing/resource-manager/Microsoft.Billing/preview/2019-10-01-preview/billing.json
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
...icrosoft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaPermissionsList.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,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": [] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaRoleAssignment.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,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" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...oft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaRoleAssignmentDelete.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,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" | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...osoft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaRoleAssignmentList.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
46 changes: 46 additions & 0 deletions
46
...Microsoft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaRoleDefinition.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,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" | ||
} | ||
} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...soft.Billing/preview/2019-10-01-preview/examples/BillingAccountEaRoleDefinitionsList.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentPermissionsList.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": "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": [] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...nager/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentRoleAssignment.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": "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" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentRoleAssignmentDelete.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": "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" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...r/Microsoft.Billing/preview/2019-10-01-preview/examples/DepartmentRoleAssignmentList.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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.