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

Milvus
Zilliz
< Docs
  • Go

DropResourceGroup()

This method drops a resource group.

func (c *Client) DropResourceGroup(ctx context.Context, opt DropResourceGroupOption, callOptions ...grpc.CallOption) error

Request Parameters

Parameter

Description

Type

ctx

Context for the current call to work.

context.Context

opt

Optional parameters of the methods.

DropResourceGroupOption

callOptions

Optional parameters for calling the methods.

grpc.CallOption

DropResourceGroupOption

This is an interface type. The dropResourceGroupOption struct type implements this interface type.

You can use the NewDropResourceGroupOption() function to get the concrete implementation.

NewDropResourceGroupOption

The signature of this method is as follows:

func NewDropResourceGroupOption(name string) *dropResourceGroupOption

Parameter

Description

Type

name

Name of the target resource group.

string

Return

Null

Example

import (
        "context"
        "github.com/milvus-io/milvus/client/v2/milvusclient"
)

err = cli.DropResourceGroup(ctx, milvusclient.NewDropResourceGroupOption("my_rg"))
if err != nil {
    // handle error
}

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?