1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ApmConfig
  5. Config
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.ApmConfig.Config

Explore with Pulumi AI

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,
    displayName: configDisplayName,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: configDescription,
    dimensions: [{
        name: configDimensionsName,
        valueSource: configDimensionsValueSource,
    }],
    filterId: testFilter.id,
    filterText: configFilterText,
    freeformTags: {
        "bar-key": "value",
    },
    group: configGroup,
    metrics: [{
        description: configMetricsDescription,
        name: configMetricsName,
        unit: configMetricsUnit,
        valueSource: configMetricsValueSource,
    }],
    namespace: configNamespace,
    opcDryRun: configOpcDryRun,
    options: configOptions,
    rules: [{
        displayName: configRulesDisplayName,
        filterText: configRulesFilterText,
        isApplyToErrorSpans: configRulesIsApplyToErrorSpans,
        isEnabled: configRulesIsEnabled,
        priority: configRulesPriority,
        satisfiedResponseTime: configRulesSatisfiedResponseTime,
        toleratingResponseTime: configRulesToleratingResponseTime,
    }],
});
Copy
import pulumi
import pulumi_oci as oci

test_config = oci.apm_config.Config("test_config",
    apm_domain_id=test_apm_domain["id"],
    config_type=config_config_type,
    display_name=config_display_name,
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=config_description,
    dimensions=[{
        "name": config_dimensions_name,
        "value_source": config_dimensions_value_source,
    }],
    filter_id=test_filter["id"],
    filter_text=config_filter_text,
    freeform_tags={
        "bar-key": "value",
    },
    group=config_group,
    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,
    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,
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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),
			DisplayName: pulumi.Any(configDisplayName),
			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),
				},
			},
			FilterId:   pulumi.Any(testFilter.Id),
			FilterText: pulumi.Any(configFilterText),
			FreeformTags: pulumi.StringMap{
				"bar-key": pulumi.String("value"),
			},
			Group: pulumi.Any(configGroup),
			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),
			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),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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,
        DisplayName = configDisplayName,
        DefinedTags = 
        {
            { "foo-namespace.bar-key", "value" },
        },
        Description = configDescription,
        Dimensions = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigDimensionArgs
            {
                Name = configDimensionsName,
                ValueSource = configDimensionsValueSource,
            },
        },
        FilterId = testFilter.Id,
        FilterText = configFilterText,
        FreeformTags = 
        {
            { "bar-key", "value" },
        },
        Group = configGroup,
        Metrics = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigMetricArgs
            {
                Description = configMetricsDescription,
                Name = configMetricsName,
                Unit = configMetricsUnit,
                ValueSource = configMetricsValueSource,
            },
        },
        Namespace = configNamespace,
        OpcDryRun = configOpcDryRun,
        Options = configOptions,
        Rules = new[]
        {
            new Oci.ApmConfig.Inputs.ConfigRuleArgs
            {
                DisplayName = configRulesDisplayName,
                FilterText = configRulesFilterText,
                IsApplyToErrorSpans = configRulesIsApplyToErrorSpans,
                IsEnabled = configRulesIsEnabled,
                Priority = configRulesPriority,
                SatisfiedResponseTime = configRulesSatisfiedResponseTime,
                ToleratingResponseTime = configRulesToleratingResponseTime,
            },
        },
    });

});
Copy
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.ConfigDimensionArgs;
import com.pulumi.oci.ApmConfig.inputs.ConfigMetricArgs;
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)
            .displayName(configDisplayName)
            .definedTags(Map.of("foo-namespace.bar-key", "value"))
            .description(configDescription)
            .dimensions(ConfigDimensionArgs.builder()
                .name(configDimensionsName)
                .valueSource(configDimensionsValueSource)
                .build())
            .filterId(testFilter.id())
            .filterText(configFilterText)
            .freeformTags(Map.of("bar-key", "value"))
            .group(configGroup)
            .metrics(ConfigMetricArgs.builder()
                .description(configMetricsDescription)
                .name(configMetricsName)
                .unit(configMetricsUnit)
                .valueSource(configMetricsValueSource)
                .build())
            .namespace(configNamespace)
            .opcDryRun(configOpcDryRun)
            .options(configOptions)
            .rules(ConfigRuleArgs.builder()
                .displayName(configRulesDisplayName)
                .filterText(configRulesFilterText)
                .isApplyToErrorSpans(configRulesIsApplyToErrorSpans)
                .isEnabled(configRulesIsEnabled)
                .priority(configRulesPriority)
                .satisfiedResponseTime(configRulesSatisfiedResponseTime)
                .toleratingResponseTime(configRulesToleratingResponseTime)
                .build())
            .build());

    }
}
Copy
resources:
  testConfig:
    type: oci:ApmConfig:Config
    name: test_config
    properties:
      apmDomainId: ${testApmDomain.id}
      configType: ${configConfigType}
      displayName: ${configDisplayName}
      definedTags:
        foo-namespace.bar-key: value
      description: ${configDescription}
      dimensions:
        - name: ${configDimensionsName}
          valueSource: ${configDimensionsValueSource}
      filterId: ${testFilter.id}
      filterText: ${configFilterText}
      freeformTags:
        bar-key: value
      group: ${configGroup}
      metrics:
        - description: ${configMetricsDescription}
          name: ${configMetricsName}
          unit: ${configMetricsUnit}
          valueSource: ${configMetricsValueSource}
      namespace: ${configNamespace}
      opcDryRun: ${configOpcDryRun}
      options: ${configOptions}
      rules:
        - displayName: ${configRulesDisplayName}
          filterText: ${configRulesFilterText}
          isApplyToErrorSpans: ${configRulesIsApplyToErrorSpans}
          isEnabled: ${configRulesIsEnabled}
          priority: ${configRulesPriority}
          satisfiedResponseTime: ${configRulesSatisfiedResponseTime}
          toleratingResponseTime: ${configRulesToleratingResponseTime}
