Interface FileImportsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<FileImportInner> list(String resourceGroupName, String workspaceName)
      Gets all file imports.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      all file imports 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.
    • list

      com.azure.core.http.rest.PagedIterable<FileImportInner> list(String resourceGroupName, String workspaceName, String filter, String orderby, Integer top, String skipToken, com.azure.core.util.Context context)
      Gets all file imports.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      filter - Filters the results, based on a Boolean condition. Optional.
      orderby - Sorts the results. Optional.
      top - Returns only the first n results. Optional.
      skipToken - Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.
      context - The context to associate with this operation.
      Returns:
      all file imports 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.
    • get

      FileImportInner get(String resourceGroupName, String workspaceName, String fileImportId)
      Gets a file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      Returns:
      a file import.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<FileImportInner> getWithResponse(String resourceGroupName, String workspaceName, String fileImportId, com.azure.core.util.Context context)
      Gets a file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      context - The context to associate with this operation.
      Returns:
      a file import 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.
    • create

      FileImportInner create(String resourceGroupName, String workspaceName, String fileImportId, FileImportInner fileImport)
      Creates the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      fileImport - The file import.
      Returns:
      represents a file import in Azure Security Insights.
      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.
    • createWithResponse

      com.azure.core.http.rest.Response<FileImportInner> createWithResponse(String resourceGroupName, String workspaceName, String fileImportId, FileImportInner fileImport, com.azure.core.util.Context context)
      Creates the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      fileImport - The file import.
      context - The context to associate with this operation.
      Returns:
      represents a file import in Azure Security Insights 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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FileImportInner>,FileImportInner> beginDelete(String resourceGroupName, String workspaceName, String fileImportId)
      Delete the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      Returns:
      the SyncPoller for polling of represents a file import in Azure Security Insights.
      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<FileImportInner>,FileImportInner> beginDelete(String resourceGroupName, String workspaceName, String fileImportId, com.azure.core.util.Context context)
      Delete the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of represents a file import in Azure Security Insights.
      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

      FileImportInner delete(String resourceGroupName, String workspaceName, String fileImportId)
      Delete the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      Returns:
      represents a file import in Azure Security Insights.
      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

      FileImportInner delete(String resourceGroupName, String workspaceName, String fileImportId, com.azure.core.util.Context context)
      Delete the file import.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      fileImportId - File import ID.
      context - The context to associate with this operation.
      Returns:
      represents a file import in Azure Security Insights.
      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.