VolumeFileManager

A VolumeFileManager instance maintains a connection to a specific Zilliz Cloud volume. Before uploading data files to a volume, you need to initiate a VolumeFileManager instance.

class pymilvus.bulk_writer.volume_file_manager import VolumeFileManager

A volume is an intermediate storage spot where you can hold your data for further processing, such as data merging, migration, or importing. For details, refer to Volume.

Constructor

This constructor initializes a new VolumeFileManager instance designed to maintain a connection to a specific Zilliz Cloud volume.

VolumeFileManager(
    cloud_endpoint: str,
    api_key: str,
    volume_name: str
)

PARAMETERS:

  • cloud_endpoint (str) -

    [REQUIRED]

    The Zilliz Cloud endpoint, which is https://api.cloud.zilliz.com.

  • api_key (str) -

    [REQUIRED]

    Your Zilliz Cloud API key with sufficient permissions to manage volumes on Zilliz Cloud’s Volume service. To obtain a Zilliz Cloud API key, follow the steps on API Keys.

  • volume_name (str) -

    [REQUIRED]

    The name of the target volume of this operation.

RETURN TYPE:

VolumeFileManager

RETURNS:

A VolumeFileManager instance.

Examples

from pymilvus.bulk_writer.volume_file_manager import VolumeFileManager

volume_file_manager = VolumeFileManager(
    cloud_endpoint="https://api.cloud.zilliz.com",
    api_key="YOUR_API_KEY",
    volume_name="my_volume"
)

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?