共用方式為


BillingBenefitsExtensions.GetBillingBenefitsSavingsPlansAsync Method

Definition

List savings plans.

  • Request Path: /providers/Microsoft.BillingBenefits/savingsPlans
  • Operation Id: SavingsPlan_ListAll
public static Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource> GetBillingBenefitsSavingsPlansAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.BillingBenefits.Models.TenantResourceGetBillingBenefitsSavingsPlansOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetBillingBenefitsSavingsPlansAsync : Azure.ResourceManager.Resources.TenantResource * Azure.ResourceManager.BillingBenefits.Models.TenantResourceGetBillingBenefitsSavingsPlansOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.BillingBenefits.BillingBenefitsSavingsPlanResource>
<Extension()>
Public Function GetBillingBenefitsSavingsPlansAsync (tenantResource As TenantResource, options As TenantResourceGetBillingBenefitsSavingsPlansOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BillingBenefitsSavingsPlanResource)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

options
TenantResourceGetBillingBenefitsSavingsPlansOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of BillingBenefitsSavingsPlanResource that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to