SavingsPlanOrderAlias interface

Interface representing a SavingsPlanOrderAlias.

Methods

beginCreate(string, SavingsPlanOrderAliasModel, SavingsPlanOrderAliasCreateOptionalParams)

Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851

beginCreateAndWait(string, SavingsPlanOrderAliasModel, SavingsPlanOrderAliasCreateOptionalParams)

Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851

get(string, SavingsPlanOrderAliasGetOptionalParams)

Get a savings plan.

Method Details

beginCreate(string, SavingsPlanOrderAliasModel, SavingsPlanOrderAliasCreateOptionalParams)

Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851

function beginCreate(savingsPlanOrderAliasName: string, body: SavingsPlanOrderAliasModel, options?: SavingsPlanOrderAliasCreateOptionalParams): Promise<PollerLike<PollOperationState<SavingsPlanOrderAliasModel>, SavingsPlanOrderAliasModel>>

Parameters

savingsPlanOrderAliasName

string

Name of the savings plan order alias

body
SavingsPlanOrderAliasModel

Request body for creating a savings plan order alias

options
SavingsPlanOrderAliasCreateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<SavingsPlanOrderAliasModel>, SavingsPlanOrderAliasModel>>

beginCreateAndWait(string, SavingsPlanOrderAliasModel, SavingsPlanOrderAliasCreateOptionalParams)

Create a savings plan. Learn more about permissions needed at https://go.microsoft.com/fwlink/?linkid=2215851

function beginCreateAndWait(savingsPlanOrderAliasName: string, body: SavingsPlanOrderAliasModel, options?: SavingsPlanOrderAliasCreateOptionalParams): Promise<SavingsPlanOrderAliasModel>

Parameters

savingsPlanOrderAliasName

string

Name of the savings plan order alias

body
SavingsPlanOrderAliasModel

Request body for creating a savings plan order alias

options
SavingsPlanOrderAliasCreateOptionalParams

The options parameters.

Returns

get(string, SavingsPlanOrderAliasGetOptionalParams)

Get a savings plan.

function get(savingsPlanOrderAliasName: string, options?: SavingsPlanOrderAliasGetOptionalParams): Promise<SavingsPlanOrderAliasModel>

Parameters

savingsPlanOrderAliasName

string

Name of the savings plan order alias

options
SavingsPlanOrderAliasGetOptionalParams

The options parameters.

Returns