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.
46 lines (45 loc) • 1.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
export declare function getSource(args: GetSourceArgs, opts?: pulumi.InvokeOptions): Promise<GetSourceResult>;
/**
* A collection of arguments for invoking getSource.
*/
export interface GetSourceArgs {
tableName: string;
}
/**
* A collection of values returned by getSource.
*/
export interface GetSourceResult {
readonly createdAt: string;
readonly customBuckets: outputs.GetSourceCustomBucket[];
readonly dataRegion: string;
readonly id: string;
readonly ingestingHost: string;
readonly ingestingPaused: boolean;
readonly liveTailPattern: string;
readonly logsRetention: number;
readonly metricsRetention: number;
readonly name: string;
readonly platform: string;
readonly scrapeFrequencySecs: number;
readonly scrapeRequestBasicAuthPassword: string;
readonly scrapeRequestBasicAuthUser: string;
readonly scrapeRequestHeaders: {
[key: string]: string;
}[];
readonly scrapeUrls: string[];
readonly sourceGroupId: number;
readonly tableName: string;
readonly teamName: string;
readonly token: string;
readonly updatedAt: string;
readonly vrlTransformation: string;
}
export declare function getSourceOutput(args: GetSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSourceResult>;
/**
* A collection of arguments for invoking getSource.
*/
export interface GetSourceOutputArgs {
tableName: pulumi.Input<string>;
}