Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class BucketManagerExtensions

Inheritance
object
BucketManagerExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Management.Buckets
Assembly: Couchbase.NetClient.dll
Syntax
public static class BucketManagerExtensions

Methods

View Source

CreateBucketAsync(IBucketManager, BucketSettings)

Declaration
public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings)
Parameters
Type Name Description
IBucketManager bucketManager
BucketSettings settings
Returns
Type Description
Task
View Source

CreateBucketAsync(IBucketManager, BucketSettings, Action<CreateBucketOptions>)

Declaration
public static Task CreateBucketAsync(this IBucketManager bucketManager, BucketSettings settings, Action<CreateBucketOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
BucketSettings settings
Action<CreateBucketOptions> configureOptions
Returns
Type Description
Task
View Source

DropBucketAsync(IBucketManager, string)

Declaration
public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Returns
Type Description
Task
View Source

DropBucketAsync(IBucketManager, string, Action<DropBucketOptions>)

Declaration
public static Task DropBucketAsync(this IBucketManager bucketManager, string bucketName, Action<DropBucketOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Action<DropBucketOptions> configureOptions
Returns
Type Description
Task
View Source

FlushBucketAsync(IBucketManager, string)

Declaration
public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Returns
Type Description
Task
View Source

FlushBucketAsync(IBucketManager, string, Action<FlushBucketOptions>)

Declaration
public static Task FlushBucketAsync(this IBucketManager bucketManager, string bucketName, Action<FlushBucketOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Action<FlushBucketOptions> configureOptions
Returns
Type Description
Task
View Source

GetAllBucketsAsync(IBucketManager)

Declaration
public static Task<Dictionary<string, BucketSettings>> GetAllBucketsAsync(this IBucketManager bucketManager)
Parameters
Type Name Description
IBucketManager bucketManager
Returns
Type Description
Task<Dictionary<string, BucketSettings>>
View Source

GetAllBucketsAsync(IBucketManager, Action<GetAllBucketsOptions>)

Declaration
public static Task<Dictionary<string, BucketSettings>> GetAllBucketsAsync(this IBucketManager bucketManager, Action<GetAllBucketsOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
Action<GetAllBucketsOptions> configureOptions
Returns
Type Description
Task<Dictionary<string, BucketSettings>>
View Source

GetBucketAsync(IBucketManager, string)

Declaration
public static Task<BucketSettings> GetBucketAsync(this IBucketManager bucketManager, string bucketName)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Returns
Type Description
Task<BucketSettings>
View Source

GetBucketAsync(IBucketManager, string, Action<GetBucketOptions>)

Declaration
public static Task<BucketSettings> GetBucketAsync(this IBucketManager bucketManager, string bucketName, Action<GetBucketOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
string bucketName
Action<GetBucketOptions> configureOptions
Returns
Type Description
Task<BucketSettings>
View Source

UpdateBucketAsync(IBucketManager, BucketSettings)

Declaration
public static Task UpdateBucketAsync(this IBucketManager bucketManager, BucketSettings settings)
Parameters
Type Name Description
IBucketManager bucketManager
BucketSettings settings
Returns
Type Description
Task
View Source

UpdateBucketAsync(IBucketManager, BucketSettings, Action<UpdateBucketOptions>)

Declaration
public static Task UpdateBucketAsync(this IBucketManager bucketManager, BucketSettings settings, Action<UpdateBucketOptions> configureOptions)
Parameters
Type Name Description
IBucketManager bucketManager
BucketSettings settings
Action<UpdateBucketOptions> configureOptions
Returns
Type Description
Task
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.