MockableBillingBenefitsArmClient.GetAllAsync Method

Definition

List maccs that are applicable for a given billing account.

  • Request Path. : /providers/microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.BillingBenefits/applicableMaccs.
  • Operation Id. : ApplicableMaccsOperationGroup_List.
  • Default Api Version. : 2025-12-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc> GetAllAsync(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc>
override this.GetAllAsync : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc>
Public Overridable Function GetAllAsync (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ApplicableMacc)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

scope is null.

Applies to