Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface IBucketManager

Namespace: Couchbase.Management.Buckets
Assembly: Couchbase.NetClient.dll
Syntax
public interface IBucketManager

Methods

View Source

CreateBucketAsync(BucketSettings, CreateBucketOptions?)

Declaration
Task CreateBucketAsync(BucketSettings settings, CreateBucketOptions? options = null)
Parameters
Type Name Description
BucketSettings settings
CreateBucketOptions options
Returns
Type Description
Task
View Source

DropBucketAsync(string, DropBucketOptions?)

Declaration
Task DropBucketAsync(string bucketName, DropBucketOptions? options = null)
Parameters
Type Name Description
string bucketName
DropBucketOptions options
Returns
Type Description
Task
View Source

FlushBucketAsync(string, FlushBucketOptions?)

Declaration
Task FlushBucketAsync(string bucketName, FlushBucketOptions? options = null)
Parameters
Type Name Description
string bucketName
FlushBucketOptions options
Returns
Type Description
Task
View Source

GetAllBucketsAsync(GetAllBucketsOptions?)

Declaration
Task<Dictionary<string, BucketSettings>> GetAllBucketsAsync(GetAllBucketsOptions? options = null)
Parameters
Type Name Description
GetAllBucketsOptions options
Returns
Type Description
Task<Dictionary<string, BucketSettings>>
View Source

GetBucketAsync(string, GetBucketOptions?)

Declaration
Task<BucketSettings> GetBucketAsync(string bucketName, GetBucketOptions? options = null)
Parameters
Type Name Description
string bucketName
GetBucketOptions options
Returns
Type Description
Task<BucketSettings>
View Source

UpdateBucketAsync(BucketSettings, UpdateBucketOptions?)

Declaration
Task UpdateBucketAsync(BucketSettings settings, UpdateBucketOptions? options = null)
Parameters
Type Name Description
BucketSettings settings
UpdateBucketOptions options
Returns
Type Description
Task

Extension Methods

BucketManagerExtensions.CreateBucketAsync(IBucketManager, BucketSettings)
BucketManagerExtensions.CreateBucketAsync(IBucketManager, BucketSettings, Action<CreateBucketOptions>)
BucketManagerExtensions.DropBucketAsync(IBucketManager, string)
BucketManagerExtensions.DropBucketAsync(IBucketManager, string, Action<DropBucketOptions>)
BucketManagerExtensions.FlushBucketAsync(IBucketManager, string)
BucketManagerExtensions.FlushBucketAsync(IBucketManager, string, Action<FlushBucketOptions>)
BucketManagerExtensions.GetAllBucketsAsync(IBucketManager)
BucketManagerExtensions.GetAllBucketsAsync(IBucketManager, Action<GetAllBucketsOptions>)
BucketManagerExtensions.GetBucketAsync(IBucketManager, string)
BucketManagerExtensions.GetBucketAsync(IBucketManager, string, Action<GetBucketOptions>)
BucketManagerExtensions.UpdateBucketAsync(IBucketManager, BucketSettings)
BucketManagerExtensions.UpdateBucketAsync(IBucketManager, BucketSettings, Action<UpdateBucketOptions>)
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.