Grafana v0.16.3 published on Monday, Apr 7, 2025 by pulumiverse
grafana.getSyntheticMonitoringProbes
Explore with Pulumi AI
Deprecated: grafana.index/getsyntheticmonitoringprobes.getSyntheticMonitoringProbes has been deprecated in favor of grafana.syntheticmonitoring/getprobes.getProbes
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 getSyntheticMonitoringProbes
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 getSyntheticMonitoringProbes(args: GetSyntheticMonitoringProbesArgs, opts?: InvokeOptions): Promise<GetSyntheticMonitoringProbesResult>
function getSyntheticMonitoringProbesOutput(args: GetSyntheticMonitoringProbesOutputArgs, opts?: InvokeOptions): Output<GetSyntheticMonitoringProbesResult>def get_synthetic_monitoring_probes(filter_deprecated: Optional[bool] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSyntheticMonitoringProbesResult
def get_synthetic_monitoring_probes_output(filter_deprecated: Optional[pulumi.Input[bool]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSyntheticMonitoringProbesResult]func GetSyntheticMonitoringProbes(ctx *Context, args *GetSyntheticMonitoringProbesArgs, opts ...InvokeOption) (*GetSyntheticMonitoringProbesResult, error)
func GetSyntheticMonitoringProbesOutput(ctx *Context, args *GetSyntheticMonitoringProbesOutputArgs, opts ...InvokeOption) GetSyntheticMonitoringProbesResultOutput> Note: This function is named GetSyntheticMonitoringProbes in the Go SDK.
public static class GetSyntheticMonitoringProbes 
{
    public static Task<GetSyntheticMonitoringProbesResult> InvokeAsync(GetSyntheticMonitoringProbesArgs args, InvokeOptions? opts = null)
    public static Output<GetSyntheticMonitoringProbesResult> Invoke(GetSyntheticMonitoringProbesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSyntheticMonitoringProbesResult> getSyntheticMonitoringProbes(GetSyntheticMonitoringProbesArgs args, InvokeOptions options)
public static Output<GetSyntheticMonitoringProbesResult> getSyntheticMonitoringProbes(GetSyntheticMonitoringProbesArgs args, InvokeOptions options)
fn::invoke:
  function: grafana:index/getSyntheticMonitoringProbes:getSyntheticMonitoringProbes
  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. 
getSyntheticMonitoringProbes 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.