Billing Role Assignments - List By Enrollment Account
청구 프로필에서 호출자에 대한 역할 할당을 나열합니다. 작업은 기업계약 유형의 청구 계정에 대해 지원됩니다.
GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/enrollmentAccounts/{enrollmentAccountName}/billingRoleAssignments?api-version=2019-10-01-preview
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
billing
|
path | True |
string |
청구 계정을 고유하게 식별하는 ID입니다. |
enrollment
|
path | True |
string |
등록 계정을 고유하게 식별하는 ID입니다. |
api-version
|
query | True |
string |
클라이언트 요청과 함께 사용할 API의 버전입니다. 현재 버전은 2019-10-01-preview입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
OK. 요청이 성공했습니다. |
|
Other Status Codes |
작업이 실패한 이유를 설명하는 오류 응답입니다. |
보안
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
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"
}
]
}
정의
Name | Description |
---|---|
Billing |
역할 할당 |
Billing |
역할 할당 목록입니다. |
Error |
오류의 세부 정보입니다. |
Error |
오류 응답은 서비스가 들어오는 요청을 처리할 수 없음을 나타냅니다. 이유는 오류 메시지에 제공됩니다. |
Error |
BillingRoleAssignment
역할 할당
Name | 형식 | Description |
---|---|---|
id |
string |
리소스 ID입니다. |
name |
string |
리소스 이름입니다. |
properties.createdByPrincipalId |
string |
역할 할당을 만든 사용자의 보안 주체 ID입니다. |
properties.createdByPrincipalTenantId |
string |
역할 할당을 만든 사용자의 테넌트 ID입니다. |
properties.createdByUserEmailAddress |
string |
역할 할당을 만든 사용자의 이메일 주소입니다. 이는 계약 유형이 기업계약 청구 계정에 대해서만 지원됩니다. |
properties.createdOn |
string |
역할 할당을 만든 날짜입니다. |
properties.name |
string |
역할 할당의 이름입니다. |
properties.principalId |
string |
역할이 할당된 사용자의 보안 주체 ID입니다. |
properties.principalTenantId |
string |
역할이 할당된 사용자의 주 테넌트 ID입니다. |
properties.roleDefinitionId |
string |
역할 정의의 ID입니다. |
properties.scope |
string |
역할이 할당된 scope. |
properties.userAuthenticationType |
string |
역할이 할당된 사용자의 인증 유형(조직 또는 MSA)입니다. 이는 계약 유형이 기업계약 청구 계정에 대해서만 지원됩니다. |
properties.userEmailAddress |
string |
역할이 할당된 사용자의 이메일 주소입니다. 이는 계약 유형이 기업계약 청구 계정에 대해서만 지원됩니다. |
type |
string |
리소스 종류. |
BillingRoleAssignmentListResult
역할 할당 목록입니다.
Name | 형식 | Description |
---|---|---|
nextLink |
string |
결과의 다음 페이지에 대한 링크(URL)입니다. |
value |
역할 할당 목록입니다. |
ErrorDetails
오류의 세부 정보입니다.
Name | 형식 | Description |
---|---|---|
code |
string |
오류 코드 |
details |
오류의 하위 세부 정보입니다. |
|
message |
string |
작업이 실패한 이유를 나타내는 오류 메시지입니다. |
target |
string |
특정 오류의 대상입니다. |
ErrorResponse
오류 응답은 서비스가 들어오는 요청을 처리할 수 없음을 나타냅니다. 이유는 오류 메시지에 제공됩니다.
Name | 형식 | Description |
---|---|---|
error |
오류의 세부 정보입니다. |
ErrorSubDetails
Name | 형식 | Description |
---|---|---|
code |
string |
오류 코드 |
message |
string |
작업이 실패한 이유를 나타내는 오류 메시지입니다. |
target |
string |
특정 오류의 대상입니다. |