Oracle Cloud Infrastructure
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:
- 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) A user-friendly name that provides a short description this rule.
- 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<Config
Dimension Args> (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- Filter
Id 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.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- 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<Config
Metric Args> (Updatable)
- Namespace string
(Updatable) The namespace to write the metrics to
- Opc
Dry stringRun (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<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) A user-friendly name that provides a short description this rule.
- 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
[]Config
Dimension Args (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- Filter
Id 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.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- 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
[]Config
Metric Args (Updatable)
- Namespace string
(Updatable) The namespace to write the metrics to
- Opc
Dry stringRun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- 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) A user-friendly name that provides a short description this rule.
- 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<Config
Dimension Args> (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- filter
Id 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.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- 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<Config
Metric Args> (Updatable)
- namespace String
(Updatable) The namespace to write the metrics to
- opc
Dry StringRun (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<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) A user-friendly name that provides a short description this rule.
- {[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
Config
Dimension Args[] (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- filter
Id 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.
- filter
Text string (Updatable) The string that defines the Span Filter expression.
- {[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
Config
Metric Args[] (Updatable)
- namespace string
(Updatable) The namespace to write the metrics to
- opc
Dry stringRun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- rules
Config
Rule Args[] (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) A user-friendly name that provides a short description this rule.
- 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
Config
Dimension Args] (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.
- 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
Config
Metric Args] (Updatable)
- namespace str
(Updatable) The namespace to write the metrics to
- opc_
dry_ strrun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- 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) A user-friendly name that provides a short description this rule.
- 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.
- filter
Id 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.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- 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
- opc
Dry StringRun (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.
- 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
- 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
- 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
- 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
- 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.
- 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
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.
- Apm
Domain stringId (Updatable) The APM Domain Id the request is intended for.
- Config
Type string (Updatable) The type of configuration item
- 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<Config
Dimension Args> (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- Display
Name string (Updatable) A user-friendly name that provides a short description this rule.
- Filter
Id 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.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- 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<Config
Metric Args> (Updatable)
- Namespace string
(Updatable) The namespace to write the metrics to
- Opc
Dry stringRun (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<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
- Apm
Domain stringId (Updatable) The APM Domain Id the request is intended for.
- Config
Type string (Updatable) The type of configuration item
- 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
[]Config
Dimension Args (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- Display
Name string (Updatable) A user-friendly name that provides a short description this rule.
- Filter
Id 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.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- 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
[]Config
Metric Args (Updatable)
- Namespace string
(Updatable) The namespace to write the metrics to
- Opc
Dry stringRun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- 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
- apm
Domain StringId (Updatable) The APM Domain Id the request is intended for.
- config
Type String (Updatable) The type of configuration item
- 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<Config
Dimension Args> (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- display
Name String (Updatable) A user-friendly name that provides a short description this rule.
- filter
Id 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.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- 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<Config
Metric Args> (Updatable)
- namespace String
(Updatable) The namespace to write the metrics to
- opc
Dry StringRun (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<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
- apm
Domain stringId (Updatable) The APM Domain Id the request is intended for.
- config
Type string (Updatable) The type of configuration item
- {[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
Config
Dimension Args[] (Updatable) A list of dimensions for this metric. Must be NULL at the moment.
- display
Name string (Updatable) A user-friendly name that provides a short description this rule.
- filter
Id 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.
- filter
Text string (Updatable) The string that defines the Span Filter expression.
- {[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
Config
Metric Args[] (Updatable)
- namespace string
(Updatable) The namespace to write the metrics to
- opc
Dry stringRun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- 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
- apm_
domain_ strid (Updatable) The APM Domain Id the request is intended for.
- config_
type str (Updatable) The type of configuration item
- 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
Config
Dimension Args] (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.
- 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
Config
Metric Args] (Updatable)
- namespace str
(Updatable) The namespace to write the metrics to
- opc_
dry_ strrun (Updatable) Indicates that this request is a dry-run. If set to "true", nothing will be modified, only the validation will be performed.
- rules
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
- apm
Domain StringId (Updatable) The APM Domain Id the request is intended for.
- config
Type String (Updatable) The type of configuration item
- 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.
- display
Name String (Updatable) A user-friendly name that provides a short description this rule.
- filter
Id 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.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- 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
- opc
Dry StringRun (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)
- 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
Supporting Types
ConfigDimension
- Name string
(Updatable) The name of the metric
- Value
Source string (Updatable) Must be NULL at the moment, and "name" must be a known metric.
- Name string
(Updatable) The name of the metric
- Value
Source string (Updatable) Must be NULL at the moment, and "name" must be a known metric.
- name String
(Updatable) The name of the metric
- value
Source String (Updatable) Must be NULL at the moment, and "name" must be a known metric.
- name string
(Updatable) The name of the metric
- value
Source 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
- value
Source 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
- Value
Source 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
- Value
Source 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
- value
Source 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
- value
Source 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
- value
Source String (Updatable) Must be NULL at the moment, and "name" must be a known metric.
ConfigRule
- Display
Name string (Updatable) A user-friendly name that provides a short description this rule.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- Is
Apply boolTo Error Spans (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 intTime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- Tolerating
Response intTime (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 string (Updatable) A user-friendly name that provides a short description this rule.
- Filter
Text string (Updatable) The string that defines the Span Filter expression.
- Is
Apply boolTo Error Spans (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 intTime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- Tolerating
Response intTime (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 String (Updatable) A user-friendly name that provides a short description this rule.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- is
Apply BooleanTo Error Spans (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 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.
- satisfied
Response IntegerTime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- tolerating
Response IntegerTime (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 string (Updatable) A user-friendly name that provides a short description this rule.
- filter
Text string (Updatable) The string that defines the Span Filter expression.
- is
Apply booleanTo Error Spans (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 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.
- satisfied
Response numberTime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- tolerating
Response numberTime (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_ boolto_ error_ spans (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_ inttime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- tolerating_
response_ inttime (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 String (Updatable) A user-friendly name that provides a short description this rule.
- filter
Text String (Updatable) The string that defines the Span Filter expression.
- is
Apply BooleanTo Error Spans (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 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.
- satisfied
Response NumberTime (Updatable) The maximum response time in milliseconds that will be considered satisfactory for the end user.
- tolerating
Response NumberTime (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.