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",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_monitoring_pipeline(id="pipeline_id",
location="de/txl")
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getMonitoringPipeline
arguments:
id: pipeline_id
location: de/txl
By name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getMonitoringPipeline({
location: "de/txl",
name: "pipeline_name",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_monitoring_pipeline(location="de/txl",
name="pipeline_name")
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getMonitoringPipeline
arguments:
location: de/txl
name: pipeline_name
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>
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]
func LookupMonitoringPipeline(ctx *Context, args *LookupMonitoringPipelineArgs, opts ...InvokeOption) (*LookupMonitoringPipelineResult, error)
func LookupMonitoringPipelineOutput(ctx *Context, args *LookupMonitoringPipelineOutputArgs, opts ...InvokeOption) LookupMonitoringPipelineResultOutput
> 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)
}
public static CompletableFuture<GetMonitoringPipelineResult> getMonitoringPipeline(GetMonitoringPipelineArgs args, InvokeOptions options)
public static Output<GetMonitoringPipelineResult> getMonitoringPipeline(GetMonitoringPipelineArgs args, InvokeOptions options)
fn::invoke:
function: ionoscloud:index/getMonitoringPipeline:getMonitoringPipeline
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Name string
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - Name string
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - name String
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - name string
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - name str
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
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 ofde/fra
,de/txl
,gb/lhr
,es/vit
,fr/par
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
. - name String
[string] The name of the Monitoring pipeline you want to search for.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
getMonitoringPipeline Result
The following output properties are available:
- Grafana
Endpoint string - Http
Endpoint 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 string - Http
Endpoint 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 String - http
Endpoint 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 string - http
Endpoint 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
- grafana
Endpoint String - http
Endpoint 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.