Compartir a través de


Costs interface

Interface representing a Costs.

Methods

createOrUpdate(string, string, string, LabCost, CostsCreateOrUpdateOptionalParams)

Create or replace an existing cost.

get(string, string, string, CostsGetOptionalParams)

Get cost.

Method Details

createOrUpdate(string, string, string, LabCost, CostsCreateOrUpdateOptionalParams)

Create or replace an existing cost.

function createOrUpdate(resourceGroupName: string, labName: string, name: string, labCost: LabCost, options?: CostsCreateOrUpdateOptionalParams): Promise<LabCost>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

name

string

The name of the cost.

labCost
LabCost

A cost item.

options
CostsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<LabCost>

get(string, string, string, CostsGetOptionalParams)

Get cost.

function get(resourceGroupName: string, labName: string, name: string, options?: CostsGetOptionalParams): Promise<LabCost>

Parameters

resourceGroupName

string

The name of the resource group.

labName

string

The name of the lab.

name

string

The name of the cost.

options
CostsGetOptionalParams

The options parameters.

Returns

Promise<LabCost>