import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Config resource in Oracle Cloud Infrastructure Apm Config service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/apm-config/latest/Config
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/apm/apm_config
 *
 * Creates a new configuration item.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testConfig = new oci.apmconfig.Config("test_config", {
 *     apmDomainId: testApmDomain.id,
 *     configType: configConfigType,
 *     agentVersion: configAgentVersion,
 *     attachInstallDir: configAttachInstallDir,
 *     config: {
 *         configMaps: [{
 *             fileName: configConfigConfigMapFileName,
 *             body: configConfigConfigMapBody,
 *             contentType: configConfigConfigMapContentType,
 *         }],
 *     },
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     description: configDescription,
 *     dimensions: [{
 *         name: configDimensionsName,
 *         valueSource: configDimensionsValueSource,
 *     }],
 *     displayName: configDisplayName,
 *     filterId: testFilter.id,
 *     filterText: configFilterText,
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 *     group: configGroup,
 *     managementAgentId: testManagementAgent.id,
 *     matchAgentsWithAttributeValue: configMatchAgentsWithAttributeValue,
 *     metrics: [{
 *         description: configMetricsDescription,
 *         name: configMetricsName,
 *         unit: configMetricsUnit,
 *         valueSource: configMetricsValueSource,
 *     }],
 *     namespace: configNamespace,
 *     opcDryRun: configOpcDryRun,
 *     options: configOptions,
 *     overrides: {
 *         overrideLists: [{
 *             agentFilter: configOverridesOverrideListAgentFilter,
 *             overrideMap: configOverridesOverrideListOverrideMap,
 *         }],
 *     },
 *     processFilters: configProcessFilter,
 *     rules: [{
 *         displayName: configRulesDisplayName,
 *         filterText: configRulesFilterText,
 *         isApplyToErrorSpans: configRulesIsApplyToErrorSpans === "true",
 *         isEnabled: configRulesIsEnabled === "true",
 *         priority: Number(configRulesPriority),
 *         satisfiedResponseTime: Number(configRulesSatisfiedResponseTime),
 *         toleratingResponseTime: Number(configRulesToleratingResponseTime),
 *     }],
 *     runAsUser: configRunAsUser,
 *     serviceName: testService.name,
 * });
 * ```
 *
 * ## Import
 *
 * Configs can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:ApmConfig/config:Config test_config "configs/{configId}/apmDomainId/{apmDomainId}"
 * ```
 */
export declare class Config extends pulumi.CustomResource {
    /**
     * Get an existing Config 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?: ConfigState, opts?: pulumi.CustomResourceOptions): Config;
    /**
     * Returns true if the given object is an instance of Config.  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 Config;
    /**
     * (Updatable) The version of the referenced agent bundle.
     */
    readonly agentVersion: pulumi.Output<string>;
    /**
     * (Updatable) The APM Domain ID the request is intended for.
     */
    readonly apmDomainId: pulumi.Output<string>;
    /**
     * (Updatable) The directory owned by runAsUser.
     */
    readonly attachInstallDir: pulumi.Output<string>;
    /**
     * (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `configMap`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
     */
    readonly config: pulumi.Output<outputs.ApmConfig.ConfigConfig>;
    /**
     * (Updatable) The type of configuration item.
     */
    readonly configType: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) An optional string that describes what the options are intended or used for.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (Updatable) A list of dimensions for the metric. This variable should not be used.
     */
    readonly dimensions: pulumi.Output<outputs.ApmConfig.ConfigDimension[]>;
    /**
     * (Updatable) The name by which a configuration entity is displayed to the end user.
     */
    readonly displayName: pulumi.Output<string>;
    /**
     * For optimistic concurrency control. See `if-match`.
     */
    readonly etag: pulumi.Output<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
     */
    readonly filterId: pulumi.Output<string>;
    /**
     * (Updatable) The string that defines the Span Filter expression.
     */
    readonly filterText: pulumi.Output<string>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    readonly freeformTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) A string that specifies the group that an OPTIONS item belongs to.
     */
    readonly group: pulumi.Output<string>;
    /**
     * The list of configuration items that reference the span filter.
     */
    readonly inUseBies: pulumi.Output<outputs.ApmConfig.ConfigInUseBy[]>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
     */
    readonly managementAgentId: pulumi.Output<string>;
    /**
     * The agent attribute KEY by which an Agent configuration is matched to an agent.  All agent configuration objects share the same key. It is [ServiceName, service.name] by default.  The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
     */
    readonly matchAgentsWithAttributeKeys: pulumi.Output<string[]>;
    /**
     * The agent attribute VALUE by which an agent configuration is matched to an agent.  Each agent configuration object must specify a different value.  The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
     */
    readonly matchAgentsWithAttributeValue: pulumi.Output<string>;
    /**
     * (Updatable) The list of metrics in this group.
     */
    readonly metrics: pulumi.Output<outputs.ApmConfig.ConfigMetric[]>;
    /**
     * (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
     */
    readonly namespace: pulumi.Output<string>;
    /**
     * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
     */
    readonly opcDryRun: pulumi.Output<string>;
    /**
     * (Updatable) The options are stored here as JSON.
     */
    readonly options: pulumi.Output<string>;
    /**
     * (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
     */
    readonly overrides: pulumi.Output<outputs.ApmConfig.ConfigOverrides>;
    /**
     * (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
     */
    readonly processFilters: pulumi.Output<string[]>;
    /**
     * (Updatable)
     */
    readonly rules: pulumi.Output<outputs.ApmConfig.ConfigRule[]>;
    /**
     * (Updatable) The OS user that should be used to discover Java processes.
     */
    readonly runAsUser: pulumi.Output<string>;
    /**
     * (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly serviceName: pulumi.Output<string>;
    /**
     * The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    readonly updatedBy: pulumi.Output<string>;
    /**
     * Create a Config 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: ConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Config resources.
 */
