public interface CostsClient
Modifier and Type | Method and Description |
---|---|
LabCostInner |
createOrUpdate(String resourceGroupName,
String labName,
String name,
LabCostInner labCost)
Create or replace an existing cost.
|
com.azure.core.http.rest.Response<LabCostInner> |
createOrUpdateWithResponse(String resourceGroupName,
String labName,
String name,
LabCostInner labCost,
com.azure.core.util.Context context)
Create or replace an existing cost.
|
LabCostInner |
get(String resourceGroupName,
String labName,
String name)
Get cost.
|
com.azure.core.http.rest.Response<LabCostInner> |
getWithResponse(String resourceGroupName,
String labName,
String name,
String expand,
com.azure.core.util.Context context)
Get cost.
|
LabCostInner get(String resourceGroupName, String labName, String name)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the cost.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LabCostInner> getWithResponse(String resourceGroupName, String labName, String name, String expand, com.azure.core.util.Context context)
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.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.LabCostInner createOrUpdate(String resourceGroupName, String labName, String name, LabCostInner labCost)
resourceGroupName
- The name of the resource group.labName
- The name of the lab.name
- The name of the cost.labCost
- A cost item.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LabCostInner> createOrUpdateWithResponse(String resourceGroupName, String labName, String name, LabCostInner labCost, com.azure.core.util.Context context)
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.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.