@pulumiverse/dynatrace
Version:
A Pulumi package for creating and managing Dynatrace cloud resources.
120 lines (119 loc) • 4.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
export declare class LogProcessing extends pulumi.CustomResource {
/**
* Get an existing LogProcessing 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?: LogProcessingState, opts?: pulumi.CustomResourceOptions): LogProcessing;
/**
* Returns true if the given object is an instance of LogProcessing. 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 LogProcessing;
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Because this resource allows for ordering you may specify the ID of the resource instance that comes before this
* instance regarding order. If not specified when creating the setting will be added to the end of the list. If not
* specified during update the order will remain untouched
*/
readonly insertAfter: pulumi.Output<string>;
/**
* ## Processor definition Add a rule definition using our syntax. [In our documentation](https://dt-url.net/8k03xm2) you
* will find instructions and application [examples](https://dt-url.net/m24305t).
*/
readonly processorDefinition: pulumi.Output<outputs.LogProcessingProcessorDefinition>;
/**
* Matcher
*/
readonly query: pulumi.Output<string>;
/**
* Rule name
*/
readonly ruleName: pulumi.Output<string>;
/**
* ## Rule testing ### 1. Paste a log / JSON sample
*/
readonly ruleTesting: pulumi.Output<outputs.LogProcessingRuleTesting>;
/**
* Create a LogProcessing 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: LogProcessingArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering LogProcessing resources.
*/
export interface LogProcessingState {
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled?: pulumi.Input<boolean>;
/**
* Because this resource allows for ordering you may specify the ID of the resource instance that comes before this
* instance regarding order. If not specified when creating the setting will be added to the end of the list. If not
* specified during update the order will remain untouched
*/
insertAfter?: pulumi.Input<string>;
/**
* ## Processor definition Add a rule definition using our syntax. [In our documentation](https://dt-url.net/8k03xm2) you
* will find instructions and application [examples](https://dt-url.net/m24305t).
*/
processorDefinition?: pulumi.Input<inputs.LogProcessingProcessorDefinition>;
/**
* Matcher
*/
query?: pulumi.Input<string>;
/**
* Rule name
*/
ruleName?: pulumi.Input<string>;
/**
* ## Rule testing ### 1. Paste a log / JSON sample
*/
ruleTesting?: pulumi.Input<inputs.LogProcessingRuleTesting>;
}
/**
* The set of arguments for constructing a LogProcessing resource.
*/
export interface LogProcessingArgs {
/**
* This setting is enabled (`true`) or disabled (`false`)
*/
enabled: pulumi.Input<boolean>;
/**
* Because this resource allows for ordering you may specify the ID of the resource instance that comes before this
* instance regarding order. If not specified when creating the setting will be added to the end of the list. If not
* specified during update the order will remain untouched
*/
insertAfter?: pulumi.Input<string>;
/**
* ## Processor definition Add a rule definition using our syntax. [In our documentation](https://dt-url.net/8k03xm2) you
* will find instructions and application [examples](https://dt-url.net/m24305t).
*/
processorDefinition: pulumi.Input<inputs.LogProcessingProcessorDefinition>;
/**
* Matcher
*/
query: pulumi.Input<string>;
/**
* Rule name
*/
ruleName: pulumi.Input<string>;
/**
* ## Rule testing ### 1. Paste a log / JSON sample
*/
ruleTesting: pulumi.Input<inputs.LogProcessingRuleTesting>;
}