1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ApmConfig
  5. Config
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.ApmConfig.Config

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This resource provides the Config resource in Oracle Cloud Infrastructure Apm Config service.

    Creates a new configuration item.

    Example Usage

    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,
            isEnabled: configRulesIsEnabled,
            priority: configRulesPriority,
            satisfiedResponseTime: configRulesSatisfiedResponseTime,
            toleratingResponseTime: configRulesToleratingResponseTime,
        }],
        runAsUser: configRunAsUser,
        serviceName: testService.name,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_config = oci.apmconfig.Config("test_config",
        apm_domain_id=test_apm_domain["id"],
        config_type=config_config_type,
        agent_version=config_agent_version,
        attach_install_dir=config_attach_install_dir,
        config={
            "config_maps": [{
                "file_name": config_config_config_map_file_name,
                "body": config_config_config_map_body,
                "content_type": config_config_config_map_content_type,
            }],
        },
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=config_description,
        dimensions=[{
            "name": config_dimensions_name,
            "value_source": config_dimensions_value_source,
        }],
        display_name=config_display_name,
        filter_id=test_filter["id"],
        filter_text=config_filter_text,
        freeform_tags={
            "bar-key": "value",
        },
        group=config_group,
        management_agent_id=test_management_agent["id"],
        match_agents_with_attribute_value=config_match_agents_with_attribute_value,
        metrics=[{
            "description": config_metrics_description,
            "name": config_metrics_name,
            "unit": config_metrics_unit,
            "value_source": config_metrics_value_source,
        }],
        namespace=config_namespace,
        opc_dry_run=config_opc_dry_run,
        options=config_options,
        overrides={
            "override_lists": [{
                "agent_filter": config_overrides_override_list_agent_filter,
                "override_map": config_overrides_override_list_override_map,
            }],
        },
        process_filters=config_process_filter,
        rules=[{
            "display_name": config_rules_display_name,
            "filter_text": config_rules_filter_text,
            "is_apply_to_error_spans": config_rules_is_apply_to_error_spans,
            "is_enabled": config_rules_is_enabled,
            "priority": config_rules_priority,
            "satisfied_response_time": config_rules_satisfied_response_time,
            "tolerating_response_time": config_rules_tolerating_response_time,
        }],
        run_as_user=config_run_as_user,
        service_name=test_service["name"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/apmconfig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apmconfig.NewConfig(ctx, "test_config", &apmconfig.ConfigArgs{
    			ApmDomainId:      pulumi.Any(testApmDomain.Id),
    			ConfigType:       pulumi.Any(configConfigType),
    			AgentVersion:     pulumi.Any(configAgentVersion),
    			AttachInstallDir: pulumi.Any(configAttachInstallDir),
    			Config: &apmconfig.ConfigConfigArgs{
    				ConfigMaps: apmconfig.ConfigConfigConfigMapArray{
    					&apmconfig.ConfigConfigConfigMapArgs{
    						FileName:    pulumi.Any(configConfigConfigMapFileName),
    						Body:        pulumi.Any(configConfigConfigMapBody),
    						ContentType: pulumi.Any(configConfigConfigMapContentType),
    					},
    				},
    			},
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(configDescription),
    			Dimensions: apmconfig.ConfigDimensionArray{
    				&apmconfig.ConfigDimensionArgs{
    					Name:        pulumi.Any(configDimensionsName),
    					ValueSource: pulumi.Any(configDimensionsValueSource),
    				},
    			},
    			DisplayName: pulumi.Any(configDisplayName),
    			FilterId:    pulumi.Any(testFilter.Id),
    			FilterText:  pulumi.Any(configFilterText),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Group:                         pulumi.Any(configGroup),
    			ManagementAgentId:             pulumi.Any(testManagementAgent.Id),
    			MatchAgentsWithAttributeValue: pulumi.Any(configMatchAgentsWithAttributeValue),
    			Metrics: apmconfig.ConfigMetricArray{
    				&apmconfig.ConfigMetricArgs{
    					Description: pulumi.Any(configMetricsDescription),
    					Name:        pulumi.Any(configMetricsName),
    					Unit:        pulumi.Any(configMetricsUnit),
    					ValueSource: pulumi.Any(configMetricsValueSource),
    				},
    			},
    			Namespace: pulumi.Any(configNamespace),
    			OpcDryRun: pulumi.Any(configOpcDryRun),
    			Options:   pulumi.Any(configOptions),
    			Overrides: &apmconfig.ConfigOverridesArgs{
    				OverrideLists: apmconfig.ConfigOverridesOverrideListArray{
    					&apmconfig.ConfigOverridesOverrideListArgs{
    						AgentFilter: pulumi.Any(configOverridesOverrideListAgentFilter),
    						OverrideMap: pulumi.Any(configOverridesOverrideListOverrideMap),
    					},
    				},
    			},
    			ProcessFilters: pulumi.Any(configProcessFilter),
    			Rules: apmconfig.ConfigRuleArray{
    				&apmconfig.ConfigRuleArgs{
    					DisplayName:            pulumi.Any(configRulesDisplayName),
    					FilterText:             pulumi.Any(configRulesFilterText),
    					IsApplyToErrorSpans:    pulumi.Any(configRulesIsApplyToErrorSpans),
    					IsEnabled:              pulumi.Any(configRulesIsEnabled),
    					Priority:               pulumi.Any(configRulesPriority),
    					SatisfiedResponseTime:  pulumi.Any(configRulesSatisfiedResponseTime),
    					ToleratingResponseTime: pulumi.Any(configRulesToleratingResponseTime),
    				},
    			},
    			RunAsUser:   pulumi.Any(configRunAsUser),
    			ServiceName: pulumi.Any(testService.Name),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testConfig = new Oci.ApmConfig.Config("test_config", new()
        {
            ApmDomainId = testApmDomain.Id,
            ConfigType = configConfigType,
            AgentVersion = configAgentVersion,
            AttachInstallDir = configAttachInstallDir,
            Configuration = new Oci.ApmConfig.Inputs.ConfigConfigArgs
            {
                ConfigMaps = new[]
                {
                    new Oci.ApmConfig.Inputs.ConfigConfigConfigMapArgs
                    {
                        FileName = configConfigConfigMapFileName,
                        Body = configConfigConfigMapBody,
                        ContentType = configConfigConfigMapContentType,
                    },
                },
            },
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = configDescription,
            Dimensions = new[]
            {
                new Oci.ApmConfig.Inputs.ConfigDimensionArgs
                {
                    Name = configDimensionsName,
                    ValueSource = configDimensionsValueSource,
                },
            },
            DisplayName = configDisplayName,
            FilterId = testFilter.Id,
            FilterText = configFilterText,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Group = configGroup,
            ManagementAgentId = testManagementAgent.Id,
            MatchAgentsWithAttributeValue = configMatchAgentsWithAttributeValue,
            Metrics = new[]
            {
                new Oci.ApmConfig.Inputs.ConfigMetricArgs
                {
                    Description = configMetricsDescription,
                    Name = configMetricsName,
                    Unit = configMetricsUnit,
                    ValueSource = configMetricsValueSource,
                },
            },
            Namespace = configNamespace,
            OpcDryRun = configOpcDryRun,
            Options = configOptions,
            Overrides = new Oci.ApmConfig.Inputs.ConfigOverridesArgs
            {
                OverrideLists = new[]
                {
                    new Oci.ApmConfig.Inputs.ConfigOverridesOverrideListArgs
                    {
                        AgentFilter = configOverridesOverrideListAgentFilter,
                        OverrideMap = configOverridesOverrideListOverrideMap,
                    },
                },
            },
            ProcessFilters = configProcessFilter,
            Rules = new[]
            {
                new Oci.ApmConfig.Inputs.ConfigRuleArgs
                {
                    DisplayName = configRulesDisplayName,
                    FilterText = configRulesFilterText,
                    IsApplyToErrorSpans = configRulesIsApplyToErrorSpans,
                    IsEnabled = configRulesIsEnabled,
                    Priority = configRulesPriority,
                    SatisfiedResponseTime = configRulesSatisfiedResponseTime,
                    ToleratingResponseTime = configRulesToleratingResponseTime,
                },
            },
            RunAsUser = configRunAsUser,
            ServiceName = testService.Name,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ApmConfig.Config;
    import com.pulumi.oci.ApmConfig.ConfigArgs;
    import com.pulumi.oci.ApmConfig.inputs.ConfigConfigArgs;
    import com.pulumi.oci.ApmConfig.inputs.ConfigDimensionArgs;
    import com.pulumi.oci.ApmConfig.inputs.ConfigMetricArgs;
    import com.pulumi.oci.ApmConfig.inputs.ConfigOverridesArgs;
    import com.pulumi.oci.ApmConfig.inputs.ConfigRuleArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testConfig = new Config("testConfig", ConfigArgs.builder()
                .apmDomainId(testApmDomain.id())
                .configType(configConfigType)
                .agentVersion(configAgentVersion)
                .attachInstallDir(configAttachInstallDir)
                .config(ConfigConfigArgs.builder()
                    .configMaps(ConfigConfigConfigMapArgs.builder()
                        .fileName(configConfigConfigMapFileName)
                        .body(configConfigConfigMapBody)
                        .contentType(configConfigConfigMapContentType)
                        .build())
                    .build())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(configDescription)
                .dimensions(ConfigDimensionArgs.builder()
                    .name(configDimensionsName)
                    .valueSource(configDimensionsValueSource)
                    .build())
                .displayName(configDisplayName)
                .filterId(testFilter.id())
                .filterText(configFilterText)
                .freeformTags(Map.of("bar-key", "value"))
                .group(configGroup)
                .managementAgentId(testManagementAgent.id())
                .matchAgentsWithAttributeValue(configMatchAgentsWithAttributeValue)
                .metrics(ConfigMetricArgs.builder()
                    .description(configMetricsDescription)
                    .name(configMetricsName)
                    .unit(configMetricsUnit)
                    .valueSource(configMetricsValueSource)
                    .build())
                .namespace(configNamespace)
                .opcDryRun(configOpcDryRun)
                .options(configOptions)
                .overrides(ConfigOverridesArgs.builder()
                    .overrideLists(ConfigOverridesOverrideListArgs.builder()
                        .agentFilter(configOverridesOverrideListAgentFilter)
                        .overrideMap(configOverridesOverrideListOverrideMap)
                        .build())
                    .build())
                .processFilters(configProcessFilter)
                .rules(ConfigRuleArgs.builder()
                    .displayName(configRulesDisplayName)
                    .filterText(configRulesFilterText)
                    .isApplyToErrorSpans(configRulesIsApplyToErrorSpans)
                    .isEnabled(configRulesIsEnabled)
                    .priority(configRulesPriority)
                    .satisfiedResponseTime(configRulesSatisfiedResponseTime)
                    .toleratingResponseTime(configRulesToleratingResponseTime)
                    .build())
                .runAsUser(configRunAsUser)
                .serviceName(testService.name())
                .build());
    
        }
    }
    
    resources:
      testConfig:
        type: oci:ApmConfig:Config
        name: test_config
        properties:
          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}
              isEnabled: ${configRulesIsEnabled}
              priority: ${configRulesPriority}
              satisfiedResponseTime: ${configRulesSatisfiedResponseTime}
              toleratingResponseTime: ${configRulesToleratingResponseTime}
          runAsUser: ${configRunAsUser}
          serviceName: ${testService.name}
    

    Create Config Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
    @overload
    def Config(resource_name: str,
               args: ConfigArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Config(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               config_type: Optional[str] = None,
               apm_domain_id: Optional[str] = None,
               group: Optional[str] = None,
               filter_text: Optional[str] = None,
               attach_install_dir: Optional[str] = None,
               defined_tags: Optional[Mapping[str, str]] = None,
               description: Optional[str] = None,
               dimensions: Optional[Sequence[ConfigDimensionArgs]] = None,
               display_name: Optional[str] = None,
               management_agent_id: Optional[str] = None,
               in_use_bies: Optional[Sequence[ConfigInUseByArgs]] = None,
               freeform_tags: Optional[Mapping[str, str]] = None,
               config: Optional[ConfigConfigArgs] = None,
               agent_version: Optional[str] = None,
               filter_id: Optional[str] = None,
               match_agents_with_attribute_value: Optional[str] = None,
               metrics: Optional[Sequence[ConfigMetricArgs]] = None,
               namespace: Optional[str] = None,
               opc_dry_run: Optional[str] = None,
               options: Optional[str] = None,
               overrides: Optional[ConfigOverridesArgs] = None,
               process_filters: Optional[Sequence[str]] = None,
               rules: Optional[Sequence[ConfigRuleArgs]] = None,
               run_as_user: Optional[str] = None,
               service_name: Optional[str] = None)
    func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
    public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
    public Config(String name, ConfigArgs args)
    public Config(String name, ConfigArgs args, CustomResourceOptions options)
    
    type: oci:ApmConfig:Config
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var configResource = new Oci.ApmConfig.Config("configResource", new()
    {
        ConfigType = "string",
        ApmDomainId = "string",
        Group = "string",
        FilterText = "string",
        AttachInstallDir = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        Dimensions = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigDimensionArgs
            {
                Name = "string",
                ValueSource = "string",
            },
        },
        DisplayName = "string",
        ManagementAgentId = "string",
        InUseBies = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigInUseByArgs
            {
                ConfigType = "string",
                DisplayName = "string",
                Id = "string",
                OptionsGroup = "string",
            },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Configuration = new Oci.ApmConfig.Inputs.ConfigConfigArgs
        {
            ConfigMaps = new[]
            {
                new Oci.ApmConfig.Inputs.ConfigConfigConfigMapArgs
                {
                    Body = "string",
                    ContentType = "string",
                    FileName = "string",
                },
            },
        },
        AgentVersion = "string",
        FilterId = "string",
        MatchAgentsWithAttributeValue = "string",
        Metrics = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigMetricArgs
            {
                Description = "string",
                Name = "string",
                Unit = "string",
                ValueSource = "string",
            },
        },
        Namespace = "string",
        OpcDryRun = "string",
        Options = "string",
        Overrides = new Oci.ApmConfig.Inputs.ConfigOverridesArgs
        {
            OverrideLists = new[]
            {
                new Oci.ApmConfig.Inputs.ConfigOverridesOverrideListArgs
                {
                    AgentFilter = "string",
                    OverrideMap = 
                    {
                        { "string", "string" },
                    },
                },
            },
        },
        ProcessFilters = new[]
        {
            "string",
        },
        Rules = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigRuleArgs
            {
                DisplayName = "string",
                FilterText = "string",
                IsApplyToErrorSpans = false,
                IsEnabled = false,
                Priority = 0,
                SatisfiedResponseTime = 0,
                ToleratingResponseTime = 0,
            },
        },
        RunAsUser = "string",
        ServiceName = "string",
    });
    
    example, err := apmconfig.NewConfig(ctx, "configResource", &apmconfig.ConfigArgs{
    	ConfigType:       pulumi.String("string"),
    	ApmDomainId:      pulumi.String("string"),
    	Group:            pulumi.String("string"),
    	FilterText:       pulumi.String("string"),
    	AttachInstallDir: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Dimensions: apmconfig.ConfigDimensionArray{
    		&apmconfig.ConfigDimensionArgs{
    			Name:        pulumi.String("string"),
    			ValueSource: pulumi.String("string"),
    		},
    	},
    	DisplayName:       pulumi.String("string"),
    	ManagementAgentId: pulumi.String("string"),
    	InUseBies: apmconfig.ConfigInUseByArray{
    		&apmconfig.ConfigInUseByArgs{
    			ConfigType:   pulumi.String("string"),
    			DisplayName:  pulumi.String("string"),
    			Id:           pulumi.String("string"),
    			OptionsGroup: pulumi.String("string"),
    		},
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Config: &apmconfig.ConfigConfigArgs{
    		ConfigMaps: apmconfig.ConfigConfigConfigMapArray{
    			&apmconfig.ConfigConfigConfigMapArgs{
    				Body:        pulumi.String("string"),
    				ContentType: pulumi.String("string"),
    				FileName:    pulumi.String("string"),
    			},
    		},
    	},
    	AgentVersion:                  pulumi.String("string"),
    	FilterId:                      pulumi.String("string"),
    	MatchAgentsWithAttributeValue: pulumi.String("string"),
    	Metrics: apmconfig.ConfigMetricArray{
    		&apmconfig.ConfigMetricArgs{
    			Description: pulumi.String("string"),
    			Name:        pulumi.String("string"),
    			Unit:        pulumi.String("string"),
    			ValueSource: pulumi.String("string"),
    		},
    	},
    	Namespace: pulumi.String("string"),
    	OpcDryRun: pulumi.String("string"),
    	Options:   pulumi.String("string"),
    	Overrides: &apmconfig.ConfigOverridesArgs{
    		OverrideLists: apmconfig.ConfigOverridesOverrideListArray{
    			&apmconfig.ConfigOverridesOverrideListArgs{
    				AgentFilter: pulumi.String("string"),
    				OverrideMap: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ProcessFilters: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Rules: apmconfig.ConfigRuleArray{
    		&apmconfig.ConfigRuleArgs{
    			DisplayName:            pulumi.String("string"),
    			FilterText:             pulumi.String("string"),
    			IsApplyToErrorSpans:    pulumi.Bool(false),
    			IsEnabled:              pulumi.Bool(false),
    			Priority:               pulumi.Int(0),
    			SatisfiedResponseTime:  pulumi.Int(0),
    			ToleratingResponseTime: pulumi.Int(0),
    		},
    	},
    	RunAsUser:   pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    })
    
    var configResource = new com.pulumi.oci.ApmConfig.Config("configResource", com.pulumi.oci.ApmConfig.ConfigArgs.builder()
        .configType("string")
        .apmDomainId("string")
        .group("string")
        .filterText("string")
        .attachInstallDir("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .dimensions(ConfigDimensionArgs.builder()
            .name("string")
            .valueSource("string")
            .build())
        .displayName("string")
        .managementAgentId("string")
        .inUseBies(ConfigInUseByArgs.builder()
            .configType("string")
            .displayName("string")
            .id("string")
            .optionsGroup("string")
            .build())
        .freeformTags(Map.of("string", "string"))
        .config(ConfigConfigArgs.builder()
            .configMaps(ConfigConfigConfigMapArgs.builder()
                .body("string")
                .contentType("string")
                .fileName("string")
                .build())
            .build())
        .agentVersion("string")
        .filterId("string")
        .matchAgentsWithAttributeValue("string")
        .metrics(ConfigMetricArgs.builder()
            .description("string")
            .name("string")
            .unit("string")
            .valueSource("string")
            .build())
        .namespace("string")
        .opcDryRun("string")
        .options("string")
        .overrides(ConfigOverridesArgs.builder()
            .overrideLists(ConfigOverridesOverrideListArgs.builder()
                .agentFilter("string")
                .overrideMap(Map.of("string", "string"))
                .build())
            .build())
        .processFilters("string")
        .rules(ConfigRuleArgs.builder()
            .displayName("string")
            .filterText("string")
            .isApplyToErrorSpans(false)
            .isEnabled(false)
            .priority(0)
            .satisfiedResponseTime(0)
            .toleratingResponseTime(0)
            .build())
        .runAsUser("string")
        .serviceName("string")
        .build());
    
    config_resource = oci.apmconfig.Config("configResource",
        config_type="string",
        apm_domain_id="string",
        group="string",
        filter_text="string",
        attach_install_dir="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        dimensions=[{
            "name": "string",
            "value_source": "string",
        }],
        display_name="string",
        management_agent_id="string",
        in_use_bies=[{
            "config_type": "string",
            "display_name": "string",
            "id": "string",
            "options_group": "string",
        }],
        freeform_tags={
            "string": "string",
        },
        config={
            "config_maps": [{
                "body": "string",
                "content_type": "string",
                "file_name": "string",
            }],
        },
        agent_version="string",
        filter_id="string",
        match_agents_with_attribute_value="string",
        metrics=[{
            "description": "string",
            "name": "string",
            "unit": "string",
            "value_source": "string",
        }],
        namespace="string",
        opc_dry_run="string",
        options="string",
        overrides={
            "override_lists": [{
                "agent_filter": "string",
                "override_map": {
                    "string": "string",
                },
            }],
        },
        process_filters=["string"],
        rules=[{
            "display_name": "string",
            "filter_text": "string",
            "is_apply_to_error_spans": False,
            "is_enabled": False,
            "priority": 0,
            "satisfied_response_time": 0,
            "tolerating_response_time": 0,
        }],
        run_as_user="string",
        service_name="string")
    
    const configResource = new oci.apmconfig.Config("configResource", {
        configType: "string",
        apmDomainId: "string",
        group: "string",
        filterText: "string",
        attachInstallDir: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        dimensions: [{
            name: "string",
            valueSource: "string",
        }],
        displayName: "string",
        managementAgentId: "string",
        inUseBies: [{
            configType: "string",
            displayName: "string",
            id: "string",
            optionsGroup: "string",
        }],
        freeformTags: {
            string: "string",
        },
        config: {
            configMaps: [{
                body: "string",
                contentType: "string",
                fileName: "string",
            }],
        },
        agentVersion: "string",
        filterId: "string",
        matchAgentsWithAttributeValue: "string",
        metrics: [{
            description: "string",
            name: "string",
            unit: "string",
            valueSource: "string",
        }],
        namespace: "string",
        opcDryRun: "string",
        options: "string",
        overrides: {
            overrideLists: [{
                agentFilter: "string",
                overrideMap: {
                    string: "string",
                },
            }],
        },
        processFilters: ["string"],
        rules: [{
            displayName: "string",
            filterText: "string",
            isApplyToErrorSpans: false,
            isEnabled: false,
            priority: 0,
            satisfiedResponseTime: 0,
            toleratingResponseTime: 0,
        }],
        runAsUser: "string",
        serviceName: "string",
    });
    
    type: oci:ApmConfig:Config
    properties:
        agentVersion: string
        apmDomainId: string
        attachInstallDir: string
        config:
            configMaps:
                - body: string
                  contentType: string
                  fileName: string
        configType: string
        definedTags:
            string: string
        description: string
        dimensions:
            - name: string
              valueSource: string
        displayName: string
        filterId: string
        filterText: string
        freeformTags:
            string: string
        group: string
        inUseBies:
            - configType: string
              displayName: string
              id: string
              optionsGroup: string
        managementAgentId: string
        matchAgentsWithAttributeValue: string
        metrics:
            - description: string
              name: string
              unit: string
              valueSource: string
        namespace: string
        opcDryRun: string
        options: string
        overrides:
            overrideLists:
                - agentFilter: string
                  overrideMap:
                    string: string
        processFilters:
            - string
        rules:
            - displayName: string
              filterText: string
              isApplyToErrorSpans: false
              isEnabled: false
              priority: 0
              satisfiedResponseTime: 0
              toleratingResponseTime: 0
        runAsUser: string
        serviceName: string
    

    Config Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Config resource accepts the following input properties:

    ApmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    ConfigType string
    (Updatable) The type of configuration item.
    AgentVersion string
    (Updatable) The version of the referenced agent bundle.
    AttachInstallDir string
    (Updatable) The directory owned by runAsUser.
    Configuration ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) An optional string that describes what the options are intended or used for.
    Dimensions List<ConfigDimension>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    FilterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    FreeformTags Dictionary<string, 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"}
    Group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    InUseBies List<ConfigInUseBy>
    The list of configuration items that reference the span filter.
    ManagementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    MatchAgentsWithAttributeValue 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.
    Metrics List<ConfigMetric>
    (Updatable) The list of metrics in this group.
    Namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    OpcDryRun 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.
    Options string
    (Updatable) The options are stored here as JSON.
    Overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    ProcessFilters List<string>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    Rules List<ConfigRule>
    (Updatable)
    RunAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    ServiceName 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

    ApmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    ConfigType string
    (Updatable) The type of configuration item.
    AgentVersion string
    (Updatable) The version of the referenced agent bundle.
    AttachInstallDir string
    (Updatable) The directory owned by runAsUser.
    Config ConfigConfigArgs
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) An optional string that describes what the options are intended or used for.
    Dimensions []ConfigDimensionArgs
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    FilterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    FreeformTags map[string]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"}
    Group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    InUseBies []ConfigInUseByArgs
    The list of configuration items that reference the span filter.
    ManagementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    MatchAgentsWithAttributeValue 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.
    Metrics []ConfigMetricArgs
    (Updatable) The list of metrics in this group.
    Namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    OpcDryRun 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.
    Options string
    (Updatable) The options are stored here as JSON.
    Overrides ConfigOverridesArgs
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    ProcessFilters []string
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    Rules []ConfigRuleArgs
    (Updatable)
    RunAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    ServiceName 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

    apmDomainId String
    (Updatable) The APM Domain ID the request is intended for.
    configType String
    (Updatable) The type of configuration item.
    agentVersion String
    (Updatable) The version of the referenced agent bundle.
    attachInstallDir String
    (Updatable) The directory owned by runAsUser.
    config ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions List<ConfigDimension>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterId String
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    freeformTags Map<String,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"}
    group String
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies List<ConfigInUseBy>
    The list of configuration items that reference the span filter.
    managementAgentId String
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeValue 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.
    metrics List<ConfigMetric>
    (Updatable) The list of metrics in this group.
    namespace String
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options String
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters List<String>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules List<ConfigRule>
    (Updatable)
    runAsUser String
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    apmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    configType string
    (Updatable) The type of configuration item.
    agentVersion string
    (Updatable) The version of the referenced agent bundle.
    attachInstallDir string
    (Updatable) The directory owned by runAsUser.
    config ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions ConfigDimension[]
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText string
    (Updatable) The string that defines the Span Filter expression.
    freeformTags {[key: string]: 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"}
    group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies ConfigInUseBy[]
    The list of configuration items that reference the span filter.
    managementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeValue 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.
    metrics ConfigMetric[]
    (Updatable) The list of metrics in this group.
    namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options string
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters string[]
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules ConfigRule[]
    (Updatable)
    runAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    apm_domain_id str
    (Updatable) The APM Domain ID the request is intended for.
    config_type str
    (Updatable) The type of configuration item.
    agent_version str
    (Updatable) The version of the referenced agent bundle.
    attach_install_dir str
    (Updatable) The directory owned by runAsUser.
    config ConfigConfigArgs
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions Sequence[ConfigDimensionArgs]
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    display_name str
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filter_id str
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filter_text str
    (Updatable) The string that defines the Span Filter expression.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    group str
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    in_use_bies Sequence[ConfigInUseByArgs]
    The list of configuration items that reference the span filter.
    management_agent_id str
    The OCID of the Management Agent that will provision the APM Agent.
    match_agents_with_attribute_value str
    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.
    metrics Sequence[ConfigMetricArgs]
    (Updatable) The list of metrics in this group.
    namespace str
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opc_dry_run str
    (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.
    options str
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverridesArgs
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    process_filters Sequence[str]
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules Sequence[ConfigRuleArgs]
    (Updatable)
    run_as_user str
    (Updatable) The OS user that should be used to discover Java processes.
    service_name str

    (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

    apmDomainId String
    (Updatable) The APM Domain ID the request is intended for.
    configType String
    (Updatable) The type of configuration item.
    agentVersion String
    (Updatable) The version of the referenced agent bundle.
    attachInstallDir String
    (Updatable) The directory owned by runAsUser.
    config Property Map
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions List<Property Map>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterId String
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    freeformTags Map<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"}
    group String
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies List<Property Map>
    The list of configuration items that reference the span filter.
    managementAgentId String
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeValue 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.
    metrics List<Property Map>
    (Updatable) The list of metrics in this group.
    namespace String
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options String
    (Updatable) The options are stored here as JSON.
    overrides Property Map
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters List<String>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules List<Property Map>
    (Updatable)
    runAsUser String
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:

    CreatedBy string
    The OCID of a user.
    Etag string
    For optimistic concurrency control. See if-match.
    Id string
    The provider-assigned unique ID for this managed resource.
    MatchAgentsWithAttributeKeys List<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.
    TimeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    TimeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    UpdatedBy string
    The OCID of a user.
    CreatedBy string
    The OCID of a user.
    Etag string
    For optimistic concurrency control. See if-match.
    Id string
    The provider-assigned unique ID for this managed resource.
    MatchAgentsWithAttributeKeys []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.
    TimeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    TimeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    UpdatedBy string
    The OCID of a user.
    createdBy String
    The OCID of a user.
    etag String
    For optimistic concurrency control. See if-match.
    id String
    The provider-assigned unique ID for this managed resource.
    matchAgentsWithAttributeKeys List<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.
    timeCreated String
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated String
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy String
    The OCID of a user.
    createdBy string
    The OCID of a user.
    etag string
    For optimistic concurrency control. See if-match.
    id string
    The provider-assigned unique ID for this managed resource.
    matchAgentsWithAttributeKeys 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.
    timeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy string
    The OCID of a user.
    created_by str
    The OCID of a user.
    etag str
    For optimistic concurrency control. See if-match.
    id str
    The provider-assigned unique ID for this managed resource.
    match_agents_with_attribute_keys Sequence[str]
    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.
    time_created str
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    time_updated str
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updated_by str
    The OCID of a user.
    createdBy String
    The OCID of a user.
    etag String
    For optimistic concurrency control. See if-match.
    id String
    The provider-assigned unique ID for this managed resource.
    matchAgentsWithAttributeKeys List<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.
    timeCreated String
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated String
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy String
    The OCID of a user.

    Look up Existing Config Resource

    Get an existing Config resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ConfigState, opts?: CustomResourceOptions): Config
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            agent_version: Optional[str] = None,
            apm_domain_id: Optional[str] = None,
            attach_install_dir: Optional[str] = None,
            config: Optional[ConfigConfigArgs] = None,
            config_type: Optional[str] = None,
            created_by: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            dimensions: Optional[Sequence[ConfigDimensionArgs]] = None,
            display_name: Optional[str] = None,
            etag: Optional[str] = None,
            filter_id: Optional[str] = None,
            filter_text: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            group: Optional[str] = None,
            in_use_bies: Optional[Sequence[ConfigInUseByArgs]] = None,
            management_agent_id: Optional[str] = None,
            match_agents_with_attribute_keys: Optional[Sequence[str]] = None,
            match_agents_with_attribute_value: Optional[str] = None,
            metrics: Optional[Sequence[ConfigMetricArgs]] = None,
            namespace: Optional[str] = None,
            opc_dry_run: Optional[str] = None,
            options: Optional[str] = None,
            overrides: Optional[ConfigOverridesArgs] = None,
            process_filters: Optional[Sequence[str]] = None,
            rules: Optional[Sequence[ConfigRuleArgs]] = None,
            run_as_user: Optional[str] = None,
            service_name: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            updated_by: Optional[str] = None) -> Config
    func GetConfig(ctx *Context, name string, id IDInput, state *ConfigState, opts ...ResourceOption) (*Config, error)
    public static Config Get(string name, Input<string> id, ConfigState? state, CustomResourceOptions? opts = null)
    public static Config get(String name, Output<String> id, ConfigState state, CustomResourceOptions options)
    resources:  _:    type: oci:ApmConfig:Config    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AgentVersion string
    (Updatable) The version of the referenced agent bundle.
    ApmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    AttachInstallDir string
    (Updatable) The directory owned by runAsUser.
    ConfigType string
    (Updatable) The type of configuration item.
    Configuration ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    CreatedBy string
    The OCID of a user.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) An optional string that describes what the options are intended or used for.
    Dimensions List<ConfigDimension>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    Etag string
    For optimistic concurrency control. See if-match.
    FilterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    FreeformTags Dictionary<string, 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"}
    Group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    InUseBies List<ConfigInUseBy>
    The list of configuration items that reference the span filter.
    ManagementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    MatchAgentsWithAttributeKeys List<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.
    MatchAgentsWithAttributeValue 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.
    Metrics List<ConfigMetric>
    (Updatable) The list of metrics in this group.
    Namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    OpcDryRun 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.
    Options string
    (Updatable) The options are stored here as JSON.
    Overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    ProcessFilters List<string>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    Rules List<ConfigRule>
    (Updatable)
    RunAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    ServiceName 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

    TimeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    TimeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    UpdatedBy string
    The OCID of a user.
    AgentVersion string
    (Updatable) The version of the referenced agent bundle.
    ApmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    AttachInstallDir string
    (Updatable) The directory owned by runAsUser.
    Config ConfigConfigArgs
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    ConfigType string
    (Updatable) The type of configuration item.
    CreatedBy string
    The OCID of a user.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) An optional string that describes what the options are intended or used for.
    Dimensions []ConfigDimensionArgs
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    Etag string
    For optimistic concurrency control. See if-match.
    FilterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    FreeformTags map[string]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"}
    Group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    InUseBies []ConfigInUseByArgs
    The list of configuration items that reference the span filter.
    ManagementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    MatchAgentsWithAttributeKeys []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.
    MatchAgentsWithAttributeValue 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.
    Metrics []ConfigMetricArgs
    (Updatable) The list of metrics in this group.
    Namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    OpcDryRun 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.
    Options string
    (Updatable) The options are stored here as JSON.
    Overrides ConfigOverridesArgs
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    ProcessFilters []string
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    Rules []ConfigRuleArgs
    (Updatable)
    RunAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    ServiceName 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

    TimeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    TimeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    UpdatedBy string
    The OCID of a user.
    agentVersion String
    (Updatable) The version of the referenced agent bundle.
    apmDomainId String
    (Updatable) The APM Domain ID the request is intended for.
    attachInstallDir String
    (Updatable) The directory owned by runAsUser.
    config ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    configType String
    (Updatable) The type of configuration item.
    createdBy String
    The OCID of a user.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions List<ConfigDimension>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    etag String
    For optimistic concurrency control. See if-match.
    filterId String
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    freeformTags Map<String,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"}
    group String
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies List<ConfigInUseBy>
    The list of configuration items that reference the span filter.
    managementAgentId String
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeKeys List<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.
    matchAgentsWithAttributeValue 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.
    metrics List<ConfigMetric>
    (Updatable) The list of metrics in this group.
    namespace String
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options String
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters List<String>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules List<ConfigRule>
    (Updatable)
    runAsUser String
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    timeCreated String
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated String
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy String
    The OCID of a user.
    agentVersion string
    (Updatable) The version of the referenced agent bundle.
    apmDomainId string
    (Updatable) The APM Domain ID the request is intended for.
    attachInstallDir string
    (Updatable) The directory owned by runAsUser.
    config ConfigConfig
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    configType string
    (Updatable) The type of configuration item.
    createdBy string
    The OCID of a user.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions ConfigDimension[]
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    etag string
    For optimistic concurrency control. See if-match.
    filterId string
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText string
    (Updatable) The string that defines the Span Filter expression.
    freeformTags {[key: string]: 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"}
    group string
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies ConfigInUseBy[]
    The list of configuration items that reference the span filter.
    managementAgentId string
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeKeys 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.
    matchAgentsWithAttributeValue 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.
    metrics ConfigMetric[]
    (Updatable) The list of metrics in this group.
    namespace string
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options string
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverrides
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters string[]
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules ConfigRule[]
    (Updatable)
    runAsUser string
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    timeCreated string
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated string
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy string
    The OCID of a user.
    agent_version str
    (Updatable) The version of the referenced agent bundle.
    apm_domain_id str
    (Updatable) The APM Domain ID the request is intended for.
    attach_install_dir str
    (Updatable) The directory owned by runAsUser.
    config ConfigConfigArgs
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    config_type str
    (Updatable) The type of configuration item.
    created_by str
    The OCID of a user.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions Sequence[ConfigDimensionArgs]
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    display_name str
    (Updatable) The name by which a configuration entity is displayed to the end user.
    etag str
    For optimistic concurrency control. See if-match.
    filter_id str
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filter_text str
    (Updatable) The string that defines the Span Filter expression.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    group str
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    in_use_bies Sequence[ConfigInUseByArgs]
    The list of configuration items that reference the span filter.
    management_agent_id str
    The OCID of the Management Agent that will provision the APM Agent.
    match_agents_with_attribute_keys Sequence[str]
    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.
    match_agents_with_attribute_value str
    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.
    metrics Sequence[ConfigMetricArgs]
    (Updatable) The list of metrics in this group.
    namespace str
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opc_dry_run str
    (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.
    options str
    (Updatable) The options are stored here as JSON.
    overrides ConfigOverridesArgs
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    process_filters Sequence[str]
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules Sequence[ConfigRuleArgs]
    (Updatable)
    run_as_user str
    (Updatable) The OS user that should be used to discover Java processes.
    service_name str

    (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

    time_created str
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    time_updated str
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updated_by str
    The OCID of a user.
    agentVersion String
    (Updatable) The version of the referenced agent bundle.
    apmDomainId String
    (Updatable) The APM Domain ID the request is intended for.
    attachInstallDir String
    (Updatable) The directory owned by runAsUser.
    config Property Map
    (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 config_map. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit and {{ | default }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
    configType String
    (Updatable) The type of configuration item.
    createdBy String
    The OCID of a user.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) An optional string that describes what the options are intended or used for.
    dimensions List<Property Map>
    (Updatable) A list of dimensions for the metric. This variable should not be used.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    etag String
    For optimistic concurrency control. See if-match.
    filterId String
    (Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    freeformTags Map<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"}
    group String
    (Updatable) A string that specifies the group that an OPTIONS item belongs to.
    inUseBies List<Property Map>
    The list of configuration items that reference the span filter.
    managementAgentId String
    The OCID of the Management Agent that will provision the APM Agent.
    matchAgentsWithAttributeKeys List<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.
    matchAgentsWithAttributeValue 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.
    metrics List<Property Map>
    (Updatable) The list of metrics in this group.
    namespace String
    (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
    opcDryRun 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.
    options String
    (Updatable) The options are stored here as JSON.
    overrides Property Map
    (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
    processFilters List<String>
    (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
    rules List<Property Map>
    (Updatable)
    runAsUser String
    (Updatable) The OS user that should be used to discover Java processes.
    serviceName 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

    timeCreated String
    The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z
    timeUpdated String
    The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z
    updatedBy String
    The OCID of a user.

    Supporting Types

    ConfigConfig, ConfigConfigArgs

    ConfigMaps List<ConfigConfigConfigMap>
    (Updatable) Map of an agent configuration file.
    ConfigMaps []ConfigConfigConfigMap
    (Updatable) Map of an agent configuration file.
    configMaps List<ConfigConfigConfigMap>
    (Updatable) Map of an agent configuration file.
    configMaps ConfigConfigConfigMap[]
    (Updatable) Map of an agent configuration file.
    config_maps Sequence[ConfigConfigConfigMap]
    (Updatable) Map of an agent configuration file.
    configMaps List<Property Map>
    (Updatable) Map of an agent configuration file.

    ConfigConfigConfigMap, ConfigConfigConfigMapArgs

    Body string
    The Base64 encoded agent configuration file.
    ContentType string
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    FileName string
    (Updatable) An agent configuration file name.
    Body string
    The Base64 encoded agent configuration file.
    ContentType string
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    FileName string
    (Updatable) An agent configuration file name.
    body String
    The Base64 encoded agent configuration file.
    contentType String
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    fileName String
    (Updatable) An agent configuration file name.
    body string
    The Base64 encoded agent configuration file.
    contentType string
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    fileName string
    (Updatable) An agent configuration file name.
    body str
    The Base64 encoded agent configuration file.
    content_type str
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    file_name str
    (Updatable) An agent configuration file name.
    body String
    The Base64 encoded agent configuration file.
    contentType String
    (Updatable) The MIME Content-Type that describes the content of the body field, for example, text/yaml or text/yaml; charset=utf-8
    fileName String
    (Updatable) An agent configuration file name.

    ConfigDimension, ConfigDimensionArgs

    Name string
    (Updatable) The name of the dimension.
    ValueSource string
    (Updatable) The source to populate the dimension. This must not be specified.
    Name string
    (Updatable) The name of the dimension.
    ValueSource string
    (Updatable) The source to populate the dimension. This must not be specified.
    name String
    (Updatable) The name of the dimension.
    valueSource String
    (Updatable) The source to populate the dimension. This must not be specified.
    name string
    (Updatable) The name of the dimension.
    valueSource string
    (Updatable) The source to populate the dimension. This must not be specified.
    name str
    (Updatable) The name of the dimension.
    value_source str
    (Updatable) The source to populate the dimension. This must not be specified.
    name String
    (Updatable) The name of the dimension.
    valueSource String
    (Updatable) The source to populate the dimension. This must not be specified.

    ConfigInUseBy, ConfigInUseByArgs

    ConfigType string
    (Updatable) The type of configuration item.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    Id string
    The OCID of the configuration item. An OCID is generated when the item is created.
    OptionsGroup string
    A string that specifies the group that an OPTIONS item belongs to.
    ConfigType string
    (Updatable) The type of configuration item.
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    Id string
    The OCID of the configuration item. An OCID is generated when the item is created.
    OptionsGroup string
    A string that specifies the group that an OPTIONS item belongs to.
    configType String
    (Updatable) The type of configuration item.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    id String
    The OCID of the configuration item. An OCID is generated when the item is created.
    optionsGroup String
    A string that specifies the group that an OPTIONS item belongs to.
    configType string
    (Updatable) The type of configuration item.
    displayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    id string
    The OCID of the configuration item. An OCID is generated when the item is created.
    optionsGroup string
    A string that specifies the group that an OPTIONS item belongs to.
    config_type str
    (Updatable) The type of configuration item.
    display_name str
    (Updatable) The name by which a configuration entity is displayed to the end user.
    id str
    The OCID of the configuration item. An OCID is generated when the item is created.
    options_group str
    A string that specifies the group that an OPTIONS item belongs to.
    configType String
    (Updatable) The type of configuration item.
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    id String
    The OCID of the configuration item. An OCID is generated when the item is created.
    optionsGroup String
    A string that specifies the group that an OPTIONS item belongs to.

    ConfigMetric, ConfigMetricArgs

    Description string
    (Updatable) A description of the metric.
    Name string
    (Updatable) The name of the metric. This must be a known metric name.
    Unit string
    (Updatable) The unit of the metric.
    ValueSource string
    (Updatable) This must not be set.
    Description string
    (Updatable) A description of the metric.
    Name string
    (Updatable) The name of the metric. This must be a known metric name.
    Unit string
    (Updatable) The unit of the metric.
    ValueSource string
    (Updatable) This must not be set.
    description String
    (Updatable) A description of the metric.
    name String
    (Updatable) The name of the metric. This must be a known metric name.
    unit String
    (Updatable) The unit of the metric.
    valueSource String
    (Updatable) This must not be set.
    description string
    (Updatable) A description of the metric.
    name string
    (Updatable) The name of the metric. This must be a known metric name.
    unit string
    (Updatable) The unit of the metric.
    valueSource string
    (Updatable) This must not be set.
    description str
    (Updatable) A description of the metric.
    name str
    (Updatable) The name of the metric. This must be a known metric name.
    unit str
    (Updatable) The unit of the metric.
    value_source str
    (Updatable) This must not be set.
    description String
    (Updatable) A description of the metric.
    name String
    (Updatable) The name of the metric. This must be a known metric name.
    unit String
    (Updatable) The unit of the metric.
    valueSource String
    (Updatable) This must not be set.

    ConfigOverrides, ConfigOverridesArgs

    ConfigOverridesOverrideList, ConfigOverridesOverrideListArgs

    AgentFilter string
    (Updatable) The string that defines the Agent Filter expression.
    OverrideMap Dictionary<string, string>
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true
    AgentFilter string
    (Updatable) The string that defines the Agent Filter expression.
    OverrideMap map[string]string
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true
    agentFilter String
    (Updatable) The string that defines the Agent Filter expression.
    overrideMap Map<String,String>
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true
    agentFilter string
    (Updatable) The string that defines the Agent Filter expression.
    overrideMap {[key: string]: string}
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true
    agent_filter str
    (Updatable) The string that defines the Agent Filter expression.
    override_map Mapping[str, str]
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true
    agentFilter String
    (Updatable) The string that defines the Agent Filter expression.
    overrideMap Map<String>
    (Updatable) A map whose key is a substitution variable specified within the configuration's body. For example, if below was specified in the configuration's body {{ isJfrEnabled | default false }} Then a valid map key would be "isJfrEnabled". The value is typically different than the default specified in the configuration's body. Thus, in this example, the map entry could be "isJfrEnabled": true

    ConfigRule, ConfigRuleArgs

    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    IsApplyToErrorSpans bool
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    IsEnabled bool
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    Priority int
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    SatisfiedResponseTime int
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    ToleratingResponseTime int
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".
    DisplayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    FilterText string
    (Updatable) The string that defines the Span Filter expression.
    IsApplyToErrorSpans bool
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    IsEnabled bool
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    Priority int
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    SatisfiedResponseTime int
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    ToleratingResponseTime int
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    isApplyToErrorSpans Boolean
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    isEnabled Boolean
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    priority Integer
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    satisfiedResponseTime Integer
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    toleratingResponseTime Integer
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".
    displayName string
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterText string
    (Updatable) The string that defines the Span Filter expression.
    isApplyToErrorSpans boolean
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    isEnabled boolean
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    priority number
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    satisfiedResponseTime number
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    toleratingResponseTime number
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".
    display_name str
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filter_text str
    (Updatable) The string that defines the Span Filter expression.
    is_apply_to_error_spans bool
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    is_enabled bool
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    priority int
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    satisfied_response_time int
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    tolerating_response_time int
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".
    displayName String
    (Updatable) The name by which a configuration entity is displayed to the end user.
    filterText String
    (Updatable) The string that defines the Span Filter expression.
    isApplyToErrorSpans Boolean
    (Updatable) Specifies whether an Apdex score should be computed for error spans. Setting it to "true" means that the Apdex score is computed in the usual way. Setting it to "false" skips the Apdex computation and sets the Apdex score to "frustrating" regardless of the configured thresholds. The default is "false".
    isEnabled Boolean
    (Updatable) Specifies whether the Apdex score should be computed for spans matching the rule. This can be used to disable Apdex score for spans that do not need or require it. The default is "true".
    priority Number
    (Updatable) The priority controls the order in which multiple rules in a rule set are applied. Lower values indicate higher priorities. Rules with higher priority are applied first, and once a match is found, the rest of the rules are ignored. Rules within the same rule set cannot have the same priority.
    satisfiedResponseTime Number
    (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
    toleratingResponseTime Number
    (Updatable) The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime".

    Import

    Configs can be imported using the id, e.g.

    $ pulumi import oci:ApmConfig/config:Config test_config "configs/{configId}/apmDomainId/{apmDomainId}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi