Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

Config

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

Creates a new Configuration item.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testConfig = new Oci.ApmConfig.Config("testConfig", new Oci.ApmConfig.ConfigArgs
        {
            ApmDomainId = oci_apm_apm_domain.Test_apm_domain.Id,
            ConfigType = @var.Config_config_type,
            DisplayName = @var.Config_display_name,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Config_description,
            Dimensions = 
            {
                new Oci.ApmConfig.Inputs.ConfigDimensionArgs
                {
                    Name = @var.Config_dimensions_name,
                    ValueSource = @var.Config_dimensions_value_source,
                },
            },
            FilterId = oci_apm_config_filter.Test_filter.Id,
            FilterText = @var.Config_filter_text,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Metrics = 
            {
                new Oci.ApmConfig.Inputs.ConfigMetricArgs
                {
                    Description = @var.Config_metrics_description,
                    Name = @var.Config_metrics_name,
                    Unit = @var.Config_metrics_unit,
                    ValueSource = @var.Config_metrics_value_source,
                },
            },
            Namespace = @var.Config_namespace,
            OpcDryRun = @var.Config_opc_dry_run,
            Rules = 
            {
                new Oci.ApmConfig.Inputs.ConfigRuleArgs
                {
                    DisplayName = @var.Config_rules_display_name,
                    FilterText = @var.Config_rules_filter_text,
                    IsApplyToErrorSpans = @var.Config_rules_is_apply_to_error_spans,
                    IsEnabled = @var.Config_rules_is_enabled,
                    Priority = @var.Config_rules_priority,
                    SatisfiedResponseTime = @var.Config_rules_satisfied_response_time,
                    ToleratingResponseTime = @var.Config_rules_tolerating_response_time,
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/ApmConfig"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApmConfig.NewConfig(ctx, "testConfig", &ApmConfig.ConfigArgs{
			ApmDomainId: pulumi.Any(oci_apm_apm_domain.Test_apm_domain.Id),
			ConfigType:  pulumi.Any(_var.Config_config_type),
			DisplayName: pulumi.Any(_var.Config_display_name),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Config_description),
			Dimensions: apmconfig.ConfigDimensionArray{
				&apmconfig.ConfigDimensionArgs{
					Name:        pulumi.Any(_var.Config_dimensions_name),
					ValueSource: pulumi.Any(_var.Config_dimensions_value_source),
				},
			},
			FilterId:   pulumi.Any(oci_apm_config_filter.Test_filter.Id),
			FilterText: pulumi.Any(_var.Config_filter_text),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			Metrics: apmconfig.ConfigMetricArray{
				&apmconfig.ConfigMetricArgs{
					Description: pulumi.Any(_var.Config_metrics_description),
					Name:        pulumi.Any(_var.Config_metrics_name),
					Unit:        pulumi.Any(_var.Config_metrics_unit),
					ValueSource: pulumi.Any(_var.Config_metrics_value_source),
				},
			},
			Namespace: pulumi.Any(_var.Config_namespace),
			OpcDryRun: pulumi.Any(_var.Config_opc_dry_run),
			Rules: apmconfig.ConfigRuleArray{
				&apmconfig.ConfigRuleArgs{
					DisplayName:            pulumi.Any(_var.Config_rules_display_name),
					FilterText:             pulumi.Any(_var.Config_rules_filter_text),
					IsApplyToErrorSpans:    pulumi.Any(_var.Config_rules_is_apply_to_error_spans),
					IsEnabled:              pulumi.Any(_var.Config_rules_is_enabled),
					Priority:               pulumi.Any(_var.Config_rules_priority),
					SatisfiedResponseTime:  pulumi.Any(_var.Config_rules_satisfied_response_time),
					ToleratingResponseTime: pulumi.Any(_var.Config_rules_tolerating_response_time),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_config = oci.apm_config.Config("testConfig",
    apm_domain_id=oci_apm_apm_domain["test_apm_domain"]["id"],
    config_type=var["config_config_type"],
    display_name=var["config_display_name"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["config_description"],
    dimensions=[oci.apm.config.ConfigDimensionArgs(
        name=var["config_dimensions_name"],
        value_source=var["config_dimensions_value_source"],
    )],
    filter_id=oci_apm_config_filter["test_filter"]["id"],
    filter_text=var["config_filter_text"],
    freeform_tags={
        "bar-key": "value",
    },
    metrics=[oci.apm.config.ConfigMetricArgs(
        description=var["config_metrics_description"],
        name=var["config_metrics_name"],
        unit=var["config_metrics_unit"],
        value_source=var["config_metrics_value_source"],
    )],
    namespace=var["config_namespace"],
    opc_dry_run=var["config_opc_dry_run"],
    rules=[oci.apm.config.ConfigRuleArgs(
        display_name=var["config_rules_display_name"],
        filter_text=var["config_rules_filter_text"],
        is_apply_to_error_spans=var["config_rules_is_apply_to_error_spans"],
        is_enabled=var["config_rules_is_enabled"],
        priority=var["config_rules_priority"],
        satisfied_response_time=var["config_rules_satisfied_response_time"],
        tolerating_response_time=var["config_rules_tolerating_response_time"],
    )])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testConfig = new oci.apmconfig.Config("testConfig", {
    apmDomainId: oci_apm_apm_domain.test_apm_domain.id,
    configType: _var.config_config_type,
    displayName: _var.config_display_name,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.config_description,
    dimensions: [{
        name: _var.config_dimensions_name,
        valueSource: _var.config_dimensions_value_source,
    }],
    filterId: oci_apm_config_filter.test_filter.id,
    filterText: _var.config_filter_text,
    freeformTags: {
        "bar-key": "value",
    },
    metrics: [{
        description: _var.config_metrics_description,
        name: _var.config_metrics_name,
        unit: _var.config_metrics_unit,
        valueSource: _var.config_metrics_value_source,
    }],
    namespace: _var.config_namespace,
    opcDryRun: _var.config_opc_dry_run,
    rules: [{
        displayName: _var.config_rules_display_name,
        filterText: _var.config_rules_filter_text,
        isApplyToErrorSpans: _var.config_rules_is_apply_to_error_spans,
        isEnabled: _var.config_rules_is_enabled,
        priority: _var.config_rules_priority,
        satisfiedResponseTime: _var.config_rules_satisfied_response_time,
        toleratingResponseTime: _var.config_rules_tolerating_response_time,
    }],
});

Coming soon!

Create a Config Resource

new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           apm_domain_id: Optional[str] = None,
           config_type: Optional[str] = None,
           defined_tags: Optional[Mapping[str, Any]] = None,
           description: Optional[str] = None,
           dimensions: Optional[Sequence[_apmconfig.ConfigDimensionArgs]] = None,
           display_name: Optional[str] = None,
           filter_id: Optional[str] = None,
           filter_text: Optional[str] = None,
           freeform_tags: Optional[Mapping[str, Any]] = None,
           metrics: Optional[Sequence[_apmconfig.ConfigMetricArgs]] = None,
           namespace: Optional[str] = None,
           opc_dry_run: Optional[str] = None,
           rules: Optional[Sequence[_apmconfig.ConfigRuleArgs]] = None)
@overload
def Config(resource_name: str,
           args: ConfigArgs,
           opts: Optional[ResourceOptions] = 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.

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.

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:

ApmDomainId string

(Updatable) The APM Domain Id the request is intended for.

ConfigType string

(Updatable) The type of configuration item

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A description of the metric

Dimensions List<ConfigDimensionArgs>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

FilterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

FilterText string

(Updatable) The string that defines the Span Filter expression.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Metrics List<ConfigMetricArgs>

(Updatable)

Namespace string

(Updatable) The namespace to write the metrics to

OpcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

Rules List<ConfigRuleArgs>

(Updatable)

ApmDomainId string

(Updatable) The APM Domain Id the request is intended for.

ConfigType string

(Updatable) The type of configuration item

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A description of the metric

Dimensions []ConfigDimensionArgs

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

FilterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

FilterText string

(Updatable) The string that defines the Span Filter expression.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Metrics []ConfigMetricArgs

(Updatable)

Namespace string

(Updatable) The namespace to write the metrics to

OpcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

Rules []ConfigRuleArgs

(Updatable)

apmDomainId String

(Updatable) The APM Domain Id the request is intended for.

configType String

(Updatable) The type of configuration item

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A description of the metric

dimensions List<ConfigDimensionArgs>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

filterId String

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText String

(Updatable) The string that defines the Span Filter expression.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics List<ConfigMetricArgs>

(Updatable)

namespace String

(Updatable) The namespace to write the metrics to

opcDryRun String

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules List<ConfigRuleArgs>

(Updatable)

apmDomainId string

(Updatable) The APM Domain Id the request is intended for.

configType string

(Updatable) The type of configuration item

displayName string

(Updatable) A user-friendly name that provides a short description this rule.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

(Updatable) A description of the metric

dimensions ConfigDimensionArgs[]

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

filterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText string

(Updatable) The string that defines the Span Filter expression.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics ConfigMetricArgs[]

(Updatable)

namespace string

(Updatable) The namespace to write the metrics to

opcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules ConfigRuleArgs[]

(Updatable)

apm_domain_id str

(Updatable) The APM Domain Id the request is intended for.

config_type str

(Updatable) The type of configuration item

display_name str

(Updatable) A user-friendly name that provides a short description this rule.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

(Updatable) A description of the metric

dimensions ConfigDimensionArgs]

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

filter_id str

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filter_text str

(Updatable) The string that defines the Span Filter expression.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics ConfigMetricArgs]

(Updatable)

namespace str

(Updatable) The namespace to write the metrics to

opc_dry_run str

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules ConfigRuleArgs]

(Updatable)

apmDomainId String

(Updatable) The APM Domain Id the request is intended for.

configType String

(Updatable) The type of configuration item

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A description of the metric

dimensions List<Property Map>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

filterId String

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText String

(Updatable) The string that defines the Span Filter expression.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics List<Property Map>

(Updatable)

namespace String

(Updatable) The namespace to write the metrics to

opcDryRun String

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules List<Property Map>

(Updatable)

Outputs

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

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

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

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

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

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

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

Look up an 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,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        dimensions: Optional[Sequence[_apmconfig.ConfigDimensionArgs]] = None,
        display_name: Optional[str] = None,
        filter_id: Optional[str] = None,
        filter_text: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        metrics: Optional[Sequence[_apmconfig.ConfigMetricArgs]] = None,
        namespace: Optional[str] = None,
        opc_dry_run: Optional[str] = None,
        rules: Optional[Sequence[_apmconfig.ConfigRuleArgs]] = None,
        time_created: Optional[str] = None,
        time_updated: 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.
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

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A description of the metric

Dimensions List<ConfigDimensionArgs>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

FilterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

FilterText string

(Updatable) The string that defines the Span Filter expression.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Metrics List<ConfigMetricArgs>

(Updatable)

Namespace string

(Updatable) The namespace to write the metrics to

OpcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

Rules List<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

ApmDomainId string

(Updatable) The APM Domain Id the request is intended for.

ConfigType string

(Updatable) The type of configuration item

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

Description string

(Updatable) A description of the metric

Dimensions []ConfigDimensionArgs

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

FilterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

FilterText string

(Updatable) The string that defines the Span Filter expression.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Metrics []ConfigMetricArgs

(Updatable)

Namespace string

(Updatable) The namespace to write the metrics to

OpcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

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

apmDomainId String

(Updatable) The APM Domain Id the request is intended for.

configType String

(Updatable) The type of configuration item

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A description of the metric

dimensions List<ConfigDimensionArgs>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

filterId String

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText String

(Updatable) The string that defines the Span Filter expression.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics List<ConfigMetricArgs>

(Updatable)

namespace String

(Updatable) The namespace to write the metrics to

opcDryRun String

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules List<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

apmDomainId string

(Updatable) The APM Domain Id the request is intended for.

configType string

(Updatable) The type of configuration item

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description string

(Updatable) A description of the metric

dimensions ConfigDimensionArgs[]

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

displayName string

(Updatable) A user-friendly name that provides a short description this rule.

filterId string

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText string

(Updatable) The string that defines the Span Filter expression.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics ConfigMetricArgs[]

(Updatable)

namespace string

(Updatable) The namespace to write the metrics to

opcDryRun string

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

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

apm_domain_id str

(Updatable) The APM Domain Id the request is intended for.

config_type str

(Updatable) The type of configuration item

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description str

(Updatable) A description of the metric

dimensions ConfigDimensionArgs]

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

display_name str

(Updatable) A user-friendly name that provides a short description this rule.

filter_id str

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filter_text str

(Updatable) The string that defines the Span Filter expression.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics ConfigMetricArgs]

(Updatable)

namespace str

(Updatable) The namespace to write the metrics to

opc_dry_run str

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

rules 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

apmDomainId String

(Updatable) The APM Domain Id the request is intended for.

configType String

(Updatable) The type of configuration item

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

description String

(Updatable) A description of the metric

dimensions List<Property Map>

(Updatable) A list of dimensions for this metric. Must be NULL at the moment.

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

filterId String

(Updatable) The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId will be generated when a Span Filter is created.

filterText String

(Updatable) The string that defines the Span Filter expression.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

metrics List<Property Map>

(Updatable)

namespace String

(Updatable) The namespace to write the metrics to

opcDryRun String

(Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.

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

Supporting Types

ConfigDimension

Name string

(Updatable) The name of the metric

ValueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

Name string

(Updatable) The name of the metric

ValueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

name String

(Updatable) The name of the metric

valueSource String

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

name string

(Updatable) The name of the metric

valueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

name str

(Updatable) The name of the metric

value_source str

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

name String

(Updatable) The name of the metric

valueSource String

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

ConfigMetric

Description string

(Updatable) A description of the metric

Name string

(Updatable) The name of the metric

Unit string

(Updatable) The unit of the metric

ValueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

Description string

(Updatable) A description of the metric

Name string

(Updatable) The name of the metric

Unit string

(Updatable) The unit of the metric

ValueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

description String

(Updatable) A description of the metric

name String

(Updatable) The name of the metric

unit String

(Updatable) The unit of the metric

valueSource String

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

description string

(Updatable) A description of the metric

name string

(Updatable) The name of the metric

unit string

(Updatable) The unit of the metric

valueSource string

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

description str

(Updatable) A description of the metric

name str

(Updatable) The name of the metric

unit str

(Updatable) The unit of the metric

value_source str

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

description String

(Updatable) A description of the metric

name String

(Updatable) The name of the metric

unit String

(Updatable) The unit of the metric

valueSource String

(Updatable) Must be NULL at the moment, and "name" must be a known metric.

ConfigRule

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

FilterText string

(Updatable) The string that defines the Span Filter expression.

IsApplyToErrorSpans bool

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

IsEnabled bool

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

ToleratingResponseTime int

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

DisplayName string

(Updatable) A user-friendly name that provides a short description this rule.

FilterText string

(Updatable) The string that defines the Span Filter expression.

IsApplyToErrorSpans bool

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

IsEnabled bool

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

ToleratingResponseTime int

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

filterText String

(Updatable) The string that defines the Span Filter expression.

isApplyToErrorSpans Boolean

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

isEnabled Boolean

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

toleratingResponseTime Integer

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

displayName string

(Updatable) A user-friendly name that provides a short description this rule.

filterText string

(Updatable) The string that defines the Span Filter expression.

isApplyToErrorSpans boolean

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

isEnabled boolean

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

toleratingResponseTime number

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

display_name str

(Updatable) A user-friendly name that provides a short description this rule.

filter_text str

(Updatable) The string that defines the Span Filter expression.

is_apply_to_error_spans bool

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

is_enabled bool

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

tolerating_response_time int

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

displayName String

(Updatable) A user-friendly name that provides a short description this rule.

filterText String

(Updatable) The string that defines the Span Filter expression.

isApplyToErrorSpans Boolean

(Updatable) If true, the rule will compute the actual Apdex score for spans that have been marked as errors. If false, the rule will always set the Apdex for error spans to frustrating, regardless of the configured thresholds. Default is false.

isEnabled Boolean

(Updatable) Specifies if the Apdex rule will be computed for spans matching the rule. Can be used to make sure certain spans don't get an Apdex score. 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 will be considered satisfactory for the end user.

toleratingResponseTime Number

(Updatable) The maximum response time in milliseconds that will be considered tolerable for the end user. Response times beyond this threshold will be considered frustrating. This value cannot be lower than "satisfiedResponseTime".

Import

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.