import * as pulumi from "@pulumi/pulumi"; /** * Besides the public probes run by Grafana Labs, you can also install your * own private probes. These are only accessible to you and only write data to * your Grafana Cloud account. Private probes are instances of the open source * Grafana Synthetic Monitoring Agent. * * * [Official documentation](https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/set-up/set-up-private-probes/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumiverse/grafana"; * * const main = new grafana.syntheticmonitoring.Probe("main", { * name: "Mount Everest", * latitude: 27.98606, * longitude: 86.92262, * region: "APAC", * labels: { * type: "mountain", * }, * }); * ``` * * ## Import * * ```sh * $ pulumi import grafana:index/syntheticMonitoringProbe:SyntheticMonitoringProbe name "{{ id }}" * ``` * * ```sh * $ pulumi import grafana:index/syntheticMonitoringProbe:SyntheticMonitoringProbe name "{{ id }}:{{ authToken }}" * ``` * * @deprecated grafana.index/syntheticmonitoringprobe.SyntheticMonitoringProbe has been deprecated in favor of grafana.syntheticmonitoring/probe.Probe */ export declare class SyntheticMonitoringProbe extends pulumi.CustomResource { /** * Get an existing SyntheticMonitoringProbe resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SyntheticMonitoringProbeState, opts?: pulumi.CustomResourceOptions): SyntheticMonitoringProbe; /** * Returns true if the given object is an instance of SyntheticMonitoringProbe. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SyntheticMonitoringProbe; /** * The probe authentication token. Your probe must use this to authenticate with Grafana Cloud. */ readonly authToken: pulumi.Output; /** * Disables browser checks for this probe. Defaults to `false`. */ readonly disableBrowserChecks: pulumi.Output; /** * Disables scripted checks for this probe. Defaults to `false`. */ readonly disableScriptedChecks: pulumi.Output; /** * Custom labels to be included with collected metrics and logs. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Latitude coordinates. */ readonly latitude: pulumi.Output; /** * Longitude coordinates. */ readonly longitude: pulumi.Output; /** * Name of the probe. */ readonly name: pulumi.Output; /** * Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`. */ readonly public: pulumi.Output; /** * Region of the probe. */ readonly region: pulumi.Output; /** * The tenant ID of the probe. */ readonly tenantId: pulumi.Output; /** * Create a SyntheticMonitoringProbe resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ /** @deprecated grafana.index/syntheticmonitoringprobe.SyntheticMonitoringProbe has been deprecated in favor of grafana.syntheticmonitoring/probe.Probe */ constructor(name: string, args: SyntheticMonitoringProbeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SyntheticMonitoringProbe resources. */ export interface SyntheticMonitoringProbeState { /** * The probe authentication token. Your probe must use this to authenticate with Grafana Cloud. */ authToken?: pulumi.Input; /** * Disables browser checks for this probe. Defaults to `false`. */ disableBrowserChecks?: pulumi.Input; /** * Disables scripted checks for this probe. Defaults to `false`. */ disableScriptedChecks?: pulumi.Input; /** * Custom labels to be included with collected metrics and logs. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Latitude coordinates. */ latitude?: pulumi.Input; /** * Longitude coordinates. */ longitude?: pulumi.Input; /** * Name of the probe. */ name?: pulumi.Input; /** * Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`. */ public?: pulumi.Input; /** * Region of the probe. */ region?: pulumi.Input; /** * The tenant ID of the probe. */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a SyntheticMonitoringProbe resource. */ export interface SyntheticMonitoringProbeArgs { /** * Disables browser checks for this probe. Defaults to `false`. */ disableBrowserChecks?: pulumi.Input; /** * Disables scripted checks for this probe. Defaults to `false`. */ disableScriptedChecks?: pulumi.Input; /** * Custom labels to be included with collected metrics and logs. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Latitude coordinates. */ latitude: pulumi.Input; /** * Longitude coordinates. */ longitude: pulumi.Input; /** * Name of the probe. */ name?: pulumi.Input; /** * Public probes are run by Grafana Labs and can be used by all users. Only Grafana Labs managed public probes will be set to `true`. Defaults to `false`. */ public?: pulumi.Input; /** * Region of the probe. */ region: pulumi.Input; }