MockableBillingBenefitsArmClient.GetAll 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.Pageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc> GetAll(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc>
override this.GetAll : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.Models.ApplicableMacc>
Public Overridable Function GetAll (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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