Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse
grafana.syntheticMonitoring.getProbes
Explore with Pulumi AI
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({});
import pulumi
import pulumi_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
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
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
return await Deployment.RunAsync(() => 
{
    var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
});
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();
    }
}
variables:
  main:
    fn::invoke:
      function: grafana:syntheticMonitoring:getProbes
      arguments: {}
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>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]func GetProbes(ctx *Context, args *GetProbesArgs, opts ...InvokeOption) (*GetProbesResult, error)
func GetProbesOutput(ctx *Context, args *GetProbesOutputArgs, opts ...InvokeOption) GetProbesResultOutput> 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)
}public static CompletableFuture<GetProbesResult> getProbes(GetProbesArgs args, InvokeOptions options)
public static Output<GetProbesResult> getProbes(GetProbesArgs args, InvokeOptions options)
fn::invoke:
  function: grafana:syntheticMonitoring/getProbes:getProbes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filter
Deprecated bool - 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. 
- filter
Deprecated Boolean - If true, only probes that are not deprecated will be returned. Defaults to 
true. 
- filter
Deprecated 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. 
- filter
Deprecated 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.
 - 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[string]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<String,Integer>
 - Map of probes with their names as keys and IDs as values.
 - filter
Deprecated 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.
 - filter
Deprecated 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.
 - filter
Deprecated 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 
grafanaTerraform Provider.