BillingDepartmentResource.GetBillingPermissions(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists the billing permissions the caller has for a department.
- Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/departments/{departmentName}/billingPermissions
- Operation Id: BillingPermissions_ListByDepartment
- Default Api Version: 2024-04-01
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingPermission> GetBillingPermissions (System.Threading.CancellationToken cancellationToken = default);
abstract member GetBillingPermissions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingPermission>
override this.GetBillingPermissions : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Models.BillingPermission>
Public Overridable Function GetBillingPermissions (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingPermission)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of BillingPermission that may take multiple service requests to iterate over.