1. Packages
  2. stackit
  3. API Docs
  4. getMariadbInstance
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud

    MariaDB instance data source schema. Must have a region specified in the provider configuration.

    Example Usage

    data "stackit_mariadb_instance" "example" {
      project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    }
    

    Using getMariadbInstance

    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 getMariadbInstance(args: GetMariadbInstanceArgs, opts?: InvokeOptions): Promise<GetMariadbInstanceResult>
    function getMariadbInstanceOutput(args: GetMariadbInstanceOutputArgs, opts?: InvokeOptions): Output<GetMariadbInstanceResult>
    def get_mariadb_instance(instance_id: Optional[str] = None,
                             project_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetMariadbInstanceResult
    def get_mariadb_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                             project_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetMariadbInstanceResult]
    func LookupMariadbInstance(ctx *Context, args *LookupMariadbInstanceArgs, opts ...InvokeOption) (*LookupMariadbInstanceResult, error)
    func LookupMariadbInstanceOutput(ctx *Context, args *LookupMariadbInstanceOutputArgs, opts ...InvokeOption) LookupMariadbInstanceResultOutput

    > Note: This function is named LookupMariadbInstance in the Go SDK.

    public static class GetMariadbInstance 
    {
        public static Task<GetMariadbInstanceResult> InvokeAsync(GetMariadbInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetMariadbInstanceResult> Invoke(GetMariadbInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMariadbInstanceResult> getMariadbInstance(GetMariadbInstanceArgs args, InvokeOptions options)
    public static Output<GetMariadbInstanceResult> getMariadbInstance(GetMariadbInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: stackit:index/getMariadbInstance:getMariadbInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    ID of the MariaDB instance.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    InstanceId string
    ID of the MariaDB instance.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    instanceId String
    ID of the MariaDB instance.
    projectId String
    STACKIT Project ID to which the instance is associated.
    instanceId string
    ID of the MariaDB instance.
    projectId string
    STACKIT Project ID to which the instance is associated.
    instance_id str
    ID of the MariaDB instance.
    project_id str
    STACKIT Project ID to which the instance is associated.
    instanceId String
    ID of the MariaDB instance.
    projectId String
    STACKIT Project ID to which the instance is associated.

    getMariadbInstance Result

    The following output properties are available:

    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    Id string
    ImageUrl string
    InstanceId string
    ID of the MariaDB instance.
    Name string
    Instance name.
    Parameters GetMariadbInstanceParameters
    PlanId string
    The selected plan ID.
    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    Version string
    The service version.
    CfGuid string
    CfOrganizationGuid string
    CfSpaceGuid string
    DashboardUrl string
    Id string
    ImageUrl string
    InstanceId string
    ID of the MariaDB instance.
    Name string
    Instance name.
    Parameters GetMariadbInstanceParameters
    PlanId string
    The selected plan ID.
    PlanName string
    The selected plan name.
    ProjectId string
    STACKIT Project ID to which the instance is associated.
    Version string
    The service version.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    id String
    imageUrl String
    instanceId String
    ID of the MariaDB instance.
    name String
    Instance name.
    parameters GetMariadbInstanceParameters
    planId String
    The selected plan ID.
    planName String
    The selected plan name.
    projectId String
    STACKIT Project ID to which the instance is associated.
    version String
    The service version.
    cfGuid string
    cfOrganizationGuid string
    cfSpaceGuid string
    dashboardUrl string
    id string
    imageUrl string
    instanceId string
    ID of the MariaDB instance.
    name string
    Instance name.
    parameters GetMariadbInstanceParameters
    planId string
    The selected plan ID.
    planName string
    The selected plan name.
    projectId string
    STACKIT Project ID to which the instance is associated.
    version string
    The service version.
    cf_guid str
    cf_organization_guid str
    cf_space_guid str
    dashboard_url str
    id str
    image_url str
    instance_id str
    ID of the MariaDB instance.
    name str
    Instance name.
    parameters GetMariadbInstanceParameters
    plan_id str
    The selected plan ID.
    plan_name str
    The selected plan name.
    project_id str
    STACKIT Project ID to which the instance is associated.
    version str
    The service version.
    cfGuid String
    cfOrganizationGuid String
    cfSpaceGuid String
    dashboardUrl String
    id String
    imageUrl String
    instanceId String
    ID of the MariaDB instance.
    name String
    Instance name.
    parameters Property Map
    planId String
    The selected plan ID.
    planName String
    The selected plan name.
    projectId String
    STACKIT Project ID to which the instance is associated.
    version String
    The service version.

    Supporting Types

    GetMariadbInstanceParameters

    EnableMonitoring bool
    Enable monitoring.
    Graphite string
    MaxDiskThreshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    MetricsFrequency int
    The frequency in seconds at which metrics are emitted.
    MetricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    MonitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    SgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    Syslogs List<string>
    List of syslog servers to send logs to.
    EnableMonitoring bool
    Enable monitoring.
    Graphite string
    MaxDiskThreshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    MetricsFrequency int
    The frequency in seconds at which metrics are emitted.
    MetricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    MonitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    SgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    Syslogs []string
    List of syslog servers to send logs to.
    enableMonitoring Boolean
    Enable monitoring.
    graphite String
    maxDiskThreshold Integer
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    metricsFrequency Integer
    The frequency in seconds at which metrics are emitted.
    metricsPrefix String
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    monitoringInstanceId String
    The ID of the STACKIT monitoring instance.
    sgwAcl String
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    syslogs List<String>
    List of syslog servers to send logs to.
    enableMonitoring boolean
    Enable monitoring.
    graphite string
    maxDiskThreshold number
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    metricsFrequency number
    The frequency in seconds at which metrics are emitted.
    metricsPrefix string
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    monitoringInstanceId string
    The ID of the STACKIT monitoring instance.
    sgwAcl string
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    syslogs string[]
    List of syslog servers to send logs to.
    enable_monitoring bool
    Enable monitoring.
    graphite str
    max_disk_threshold int
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    metrics_frequency int
    The frequency in seconds at which metrics are emitted.
    metrics_prefix str
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    monitoring_instance_id str
    The ID of the STACKIT monitoring instance.
    sgw_acl str
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    syslogs Sequence[str]
    List of syslog servers to send logs to.
    enableMonitoring Boolean
    Enable monitoring.
    graphite String
    maxDiskThreshold Number
    The maximum disk threshold in MB. If the disk usage exceeds this threshold, the instance will be stopped.
    metricsFrequency Number
    The frequency in seconds at which metrics are emitted.
    metricsPrefix String
    The prefix for the metrics. Could be useful when using Graphite monitoring to prefix the metrics with a certain value, like an API key
    monitoringInstanceId String
    The ID of the STACKIT monitoring instance.
    sgwAcl String
    Comma separated list of IP networks in CIDR notation which are allowed to access this instance.
    syslogs List<String>
    List of syslog servers to send logs to.

    Package Details

    Repository
    stackit stackitcloud/pulumi-stackit
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.4
    published on Friday, Feb 20, 2026 by stackitcloud
      Try Pulumi Cloud free. Your team will thank you.