Copy

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,
           display_name: Optional[str] = None,
           config_type: Optional[str] = None,
           apm_domain_id: Optional[str] = None,
           freeform_tags: Optional[Mapping[str, str]] = None,
           dimensions: Optional[Sequence[_apmconfig.ConfigDimensionArgs]] = None,
           description: Optional[str] = None,
           filter_id: Optional[str] = None,
           filter_text: Optional[str] = None,
           defined_tags: Optional[Mapping[str, str]] = None,
           group: Optional[str] = None,
           in_use_bies: Optional[Sequence[_apmconfig.ConfigInUseByArgs]] = None,
           metrics: Optional[Sequence[_apmconfig.ConfigMetricArgs]] = None,
           namespace: Optional[str] = None,
           opc_dry_run: Optional[str] = None,
           options: Optional[str] = None,
           rules: Optional[Sequence[_apmconfig.ConfigRuleArgs]] = 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 This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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()
{
    DisplayName = "string",
    ConfigType = "string",
    ApmDomainId = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
    Dimensions = new[]
    {
        new Oci.ApmConfig.Inputs.ConfigDimensionArgs
        {
            Name = "string",
            ValueSource = "string",
        },
    },
    Description = "string",
    FilterId = "string",
    FilterText = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    Group = "string",
    InUseBies = new[]
    {
        new Oci.ApmConfig.Inputs.ConfigInUseByArgs
        {
            ConfigType = "string",
            DisplayName = "string",
            Id = "string",
            OptionsGroup = "string",
        },
    },
    Metrics = new[]
    {
        new Oci.ApmConfig.Inputs.ConfigMetricArgs
        {
            Description = "string",
            Name = "string",
            Unit = "string",
            ValueSource = "string",
        },
    },
    Namespace = "string",
    OpcDryRun = "string",
    Options = "string",
    Rules = new[]
    {
        new Oci.ApmConfig.Inputs.ConfigRuleArgs
        {
            DisplayName = "string",
            FilterText = "string",
            IsApplyToErrorSpans = false,
            IsEnabled = false,
            Priority = 0,
            SatisfiedResponseTime = 0,
            ToleratingResponseTime = 0,
        },
    },
});
Copy
example, err := ApmConfig.NewConfig(ctx, "configResource", &ApmConfig.ConfigArgs{
	DisplayName: pulumi.String("string"),
	ConfigType:  pulumi.String("string"),
	ApmDomainId: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Dimensions: apmconfig.ConfigDimensionArray{
		&apmconfig.ConfigDimensionArgs{
			Name:        pulumi.String("string"),
			ValueSource: pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	FilterId:    pulumi.String("string"),
	FilterText:  pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Group: pulumi.String("string"),
	InUseBies: apmconfig.ConfigInUseByArray{
		&apmconfig.ConfigInUseByArgs{
			ConfigType:   pulumi.String("string"),
			DisplayName:  pulumi.String("string"),
			Id:           pulumi.String("string"),
			OptionsGroup: 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"),
	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),
		},
	},
})
Copy
var configResource = new Config("configResource", ConfigArgs.builder()
    .displayName("string")
    .configType("string")
    .apmDomainId("string")
    .freeformTags(Map.of("string", "string"))
    .dimensions(ConfigDimensionArgs.builder()
        .name("string")
        .valueSource("string")
        .build())
    .description("string")
    .filterId("string")
    .filterText("string")
    .definedTags(Map.of("string", "string"))
    .group("string")
    .inUseBies(ConfigInUseByArgs.builder()
        .configType("string")
        .displayName("string")
        .id("string")
        .optionsGroup("string")
        .build())
    .metrics(ConfigMetricArgs.builder()
        .description("string")
        .name("string")
        .unit("string")
        .valueSource("string")
        .build())
    .namespace("string")
    .opcDryRun("string")
    .options("string")
    .rules(ConfigRuleArgs.builder()
        .displayName("string")
        .filterText("string")
        .isApplyToErrorSpans(false)
        .isEnabled(false)
        .priority(0)
        .satisfiedResponseTime(0)
        .toleratingResponseTime(0)
        .build())
    .build());
Copy
config_resource = oci.apm_config.Config("configResource",
    display_name="string",
    config_type="string",
    apm_domain_id="string",
    freeform_tags={
        "string": "string",
    },
    dimensions=[{
        "name": "string",
        "value_source": "string",
    }],
    description="string",
    filter_id="string",
    filter_text="string",
    defined_tags={
        "string": "string",
    },
    group="string",
    in_use_bies=[{
        "config_type": "string",
        "display_name": "string",
        "id": "string",
        "options_group": "string",
    }],
    metrics=[{
        "description": "string",
        "name": "string",
        "unit": "string",
        "value_source": "string",
    }],
    namespace="string",
    opc_dry_run="string",
    options="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,
    }])
