import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Config resource in Oracle Cloud Infrastructure Apm Config service.
 *
 * Gets the configuration item identified by the OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testConfig = oci.apmconfig.getConfig({
 *     apmDomainId: testApmDomain.id,
 *     configId: testConfigOciApmConfigConfig.id,
 * });
 * ```
 */
export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigResult>;
/**
 * A collection of arguments for invoking getConfig.
 */
export interface GetConfigArgs {
    /**
     * The APM Domain ID the request is intended for.
     */
    apmDomainId: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item.
     */
    configId: string;
}
/**
 * A collection of values returned by getConfig.
 */
export interface GetConfigResult {
    /**
     * The version of the referenced agent bundle.
     */
    readonly agentVersion: string;
    readonly apmDomainId: string;
    /**
     * The directory owned by runAsUser.
     */
    readonly attachInstallDir: string;
    readonly configId: string;
    /**
     * The type of configuration item.
     */
    readonly configType: string;
    /**
     * 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 configs: outputs.ApmConfig.GetConfigConfig[];
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    readonly createdBy: string;
    /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: {
        [key: string]: string;
    };
    /**
     * A description of the metric.
     */
    readonly description: string;
    /**
     * A list of dimensions for the metric. This variable should not be used.
     */
    readonly dimensions: outputs.ApmConfig.GetConfigDimension[];
    /**
     * The name by which a configuration entity is displayed to the end user.
     */
    readonly displayName: string;
    /**
     * For optimistic concurrency control. See `if-match`.
     */
    readonly etag: string;
    /**
     * 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: string;
    /**
     * The string that defines the Span Filter expression.
     */
    readonly filterText: string;
    /**
     * 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: {
        [key: string]: string;
    };
    /**
     * A string that specifies the group that an OPTIONS item belongs to.
     */
    readonly group: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated when the item is created.
     */
    readonly id: string;
    /**
     * The list of configuration items that reference the span filter.
     */
    readonly inUseBies: outputs.ApmConfig.GetConfigInUseBy[];
    /**
     * 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: 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: 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: string;
    /**
     * The list of metrics in this group.
     */
    readonly metrics: outputs.ApmConfig.GetConfigMetric[];
    /**
     * The namespace to which the metrics are published. It must be one of several predefined namespaces.
     */
    readonly namespace: string;
    readonly opcDryRun: string;
    /**
     * The options are stored here as JSON.
     */
    readonly options: string;
    /**
     * Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
     */
    readonly overrides: outputs.ApmConfig.GetConfigOverride[];
    /**
     * Filter patterns used to discover active Java processes for provisioning the APM Agent.
     */
    readonly processFilters: string[];
    readonly rules: outputs.ApmConfig.GetConfigRule[];
    /**
     * The OS user that should be used to discover Java processes.
     */
    readonly runAsUser: string;
    /**
     * 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.
     */
    readonly serviceName: 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: 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: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
     */
    readonly updatedBy: string;
}
/**
 * This data source provides details about a specific Config resource in Oracle Cloud Infrastructure Apm Config service.
 *
 * Gets the configuration item identified by the OCID.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testConfig = oci.apmconfig.getConfig({
 *     apmDomainId: testApmDomain.id,
 *     configId: testConfigOciApmConfigConfig.id,
 * });
 * ```
 */
export declare function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigResult>;
/**
 * A collection of arguments for invoking getConfig.
 */
export interface GetConfigOutputArgs {
    /**
     * The APM Domain ID the request is intended for.
     */
    apmDomainId: pulumi.Input<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item.
     */
    configId: pulumi.Input<string>;
}
//# sourceMappingURL=getConfig.d.ts.map