export interface ConfigState {
    /**
     * (Updatable) The version of the referenced agent bundle.
     */
    agentVersion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The APM Domain ID the request is intended for.
     */
    apmDomainId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The directory owned by runAsUser.
     */
    attachInstallDir?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `configMap`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
     */
    config?: pulumi.Input<inputs.ApmConfig.ConfigConfig | undefined>;
    /**
     * (Updatable) The type of configuration item.
     */
    configType?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) An optional string that describes what the options are intended or used for.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A list of dimensions for the metric. This variable should not be used.
     */
    dimensions?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigDimension>[] | undefined>;
    /**
     * (Updatable) The name by which a configuration entity is displayed to the end user.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * For optimistic concurrency control. See `if-match`.
     */
    etag?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
     */
    filterId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The string that defines the Span Filter expression.
     */
    filterText?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A string that specifies the group that an OPTIONS item belongs to.
     */
    group?: pulumi.Input<string | undefined>;
    /**
     * The list of configuration items that reference the span filter.
     */
    inUseBies?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigInUseBy>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
     */
    managementAgentId?: pulumi.Input<string | undefined>;
    /**
     * The agent attribute KEY by which an Agent configuration is matched to an agent.  All agent configuration objects share the same key. It is [ServiceName, service.name] by default.  The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
     */
    matchAgentsWithAttributeKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The agent attribute VALUE by which an agent configuration is matched to an agent.  Each agent configuration object must specify a different value.  The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
     */
    matchAgentsWithAttributeValue?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The list of metrics in this group.
     */
    metrics?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigMetric>[] | undefined>;
    /**
     * (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
     */
    opcDryRun?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The options are stored here as JSON.
     */
    options?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
     */
    overrides?: pulumi.Input<inputs.ApmConfig.ConfigOverrides | undefined>;
    /**
     * (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
     */
    processFilters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable)
     */
    rules?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigRule>[] | undefined>;
    /**
     * (Updatable) The OS user that should be used to discover Java processes.
     */
    runAsUser?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    serviceName?: pulumi.Input<string | undefined>;
    /**
     * The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    updatedBy?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a Config resource.
 */
export interface ConfigArgs {
    /**
     * (Updatable) The version of the referenced agent bundle.
     */
    agentVersion?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The APM Domain ID the request is intended for.
     */
    apmDomainId: pulumi.Input<string>;
    /**
     * (Updatable) The directory owned by runAsUser.
     */
    attachInstallDir?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `configMap`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
     */
    config?: pulumi.Input<inputs.ApmConfig.ConfigConfig | undefined>;
    /**
     * (Updatable) The type of configuration item.
     */
    configType: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) An optional string that describes what the options are intended or used for.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) A list of dimensions for the metric. This variable should not be used.
     */
    dimensions?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigDimension>[] | undefined>;
    /**
     * (Updatable) The name by which a configuration entity is displayed to the end user.
     */
    displayName?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
     */
    filterId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The string that defines the Span Filter expression.
     */
    filterText?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) A string that specifies the group that an OPTIONS item belongs to.
     */
    group?: pulumi.Input<string | undefined>;
    /**
     * The list of configuration items that reference the span filter.
     */
    inUseBies?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigInUseBy>[] | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
     */
    managementAgentId?: pulumi.Input<string | undefined>;
    /**
     * The agent attribute VALUE by which an agent configuration is matched to an agent.  Each agent configuration object must specify a different value.  The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
     */
    matchAgentsWithAttributeValue?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The list of metrics in this group.
     */
    metrics?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigMetric>[] | undefined>;
    /**
     * (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
     */
    namespace?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Indicates that the request is a dry run, if set to "true". A dry run request does not modify the configuration item details and is used only to perform validation on the submitted data.
     */
    opcDryRun?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The options are stored here as JSON.
     */
    options?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
     */
    overrides?: pulumi.Input<inputs.ApmConfig.ConfigOverrides | undefined>;
    /**
     * (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
     */
    processFilters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * (Updatable)
     */
    rules?: pulumi.Input<pulumi.Input<inputs.ApmConfig.ConfigRule>[] | undefined>;
    /**
     * (Updatable) The OS user that should be used to discover Java processes.
     */
    runAsUser?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    serviceName?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=config.d.ts.map