public interface Costs
Modifier and Type | Method and Description |
---|---|
LabCost.DefinitionStages.Blank |
define(String name)
Begins definition for a new LabCost resource.
|
LabCost |
get(String resourceGroupName,
String labName,
String name)
Get cost.
|
LabCost |
getById(String id)
Get cost.
|
com.azure.core.http.rest.Response<LabCost> |
getByIdWithResponse(String id,
String expand,
com.azure.core.util.Context context)
Get cost.
|
com.azure.core.http.rest.Response<LabCost> |
getWithResponse(String resourceGroupName,
String labName,
String name,
String expand,
com.azure.core.util.Context context)
Get cost.
|
LabCost 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<LabCost> 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.LabCost getById(String id)
id
- the resource ID.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<LabCost> getByIdWithResponse(String id, String expand, com.azure.core.util.Context context)
id
- the resource ID.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.LabCost.DefinitionStages.Blank define(String name)
name
- resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.