SavingsPlanOrdersClient Interface

public interface SavingsPlanOrdersClient

An instance of this class provides access to all the operations defined in SavingsPlanOrdersClient.

Method Details

getByBillingAccount

public abstract SavingsPlanOrderModelInner getByBillingAccount(String billingAccountName, String savingsPlanOrderId)

Get a savings plan order by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.

Returns:

a savings plan order by billing account.

getByBillingAccountWithResponse

public abstract Response<SavingsPlanOrderModelInner> getByBillingAccountWithResponse(String billingAccountName, String savingsPlanOrderId, String expand, Context context)

Get a savings plan order by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
expand - May be used to expand the planInformation.
context - The context to associate with this operation.

Returns:

a savings plan order by billing account along with Response<T>.

listByBillingAccount

public abstract PagedIterable<SavingsPlanOrderModelInner> listByBillingAccount(String billingAccountName)

List all Savings plan orders by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

list of savings plan orders as paginated response with PagedIterable<T>.

listByBillingAccount

public abstract PagedIterable<SavingsPlanOrderModelInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Float skiptoken, Context context)

List all Savings plan orders by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
filter - The filter query option allows clients to filter a collection of resources that are addressed by a request URL.
orderBy - The orderby query option allows clients to request resources in a particular order.
skiptoken - The number of savings plans to skip from the list before returning results.
context - The context to associate with this operation.

Returns:

list of savings plan orders as paginated response with PagedIterable<T>.

Applies to