Interface Gateways


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

    Modifier and Type
    Method
    Description
    void
    delete(String resourceGroupName, String workspaceName, String gatewayId)
    Delete a Log Analytics gateway.
    com.azure.core.http.rest.Response<Void>
    deleteWithResponse(String resourceGroupName, String workspaceName, String gatewayId, com.azure.core.util.Context context)
    Delete a Log Analytics gateway.
  • Method Details

    • delete

      void delete(String resourceGroupName, String workspaceName, String gatewayId)
      Delete a Log Analytics gateway.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      gatewayId - The Log Analytics gateway Id.
      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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String gatewayId, com.azure.core.util.Context context)
      Delete a Log Analytics gateway.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      gatewayId - The Log Analytics gateway Id.
      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.