Interface MonitoredResources


public interface MonitoredResources
Resource collection API of MonitoredResources.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<MonitoredResource>
    list(String resourceGroupName, String monitorName)
    List the resources currently being monitored by the Elastic monitor resource.
    com.azure.core.http.rest.PagedIterable<MonitoredResource>
    list(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
    List the resources currently being monitored by the Elastic monitor resource.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<MonitoredResource> list(String resourceGroupName, String monitorName)
      List the resources currently being monitored by the Elastic monitor resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor resource name.
      Returns:
      response of a list operation 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<MonitoredResource> list(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
      List the resources currently being monitored by the Elastic monitor resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor resource name.
      context - The context to associate with this operation.
      Returns:
      response of a list operation 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.