UNPKG

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.

175 lines (174 loc) 7.73 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class ErrorsApplication extends pulumi.CustomResource { /** * Get an existing ErrorsApplication resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ErrorsApplicationState, opts?: pulumi.CustomResourceOptions): ErrorsApplication; /** * Returns true if the given object is an instance of ErrorsApplication. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ErrorsApplication; /** * ID of the application group this application belongs to. */ readonly applicationGroupId: pulumi.Output<number | undefined>; /** * The time when this application was created. */ readonly createdAt: pulumi.Output<string>; /** * Optional custom bucket configuration for the application. When provided, all fields (name, endpoint, access_key_id, secret_access_key) are required. */ readonly customBucket: pulumi.Output<outputs.ErrorsApplicationCustomBucket | undefined>; /** * Data region or cluster name where application data will be stored. If omitted, the default data region for your team will be used. */ readonly dataRegion: pulumi.Output<string>; /** * Error data retention period in days. Default retention is 90 days. */ readonly errorsRetention: pulumi.Output<number>; /** * The host where the errors should be sent. See documentation for your specific platform for details. */ readonly ingestingHost: pulumi.Output<string>; /** * This property allows you to temporarily pause data ingesting for this application. */ readonly ingestingPaused: pulumi.Output<boolean>; /** * Application name. Must be unique within your team. */ readonly name: pulumi.Output<string>; /** * The platform type for the application. This helps configure appropriate SDKs and integrations. Examples: dot_net_errors, dot_net_maui_errors, dot_net_http_errors, aiohttp_errors, asgi_errors, asp_dot_net_errors, asp_dot_net_core_errors, aws_lambda_dot_net_errors, aws_lambda_node_errors, aws_lambda_python_errors... Must be suffixed with _errors. */ readonly platform: pulumi.Output<string>; /** * The table name generated for this application. */ readonly tableName: pulumi.Output<string>; /** * Used to specify the team the resource should be created in when using global tokens. */ readonly teamName: pulumi.Output<string | undefined>; /** * The token of this application. This token is used to identify and route the data you will send to Better Stack. */ readonly token: pulumi.Output<string>; /** * The time when this application was updated. */ readonly updatedAt: pulumi.Output<string>; /** * Create a ErrorsApplication resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ErrorsApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ErrorsApplication resources. */ export interface ErrorsApplicationState { /** * ID of the application group this application belongs to. */ applicationGroupId?: pulumi.Input<number>; /** * The time when this application was created. */ createdAt?: pulumi.Input<string>; /** * Optional custom bucket configuration for the application. When provided, all fields (name, endpoint, access_key_id, secret_access_key) are required. */ customBucket?: pulumi.Input<inputs.ErrorsApplicationCustomBucket>; /** * Data region or cluster name where application data will be stored. If omitted, the default data region for your team will be used. */ dataRegion?: pulumi.Input<string>; /** * Error data retention period in days. Default retention is 90 days. */ errorsRetention?: pulumi.Input<number>; /** * The host where the errors should be sent. See documentation for your specific platform for details. */ ingestingHost?: pulumi.Input<string>; /** * This property allows you to temporarily pause data ingesting for this application. */ ingestingPaused?: pulumi.Input<boolean>; /** * Application name. Must be unique within your team. */ name?: pulumi.Input<string>; /** * The platform type for the application. This helps configure appropriate SDKs and integrations. Examples: dot_net_errors, dot_net_maui_errors, dot_net_http_errors, aiohttp_errors, asgi_errors, asp_dot_net_errors, asp_dot_net_core_errors, aws_lambda_dot_net_errors, aws_lambda_node_errors, aws_lambda_python_errors... Must be suffixed with _errors. */ platform?: pulumi.Input<string>; /** * The table name generated for this application. */ tableName?: pulumi.Input<string>; /** * Used to specify the team the resource should be created in when using global tokens. */ teamName?: pulumi.Input<string>; /** * The token of this application. This token is used to identify and route the data you will send to Better Stack. */ token?: pulumi.Input<string>; /** * The time when this application was updated. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a ErrorsApplication resource. */ export interface ErrorsApplicationArgs { /** * ID of the application group this application belongs to. */ applicationGroupId?: pulumi.Input<number>; /** * Optional custom bucket configuration for the application. When provided, all fields (name, endpoint, access_key_id, secret_access_key) are required. */ customBucket?: pulumi.Input<inputs.ErrorsApplicationCustomBucket>; /** * Data region or cluster name where application data will be stored. If omitted, the default data region for your team will be used. */ dataRegion?: pulumi.Input<string>; /** * Error data retention period in days. Default retention is 90 days. */ errorsRetention?: pulumi.Input<number>; /** * This property allows you to temporarily pause data ingesting for this application. */ ingestingPaused?: pulumi.Input<boolean>; /** * Application name. Must be unique within your team. */ name?: pulumi.Input<string>; /** * The platform type for the application. This helps configure appropriate SDKs and integrations. Examples: dot_net_errors, dot_net_maui_errors, dot_net_http_errors, aiohttp_errors, asgi_errors, asp_dot_net_errors, asp_dot_net_core_errors, aws_lambda_dot_net_errors, aws_lambda_node_errors, aws_lambda_python_errors... Must be suffixed with _errors. */ platform: pulumi.Input<string>; /** * Used to specify the team the resource should be created in when using global tokens. */ teamName?: pulumi.Input<string>; }