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,
}],
});
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,
}])
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
})
}
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,
},
},
});
});
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());
}
}
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}
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 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()
{
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,
},
},
});
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),
},
},
})
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());
config_resource = oci.apm_config.Config("configResource",
display_name="string",
config_type="string",
apm_domain_id="string",
freeform_tags={
"string": "string",
},
dimensions=[oci.apm_config.ConfigDimensionArgs(
name="string",
value_source="string",
)],
description="string",
filter_id="string",
filter_text="string",
defined_tags={
"string": "string",
},
group="string",
in_use_bies=[oci.apm_config.ConfigInUseByArgs(
config_type="string",
display_name="string",
id="string",
options_group="string",
)],
metrics=[oci.apm_config.ConfigMetricArgs(
description="string",
name="string",
unit="string",
value_source="string",
)],
namespace="string",
opc_dry_run="string",
options="string",
rules=[oci.apm_config.ConfigRuleArgs(
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,
)])
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,
}],
});
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
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
The Config resource accepts the following input properties:
- Apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- Config
Type string - (Updatable) The type of configuration item.
- Display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- 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<Config
Dimension> - (Updatable) A list of dimensions for the metric. This variable should not be used.
- Filter
Id 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.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- 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.
- In
Use List<ConfigBies In Use By> - The list of configuration items that reference the span filter.
- Metrics
List<Config
Metric> - (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.
- Opc
Dry stringRun - (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<Config
Rule> - (Updatable)
- Apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- Config
Type string - (Updatable) The type of configuration item.
- Display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- 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
[]Config
Dimension Args - (Updatable) A list of dimensions for the metric. This variable should not be used.
- Filter
Id 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.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- 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.
- In
Use []ConfigBies In Use By Args - The list of configuration items that reference the span filter.
- Metrics
[]Config
Metric Args - (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.
- Opc
Dry stringRun - (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
[]Config
Rule Args - (Updatable)
- apm
Domain StringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type String - (Updatable) The type of configuration item.
- display
Name String - (Updatable) The name by which a configuration entity is displayed to the end user.
- 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<Config
Dimension> - (Updatable) A list of dimensions for the metric. This variable should not be used.
- filter
Id 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.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- 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.
- in
Use List<ConfigBies In Use By> - The list of configuration items that reference the span filter.
- metrics
List<Config
Metric> - (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.
- opc
Dry StringRun - (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<Config
Rule> - (Updatable)
- apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type string - (Updatable) The type of configuration item.
- display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- {[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
Config
Dimension[] - (Updatable) A list of dimensions for the metric. This variable should not be used.
- filter
Id 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.
- filter
Text string - (Updatable) The string that defines the Span Filter expression.
- {[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.
- in
Use ConfigBies In Use By[] - The list of configuration items that reference the span filter.
- metrics
Config
Metric[] - (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.
- opc
Dry stringRun - (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
Config
Rule[] - (Updatable)
- apm_
domain_ strid - (Updatable) The APM Domain ID the request is intended for.
- 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.
- 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.
Config Dimension Args] - (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.
- 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_ Sequence[apmconfig.bies Config In Use By Args] - The list of configuration items that reference the span filter.
- metrics
Sequence[apmconfig.
Config Metric Args] - (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_ strrun - (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.
Config Rule Args] - (Updatable)
- apm
Domain StringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type String - (Updatable) The type of configuration item.
- display
Name String - (Updatable) The name by which a configuration entity is displayed to the end user.
- 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.
- filter
Id 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.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- 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.
- in
Use List<Property Map>Bies - 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.
- opc
Dry StringRun - (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:
- Created
By 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.
- Time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Updated
By string - The OCID of a user.
- Created
By 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.
- Time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Updated
By string - The OCID of a user.
- created
By 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.
- time
Created String - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By String - The OCID of a user.
- created
By 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.
- time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By 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.
- created
By 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.
- time
Created String - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By 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)
Resource lookup is not supported in YAML
- 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.
- Apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- Config
Type string - (Updatable) The type of configuration item.
- Created
By string - The OCID of a user.
- 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<Config
Dimension> - (Updatable) A list of dimensions for the metric. This variable should not be used.
- Display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- Etag string
- For optimistic concurrency control. See
if-match
. - Filter
Id 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.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- 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.
- In
Use List<ConfigBies In Use By> - The list of configuration items that reference the span filter.
- Metrics
List<Config
Metric> - (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.
- Opc
Dry stringRun - (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<Config
Rule> - (Updatable)
- Time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Updated
By string - The OCID of a user.
- Apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- Config
Type string - (Updatable) The type of configuration item.
- Created
By string - The OCID of a user.
- 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
[]Config
Dimension Args - (Updatable) A list of dimensions for the metric. This variable should not be used.
- Display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- Etag string
- For optimistic concurrency control. See
if-match
. - Filter
Id 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.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- 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.
- In
Use []ConfigBies In Use By Args - The list of configuration items that reference the span filter.
- Metrics
[]Config
Metric Args - (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.
- Opc
Dry stringRun - (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
[]Config
Rule Args - (Updatable)
- Time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- Time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- Updated
By string - The OCID of a user.
- apm
Domain StringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type String - (Updatable) The type of configuration item.
- created
By String - The OCID of a user.
- 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<Config
Dimension> - (Updatable) A list of dimensions for the metric. This variable should not be used.
- display
Name String - (Updatable) The name by which a configuration entity is displayed to the end user.
- etag String
- For optimistic concurrency control. See
if-match
. - filter
Id 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.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- 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.
- in
Use List<ConfigBies In Use By> - The list of configuration items that reference the span filter.
- metrics
List<Config
Metric> - (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.
- opc
Dry StringRun - (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<Config
Rule> - (Updatable)
- time
Created String - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By String - The OCID of a user.
- apm
Domain stringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type string - (Updatable) The type of configuration item.
- created
By string - The OCID of a user.
- {[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
Config
Dimension[] - (Updatable) A list of dimensions for the metric. This variable should not be used.
- display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- etag string
- For optimistic concurrency control. See
if-match
. - filter
Id 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.
- filter
Text string - (Updatable) The string that defines the Span Filter expression.
- {[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.
- in
Use ConfigBies In Use By[] - The list of configuration items that reference the span filter.
- metrics
Config
Metric[] - (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.
- opc
Dry stringRun - (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
Config
Rule[] - (Updatable)
- time
Created string - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated string - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By string - The OCID of a user.
- apm_
domain_ strid - (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.
- 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.
Config Dimension Args] - (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.
- 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_ Sequence[apmconfig.bies Config In Use By Args] - The list of configuration items that reference the span filter.
- metrics
Sequence[apmconfig.
Config Metric Args] - (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_ strrun - (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.
Config Rule Args] - (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.
- apm
Domain StringId - (Updatable) The APM Domain ID the request is intended for.
- config
Type String - (Updatable) The type of configuration item.
- created
By String - The OCID of a user.
- 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.
- display
Name String - (Updatable) The name by which a configuration entity is displayed to the end user.
- etag String
- For optimistic concurrency control. See
if-match
. - filter
Id 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.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- 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.
- in
Use List<Property Map>Bies - 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.
- opc
Dry StringRun - (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)
- time
Created String - The time the resource was created, expressed in RFC 3339 timestamp format. Example:
2020-02-12T22:47:12.613Z
- time
Updated String - The time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2020-02-13T22:47:12.613Z
- updated
By String - The OCID of a user.
Supporting Types
ConfigDimension, ConfigDimensionArgs
- Name string
- (Updatable) The name of the dimension.
- Value
Source string - (Updatable) The source to populate the dimension. This must not be specified.
- Name string
- (Updatable) The name of the dimension.
- Value
Source string - (Updatable) The source to populate the dimension. This must not be specified.
- name String
- (Updatable) The name of the dimension.
- value
Source String - (Updatable) The source to populate the dimension. This must not be specified.
- name string
- (Updatable) The name of the dimension.
- value
Source 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.
- value
Source String - (Updatable) The source to populate the dimension. This must not be specified.
ConfigInUseBy, ConfigInUseByArgs
- Config
Type string - (Updatable) The type of configuration item.
- Display
Name 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.
- Options
Group string - A string that specifies the group that an OPTIONS item belongs to.
- Config
Type string - (Updatable) The type of configuration item.
- Display
Name 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.
- Options
Group string - A string that specifies the group that an OPTIONS item belongs to.
- config
Type String - (Updatable) The type of configuration item.
- display
Name 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.
- options
Group String - A string that specifies the group that an OPTIONS item belongs to.
- config
Type string - (Updatable) The type of configuration item.
- display
Name 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.
- options
Group 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.
- config
Type String - (Updatable) The type of configuration item.
- display
Name 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.
- options
Group 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.
- Value
Source 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.
- Value
Source 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.
- value
Source 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.
- value
Source 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.
- value
Source String - (Updatable) This must not be set.
ConfigRule, ConfigRuleArgs
- Display
Name string - (Updatable) The name by which a configuration entity is displayed to the end user.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- Is
Apply boolTo Error Spans - (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 intTime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- Tolerating
Response intTime (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 string - (Updatable) The name by which a configuration entity is displayed to the end user.
- Filter
Text string - (Updatable) The string that defines the Span Filter expression.
- Is
Apply boolTo Error Spans - (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 intTime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- Tolerating
Response intTime (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 String - (Updatable) The name by which a configuration entity is displayed to the end user.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- is
Apply BooleanTo Error Spans - (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 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.
- satisfied
Response IntegerTime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- tolerating
Response IntegerTime (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 string - (Updatable) The name by which a configuration entity is displayed to the end user.
- filter
Text string - (Updatable) The string that defines the Span Filter expression.
- is
Apply booleanTo Error Spans - (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 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.
- satisfied
Response numberTime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- tolerating
Response numberTime (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_ boolto_ error_ spans - (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_ inttime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- tolerating_
response_ inttime (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 String - (Updatable) The name by which a configuration entity is displayed to the end user.
- filter
Text String - (Updatable) The string that defines the Span Filter expression.
- is
Apply BooleanTo Error Spans - (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 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.
- satisfied
Response NumberTime - (Updatable) The maximum response time in milliseconds that is considered "satisfactory" for the end user.
- tolerating
Response NumberTime (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}"
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.