Interface AssociateTrafficFiltersClient


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

    Modifier and Type
    Method
    Description
    void
    associate(String resourceGroupName, String monitorName)
    Associate traffic filter for the given deployment.
    void
    associate(String resourceGroupName, String monitorName, String rulesetId, com.azure.core.util.Context context)
    Associate traffic filter for the given deployment.
    com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
    beginAssociate(String resourceGroupName, String monitorName)
    Associate traffic filter for the given deployment.
    com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
    beginAssociate(String resourceGroupName, String monitorName, String rulesetId, com.azure.core.util.Context context)
    Associate traffic filter for the given deployment.
  • Method Details

    • beginAssociate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAssociate(String resourceGroupName, String monitorName)
      Associate traffic filter for the given deployment.
      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.
    • beginAssociate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAssociate(String resourceGroupName, String monitorName, String rulesetId, com.azure.core.util.Context context)
      Associate traffic filter for the given deployment.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor resource name.
      rulesetId - Ruleset Id of the filter.
      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.
    • associate

      void associate(String resourceGroupName, String monitorName)
      Associate traffic filter for the given deployment.
      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.
    • associate

      void associate(String resourceGroupName, String monitorName, String rulesetId, com.azure.core.util.Context context)
      Associate traffic filter for the given deployment.
      Parameters:
      resourceGroupName - The name of the resource group to which the Elastic resource belongs.
      monitorName - Monitor resource name.
      rulesetId - Ruleset Id of the filter.
      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.