MockableBillingBenefitsSubscriptionResource.GetMaccsAsync 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.
List MACCs under a subscription from primary service tenant.
- Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.BillingBenefits/maccs.
- Operation Id. : Maccs_ListBySubscription.
- Default Api Version. : 2025-12-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource> GetMaccsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetMaccsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource>
override this.GetMaccsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.MaccResource>
Public Overridable Function GetMaccsAsync (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.