SavingsPlanOperations interface

Interface representing a SavingsPlan operations.

Properties

beginUpdate
beginUpdateAndWait
get

Get savings plan.

list

List savings plans in an order.

listAll

List savings plans.

update

Update savings plan.

validateUpdate

Validate savings plan patch.

Property Details

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

get

Get savings plan.

get: (savingsPlanOrderId: string, savingsPlanId: string, options?: SavingsPlanGetOptionalParams) => Promise<SavingsPlanModel>

Property Value

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

list

List savings plans in an order.

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

Property Value

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

listAll

List savings plans.

listAll: (options?: SavingsPlanListAllOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

Property Value

(options?: SavingsPlanListAllOptionalParams) => PagedAsyncIterableIterator<SavingsPlanModel, SavingsPlanModel[], PageSettings>

update

Update savings plan.

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

Property Value

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

validateUpdate

Validate savings plan patch.

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

Property Value

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