Interface AssociateTrafficFilters


public interface AssociateTrafficFilters
Resource collection API of AssociateTrafficFilters.
  • 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.
  • Method Details

    • 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.