SavingsPlansOperations interface

Interface representing a SavingsPlans operations.

Properties

beginUpdateByBillingAccount
beginUpdateByBillingAccountAndWait
getByBillingAccount

Get savings plan by billing account.

listByBillingAccount

List savings plans by billing account.

listBySavingsPlanOrder

List savings plans in an order by billing account.

updateByBillingAccount

Update savings plan by billing account.

validateUpdateByBillingAccount

Validate savings plan patch by billing account.

Property Details

beginUpdateByBillingAccount

Warning

This API is now deprecated.

use updateByBillingAccount instead

beginUpdateByBillingAccount: (billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<SavingsPlanModel>, SavingsPlanModel>>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => Promise<SimplePollerLike<OperationState<SavingsPlanModel>, SavingsPlanModel>>

beginUpdateByBillingAccountAndWait

Warning

This API is now deprecated.

use updateByBillingAccount instead

beginUpdateByBillingAccountAndWait: (billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => Promise<SavingsPlanModel>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => Promise<SavingsPlanModel>

getByBillingAccount

Get savings plan by billing account.

getByBillingAccount: (billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, options?: SavingsPlansGetByBillingAccountOptionalParams) => Promise<SavingsPlanModel>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, options?: SavingsPlansGetByBillingAccountOptionalParams) => Promise<SavingsPlanModel>

listByBillingAccount

List savings plans by billing account.

listByBillingAccount: (billingAccountName: string, options?: SavingsPlansListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

Property Value

(billingAccountName: string, options?: SavingsPlansListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

listBySavingsPlanOrder

List savings plans in an order by billing account.

listBySavingsPlanOrder: (billingAccountName: string, savingsPlanOrderId: string, options?: SavingsPlansListBySavingsPlanOrderOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, options?: SavingsPlansListBySavingsPlanOrderOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

updateByBillingAccount

Update savings plan by billing account.

updateByBillingAccount: (billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => PollerLike<OperationState<SavingsPlanModel>, SavingsPlanModel>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateRequest, options?: SavingsPlansUpdateByBillingAccountOptionalParams) => PollerLike<OperationState<SavingsPlanModel>, SavingsPlanModel>

validateUpdateByBillingAccount

Validate savings plan patch by billing account.

validateUpdateByBillingAccount: (billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateValidateRequest, options?: SavingsPlansValidateUpdateByBillingAccountOptionalParams) => Promise<SavingsPlanValidateResponse>

Property Value

(billingAccountName: string, savingsPlanOrderId: string, savingsPlanId: string, body: SavingsPlanUpdateValidateRequest, options?: SavingsPlansValidateUpdateByBillingAccountOptionalParams) => Promise<SavingsPlanValidateResponse>