public interface SubscriptionUsagesClient
| Modifier and Type | Method and Description |
|---|---|
SubscriptionUsageInner |
get(String locationName,
String usageName)
Gets a subscription usage metric.
|
Mono<SubscriptionUsageInner> |
getAsync(String locationName,
String usageName)
Gets a subscription usage metric.
|
com.azure.core.http.rest.Response<SubscriptionUsageInner> |
getWithResponse(String locationName,
String usageName,
com.azure.core.util.Context context)
Gets a subscription usage metric.
|
Mono<com.azure.core.http.rest.Response<SubscriptionUsageInner>> |
getWithResponseAsync(String locationName,
String usageName)
Gets a subscription usage metric.
|
com.azure.core.http.rest.PagedIterable<SubscriptionUsageInner> |
listByLocation(String locationName)
Gets all subscription usage metrics in a given location.
|
com.azure.core.http.rest.PagedIterable<SubscriptionUsageInner> |
listByLocation(String locationName,
com.azure.core.util.Context context)
Gets all subscription usage metrics in a given location.
|
com.azure.core.http.rest.PagedFlux<SubscriptionUsageInner> |
listByLocationAsync(String locationName)
Gets all subscription usage metrics in a given location.
|
com.azure.core.http.rest.PagedFlux<SubscriptionUsageInner> listByLocationAsync(String locationName)
locationName - The name of the region where the resource is located.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.PagedIterable<SubscriptionUsageInner> listByLocation(String locationName)
locationName - The name of the region where the resource is located.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.PagedIterable<SubscriptionUsageInner> listByLocation(String locationName, com.azure.core.util.Context context)
locationName - The name of the region where the resource is located.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.Mono<com.azure.core.http.rest.Response<SubscriptionUsageInner>> getWithResponseAsync(String locationName, String usageName)
locationName - The name of the region where the resource is located.usageName - Name of usage metric to return.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.Mono<SubscriptionUsageInner> getAsync(String locationName, String usageName)
locationName - The name of the region where the resource is located.usageName - Name of usage metric to return.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.SubscriptionUsageInner get(String locationName, String usageName)
locationName - The name of the region where the resource is located.usageName - Name of usage metric to return.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<SubscriptionUsageInner> getWithResponse(String locationName, String usageName, com.azure.core.util.Context context)
locationName - The name of the region where the resource is located.usageName - Name of usage metric to return.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 © 2020 Microsoft Corporation. All rights reserved.