Copy
const configResource = new oci.apmconfig.Config("configResource", {
    displayName: "string",
    configType: "string",
    apmDomainId: "string",
    freeformTags: {
        string: "string",
    },
    dimensions: [{
        name: "string",
        valueSource: "string",
    }],
    description: "string",
    filterId: "string",
    filterText: "string",
    definedTags: {
        string: "string",
    },
    group: "string",
    inUseBies: [{
        configType: "string",
        displayName: "string",
        id: "string",
        optionsGroup: "string",
    }],
    metrics: [{
        description: "string",
        name: "string",
        unit: "string",
        valueSource: "string",
    }],
    namespace: "string",
    opcDryRun: "string",
    options: "string",
    rules: [{
        displayName: "string",
        filterText: "string",
        isApplyToErrorSpans: false,
        isEnabled: false,
        priority: 0,
        satisfiedResponseTime: 0,
        toleratingResponseTime: 0,
    }],
});
Copy
type: oci:ApmConfig:Config
properties:
    apmDomainId: 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
    metrics:
        - description: string
          name: string
          unit: string
          valueSource: string
    namespace: string
    opcDryRun: string
    options: string
    rules:
        - displayName: string
          filterText: string
          isApplyToErrorSpans: false
          isEnabled: false
          priority: 0
          satisfiedResponseTime: 0
          toleratingResponseTime: 0
