BillingTrustRuleCollection.GetAll(CancellationToken) Method

Definition

List Rule resources by Assessment

  • Request Path. : /{resourceUri}/providers/Microsoft.BillingTrust/assessments/default/rules.
  • Operation Id. : Rules_List.
  • Default Api Version. : 2026-03-17-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Billing.Trust.BillingTrustRuleResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of BillingTrustRuleResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to