共用方式為


BillingDepartmentResource.CheckAccessBillingPermissionsAsync 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.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult> CheckAccessBillingPermissionsAsync (Azure.ResourceManager.Billing.Models.BillingCheckAccessContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckAccessBillingPermissionsAsync : Azure.ResourceManager.Billing.Models.BillingCheckAccessContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult>
override this.CheckAccessBillingPermissionsAsync : Azure.ResourceManager.Billing.Models.BillingCheckAccessContent * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.BillingCheckAccessResult>
Public Overridable Function CheckAccessBillingPermissionsAsync (content As BillingCheckAccessContent, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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

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

Exceptions

content is null.

Applies to