1. Packages
  2. Grafana Cloud
  3. API Docs
  4. syntheticMonitoring
  5. getProbes
Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse

grafana.syntheticMonitoring.getProbes

Explore with Pulumi AI

Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse

Data source for retrieving all probes.

Example Usage

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

const main = grafana.syntheticMonitoring.getProbes({});
Copy
import pulumi
import pulumi_grafana as grafana

main = grafana.syntheticMonitoring.get_probes()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticmonitoring"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := syntheticmonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;

return await Deployment.RunAsync(() => 
{
    var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
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 main = SyntheticMonitoringFunctions.getProbes();

    }
}
Copy
variables:
  main:
    fn::invoke:
      function: grafana:syntheticMonitoring:getProbes
      arguments: {}
Copy

Using getProbes

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 getProbes(args: GetProbesArgs, opts?: InvokeOptions): Promise<GetProbesResult>
function getProbesOutput(args: GetProbesOutputArgs, opts?: InvokeOptions): Output<GetProbesResult>
Copy
def get_probes(filter_deprecated: Optional[bool] = None,
               opts: Optional[InvokeOptions] = None) -> GetProbesResult
def get_probes_output(filter_deprecated: Optional[pulumi.Input[bool]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetProbesResult]
Copy
func GetProbes(ctx *Context, args *GetProbesArgs, opts ...InvokeOption) (*GetProbesResult, error)
func GetProbesOutput(ctx *Context, args *GetProbesOutputArgs, opts ...InvokeOption) GetProbesResultOutput
Copy

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

public static class GetProbes 
{
    public static Task<GetProbesResult> InvokeAsync(GetProbesArgs args, InvokeOptions? opts = null)
    public static Output<GetProbesResult> Invoke(GetProbesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProbesResult> getProbes(GetProbesArgs args, InvokeOptions options)
public static Output<GetProbesResult> getProbes(GetProbesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: grafana:syntheticMonitoring/getProbes:getProbes
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FilterDeprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
FilterDeprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
filterDeprecated Boolean
If true, only probes that are not deprecated will be returned. Defaults to true.
filterDeprecated boolean
If true, only probes that are not deprecated will be returned. Defaults to true.
filter_deprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
filterDeprecated Boolean
If true, only probes that are not deprecated will be returned. Defaults to true.

getProbes Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Probes Dictionary<string, int>
Map of probes with their names as keys and IDs as values.
FilterDeprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
Id string
The provider-assigned unique ID for this managed resource.
Probes map[string]int
Map of probes with their names as keys and IDs as values.
FilterDeprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
id String
The provider-assigned unique ID for this managed resource.
probes Map<String,Integer>
Map of probes with their names as keys and IDs as values.
filterDeprecated Boolean
If true, only probes that are not deprecated will be returned. Defaults to true.
id string
The provider-assigned unique ID for this managed resource.
probes {[key: string]: number}
Map of probes with their names as keys and IDs as values.
filterDeprecated boolean
If true, only probes that are not deprecated will be returned. Defaults to true.
id str
The provider-assigned unique ID for this managed resource.
probes Mapping[str, int]
Map of probes with their names as keys and IDs as values.
filter_deprecated bool
If true, only probes that are not deprecated will be returned. Defaults to true.
id String
The provider-assigned unique ID for this managed resource.
probes Map<Number>
Map of probes with their names as keys and IDs as values.
filterDeprecated Boolean
If true, only probes that are not deprecated will be returned. Defaults to true.

Package Details

Repository
grafana pulumiverse/pulumi-grafana
License
Apache-2.0
Notes
This Pulumi package is based on the grafana Terraform Provider.
Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse