Interface MetricNamespacesClient


public interface MetricNamespacesClient
An instance of this class provides access to all the operations defined in MetricNamespacesClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<MetricNamespaceInner> listAsync(String resourceUri, String startTime)
      Lists the metric namespaces for the resource.
      Parameters:
      resourceUri - The identifier of the resource.
      startTime - The ISO 8601 conform Date start time from which to query for metric namespaces.
      Returns:
      represents collection of metric namespaces as paginated response with PagedFlux.
      Throws:
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<MetricNamespaceInner> listAsync(String resourceUri)
      Lists the metric namespaces for the resource.
      Parameters:
      resourceUri - The identifier of the resource.
      Returns:
      represents collection of metric namespaces as paginated response with PagedFlux.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<MetricNamespaceInner> list(String resourceUri)
      Lists the metric namespaces for the resource.
      Parameters:
      resourceUri - The identifier of the resource.
      Returns:
      represents collection of metric namespaces as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<MetricNamespaceInner> list(String resourceUri, String startTime, com.azure.core.util.Context context)
      Lists the metric namespaces for the resource.
      Parameters:
      resourceUri - The identifier of the resource.
      startTime - The ISO 8601 conform Date start time from which to query for metric namespaces.
      context - The context to associate with this operation.
      Returns:
      represents collection of metric namespaces as paginated response with PagedIterable.
      Throws:
      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.