CostsClient Interface

public interface CostsClient

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

Method Details

createOrUpdate

public abstract LabCostInner createOrUpdate(String resourceGroupName, String labName, String name, LabCostInner labCost)

Create or replace an existing cost.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the cost.
labCost - A cost item.

Returns:

a cost item.

createOrUpdateWithResponse

public abstract Response<LabCostInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, LabCostInner labCost, Context context)

Create or replace an existing cost.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the cost.
labCost - A cost item.
context - The context to associate with this operation.

Returns:

a cost item along with Response<T>.

get

public abstract LabCostInner get(String resourceGroupName, String labName, String name)

Get cost.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the cost.

Returns:

cost.

getWithResponse

public abstract Response<LabCostInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, Context context)

Get cost.

Parameters:

resourceGroupName - The name of the resource group.
labName - The name of the lab.
name - The name of the cost.
expand - Specify the $expand query. Example: 'properties($expand=labCostDetails)'.
context - The context to associate with this operation.

Returns:

cost along with Response<T>.

Applies to