다음을 통해 공유


BillingBenefitsExtensions.GetBillingBenefitsSavingsPlans Method

Definition

List savings plans.

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

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

Exceptions

tenantResource is null.

Applies to