BillingBenefitsRP class

Extends

Constructors

BillingBenefitsRP(TokenCredential, BillingBenefitsRPOptionalParams)

Initializes a new instance of the BillingBenefitsRP class.

Properties

$host
apiVersion
operations
reservationOrderAlias
savingsPlan
savingsPlanOrder
savingsPlanOrderAlias

Inherited Properties

pipeline

The pipeline used by this client to make requests

Methods

validatePurchase(SavingsPlanPurchaseValidateRequest, ValidatePurchaseOptionalParams)

Validate savings plan purchase.

Inherited Methods

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

sendRequest(PipelineRequest)

Send the provided httpRequest.

Constructor Details

BillingBenefitsRP(TokenCredential, BillingBenefitsRPOptionalParams)

Initializes a new instance of the BillingBenefitsRP class.

new BillingBenefitsRP(credentials: TokenCredential, options?: BillingBenefitsRPOptionalParams)

Parameters

credentials
TokenCredential

Subscription credentials which uniquely identify client subscription.

options
BillingBenefitsRPOptionalParams

The parameter options

Property Details

$host

$host: string

Property Value

string

apiVersion

apiVersion: string

Property Value

string

operations

operations: Operations

Property Value

reservationOrderAlias

reservationOrderAlias: ReservationOrderAlias

Property Value

savingsPlan

savingsPlan: SavingsPlan

Property Value

savingsPlanOrder

savingsPlanOrder: SavingsPlanOrder

Property Value

savingsPlanOrderAlias

savingsPlanOrderAlias: SavingsPlanOrderAlias

Property Value

Inherited Property Details

pipeline

The pipeline used by this client to make requests

pipeline: Pipeline

Property Value

Inherited From coreClient.ServiceClient.pipeline

Method Details

validatePurchase(SavingsPlanPurchaseValidateRequest, ValidatePurchaseOptionalParams)

Validate savings plan purchase.

function validatePurchase(body: SavingsPlanPurchaseValidateRequest, options?: ValidatePurchaseOptionalParams): Promise<SavingsPlanValidateResponse>

Parameters

body
SavingsPlanPurchaseValidateRequest

Request body for validating the purchase of a savings plan

options
ValidatePurchaseOptionalParams

The options parameters.

Returns

Inherited Method Details

sendOperationRequest<T>(OperationArguments, OperationSpec)

Send an HTTP request that is populated using the provided OperationSpec.

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

Parameters

operationArguments
OperationArguments

The arguments that the HTTP request's templated values will be populated from.

operationSpec
OperationSpec

The OperationSpec to use to populate the httpRequest.

Returns

Promise<T>

Inherited From coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

Send the provided httpRequest.

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

Parameters

request
PipelineRequest

Returns

Promise<PipelineResponse>

Inherited From coreClient.ServiceClient.sendRequest