Interface MonitorOperationsClient


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

    Modifier and Type
    Method
    Description
    com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
    beginUpgrade(String resourceGroupName, String monitorName)
    Upgradable version for a monitor resource.
    com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
    beginUpgrade(String resourceGroupName, String monitorName, ElasticMonitorUpgrade body, com.azure.core.util.Context context)
    Upgradable version for a monitor resource.
    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

    • beginUpgrade

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgrade(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.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginUpgrade

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgrade(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.
      Returns:
      the SyncPoller for polling of long-running 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.
    • 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.