MockableBillingBenefitsArmClient.GetApplicable Method

Definition

List applicable credits for the provided scope. Currently supported scopes: BillingAccountResourceId

  • Request Path. : /{scope}/providers/Microsoft.BillingBenefits/applicableCredits.
  • Operation Id. : CreditsOperationGroup_ListApplicable.
  • Default Api Version. : 2025-12-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.BillingBenefits.CreditResource> GetApplicable(Azure.Core.ResourceIdentifier scope, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApplicable : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.CreditResource>
override this.GetApplicable : Azure.Core.ResourceIdentifier * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.BillingBenefits.CreditResource>
Public Overridable Function GetApplicable (scope As ResourceIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CreditResource)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

scope is null.

Applies to