Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
MongoDB Flex instance data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_mongodbflex_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getMongodbflexInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMongodbflexInstance(args: GetMongodbflexInstanceArgs, opts?: InvokeOptions): Promise<GetMongodbflexInstanceResult>
function getMongodbflexInstanceOutput(args: GetMongodbflexInstanceOutputArgs, opts?: InvokeOptions): Output<GetMongodbflexInstanceResult>def get_mongodbflex_instance(instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMongodbflexInstanceResult
def get_mongodbflex_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMongodbflexInstanceResult]func LookupMongodbflexInstance(ctx *Context, args *LookupMongodbflexInstanceArgs, opts ...InvokeOption) (*LookupMongodbflexInstanceResult, error)
func LookupMongodbflexInstanceOutput(ctx *Context, args *LookupMongodbflexInstanceOutputArgs, opts ...InvokeOption) LookupMongodbflexInstanceResultOutput> Note: This function is named LookupMongodbflexInstance in the Go SDK.
public static class GetMongodbflexInstance
{
public static Task<GetMongodbflexInstanceResult> InvokeAsync(GetMongodbflexInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetMongodbflexInstanceResult> Invoke(GetMongodbflexInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMongodbflexInstanceResult> getMongodbflexInstance(GetMongodbflexInstanceArgs args, InvokeOptions options)
public static Output<GetMongodbflexInstanceResult> getMongodbflexInstance(GetMongodbflexInstanceArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getMongodbflexInstance:getMongodbflexInstance
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - ID of the MongoDB Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Instance
Id string - ID of the MongoDB Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the MongoDB Flex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- instance
Id string - ID of the MongoDB Flex instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- instance_
id str - ID of the MongoDB Flex instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- region str
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the MongoDB Flex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
getMongodbflexInstance Result
The following output properties are available:
- Acls List<string>
- The Access Control List (ACL) for the MongoDB Flex instance.
- Backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- Flavor
Get
Mongodbflex Instance Flavor - Id string
- Instance
Id string - ID of the MongoDB Flex instance.
- Name string
- Instance name.
- Options
Get
Mongodbflex Instance Options - Custom parameters for the MongoDB Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Replicas int
- Storage
Get
Mongodbflex Instance Storage - Version string
- Acls []string
- The Access Control List (ACL) for the MongoDB Flex instance.
- Backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- Flavor
Get
Mongodbflex Instance Flavor - Id string
- Instance
Id string - ID of the MongoDB Flex instance.
- Name string
- Instance name.
- Options
Get
Mongodbflex Instance Options - Custom parameters for the MongoDB Flex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Replicas int
- Storage
Get
Mongodbflex Instance Storage - Version string
- acls List<String>
- The Access Control List (ACL) for the MongoDB Flex instance.
- backup
Schedule String - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Mongodbflex Instance Flavor - id String
- instance
Id String - ID of the MongoDB Flex instance.
- name String
- Instance name.
- options
Get
Mongodbflex Instance Options - Custom parameters for the MongoDB Flex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- replicas Integer
- storage
Get
Mongodbflex Instance Storage - version String
- acls string[]
- The Access Control List (ACL) for the MongoDB Flex instance.
- backup
Schedule string - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Mongodbflex Instance Flavor - id string
- instance
Id string - ID of the MongoDB Flex instance.
- name string
- Instance name.
- options
Get
Mongodbflex Instance Options - Custom parameters for the MongoDB Flex instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- region string
- The resource region. If not defined, the provider region is used.
- replicas number
- storage
Get
Mongodbflex Instance Storage - version string
- acls Sequence[str]
- The Access Control List (ACL) for the MongoDB Flex instance.
- backup_
schedule str - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor
Get
Mongodbflex Instance Flavor - id str
- instance_
id str - ID of the MongoDB Flex instance.
- name str
- Instance name.
- options
Get
Mongodbflex Instance Options - Custom parameters for the MongoDB Flex instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- region str
- The resource region. If not defined, the provider region is used.
- replicas int
- storage
Get
Mongodbflex Instance Storage - version str
- acls List<String>
- The Access Control List (ACL) for the MongoDB Flex instance.
- backup
Schedule String - The backup schedule. Should follow the cron scheduling system format (e.g. "0 0 * * *").
- flavor Property Map
- id String
- instance
Id String - ID of the MongoDB Flex instance.
- name String
- Instance name.
- options Property Map
- Custom parameters for the MongoDB Flex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- region String
- The resource region. If not defined, the provider region is used.
- replicas Number
- storage Property Map
- version String
Supporting Types
GetMongodbflexInstanceFlavor
- Cpu int
- Description string
- Id string
- Ram int
- Cpu int
- Description string
- Id string
- Ram int
- cpu Integer
- description String
- id String
- ram Integer
- cpu number
- description string
- id string
- ram number
- cpu int
- description str
- id str
- ram int
- cpu Number
- description String
- id String
- ram Number
GetMongodbflexInstanceOptions
- Daily
Snapshot intRetention Days - The number of days that daily backups will be retained.
- Monthly
Snapshot intRetention Months - The number of months that monthly backups will be retained.
- Point
In intTime Window Hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- Snapshot
Retention intDays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - Type string
- Type of the MongoDB Flex instance.
- Weekly
Snapshot intRetention Weeks - The number of weeks that weekly backups will be retained.
- Daily
Snapshot intRetention Days - The number of days that daily backups will be retained.
- Monthly
Snapshot intRetention Months - The number of months that monthly backups will be retained.
- Point
In intTime Window Hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- Snapshot
Retention intDays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - Type string
- Type of the MongoDB Flex instance.
- Weekly
Snapshot intRetention Weeks - The number of weeks that weekly backups will be retained.
- daily
Snapshot IntegerRetention Days - The number of days that daily backups will be retained.
- monthly
Snapshot IntegerRetention Months - The number of months that monthly backups will be retained.
- point
In IntegerTime Window Hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- snapshot
Retention IntegerDays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - type String
- Type of the MongoDB Flex instance.
- weekly
Snapshot IntegerRetention Weeks - The number of weeks that weekly backups will be retained.
- daily
Snapshot numberRetention Days - The number of days that daily backups will be retained.
- monthly
Snapshot numberRetention Months - The number of months that monthly backups will be retained.
- point
In numberTime Window Hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- snapshot
Retention numberDays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - type string
- Type of the MongoDB Flex instance.
- weekly
Snapshot numberRetention Weeks - The number of weeks that weekly backups will be retained.
- daily_
snapshot_ intretention_ days - The number of days that daily backups will be retained.
- monthly_
snapshot_ intretention_ months - The number of months that monthly backups will be retained.
- point_
in_ inttime_ window_ hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- snapshot_
retention_ intdays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - type str
- Type of the MongoDB Flex instance.
- weekly_
snapshot_ intretention_ weeks - The number of weeks that weekly backups will be retained.
- daily
Snapshot NumberRetention Days - The number of days that daily backups will be retained.
- monthly
Snapshot NumberRetention Months - The number of months that monthly backups will be retained.
- point
In NumberTime Window Hours - The number of hours back in time the point-in-time recovery feature will be able to recover.
- snapshot
Retention NumberDays - The number of days that continuous backups (controlled via the
backup_schedule) will be retained. - type String
- Type of the MongoDB Flex instance.
- weekly
Snapshot NumberRetention Weeks - The number of weeks that weekly backups will be retained.
GetMongodbflexInstanceStorage
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
