@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
97 lines (96 loc) • 2.29 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 "@pulumiverse/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
export declare function getProbe(args: GetProbeArgs, opts?: pulumi.InvokeOptions): Promise<GetProbeResult>;
/**
* A collection of arguments for invoking getProbe.
*/
export interface GetProbeArgs {
/**
* Name of the probe.
*/
name: string;
}
/**
* A collection of values returned by getProbe.
*/
export interface GetProbeResult {
/**
* 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 "@pulumiverse/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
export declare function getProbeOutput(args: GetProbeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProbeResult>;
/**
* A collection of arguments for invoking getProbe.
*/
export interface GetProbeOutputArgs {
/**
* Name of the probe.
*/
name: pulumi.Input<string>;
}