MaccCollection.GetAllAsync(CancellationToken) Method

Definition

List MACCs under a resource group for primary service admin.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BillingBenefits/maccs.
  • Operation Id. : Maccs_ListByResourceGroup.
  • Default Api Version. : 2025-12-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MaccResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to