# MongoDBServerResource

- Module: [CommunityToolkit.Aspire.Hosting.MongoDB.Extensions](/reference/api/go/communitytoolkit.aspire.hosting.mongodb.extensions.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

## Definition

```go
type MongoDBServerResource interface{}
```

## Methods

- [WithDbGate](/reference/api/go/communitytoolkit.aspire.hosting.mongodb.extensions/mongodbserverresource/withdbgate.md) -- `method` -- Adds an administration and development platform for MongoDB to the application model using DbGate.
  ```go
  WithDbGate(options ...*WithDbGateOptions) MongoDBServerResource
  ```
- [WithDbx](/reference/api/go/communitytoolkit.aspire.hosting.mongodb.extensions/mongodbserverresource/withdbx.md) -- `method` -- Adds an administration and development platform for MongoDB to the application model using dbx.
  ```go
  WithDbx(options ...*WithDbxOptions) MongoDBServerResource
  ```
