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