@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
65 lines (64 loc) • 1.75 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for retrieving all probes.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const main = grafana.syntheticMonitoring.getProbes({});
* ```
*/
export declare function getProbes(args?: GetProbesArgs, opts?: pulumi.InvokeOptions): Promise<GetProbesResult>;
/**
* A collection of arguments for invoking getProbes.
*/
export interface GetProbesArgs {
/**
* If true, only probes that are not deprecated will be returned. Defaults to `true`.
*/
filterDeprecated?: boolean;
}
/**
* A collection of values returned by getProbes.
*/
export interface GetProbesResult {
/**
* If true, only probes that are not deprecated will be returned. Defaults to `true`.
*/
readonly filterDeprecated?: boolean;
/**
* The ID of this resource.
*/
readonly id: string;
/**
* Map of probes with their names as keys and IDs as values.
*/
readonly probes: {
[key: string]: number;
};
}
/**
* Data source for retrieving all probes.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const main = grafana.syntheticMonitoring.getProbes({});
* ```
*/
export declare function getProbesOutput(args?: GetProbesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProbesResult>;
/**
* A collection of arguments for invoking getProbes.
*/
export interface GetProbesOutputArgs {
/**
* If true, only probes that are not deprecated will be returned. Defaults to `true`.
*/
filterDeprecated?: pulumi.Input<boolean>;
}