BillingBenefitsExtensions.GetBillingBenefitsSavingsPlansAsync 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 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.
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
Azure SDK for .NET