1. Packages
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. monitoring
  6. getPipeline
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud

    The Monitoring pipeline datasource can be used to search for and return an existing Monitoring pipeline. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned.

    ⚠️ Only tokens are accepted for authorization in the monitoring_pipeline data source. Please ensure you are using tokens as other methods will not be valid.

    Example Usage

    By ID

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
    
    const example = ionoscloud.monitoring.getPipeline({
        location: "de/txl",
        id: "pipeline_id",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.monitoring.get_pipeline(location="de/txl",
        id="pipeline_id")
    
    package main
    
    import (
    	"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/monitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := monitoring.LookupPipeline(ctx, &monitoring.LookupPipelineArgs{
    			Location: pulumi.StringRef("de/txl"),
    			Id:       pulumi.StringRef("pipeline_id"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ionoscloud.Monitoring.GetPipeline.Invoke(new()
        {
            Location = "de/txl",
            Id = "pipeline_id",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.monitoring.MonitoringFunctions;
    import com.pulumi.ionoscloud.monitoring.inputs.GetPipelineArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = MonitoringFunctions.getPipeline(GetPipelineArgs.builder()
                .location("de/txl")
                .id("pipeline_id")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ionoscloud:monitoring:getPipeline
          arguments:
            location: de/txl
            id: pipeline_id
    

    By name

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
    
    const example = ionoscloud.monitoring.getPipeline({
        location: "de/txl",
        name: "pipeline_name",
    });
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.monitoring.get_pipeline(location="de/txl",
        name="pipeline_name")
    
    package main
    
    import (
    	"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/monitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := monitoring.LookupPipeline(ctx, &monitoring.LookupPipelineArgs{
    			Location: pulumi.StringRef("de/txl"),
    			Name:     pulumi.StringRef("pipeline_name"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ionoscloud.Monitoring.GetPipeline.Invoke(new()
        {
            Location = "de/txl",
            Name = "pipeline_name",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ionoscloud.monitoring.MonitoringFunctions;
    import com.pulumi.ionoscloud.monitoring.inputs.GetPipelineArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = MonitoringFunctions.getPipeline(GetPipelineArgs.builder()
                .location("de/txl")
                .name("pipeline_name")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ionoscloud:monitoring:getPipeline
          arguments:
            location: de/txl
            name: pipeline_name
    

    Using getPipeline

    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 getPipeline(args: GetPipelineArgs, opts?: InvokeOptions): Promise<GetPipelineResult>
    function getPipelineOutput(args: GetPipelineOutputArgs, opts?: InvokeOptions): Output<GetPipelineResult>
    def get_pipeline(id: Optional[str] = None,
                     location: Optional[str] = None,
                     name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPipelineResult
    def get_pipeline_output(id: pulumi.Input[Optional[str]] = None,
                     location: pulumi.Input[Optional[str]] = None,
                     name: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPipelineResult]
    func LookupPipeline(ctx *Context, args *LookupPipelineArgs, opts ...InvokeOption) (*LookupPipelineResult, error)
    func LookupPipelineOutput(ctx *Context, args *LookupPipelineOutputArgs, opts ...InvokeOption) LookupPipelineResultOutput

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

    public static class GetPipeline 
    {
        public static Task<GetPipelineResult> InvokeAsync(GetPipelineArgs args, InvokeOptions? opts = null)
        public static Output<GetPipelineResult> Invoke(GetPipelineInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPipelineResult> getPipeline(GetPipelineArgs args, InvokeOptions options)
    public static Output<GetPipelineResult> getPipeline(GetPipelineArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ionoscloud:monitoring/getPipeline:getPipeline
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    [string] The ID of the Monitoring pipeline you want to search for.
    Location string
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    Name string

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    Id string
    [string] The ID of the Monitoring pipeline you want to search for.
    Location string
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    Name string

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    id String
    [string] The ID of the Monitoring pipeline you want to search for.
    location String
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    name String

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    id string
    [string] The ID of the Monitoring pipeline you want to search for.
    location string
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    name string

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    id str
    [string] The ID of the Monitoring pipeline you want to search for.
    location str
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    name str

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    id String
    [string] The ID of the Monitoring pipeline you want to search for.
    location String
    [string] The location of the Monitoring pipeline. Default is de/fra. It can be one of de/fra, de/txl, gb/lhr, es/vit, fr/par. If this is not set and if no value is provided for the IONOS_API_URL env var, the default location will be: de/fra.
    name String

    [string] The name of the Monitoring pipeline you want to search for.

    Either id or name must be provided. If none, or both are provided, the datasource will return an error.

    getPipeline Result

    The following output properties are available:

    GrafanaEndpoint string
    HttpEndpoint string
    The HTTP endpoint of the Monitoring instance.
    Id string
    The UUID of the Monitoring pipeline.
    Name string
    The name of the Monitoring pipeline.
    Location string
    GrafanaEndpoint string
    HttpEndpoint string
    The HTTP endpoint of the Monitoring instance.
    Id string
    The UUID of the Monitoring pipeline.
    Name string
    The name of the Monitoring pipeline.
    Location string
    grafanaEndpoint String
    httpEndpoint String
    The HTTP endpoint of the Monitoring instance.
    id String
    The UUID of the Monitoring pipeline.
    name String
    The name of the Monitoring pipeline.
    location String
    grafanaEndpoint string
    httpEndpoint string
    The HTTP endpoint of the Monitoring instance.
    id string
    The UUID of the Monitoring pipeline.
    name string
    The name of the Monitoring pipeline.
    location string
    grafana_endpoint str
    http_endpoint str
    The HTTP endpoint of the Monitoring instance.
    id str
    The UUID of the Monitoring pipeline.
    name str
    The name of the Monitoring pipeline.
    location str
    grafanaEndpoint String
    httpEndpoint String
    The HTTP endpoint of the Monitoring instance.
    id String
    The UUID of the Monitoring pipeline.
    name String
    The name of the Monitoring pipeline.
    location String

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.0
    published on Wednesday, Apr 15, 2026 by ionos-cloud
      Try Pulumi Cloud free. Your team will thank you.