SavingsPlansClient Interface

public interface SavingsPlansClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SavingsPlanModelInner>,SavingsPlanModelInner> beginUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body)

Update savings plan by billing account.

abstract SyncPoller<PollResult<SavingsPlanModelInner>,SavingsPlanModelInner> beginUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body, Context context)

Update savings plan by billing account.

abstract SavingsPlanModelInner getByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId)

Get savings plan by billing account.

abstract Response<SavingsPlanModelInner> getByBillingAccountWithResponse(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, String expand, Context context)

Get savings plan by billing account.

abstract PagedIterable<SavingsPlanModelInner> listByBillingAccount(String billingAccountName)

List savings plans by billing account.

abstract PagedIterable<SavingsPlanModelInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Float skiptoken, Float take, String selectedState, String refreshSummary, Context context)

List savings plans by billing account.

abstract PagedIterable<SavingsPlanModelInner> listBySavingsPlanOrder(String billingAccountName, String savingsPlanOrderId)

List savings plans in an order by billing account.

abstract PagedIterable<SavingsPlanModelInner> listBySavingsPlanOrder(String billingAccountName, String savingsPlanOrderId, Context context)

List savings plans in an order by billing account.

abstract SavingsPlanModelInner updateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body)

Update savings plan by billing account.

abstract SavingsPlanModelInner updateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body, Context context)

Update savings plan by billing account.

abstract SavingsPlanValidateResponseInner validateUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateValidateRequest body)

Validate savings plan patch by billing account.

abstract Response<SavingsPlanValidateResponseInner> validateUpdateByBillingAccountWithResponse(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateValidateRequest body, Context context)

Validate savings plan patch by billing account.

Method Details

beginUpdateByBillingAccount

public abstract SyncPoller<PollResult<SavingsPlanModelInner>,SavingsPlanModelInner> beginUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body)

Update savings plan by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.

Returns:

the SyncPoller<T,U> for polling of savings plan.

beginUpdateByBillingAccount

public abstract SyncPoller<PollResult<SavingsPlanModelInner>,SavingsPlanModelInner> beginUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body, Context context)

Update savings plan by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of savings plan.

getByBillingAccount

public abstract SavingsPlanModelInner getByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId)

Get savings plan by billing account.

Parameters:

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

Returns:

savings plan by billing account.

getByBillingAccountWithResponse

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

Get savings plan by billing account.

Parameters:

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

Returns:

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

listByBillingAccount

public abstract PagedIterable<SavingsPlanModelInner> listByBillingAccount(String billingAccountName)

List savings plans by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.

Returns:

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

listByBillingAccount

public abstract PagedIterable<SavingsPlanModelInner> listByBillingAccount(String billingAccountName, String filter, String orderBy, Float skiptoken, Float take, String selectedState, String refreshSummary, Context context)

List savings plans 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.
take - The number of savings plans to return.
selectedState - The selected provisioning state.
refreshSummary - To indicate whether to refresh the roll up counts of the savings plans group by provisioning states.
context - The context to associate with this operation.

Returns:

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

listBySavingsPlanOrder

public abstract PagedIterable<SavingsPlanModelInner> listBySavingsPlanOrder(String billingAccountName, String savingsPlanOrderId)

List savings plans in an order by billing account.

Parameters:

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

Returns:

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

listBySavingsPlanOrder

public abstract PagedIterable<SavingsPlanModelInner> listBySavingsPlanOrder(String billingAccountName, String savingsPlanOrderId, Context context)

List savings plans in an order by billing account.

Parameters:

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

Returns:

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

updateByBillingAccount

public abstract SavingsPlanModelInner updateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body)

Update savings plan by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.

Returns:

savings plan.

updateByBillingAccount

public abstract SavingsPlanModelInner updateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateRequest body, Context context)

Update savings plan by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.
context - The context to associate with this operation.

Returns:

savings plan.

validateUpdateByBillingAccount

public abstract SavingsPlanValidateResponseInner validateUpdateByBillingAccount(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateValidateRequest body)

Validate savings plan patch by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.

Returns:

savings plan update validate response.

validateUpdateByBillingAccountWithResponse

public abstract Response<SavingsPlanValidateResponseInner> validateUpdateByBillingAccountWithResponse(String billingAccountName, String savingsPlanOrderId, String savingsPlanId, SavingsPlanUpdateValidateRequest body, Context context)

Validate savings plan patch by billing account.

Parameters:

billingAccountName - The ID that uniquely identifies a billing account.
savingsPlanOrderId - Order ID of the savings plan.
savingsPlanId - ID of the savings plan.
body - Request body for patching a savings plan order alias.
context - The context to associate with this operation.

Returns:

savings plan update validate response along with Response<T>.

Applies to