Costs interface
Interface representing a Costs.
Methods
create |
Create or replace an existing cost. |
get(string, string, string, Costs |
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.
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>