import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > This resource requires the API token scopes **Read settings** (`settings.read`) and **Write settings** (`settings.write`) * * ## Dynatrace Documentation * * - Select a snippet format - https://docs.dynatrace.com/docs/shortlink/snippet-formats * * - Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: `builtin:rum.web.manual-insertion`) * * ## Resource Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumiverse/dynatrace"; * * const _name_ = new dynatrace.WebAppManualInsertion("#name#", { * applicationId: "APPLICATION-1234567890000000", * codeSnippet: { * codeSnippetType: "SYNCHRONOUSLY", * }, * javascriptTag: { * cacheDuration: "1", * crossoriginAnonymous: true, * }, * }); * ``` */ export declare class WebAppManualInsertion extends pulumi.CustomResource { /** * Get an existing WebAppManualInsertion 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, state?: WebAppManualInsertionState, opts?: pulumi.CustomResourceOptions): WebAppManualInsertion; /** * Returns true if the given object is an instance of WebAppManualInsertion. 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 WebAppManualInsertion; /** * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. */ readonly applicationId: pulumi.Output; /** * Code snippet is a piece of inline code that implements basic functionality and loads the full functionality either synchronously or deferred. Even though it implements an update mechanism, regular updates are still required to guarantee compatibility. */ readonly codeSnippet: pulumi.Output; /** * JavaScript tag references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases. */ readonly javascriptTag: pulumi.Output; /** * OneAgent JavaScript tag includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates. */ readonly oneagentJavascriptTag: pulumi.Output; /** * OneAgent JavaScript tag with SRI includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it. It needs to be updated after configuration changes and monitoring code updates. */ readonly oneagentJavascriptTagSri: pulumi.Output; /** * Create a WebAppManualInsertion 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: WebAppManualInsertionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WebAppManualInsertion resources. */ export interface WebAppManualInsertionState { /** * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. */ applicationId?: pulumi.Input; /** * Code snippet is a piece of inline code that implements basic functionality and loads the full functionality either synchronously or deferred. Even though it implements an update mechanism, regular updates are still required to guarantee compatibility. */ codeSnippet?: pulumi.Input; /** * JavaScript tag references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases. */ javascriptTag?: pulumi.Input; /** * OneAgent JavaScript tag includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates. */ oneagentJavascriptTag?: pulumi.Input; /** * OneAgent JavaScript tag with SRI includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it. It needs to be updated after configuration changes and monitoring code updates. */ oneagentJavascriptTagSri?: pulumi.Input; } /** * The set of arguments for constructing a WebAppManualInsertion resource. */ export interface WebAppManualInsertionArgs { /** * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. */ applicationId: pulumi.Input; /** * Code snippet is a piece of inline code that implements basic functionality and loads the full functionality either synchronously or deferred. Even though it implements an update mechanism, regular updates are still required to guarantee compatibility. */ codeSnippet: pulumi.Input; /** * JavaScript tag references an external file containing monitoring code and configuration. Due to its dynamic update mechanism, it is recommended for most use cases. */ javascriptTag: pulumi.Input; /** * OneAgent JavaScript tag includes configuration and a reference to an external file containing the monitoring code. It needs to be updated after configuration changes and monitoring code updates. */ oneagentJavascriptTag?: pulumi.Input; /** * OneAgent JavaScript tag with SRI includes configuration, a reference to an external file containing the monitoring code, and a hash that allows the browser to verify the integrity of the monitoring code before executing it. It needs to be updated after configuration changes and monitoring code updates. */ oneagentJavascriptTagSri?: pulumi.Input; }