abort_import()

Aborts a bulk-import job.

pub async fn abort_import(&self, request: DescribeImportRequest) -> Result<BulkImportResponse>

Request Syntax

let request = DescribeImportRequest::builder()
    .job_id("job-1")
    .build()?;

REQUEST FIELDS:

  • database_name: String

    Name of the database that holds the collection.

  • job_id: String

    ID of the import job to abort. Required.

  • cluster_id: String

    Zilliz Cloud only. Cluster ID of the target deployment. Cannot be combined with project_id and region_id.

  • project_id: String

    Zilliz Cloud only. Project ID of the target deployment. Must be specified together with region_id.

  • region_id: String

    Zilliz Cloud only. Region ID of the target deployment. Must be specified together with project_id.

RETURN TYPE:

Result

RETURNS:

A BulkImportResponse object containing the bulk-import endpoint response. Returns an Error if the operation fails. See BulkImportResponse for its methods.

Example

let request = DescribeImportRequest::builder()
    .job_id("job-1")
    .build()?;
let resp = bulk.abort_import(request).await?;

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?