Interface Monitors


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

    Modifier and Type
    Method
    Description
    define(String name)
    Begins definition for a new Monitor resource.
    delete(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
    Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
    Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
    deleteByIdWithResponse(String id, com.azure.core.util.Context context)
    Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
    deleteByResourceGroup(String resourceGroupName, String monitorName)
    Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
    Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
    com.azure.core.http.rest.Response<Monitor>
    getByIdWithResponse(String id, com.azure.core.util.Context context)
    Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
    getByResourceGroup(String resourceGroupName, String monitorName)
    Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
    com.azure.core.http.rest.Response<Monitor>
    getByResourceGroupWithResponse(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
    Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
    com.azure.core.http.rest.PagedIterable<Monitor>
    Gets a list of SAP monitors in the specified subscription.
    com.azure.core.http.rest.PagedIterable<Monitor>
    list(com.azure.core.util.Context context)
    Gets a list of SAP monitors in the specified subscription.
    com.azure.core.http.rest.PagedIterable<Monitor>
    listByResourceGroup(String resourceGroupName)
    Gets a list of SAP monitors in the specified resource group.
    com.azure.core.http.rest.PagedIterable<Monitor>
    listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
    Gets a list of SAP monitors in the specified resource group.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Monitor> list()
      Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.
      Returns:
      a list of SAP monitors in the specified subscription as paginated response with PagedIterable.
      Throws:
      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<Monitor> list(com.azure.core.util.Context context)
      Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of SAP monitors in the specified subscription 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<Monitor> listByResourceGroup(String resourceGroupName)
      Gets a list of SAP monitors in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a list of SAP monitors in the specified resource group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<Monitor> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets a list of SAP monitors in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a list of SAP monitors in the specified resource group 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.
    • getByResourceGroup

      Monitor getByResourceGroup(String resourceGroupName, String monitorName)
      Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      Returns:
      properties of a SAP monitor for the specified subscription, resource group, and resource name.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<Monitor> getByResourceGroupWithResponse(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
      Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      context - The context to associate with this operation.
      Returns:
      properties of a SAP monitor for the specified subscription, resource group, and resource name along with Response.
      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.
    • deleteByResourceGroup

      OperationStatusResult deleteByResourceGroup(String resourceGroupName, String monitorName)
      Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      Returns:
      the current status of an async operation.
      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.
    • delete

      OperationStatusResult delete(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
      Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation.
      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.
    • getById

      Monitor getById(String id)
      Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
      Parameters:
      id - the resource ID.
      Returns:
      properties of a SAP monitor for the specified subscription, resource group, and resource name along with Response.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Monitor> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      properties of a SAP monitor for the specified subscription, resource group, and resource name along with Response.
      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.
    • deleteById

      OperationStatusResult deleteById(String id)
      Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
      Parameters:
      id - the resource ID.
      Returns:
      the current status of an async operation.
      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.
    • deleteByIdWithResponse

      OperationStatusResult deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      the current status of an async operation.
      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.
    • define

      Begins definition for a new Monitor resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Monitor definition.