Condividi tramite


BillingAccountResource.GetInvoiceSectionsByCreateSubscriptionPermissionAsync Method

Definition

Lists the invoice sections for which the user has permission to create Azure subscriptions. The operation is supported only for billing accounts with agreement type Microsoft Customer Agreement.

  • Request Path: /providers/Microsoft.Billing/billingAccounts/{billingAccountName}/listInvoiceSectionsWithCreateSubscriptionPermission
  • Operation Id: BillingAccounts_ListInvoiceSectionsByCreateSubscriptionPermission
  • Default Api Version: 2024-04-01
  • Resource: BillingAccountResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.InvoiceSectionWithCreateSubPermission> GetInvoiceSectionsByCreateSubscriptionPermissionAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetInvoiceSectionsByCreateSubscriptionPermissionAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.InvoiceSectionWithCreateSubPermission>
override this.GetInvoiceSectionsByCreateSubscriptionPermissionAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Billing.Models.InvoiceSectionWithCreateSubPermission>
Public Overridable Function GetInvoiceSectionsByCreateSubscriptionPermissionAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InvoiceSectionWithCreateSubPermission)

Parameters

filter
String

The filter query option allows clients to filter a collection of resources that are addressed by a request URL.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to