1. Packages
  2. Grafana Cloud
  3. API Docs
  4. getSyntheticMonitoringProbes
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse

grafana.getSyntheticMonitoringProbes

Explore with Pulumi AI

grafana logo
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 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.getSyntheticMonitoringProbes({});
    
    import pulumi
    import pulumi_grafana as grafana
    
    main = grafana.get_synthetic_monitoring_probes()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := grafana.GetSyntheticMonitoringProbes(ctx, nil, 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.GetSyntheticMonitoringProbes.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.grafana.GrafanaFunctions;
    import com.pulumi.grafana.inputs.GetSyntheticMonitoringProbesArgs;
    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 = GrafanaFunctions.getSyntheticMonitoringProbes();
    
        }
    }
    
    variables:
      main:
        fn::invoke:
          Function: grafana:getSyntheticMonitoringProbes
          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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: grafana:index/getSyntheticMonitoringProbes:getSyntheticMonitoringProbes
      arguments:
        # arguments dictionary

    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.

    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.
    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 logo
    Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse