🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

Milvus
Zilliz
< Docs
  • Java

dropResourceGroup()

This operation drops a resource group.

public Void dropResourceGroup(DropResourceGroupReq request)

Request Syntax

dropResourceGroup(DropResourceGroupReq.builder()
    .groupName(String groupName)
    .build()
)

BUILDER METHODS:

  • groupName(String collectionName)

    [REQUIRED]

    The name of the target resource group to drop.

RETURNS:

void

EXCEPTIONS:

  • MilvusClientExceptions

    This exception will be raised when any error occurs during this operation.

Example

// prepare requests    
DropResourceGroupReq dropResourceGroupReq = DropResourceGroupReq.builder()
    .groupName("rg1")
    .build();

// drop resource group
client.dropResourceGroup(dropResourceGroupReq);

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?