Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

MongoDBReplicaSetResource

Classsealednet10.0
📦 Aspire.Hosting.MongoDB v13.6.0
Represents a MongoDB replica set resource in the application model. A replica set is a group of MongoDB servers that maintain the same data set, providing redundancy and high availability.
namespace Aspire.Hosting.ApplicationModel;
public sealed class MongoDBReplicaSetResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IExpressionValue,
Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
Aspire.Hosting.ApplicationModel.IResourceWithWaitSupport,
Aspire.Hosting.ApplicationModel.IValueProvider,
Aspire.Hosting.ApplicationModel.IValueWithReferences
{
// ...
}
ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithWaitSupportIValueProviderIValueWithReferences
This resource is a logical grouping of multiple MongoDBServerResource instances that are configured as members of the same replica set.
View all constructors
View all properties