Interface SummaryLogsOperationsClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<SummaryLogsInner> getWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Gets Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      context - The context to associate with this operation.
      Returns:
      log Analytics workspace Summary rules 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.
    • get

      SummaryLogsInner get(String resourceGroupName, String workspaceName, String summaryLogsName)
      Gets Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      Returns:
      log Analytics workspace Summary rules.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters)
      Creates or updates Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to update summary rules properties.
      Returns:
      the SyncPoller for polling of workspace data summary rules definition.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SummaryLogsInner>, SummaryLogsInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context)
      Creates or updates Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to update summary rules properties.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of workspace data summary rules definition.
      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.
    • createOrUpdate

      SummaryLogsInner createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters)
      Creates or updates Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to update summary rules properties.
      Returns:
      workspace data summary rules definition.
      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.
    • createOrUpdate

      SummaryLogsInner createOrUpdate(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsInner parameters, com.azure.core.util.Context context)
      Creates or updates Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to update summary rules properties.
      context - The context to associate with this operation.
      Returns:
      workspace data summary rules definition.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String workspaceName, String summaryLogsName)
      Deletes Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Deletes Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String summaryLogsName)
      Deletes Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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

      void delete(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Deletes Log Analytics workspace Summary rules.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName)
      Gets all summary rules for the specified Log Analytics workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      all summary rules for the specified Log Analytics workspace 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.
    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<SummaryLogsInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Gets all summary rules for the specified Log Analytics workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      context - The context to associate with this operation.
      Returns:
      all summary rules for the specified Log Analytics workspace 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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStart(String resourceGroupName, String workspaceName, String summaryLogsName)
      Starts an inactive Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginStart(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Starts an inactive Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • start

      void start(String resourceGroupName, String workspaceName, String summaryLogsName)
      Starts an inactive Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • start

      void start(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Starts an inactive Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • stopWithResponse

      com.azure.core.http.rest.Response<Void> stopWithResponse(String resourceGroupName, String workspaceName, String summaryLogsName, com.azure.core.util.Context context)
      Stops an active Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • stop

      void stop(String resourceGroupName, String workspaceName, String summaryLogsName)
      Stops an active Summary rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      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.
    • beginRetryBin

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters)
      Retries a failed Summary rule bin.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to retry a Summary rule bin.
      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.
    • beginRetryBin

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginRetryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context)
      Retries a failed Summary rule bin.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to retry a Summary rule bin.
      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.
    • retryBin

      void retryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters)
      Retries a failed Summary rule bin.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to retry a Summary rule bin.
      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.
    • retryBin

      void retryBin(String resourceGroupName, String workspaceName, String summaryLogsName, SummaryLogsRetryBin parameters, com.azure.core.util.Context context)
      Retries a failed Summary rule bin.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      summaryLogsName - The name of the summary logs. Must not contain '/'.
      parameters - The parameters required to retry a Summary rule bin.
      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.