Interface DataExportsClient


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

    • listByWorkspace

      com.azure.core.http.rest.PagedIterable<DataExportInner> listByWorkspace(String resourceGroupName, String workspaceName)
      Lists the data export instances within a workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      Returns:
      result of the request to list data exports 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<DataExportInner> listByWorkspace(String resourceGroupName, String workspaceName, com.azure.core.util.Context context)
      Lists the data export instances within a 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:
      result of the request to list data exports 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.
    • createOrUpdate

      DataExportInner createOrUpdate(String resourceGroupName, String workspaceName, String dataExportName, DataExportInner parameters)
      Create or update a data export.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule name.
      parameters - The parameters required to create or update a data export.
      Returns:
      the top level data export resource container.
      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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<DataExportInner> createOrUpdateWithResponse(String resourceGroupName, String workspaceName, String dataExportName, DataExportInner parameters, com.azure.core.util.Context context)
      Create or update a data export.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule name.
      parameters - The parameters required to create or update a data export.
      context - The context to associate with this operation.
      Returns:
      the top level data export resource container 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

      DataExportInner get(String resourceGroupName, String workspaceName, String dataExportName)
      Gets a data export instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule name.
      Returns:
      a data export instance.
      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<DataExportInner> getWithResponse(String resourceGroupName, String workspaceName, String dataExportName, com.azure.core.util.Context context)
      Gets a data export instance.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule name.
      context - The context to associate with this operation.
      Returns:
      a data export instance 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.
    • delete

      void delete(String resourceGroupName, String workspaceName, String dataExportName)
      Deletes the specified data export in a given workspace..
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule 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.
    • deleteWithResponse

      com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String workspaceName, String dataExportName, com.azure.core.util.Context context)
      Deletes the specified data export in a given workspace..
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - The name of the workspace.
      dataExportName - The data export rule name.
      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.