你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Billing Permissions - List By Invoice Sections

Lists the billing permissions the caller has on an invoice section.

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingPermissions?api-version=2020-05-01

URI Parameters

Name In Required Type Description
billingAccountName
path True

string

The ID that uniquely identifies a billing account.

billingProfileName
path True

string

The ID that uniquely identifies a billing profile.

invoiceSectionName
path True

string

The ID that uniquely identifies an invoice section.

api-version
query True

string

The version of the API to be used with the client request. The current version is 2020-05-01.

Responses

Name Type Description
200 OK

BillingPermissionsListResult

OK. The request has succeeded.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

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 impersonate your user account

Examples

InvoiceSectionPermissionsList

Sample request

GET https://management.azure.com/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/billingPermissions?api-version=2020-05-01

Sample response

{
  "value": [
    {
      "actions": [
        "10000000-aaaa-bbbb-cccc-200000000006",
        "10000000-aaaa-bbbb-cccc-200000000003",
        "10000000-aaaa-bbbb-cccc-200000000002",
        "10000000-aaaa-bbbb-cccc-200000000001",
        "10000000-aaaa-bbbb-cccc-200000000000",
        "30000000-aaaa-bbbb-cccc-200000000007",
        "30000000-aaaa-bbbb-cccc-200000000004",
        "30000000-aaaa-bbbb-cccc-200000000015",
        "20000000-aaaa-bbbb-cccc-200000000002",
        "30000000-aaaa-bbbb-cccc-200000000009",
        "40000000-aaaa-bbbb-cccc-200000000000",
        "30000000-aaaa-bbbb-cccc-200000000000",
        "20000000-aaaa-bbbb-cccc-200000000000",
        "10000000-aaaa-bbbb-cccc-200000000008",
        "10000000-aaaa-bbbb-cccc-200000000007",
        "40000000-aaaa-bbbb-cccc-200000000008",
        "40000000-aaaa-bbbb-cccc-200000000006",
        "40000000-aaaa-bbbb-cccc-200000000007",
        "30000000-aaaa-bbbb-cccc-200000000010",
        "30000000-aaaa-bbbb-cccc-200000000001"
      ],
      "notActions": []
    }
  ]
}

Definitions

Name Description
BillingPermissionsListResult

Result of list billingPermissions a caller has on a billing account.

BillingPermissionsProperties

The set of allowed action and not allowed actions a caller has on a billing account

ErrorDetails

The details of the error.

ErrorResponse

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

ErrorSubDetails

BillingPermissionsListResult

Result of list billingPermissions a caller has on a billing account.

Name Type Description
nextLink

string

The link (url) to the next page of results.

value

BillingPermissionsProperties[]

The list of billingPermissions a caller has on a billing account.

BillingPermissionsProperties

The set of allowed action and not allowed actions a caller has on a billing account

Name Type Description
actions

string[]

The set of actions that the caller is allowed to perform.

notActions

string[]

The set of actions that the caller is not allowed to perform.

ErrorDetails

The details of the error.

Name Type Description
code

string

Error code.

details

ErrorSubDetails[]

The sub details of the error.

message

string

Error message indicating why the operation failed.

target

string

The target of the particular error.

ErrorResponse

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Name Type Description
error

ErrorDetails

The details of the error.

ErrorSubDetails

Name Type Description
code

string

Error code.

message

string

Error message indicating why the operation failed.

target

string

The target of the particular error.