共用方式為


BillingDepartmentResource.CheckAccessBillingPermissions Method

Definition

Provides a list of check access response objects for a department.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/checkAccess
  • Operation Id: BillingPermissions_CheckAccessByDepartment
  • Default Api Version: 2024-04-01
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult> CheckAccessBillingPermissions (Azure.ResourceManager.Billing.Models.BillingCheckAccessContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckAccessBillingPermissions : Azure.ResourceManager.Billing.Models.BillingCheckAccessContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult>
override this.CheckAccessBillingPermissions : Azure.ResourceManager.Billing.Models.BillingCheckAccessContent * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult>
Public Overridable Function CheckAccessBillingPermissions (content As BillingCheckAccessContent, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingCheckAccessResult)

Parameters

content
BillingCheckAccessContent

The request object against which access of the caller will be checked.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of BillingCheckAccessResult that may take multiple service requests to iterate over.

Exceptions

content is null.

Applies to