@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
99 lines (98 loc) • 2.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving a single probe by name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
/** @deprecated grafana.index/getsyntheticmonitoringprobe.getSyntheticMonitoringProbe has been deprecated in favor of grafana.syntheticmonitoring/getprobe.getProbe */
export declare function getSyntheticMonitoringProbe(args: GetSyntheticMonitoringProbeArgs, opts?: pulumi.InvokeOptions): Promise<GetSyntheticMonitoringProbeResult>;
/**
* A collection of arguments for invoking getSyntheticMonitoringProbe.
*/
export interface GetSyntheticMonitoringProbeArgs {
/**
* Name of the probe.
*/
name: string;
}
/**
* A collection of values returned by getSyntheticMonitoringProbe.
*/
export interface GetSyntheticMonitoringProbeResult {
/**
* Disables browser checks for this probe.
*/
readonly disableBrowserChecks: boolean;
/**
* Disables scripted checks for this probe.
*/
readonly disableScriptedChecks: boolean;
/**
* The ID of the probe.
*/
readonly id: string;
/**
* Custom labels to be included with collected metrics and logs.
*/
readonly labels: {
[key: string]: string;
};
/**
* Latitude coordinates.
*/
readonly latitude: number;
/**
* Longitude coordinates.
*/
readonly longitude: number;
/**
* Name of the probe.
*/
readonly name: string;
/**
* 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`.
*/
readonly public: boolean;
/**
* Region of the probe.
*/
readonly region: string;
/**
* The tenant ID of the probe.
*/
readonly tenantId: number;
}
/**
* Data source for retrieving a single probe by name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
/** @deprecated grafana.index/getsyntheticmonitoringprobe.getSyntheticMonitoringProbe has been deprecated in favor of grafana.syntheticmonitoring/getprobe.getProbe */
export declare function getSyntheticMonitoringProbeOutput(args: GetSyntheticMonitoringProbeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSyntheticMonitoringProbeResult>;
/**
* A collection of arguments for invoking getSyntheticMonitoringProbe.
*/
export interface GetSyntheticMonitoringProbeOutputArgs {
/**
* Name of the probe.
*/
name: pulumi.Input<string>;
}