public interface MetricDefinitionsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
list(String resourceUri)
Lists the metric definitions for the resource.
|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
list(String resourceUri,
String metricnamespace,
com.azure.core.util.Context context)
Lists the metric definitions for the resource.
|
com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> |
listAsync(String resourceUri)
Lists the metric definitions for the resource.
|
com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> |
listAsync(String resourceUri,
String metricnamespace)
Lists the metric definitions for the resource.
|
com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> listAsync(String resourceUri, String metricnamespace)
resourceUri - The identifier of the resource.metricnamespace - Metric namespace to query metric definitions for.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.PagedFlux<MetricDefinitionInner> listAsync(String resourceUri)
resourceUri - The identifier of the resource.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<MetricDefinitionInner> list(String resourceUri, String metricnamespace, com.azure.core.util.Context context)
resourceUri - The identifier of the resource.metricnamespace - Metric namespace to query metric definitions for.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.com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> list(String resourceUri)
resourceUri - The identifier of the resource.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.