UNPKG

@pulumiverse/dynatrace

Version:

A Pulumi package for creating and managing Dynatrace cloud resources.

126 lines 8.79 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.ProcessGroupDetectionFlags = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); class ProcessGroupDetectionFlags extends pulumi.CustomResource { /** * Get an existing ProcessGroupDetectionFlags 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, id, state, opts) { return new ProcessGroupDetectionFlags(name, state, Object.assign(Object.assign({}, opts), { id: id })); } /** * Returns true if the given object is an instance of ProcessGroupDetectionFlags. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj) { if (obj === undefined || obj === null) { return false; } return obj['__pulumiType'] === ProcessGroupDetectionFlags.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["addNodeJsScriptName"] = state ? state.addNodeJsScriptName : undefined; resourceInputs["autoDetectCassandraClusters"] = state ? state.autoDetectCassandraClusters : undefined; resourceInputs["autoDetectSpringBoot"] = state ? state.autoDetectSpringBoot : undefined; resourceInputs["autoDetectTibcoContainerEditionEngines"] = state ? state.autoDetectTibcoContainerEditionEngines : undefined; resourceInputs["autoDetectTibcoEngines"] = state ? state.autoDetectTibcoEngines : undefined; resourceInputs["autoDetectWebMethodsIntegrationServer"] = state ? state.autoDetectWebMethodsIntegrationServer : undefined; resourceInputs["autoDetectWebSphereLibertyApplication"] = state ? state.autoDetectWebSphereLibertyApplication : undefined; resourceInputs["groupIbmmqbyInstanceName"] = state ? state.groupIbmmqbyInstanceName : undefined; resourceInputs["identifyJbossServerBySystemProperty"] = state ? state.identifyJbossServerBySystemProperty : undefined; resourceInputs["ignoreUniqueIdentifiers"] = state ? state.ignoreUniqueIdentifiers : undefined; resourceInputs["scope"] = state ? state.scope : undefined; resourceInputs["securitySoftwareDetectionEnabled"] = state ? state.securitySoftwareDetectionEnabled : undefined; resourceInputs["shortLivedProcessesMonitoring"] = state ? state.shortLivedProcessesMonitoring : undefined; resourceInputs["splitOracleDatabasePg"] = state ? state.splitOracleDatabasePg : undefined; resourceInputs["splitOracleListenerPg"] = state ? state.splitOracleListenerPg : undefined; resourceInputs["useCatalinaBase"] = state ? state.useCatalinaBase : undefined; resourceInputs["useDockerContainerName"] = state ? state.useDockerContainerName : undefined; } else { const args = argsOrState; if ((!args || args.addNodeJsScriptName === undefined) && !opts.urn) { throw new Error("Missing required property 'addNodeJsScriptName'"); } if ((!args || args.autoDetectCassandraClusters === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectCassandraClusters'"); } if ((!args || args.autoDetectSpringBoot === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectSpringBoot'"); } if ((!args || args.autoDetectTibcoContainerEditionEngines === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectTibcoContainerEditionEngines'"); } if ((!args || args.autoDetectTibcoEngines === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectTibcoEngines'"); } if ((!args || args.autoDetectWebMethodsIntegrationServer === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectWebMethodsIntegrationServer'"); } if ((!args || args.autoDetectWebSphereLibertyApplication === undefined) && !opts.urn) { throw new Error("Missing required property 'autoDetectWebSphereLibertyApplication'"); } if ((!args || args.groupIbmmqbyInstanceName === undefined) && !opts.urn) { throw new Error("Missing required property 'groupIbmmqbyInstanceName'"); } if ((!args || args.identifyJbossServerBySystemProperty === undefined) && !opts.urn) { throw new Error("Missing required property 'identifyJbossServerBySystemProperty'"); } if ((!args || args.ignoreUniqueIdentifiers === undefined) && !opts.urn) { throw new Error("Missing required property 'ignoreUniqueIdentifiers'"); } if ((!args || args.shortLivedProcessesMonitoring === undefined) && !opts.urn) { throw new Error("Missing required property 'shortLivedProcessesMonitoring'"); } if ((!args || args.splitOracleDatabasePg === undefined) && !opts.urn) { throw new Error("Missing required property 'splitOracleDatabasePg'"); } if ((!args || args.splitOracleListenerPg === undefined) && !opts.urn) { throw new Error("Missing required property 'splitOracleListenerPg'"); } if ((!args || args.useCatalinaBase === undefined) && !opts.urn) { throw new Error("Missing required property 'useCatalinaBase'"); } if ((!args || args.useDockerContainerName === undefined) && !opts.urn) { throw new Error("Missing required property 'useDockerContainerName'"); } resourceInputs["addNodeJsScriptName"] = args ? args.addNodeJsScriptName : undefined; resourceInputs["autoDetectCassandraClusters"] = args ? args.autoDetectCassandraClusters : undefined; resourceInputs["autoDetectSpringBoot"] = args ? args.autoDetectSpringBoot : undefined; resourceInputs["autoDetectTibcoContainerEditionEngines"] = args ? args.autoDetectTibcoContainerEditionEngines : undefined; resourceInputs["autoDetectTibcoEngines"] = args ? args.autoDetectTibcoEngines : undefined; resourceInputs["autoDetectWebMethodsIntegrationServer"] = args ? args.autoDetectWebMethodsIntegrationServer : undefined; resourceInputs["autoDetectWebSphereLibertyApplication"] = args ? args.autoDetectWebSphereLibertyApplication : undefined; resourceInputs["groupIbmmqbyInstanceName"] = args ? args.groupIbmmqbyInstanceName : undefined; resourceInputs["identifyJbossServerBySystemProperty"] = args ? args.identifyJbossServerBySystemProperty : undefined; resourceInputs["ignoreUniqueIdentifiers"] = args ? args.ignoreUniqueIdentifiers : undefined; resourceInputs["scope"] = args ? args.scope : undefined; resourceInputs["securitySoftwareDetectionEnabled"] = args ? args.securitySoftwareDetectionEnabled : undefined; resourceInputs["shortLivedProcessesMonitoring"] = args ? args.shortLivedProcessesMonitoring : undefined; resourceInputs["splitOracleDatabasePg"] = args ? args.splitOracleDatabasePg : undefined; resourceInputs["splitOracleListenerPg"] = args ? args.splitOracleListenerPg : undefined; resourceInputs["useCatalinaBase"] = args ? args.useCatalinaBase : undefined; resourceInputs["useDockerContainerName"] = args ? args.useDockerContainerName : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(ProcessGroupDetectionFlags.__pulumiType, name, resourceInputs, opts); } } exports.ProcessGroupDetectionFlags = ProcessGroupDetectionFlags; /** @internal */ ProcessGroupDetectionFlags.__pulumiType = 'dynatrace:index/processGroupDetectionFlags:ProcessGroupDetectionFlags'; //# sourceMappingURL=processGroupDetectionFlags.js.map