pulumi-logtail
Version:
A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.
29 lines (28 loc) • 871 B
TypeScript
import * as pulumi from "@pulumi/pulumi";
export declare function getMetric(args: GetMetricArgs, opts?: pulumi.InvokeOptions): Promise<GetMetricResult>;
/**
* A collection of arguments for invoking getMetric.
*/
export interface GetMetricArgs {
name: string;
sourceId: string;
}
/**
* A collection of values returned by getMetric.
*/
export interface GetMetricResult {
readonly aggregations: string[];
readonly id: string;
readonly name: string;
readonly sourceId: string;
readonly sqlExpression: string;
readonly type: string;
}
export declare function getMetricOutput(args: GetMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMetricResult>;
/**
* A collection of arguments for invoking getMetric.
*/
export interface GetMetricOutputArgs {
name: pulumi.Input<string>;
sourceId: pulumi.Input<string>;
}