Interface BillingMetersClient
public interface BillingMetersClient
An instance of this class provides access to all the operations defined in BillingMetersClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet billing meters by location.com.azure.core.http.rest.Response<BillingMeterCollectionInner>
getWithResponse
(String location, com.azure.core.util.Context context) Get billing meters by location.
-
Method Details
-
getWithResponse
com.azure.core.http.rest.Response<BillingMeterCollectionInner> getWithResponse(String location, com.azure.core.util.Context context) Get billing meters by location.Get all billingMeters for a location.
- Parameters:
location
- The name of Azure region.context
- The context to associate with this operation.- Returns:
- all billingMeters for a location along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get billing meters by location.Get all billingMeters for a location.
- Parameters:
location
- The name of Azure region.- Returns:
- all billingMeters for a location.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.DefaultErrorResponseErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-