VolumeManager

A VolumeManager instance maintains a connection to Zilliz Cloud’s Volume service. Before creating, listing, or deleting volumes, you need to initiate a VolumeManager instance.

class pymilvus.bulk_writer.volume_manager import VolumeManager

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 VolumeManager instance designed to maintain a connection to Zilliz Cloud’s Volume service.

VolumeManager(
    cloud_endpoint: str,
    api_key: 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.

RETURN TYPE:

VolumeManager

RETURNS:

A VolumeManager instance.

Examples

from pymilvus.bulk_writer.volume_manager import VolumeManager

volume_manager = VolumeManager(
    cloud_endpoint="https://api.cloud.zilliz.com",
    api_key="YOUR_API_KEY"
)

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?