Interface MonitorOperations


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

    Modifier and Type
    Method
    Description
    void
    upgrade(String resourceGroupName, String monitorName)
    Upgradable version for a monitor resource.
    void
    upgrade(String resourceGroupName, String monitorName, ElasticMonitorUpgrade body, com.azure.core.util.Context context)
    Upgradable version for a monitor resource.
  • Method Details

    • upgrade

      void upgrade(String resourceGroupName, String monitorName)
      Upgradable version for a monitor resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor 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.
    • upgrade

      void upgrade(String resourceGroupName, String monitorName, ElasticMonitorUpgrade body, com.azure.core.util.Context context)
      Upgradable version for a monitor resource.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor resource name.
      body - Elastic Monitor Upgrade Parameters.
      context - The context to associate with this 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.