UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

94 lines (93 loc) 5.35 kB
import * as pulumi from "@pulumi/pulumi"; export declare class LogAgentFeatureFlags extends pulumi.CustomResource { /** * Get an existing LogAgentFeatureFlags 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?: LogAgentFeatureFlagsState, opts?: pulumi.CustomResourceOptions): LogAgentFeatureFlags; /** * Returns true if the given object is an instance of LogAgentFeatureFlags. 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 LogAgentFeatureFlags; /** * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs * ingested matching ingest rule is required. */ readonly journaldLogDetector: pulumi.Output<boolean | undefined>; /** * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For * more details, check our [documentation](https://dt-url.net/jn02ey0). */ readonly newContainerLogDetector: pulumi.Output<boolean>; /** * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole * environment. */ readonly scope: pulumi.Output<string | undefined>; /** * Create a LogAgentFeatureFlags 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: LogAgentFeatureFlagsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogAgentFeatureFlags resources. */ export interface LogAgentFeatureFlagsState { /** * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs * ingested matching ingest rule is required. */ journaldLogDetector?: pulumi.Input<boolean>; /** * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For * more details, check our [documentation](https://dt-url.net/jn02ey0). */ newContainerLogDetector?: pulumi.Input<boolean>; /** * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole * environment. */ scope?: pulumi.Input<string>; } /** * The set of arguments for constructing a LogAgentFeatureFlags resource. */ export interface LogAgentFeatureFlagsArgs { /** * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs * ingested matching ingest rule is required. */ journaldLogDetector?: pulumi.Input<boolean>; /** * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For * more details, check our [documentation](https://dt-url.net/jn02ey0). */ newContainerLogDetector: pulumi.Input<boolean>; /** * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole * environment. */ scope?: pulumi.Input<string>; }