Cluster info from Bucket

In .Net SDK, is there a way to retrieve cluster info, such as node IPs, from a Bucket object ?

I believe your best bet would be to get the BucketConfiguration property from IBucket. The configuration includes the Servers property, which should be a list of the nodes.


@itay -

As @btburnett3 said, BucketConfiguration (but only in v2.2.1 or greater) will give you the client configuration. You can also get the server information from the ClusterManager class, specifically using the ClusterInfo method.



I use: Bucket.Configuration.Servers[0].Host