Copy

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 This property is required. string
(Updatable) The APM Domain ID the request is intended for.
ConfigType This property is required. string
(Updatable) The type of configuration item.
DisplayName This property is required. string
(Updatable) The name by which a configuration entity is displayed to the end 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.
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.
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.
Rules List<ConfigRule>
(Updatable)
ApmDomainId This property is required. string
(Updatable) The APM Domain ID the request is intended for.
ConfigType This property is required. string
(Updatable) The type of configuration item.
DisplayName This property is required. string
(Updatable) The name by which a configuration entity is displayed to the end 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.
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.
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.
Rules []ConfigRuleArgs
(Updatable)
apmDomainId This property is required. String
(Updatable) The APM Domain ID the request is intended for.
configType This property is required. String
(Updatable) The type of configuration item.
displayName This property is required. String
(Updatable) The name by which a configuration entity is displayed to the end 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.
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.
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.
rules List<ConfigRule>
(Updatable)
apmDomainId This property is required. string
(Updatable) The APM Domain ID the request is intended for.
configType This property is required. string
(Updatable) The type of configuration item.
displayName This property is required. string
(Updatable) The name by which a configuration entity is displayed to the end 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.
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.
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.
rules ConfigRule[]
(Updatable)
apm_domain_id This property is required. str
(Updatable) The APM Domain ID the request is intended for.
config_type This property is required. str
(Updatable) The type of configuration item.
display_name This property is required. str
(Updatable) The name by which a configuration entity is displayed to the end 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[apmconfig.ConfigDimensionArgs]
(Updatable) A list of dimensions for the metric. This variable should not be used.
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[apmconfig.ConfigInUseByArgs]
The list of configuration items that reference the span filter.
metrics Sequence[apmconfig.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.
rules Sequence[apmconfig.ConfigRuleArgs]
(Updatable)
apmDomainId This property is required. String
(Updatable) The APM Domain ID the request is intended for.
configType This property is required. String
(Updatable) The type of configuration item.
displayName This property is required. String
(Updatable) The name by which a configuration entity is displayed to the end 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.
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.
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.
rules List<Property Map>
(Updatable)

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.
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.
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.
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.
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.
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.
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,
        apm_domain_id: Optional[str] = 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[_apmconfig.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[_apmconfig.ConfigInUseByArgs]] = None,
        metrics: Optional[Sequence[_apmconfig.ConfigMetricArgs]] = None,
        namespace: Optional[str] = None,
        opc_dry_run: Optional[str] = None,
        options: Optional[str] = None,
        rules: Optional[Sequence[_apmconfig.ConfigRuleArgs]] = 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
ApmDomainId string
(Updatable) The APM Domain ID the request is intended for.
ConfigType string
(Updatable) The type of configuration item.
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.
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.
Rules List<ConfigRule>
(Updatable)
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.
ApmDomainId string
(Updatable) The APM Domain ID the request is intended for.
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.
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.
Rules []ConfigRuleArgs
(Updatable)
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.
apmDomainId String
(Updatable) The APM Domain ID the request is intended for.
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.
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.
rules List<ConfigRule>
(Updatable)
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.
apmDomainId string
(Updatable) The APM Domain ID the request is intended for.
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.
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.
rules ConfigRule[]
(Updatable)
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.
apm_domain_id str
(Updatable) The APM Domain ID the request is intended for.
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[apmconfig.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[apmconfig.ConfigInUseByArgs]
The list of configuration items that reference the span filter.
metrics Sequence[apmconfig.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.
rules Sequence[apmconfig.ConfigRuleArgs]
(Updatable)
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.
apmDomainId String
(Updatable) The APM Domain ID the request is intended for.
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.
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.
rules List<Property Map>
(Updatable)
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

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.

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".

** 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

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".

** 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

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".

** 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

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".

** 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

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".

** 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

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".

** 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

Import

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

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

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.