Billing Role Assignments - List By Enrollment Account
課金プロファイルの呼び出し元のロールの割り当てを一覧表示します。 この操作は、種類が Enterprise Agreement の課金アカウントでサポートされています。
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments?api-version=2019-10-01-preview
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
billing
|
path | True |
string |
課金アカウントを一意に識別する ID。 |
enrollment
|
path | True |
string |
登録アカウントを一意に識別する ID。 |
api-version
|
query | True |
string |
クライアント要求で使用される API のバージョン。 現在のバージョンは 2019-10-01-preview です。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK です。 要求は成功しました。 |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
EnrollmentAccountRoleAssignmentList
Sample Request
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments?api-version=2019-10-01-preview
Sample Response
{
"value": [
{
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314/billingRoleAssignments/9dfd08c2-62a3-4d47-85bd-1cdba1408402",
"name": "9dfd08c2-62a3-4d47-85bd-1cdba1408402",
"properties": {
"createdOn": "2019-06-28T19:11:50.6168809+00:00",
"createdByUserEmailAddress": "test@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314/billingRoleDefinitions/c15c22c0-9faf-424c-9b7e-bd91c06a240b",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314",
"userAuthenticationType": "Organization",
"userEmailAddress": "a_owner@billtest900006.onmicrosoft.com"
},
"type": "Microsoft.Billing/billingAccounts/enrollmentAccounts/billingRoleAssignments"
},
{
"id": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314/billingRoleAssignments/56fba638-e6d7-4b66-a051-1ba543b15360",
"name": "56fba638-e6d7-4b66-a051-1ba543b15360",
"properties": {
"createdOn": "2020-05-31T22:51:21.3629303+00:00",
"createdByUserEmailAddress": "test@billtest900006.onmicrosoft.com",
"roleDefinitionId": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314/billingRoleDefinitions/a0bcee42-bf30-4d1b-926a-48d21664ef71",
"scope": "/providers/Microsoft.Billing/billingAccounts/7898901/enrollmentAccounts/225314"
},
"type": "Microsoft.Billing/billingAccounts/enrollmentAccounts/billingRoleAssignments"
}
]
}
定義
名前 | 説明 |
---|---|
Billing |
ロールの割り当て |
Billing |
ロールの割り当ての一覧。 |
Error |
エラーの詳細。 |
Error |
エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに表示されます。 |
Error |
BillingRoleAssignment
ロールの割り当て
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
name |
string |
リソース名。 |
properties.createdByPrincipalId |
string |
ロールの割り当てを作成したユーザーのプリンシパル ID。 |
properties.createdByPrincipalTenantId |
string |
ロールの割り当てを作成したユーザーのテナント ID。 |
properties.createdByUserEmailAddress |
string |
ロールの割り当てを作成したユーザーのメール アドレス。 これは、契約の種類がEnterprise Agreementの課金アカウントでのみサポートされます。 |
properties.createdOn |
string |
ロールの割り当てが作成された日付。 |
properties.name |
string |
ロールの割り当ての名前。 |
properties.principalId |
string |
ロールが割り当てられたユーザーのプリンシパル ID。 |
properties.principalTenantId |
string |
ロールが割り当てられたユーザーのプリンシパル テナント ID。 |
properties.roleDefinitionId |
string |
ロール定義の ID。 |
properties.scope |
string |
ロールが割り当てられたスコープ。 |
properties.userAuthenticationType |
string |
ロールが割り当てられたユーザーのユーザーの認証の種類 (組織または MSA)。 これは、契約の種類がEnterprise Agreementの課金アカウントでのみサポートされます。 |
properties.userEmailAddress |
string |
ロールが割り当てられたユーザーの電子メール アドレス。 これは、契約の種類がEnterprise Agreementの課金アカウントでのみサポートされます。 |
type |
string |
リソースの種類。 |
BillingRoleAssignmentListResult
ロールの割り当ての一覧。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
結果の次のページへのリンク (URL)。 |
value |
ロールの割り当ての一覧。 |
ErrorDetails
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
code |
string |
エラー コード。 |
details |
エラーのサブ詳細。 |
|
message |
string |
操作が失敗した理由を示すエラー メッセージ。 |
target |
string |
特定のエラーのターゲット。 |
ErrorResponse
エラー応答は、サービスが受信要求を処理できないことを示します。 理由は、エラー メッセージに表示されます。
名前 | 型 | 説明 |
---|---|---|
error |
エラーの詳細。 |
ErrorSubDetails
名前 | 型 | 説明 |
---|---|---|
code |
string |
エラー コード。 |
message |
string |
操作が失敗した理由を示すエラー メッセージ。 |
target |
string |
特定のエラーのターゲット。 |