Partager via


SavingsPlanOrder interface

Interface representing a SavingsPlanOrder.

Methods

elevate(string, SavingsPlanOrderElevateOptionalParams)

Elevate as owner on savings plan order based on billing permissions.

get(string, SavingsPlanOrderGetOptionalParams)

Get a savings plan order.

list(SavingsPlanOrderListOptionalParams)

List all Savings plan orders.

Method Details

elevate(string, SavingsPlanOrderElevateOptionalParams)

Elevate as owner on savings plan order based on billing permissions.

function elevate(savingsPlanOrderId: string, options?: SavingsPlanOrderElevateOptionalParams): Promise<RoleAssignmentEntity>

Parameters

savingsPlanOrderId

string

Order ID of the savings plan

options
SavingsPlanOrderElevateOptionalParams

The options parameters.

Returns

get(string, SavingsPlanOrderGetOptionalParams)

Get a savings plan order.

function get(savingsPlanOrderId: string, options?: SavingsPlanOrderGetOptionalParams): Promise<SavingsPlanOrderModel>

Parameters

savingsPlanOrderId

string

Order ID of the savings plan

options
SavingsPlanOrderGetOptionalParams

The options parameters.

Returns

list(SavingsPlanOrderListOptionalParams)

List all Savings plan orders.

function list(options?: SavingsPlanOrderListOptionalParams): PagedAsyncIterableIterator<SavingsPlanOrderModel, SavingsPlanOrderModel[], PageSettings>

Parameters

options
SavingsPlanOrderListOptionalParams

The options parameters.

Returns