1. Packages
  2. Ionoscloud Provider
  3. API Docs
  4. getMonitoringPipeline
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud

ionoscloud.getMonitoringPipeline

Explore with Pulumi AI

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 "@pulumi/ionoscloud";

const example = ionoscloud.getMonitoringPipeline({
    id: "pipeline_id",
    location: "de/txl",
});
Copy
import pulumi
import pulumi_ionoscloud as ionoscloud

example = ionoscloud.get_monitoring_pipeline(id="pipeline_id",
    location="de/txl")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ionoscloud.LookupMonitoringPipeline(ctx, &ionoscloud.LookupMonitoringPipelineArgs{
			Id:       pulumi.StringRef("pipeline_id"),
			Location: pulumi.StringRef("de/txl"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;

return await Deployment.RunAsync(() => 
{
    var example = Ionoscloud.GetMonitoringPipeline.Invoke(new()
    {
        Id = "pipeline_id",
        Location = "de/txl",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetMonitoringPipelineArgs;
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 = IonoscloudFunctions.getMonitoringPipeline(GetMonitoringPipelineArgs.builder()
            .id("pipeline_id")
            .location("de/txl")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ionoscloud:getMonitoringPipeline
      arguments:
        id: pipeline_id
        location: de/txl
Copy

By name

import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";

const example = ionoscloud.getMonitoringPipeline({
    location: "de/txl",
    name: "pipeline_name",
});
Copy
import pulumi
import pulumi_ionoscloud as ionoscloud

example = ionoscloud.get_monitoring_pipeline(location="de/txl",
    name="pipeline_name")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ionoscloud.LookupMonitoringPipeline(ctx, &ionoscloud.LookupMonitoringPipelineArgs{
			Location: pulumi.StringRef("de/txl"),
			Name:     pulumi.StringRef("pipeline_name"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;

return await Deployment.RunAsync(() => 
{
    var example = Ionoscloud.GetMonitoringPipeline.Invoke(new()
    {
        Location = "de/txl",
        Name = "pipeline_name",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetMonitoringPipelineArgs;
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 = IonoscloudFunctions.getMonitoringPipeline(GetMonitoringPipelineArgs.builder()
            .location("de/txl")
            .name("pipeline_name")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ionoscloud:getMonitoringPipeline
      arguments:
        location: de/txl
        name: pipeline_name
Copy

Using getMonitoringPipeline

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 getMonitoringPipeline(args: GetMonitoringPipelineArgs, opts?: InvokeOptions): Promise<GetMonitoringPipelineResult>
function getMonitoringPipelineOutput(args: GetMonitoringPipelineOutputArgs, opts?: InvokeOptions): Output<GetMonitoringPipelineResult>
Copy
def get_monitoring_pipeline(id: Optional[str] = None,
                            location: Optional[str] = None,
                            name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetMonitoringPipelineResult
def get_monitoring_pipeline_output(id: Optional[pulumi.Input[str]] = None,
                            location: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetMonitoringPipelineResult]
Copy
func LookupMonitoringPipeline(ctx *Context, args *LookupMonitoringPipelineArgs, opts ...InvokeOption) (*LookupMonitoringPipelineResult, error)
func LookupMonitoringPipelineOutput(ctx *Context, args *LookupMonitoringPipelineOutputArgs, opts ...InvokeOption) LookupMonitoringPipelineResultOutput
Copy

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

public static class GetMonitoringPipeline 
{
    public static Task<GetMonitoringPipelineResult> InvokeAsync(GetMonitoringPipelineArgs args, InvokeOptions? opts = null)
    public static Output<GetMonitoringPipelineResult> Invoke(GetMonitoringPipelineInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMonitoringPipelineResult> getMonitoringPipeline(GetMonitoringPipelineArgs args, InvokeOptions options)
public static Output<GetMonitoringPipelineResult> getMonitoringPipeline(GetMonitoringPipelineArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ionoscloud:index/getMonitoringPipeline:getMonitoringPipeline
  arguments:
    # arguments dictionary
Copy

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.

getMonitoringPipeline 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/terraform-provider-ionoscloud
License
Notes
This Pulumi package is based on the ionoscloud Terraform Provider.