pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.0a1756190604__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/top_level.txt +0 -0
pulumi_oci/apmconfig/config.py
CHANGED
@@ -23,48 +23,77 @@ class ConfigArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
apm_domain_id: pulumi.Input[_builtins.str],
|
25
25
|
config_type: pulumi.Input[_builtins.str],
|
26
|
-
|
26
|
+
agent_version: Optional[pulumi.Input[_builtins.str]] = None,
|
27
|
+
attach_install_dir: Optional[pulumi.Input[_builtins.str]] = None,
|
28
|
+
config: Optional[pulumi.Input['ConfigConfigArgs']] = None,
|
27
29
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
30
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
29
31
|
dimensions: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigDimensionArgs']]]] = None,
|
32
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
30
33
|
filter_id: Optional[pulumi.Input[_builtins.str]] = None,
|
31
34
|
filter_text: Optional[pulumi.Input[_builtins.str]] = None,
|
32
35
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
33
36
|
group: Optional[pulumi.Input[_builtins.str]] = None,
|
34
37
|
in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]] = None,
|
38
|
+
management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
39
|
+
match_agents_with_attribute_value: Optional[pulumi.Input[_builtins.str]] = None,
|
35
40
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]] = None,
|
36
41
|
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
37
42
|
opc_dry_run: Optional[pulumi.Input[_builtins.str]] = None,
|
38
43
|
options: Optional[pulumi.Input[_builtins.str]] = None,
|
39
|
-
|
44
|
+
overrides: Optional[pulumi.Input['ConfigOverridesArgs']] = None,
|
45
|
+
process_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
46
|
+
rules: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]] = None,
|
47
|
+
run_as_user: Optional[pulumi.Input[_builtins.str]] = None,
|
48
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None):
|
40
49
|
"""
|
41
50
|
The set of arguments for constructing a Config resource.
|
42
51
|
:param pulumi.Input[_builtins.str] apm_domain_id: (Updatable) The APM Domain ID the request is intended for.
|
43
52
|
:param pulumi.Input[_builtins.str] config_type: (Updatable) The type of configuration item.
|
44
|
-
:param pulumi.Input[_builtins.str]
|
53
|
+
:param pulumi.Input[_builtins.str] agent_version: (Updatable) The version of the referenced agent bundle.
|
54
|
+
:param pulumi.Input[_builtins.str] attach_install_dir: (Updatable) The directory owned by runAsUser.
|
55
|
+
:param pulumi.Input['ConfigConfigArgs'] config: (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
45
56
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
46
57
|
:param pulumi.Input[_builtins.str] description: (Updatable) An optional string that describes what the options are intended or used for.
|
47
58
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigDimensionArgs']]] dimensions: (Updatable) A list of dimensions for the metric. This variable should not be used.
|
59
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The name by which a configuration entity is displayed to the end user.
|
48
60
|
:param pulumi.Input[_builtins.str] filter_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.
|
49
61
|
:param pulumi.Input[_builtins.str] filter_text: (Updatable) The string that defines the Span Filter expression.
|
50
62
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
51
63
|
:param pulumi.Input[_builtins.str] group: (Updatable) A string that specifies the group that an OPTIONS item belongs to.
|
52
64
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]] in_use_bies: The list of configuration items that reference the span filter.
|
65
|
+
:param pulumi.Input[_builtins.str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
66
|
+
:param pulumi.Input[_builtins.str] match_agents_with_attribute_value: The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
53
67
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]] metrics: (Updatable) The list of metrics in this group.
|
54
68
|
:param pulumi.Input[_builtins.str] namespace: (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
|
55
69
|
:param pulumi.Input[_builtins.str] opc_dry_run: (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.
|
56
70
|
:param pulumi.Input[_builtins.str] options: (Updatable) The options are stored here as JSON.
|
71
|
+
:param pulumi.Input['ConfigOverridesArgs'] overrides: (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
72
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] process_filters: (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
57
73
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]] rules: (Updatable)
|
74
|
+
:param pulumi.Input[_builtins.str] run_as_user: (Updatable) The OS user that should be used to discover Java processes.
|
75
|
+
:param pulumi.Input[_builtins.str] service_name: (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
76
|
+
|
77
|
+
|
78
|
+
** IMPORTANT **
|
79
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
58
80
|
"""
|
59
81
|
pulumi.set(__self__, "apm_domain_id", apm_domain_id)
|
60
82
|
pulumi.set(__self__, "config_type", config_type)
|
61
|
-
|
83
|
+
if agent_version is not None:
|
84
|
+
pulumi.set(__self__, "agent_version", agent_version)
|
85
|
+
if attach_install_dir is not None:
|
86
|
+
pulumi.set(__self__, "attach_install_dir", attach_install_dir)
|
87
|
+
if config is not None:
|
88
|
+
pulumi.set(__self__, "config", config)
|
62
89
|
if defined_tags is not None:
|
63
90
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
64
91
|
if description is not None:
|
65
92
|
pulumi.set(__self__, "description", description)
|
66
93
|
if dimensions is not None:
|
67
94
|
pulumi.set(__self__, "dimensions", dimensions)
|
95
|
+
if display_name is not None:
|
96
|
+
pulumi.set(__self__, "display_name", display_name)
|
68
97
|
if filter_id is not None:
|
69
98
|
pulumi.set(__self__, "filter_id", filter_id)
|
70
99
|
if filter_text is not None:
|
@@ -75,6 +104,10 @@ class ConfigArgs:
|
|
75
104
|
pulumi.set(__self__, "group", group)
|
76
105
|
if in_use_bies is not None:
|
77
106
|
pulumi.set(__self__, "in_use_bies", in_use_bies)
|
107
|
+
if management_agent_id is not None:
|
108
|
+
pulumi.set(__self__, "management_agent_id", management_agent_id)
|
109
|
+
if match_agents_with_attribute_value is not None:
|
110
|
+
pulumi.set(__self__, "match_agents_with_attribute_value", match_agents_with_attribute_value)
|
78
111
|
if metrics is not None:
|
79
112
|
pulumi.set(__self__, "metrics", metrics)
|
80
113
|
if namespace is not None:
|
@@ -83,8 +116,16 @@ class ConfigArgs:
|
|
83
116
|
pulumi.set(__self__, "opc_dry_run", opc_dry_run)
|
84
117
|
if options is not None:
|
85
118
|
pulumi.set(__self__, "options", options)
|
119
|
+
if overrides is not None:
|
120
|
+
pulumi.set(__self__, "overrides", overrides)
|
121
|
+
if process_filters is not None:
|
122
|
+
pulumi.set(__self__, "process_filters", process_filters)
|
86
123
|
if rules is not None:
|
87
124
|
pulumi.set(__self__, "rules", rules)
|
125
|
+
if run_as_user is not None:
|
126
|
+
pulumi.set(__self__, "run_as_user", run_as_user)
|
127
|
+
if service_name is not None:
|
128
|
+
pulumi.set(__self__, "service_name", service_name)
|
88
129
|
|
89
130
|
@_builtins.property
|
90
131
|
@pulumi.getter(name="apmDomainId")
|
@@ -111,16 +152,40 @@ class ConfigArgs:
|
|
111
152
|
pulumi.set(self, "config_type", value)
|
112
153
|
|
113
154
|
@_builtins.property
|
114
|
-
@pulumi.getter(name="
|
115
|
-
def
|
155
|
+
@pulumi.getter(name="agentVersion")
|
156
|
+
def agent_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
116
157
|
"""
|
117
|
-
(Updatable) The
|
158
|
+
(Updatable) The version of the referenced agent bundle.
|
118
159
|
"""
|
119
|
-
return pulumi.get(self, "
|
160
|
+
return pulumi.get(self, "agent_version")
|
120
161
|
|
121
|
-
@
|
122
|
-
def
|
123
|
-
pulumi.set(self, "
|
162
|
+
@agent_version.setter
|
163
|
+
def agent_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
164
|
+
pulumi.set(self, "agent_version", value)
|
165
|
+
|
166
|
+
@_builtins.property
|
167
|
+
@pulumi.getter(name="attachInstallDir")
|
168
|
+
def attach_install_dir(self) -> Optional[pulumi.Input[_builtins.str]]:
|
169
|
+
"""
|
170
|
+
(Updatable) The directory owned by runAsUser.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "attach_install_dir")
|
173
|
+
|
174
|
+
@attach_install_dir.setter
|
175
|
+
def attach_install_dir(self, value: Optional[pulumi.Input[_builtins.str]]):
|
176
|
+
pulumi.set(self, "attach_install_dir", value)
|
177
|
+
|
178
|
+
@_builtins.property
|
179
|
+
@pulumi.getter
|
180
|
+
def config(self) -> Optional[pulumi.Input['ConfigConfigArgs']]:
|
181
|
+
"""
|
182
|
+
(Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "config")
|
185
|
+
|
186
|
+
@config.setter
|
187
|
+
def config(self, value: Optional[pulumi.Input['ConfigConfigArgs']]):
|
188
|
+
pulumi.set(self, "config", value)
|
124
189
|
|
125
190
|
@_builtins.property
|
126
191
|
@pulumi.getter(name="definedTags")
|
@@ -158,6 +223,18 @@ class ConfigArgs:
|
|
158
223
|
def dimensions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigDimensionArgs']]]]):
|
159
224
|
pulumi.set(self, "dimensions", value)
|
160
225
|
|
226
|
+
@_builtins.property
|
227
|
+
@pulumi.getter(name="displayName")
|
228
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
229
|
+
"""
|
230
|
+
(Updatable) The name by which a configuration entity is displayed to the end user.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "display_name")
|
233
|
+
|
234
|
+
@display_name.setter
|
235
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
236
|
+
pulumi.set(self, "display_name", value)
|
237
|
+
|
161
238
|
@_builtins.property
|
162
239
|
@pulumi.getter(name="filterId")
|
163
240
|
def filter_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -218,6 +295,30 @@ class ConfigArgs:
|
|
218
295
|
def in_use_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]]):
|
219
296
|
pulumi.set(self, "in_use_bies", value)
|
220
297
|
|
298
|
+
@_builtins.property
|
299
|
+
@pulumi.getter(name="managementAgentId")
|
300
|
+
def management_agent_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
301
|
+
"""
|
302
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "management_agent_id")
|
305
|
+
|
306
|
+
@management_agent_id.setter
|
307
|
+
def management_agent_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
308
|
+
pulumi.set(self, "management_agent_id", value)
|
309
|
+
|
310
|
+
@_builtins.property
|
311
|
+
@pulumi.getter(name="matchAgentsWithAttributeValue")
|
312
|
+
def match_agents_with_attribute_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
313
|
+
"""
|
314
|
+
The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "match_agents_with_attribute_value")
|
317
|
+
|
318
|
+
@match_agents_with_attribute_value.setter
|
319
|
+
def match_agents_with_attribute_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
320
|
+
pulumi.set(self, "match_agents_with_attribute_value", value)
|
321
|
+
|
221
322
|
@_builtins.property
|
222
323
|
@pulumi.getter
|
223
324
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]]:
|
@@ -266,6 +367,30 @@ class ConfigArgs:
|
|
266
367
|
def options(self, value: Optional[pulumi.Input[_builtins.str]]):
|
267
368
|
pulumi.set(self, "options", value)
|
268
369
|
|
370
|
+
@_builtins.property
|
371
|
+
@pulumi.getter
|
372
|
+
def overrides(self) -> Optional[pulumi.Input['ConfigOverridesArgs']]:
|
373
|
+
"""
|
374
|
+
(Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "overrides")
|
377
|
+
|
378
|
+
@overrides.setter
|
379
|
+
def overrides(self, value: Optional[pulumi.Input['ConfigOverridesArgs']]):
|
380
|
+
pulumi.set(self, "overrides", value)
|
381
|
+
|
382
|
+
@_builtins.property
|
383
|
+
@pulumi.getter(name="processFilters")
|
384
|
+
def process_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
385
|
+
"""
|
386
|
+
(Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "process_filters")
|
389
|
+
|
390
|
+
@process_filters.setter
|
391
|
+
def process_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
392
|
+
pulumi.set(self, "process_filters", value)
|
393
|
+
|
269
394
|
@_builtins.property
|
270
395
|
@pulumi.getter
|
271
396
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]]:
|
@@ -278,11 +403,42 @@ class ConfigArgs:
|
|
278
403
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]]):
|
279
404
|
pulumi.set(self, "rules", value)
|
280
405
|
|
406
|
+
@_builtins.property
|
407
|
+
@pulumi.getter(name="runAsUser")
|
408
|
+
def run_as_user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
409
|
+
"""
|
410
|
+
(Updatable) The OS user that should be used to discover Java processes.
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "run_as_user")
|
413
|
+
|
414
|
+
@run_as_user.setter
|
415
|
+
def run_as_user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
416
|
+
pulumi.set(self, "run_as_user", value)
|
417
|
+
|
418
|
+
@_builtins.property
|
419
|
+
@pulumi.getter(name="serviceName")
|
420
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
421
|
+
"""
|
422
|
+
(Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
423
|
+
|
424
|
+
|
425
|
+
** IMPORTANT **
|
426
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "service_name")
|
429
|
+
|
430
|
+
@service_name.setter
|
431
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
432
|
+
pulumi.set(self, "service_name", value)
|
433
|
+
|
281
434
|
|
282
435
|
@pulumi.input_type
|
283
436
|
class _ConfigState:
|
284
437
|
def __init__(__self__, *,
|
438
|
+
agent_version: Optional[pulumi.Input[_builtins.str]] = None,
|
285
439
|
apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
440
|
+
attach_install_dir: Optional[pulumi.Input[_builtins.str]] = None,
|
441
|
+
config: Optional[pulumi.Input['ConfigConfigArgs']] = None,
|
286
442
|
config_type: Optional[pulumi.Input[_builtins.str]] = None,
|
287
443
|
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
288
444
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
@@ -295,17 +451,27 @@ class _ConfigState:
|
|
295
451
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
296
452
|
group: Optional[pulumi.Input[_builtins.str]] = None,
|
297
453
|
in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]] = None,
|
454
|
+
management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
455
|
+
match_agents_with_attribute_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
456
|
+
match_agents_with_attribute_value: Optional[pulumi.Input[_builtins.str]] = None,
|
298
457
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]] = None,
|
299
458
|
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
300
459
|
opc_dry_run: Optional[pulumi.Input[_builtins.str]] = None,
|
301
460
|
options: Optional[pulumi.Input[_builtins.str]] = None,
|
461
|
+
overrides: Optional[pulumi.Input['ConfigOverridesArgs']] = None,
|
462
|
+
process_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
302
463
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]] = None,
|
464
|
+
run_as_user: Optional[pulumi.Input[_builtins.str]] = None,
|
465
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
303
466
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
304
467
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
305
468
|
updated_by: Optional[pulumi.Input[_builtins.str]] = None):
|
306
469
|
"""
|
307
470
|
Input properties used for looking up and filtering Config resources.
|
471
|
+
:param pulumi.Input[_builtins.str] agent_version: (Updatable) The version of the referenced agent bundle.
|
308
472
|
:param pulumi.Input[_builtins.str] apm_domain_id: (Updatable) The APM Domain ID the request is intended for.
|
473
|
+
:param pulumi.Input[_builtins.str] attach_install_dir: (Updatable) The directory owned by runAsUser.
|
474
|
+
:param pulumi.Input['ConfigConfigArgs'] config: (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
309
475
|
:param pulumi.Input[_builtins.str] config_type: (Updatable) The type of configuration item.
|
310
476
|
:param pulumi.Input[_builtins.str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
|
311
477
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
@@ -318,17 +484,34 @@ class _ConfigState:
|
|
318
484
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
319
485
|
:param pulumi.Input[_builtins.str] group: (Updatable) A string that specifies the group that an OPTIONS item belongs to.
|
320
486
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]] in_use_bies: The list of configuration items that reference the span filter.
|
487
|
+
:param pulumi.Input[_builtins.str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
488
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] match_agents_with_attribute_keys: The agent attribute KEY by which an Agent configuration is matched to an agent. All agent configuration objects share the same key. It is [ServiceName, service.name] by default. The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
|
489
|
+
:param pulumi.Input[_builtins.str] match_agents_with_attribute_value: The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
321
490
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]] metrics: (Updatable) The list of metrics in this group.
|
322
491
|
:param pulumi.Input[_builtins.str] namespace: (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
|
323
492
|
:param pulumi.Input[_builtins.str] opc_dry_run: (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.
|
324
493
|
:param pulumi.Input[_builtins.str] options: (Updatable) The options are stored here as JSON.
|
494
|
+
:param pulumi.Input['ConfigOverridesArgs'] overrides: (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
495
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] process_filters: (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
325
496
|
:param pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]] rules: (Updatable)
|
497
|
+
:param pulumi.Input[_builtins.str] run_as_user: (Updatable) The OS user that should be used to discover Java processes.
|
498
|
+
:param pulumi.Input[_builtins.str] service_name: (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
499
|
+
|
500
|
+
|
501
|
+
** IMPORTANT **
|
502
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
326
503
|
:param pulumi.Input[_builtins.str] time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
|
327
504
|
:param pulumi.Input[_builtins.str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
|
328
505
|
:param pulumi.Input[_builtins.str] updated_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
|
329
506
|
"""
|
507
|
+
if agent_version is not None:
|
508
|
+
pulumi.set(__self__, "agent_version", agent_version)
|
330
509
|
if apm_domain_id is not None:
|
331
510
|
pulumi.set(__self__, "apm_domain_id", apm_domain_id)
|
511
|
+
if attach_install_dir is not None:
|
512
|
+
pulumi.set(__self__, "attach_install_dir", attach_install_dir)
|
513
|
+
if config is not None:
|
514
|
+
pulumi.set(__self__, "config", config)
|
332
515
|
if config_type is not None:
|
333
516
|
pulumi.set(__self__, "config_type", config_type)
|
334
517
|
if created_by is not None:
|
@@ -353,6 +536,12 @@ class _ConfigState:
|
|
353
536
|
pulumi.set(__self__, "group", group)
|
354
537
|
if in_use_bies is not None:
|
355
538
|
pulumi.set(__self__, "in_use_bies", in_use_bies)
|
539
|
+
if management_agent_id is not None:
|
540
|
+
pulumi.set(__self__, "management_agent_id", management_agent_id)
|
541
|
+
if match_agents_with_attribute_keys is not None:
|
542
|
+
pulumi.set(__self__, "match_agents_with_attribute_keys", match_agents_with_attribute_keys)
|
543
|
+
if match_agents_with_attribute_value is not None:
|
544
|
+
pulumi.set(__self__, "match_agents_with_attribute_value", match_agents_with_attribute_value)
|
356
545
|
if metrics is not None:
|
357
546
|
pulumi.set(__self__, "metrics", metrics)
|
358
547
|
if namespace is not None:
|
@@ -361,8 +550,16 @@ class _ConfigState:
|
|
361
550
|
pulumi.set(__self__, "opc_dry_run", opc_dry_run)
|
362
551
|
if options is not None:
|
363
552
|
pulumi.set(__self__, "options", options)
|
553
|
+
if overrides is not None:
|
554
|
+
pulumi.set(__self__, "overrides", overrides)
|
555
|
+
if process_filters is not None:
|
556
|
+
pulumi.set(__self__, "process_filters", process_filters)
|
364
557
|
if rules is not None:
|
365
558
|
pulumi.set(__self__, "rules", rules)
|
559
|
+
if run_as_user is not None:
|
560
|
+
pulumi.set(__self__, "run_as_user", run_as_user)
|
561
|
+
if service_name is not None:
|
562
|
+
pulumi.set(__self__, "service_name", service_name)
|
366
563
|
if time_created is not None:
|
367
564
|
pulumi.set(__self__, "time_created", time_created)
|
368
565
|
if time_updated is not None:
|
@@ -370,6 +567,18 @@ class _ConfigState:
|
|
370
567
|
if updated_by is not None:
|
371
568
|
pulumi.set(__self__, "updated_by", updated_by)
|
372
569
|
|
570
|
+
@_builtins.property
|
571
|
+
@pulumi.getter(name="agentVersion")
|
572
|
+
def agent_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
573
|
+
"""
|
574
|
+
(Updatable) The version of the referenced agent bundle.
|
575
|
+
"""
|
576
|
+
return pulumi.get(self, "agent_version")
|
577
|
+
|
578
|
+
@agent_version.setter
|
579
|
+
def agent_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
580
|
+
pulumi.set(self, "agent_version", value)
|
581
|
+
|
373
582
|
@_builtins.property
|
374
583
|
@pulumi.getter(name="apmDomainId")
|
375
584
|
def apm_domain_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -382,6 +591,30 @@ class _ConfigState:
|
|
382
591
|
def apm_domain_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
383
592
|
pulumi.set(self, "apm_domain_id", value)
|
384
593
|
|
594
|
+
@_builtins.property
|
595
|
+
@pulumi.getter(name="attachInstallDir")
|
596
|
+
def attach_install_dir(self) -> Optional[pulumi.Input[_builtins.str]]:
|
597
|
+
"""
|
598
|
+
(Updatable) The directory owned by runAsUser.
|
599
|
+
"""
|
600
|
+
return pulumi.get(self, "attach_install_dir")
|
601
|
+
|
602
|
+
@attach_install_dir.setter
|
603
|
+
def attach_install_dir(self, value: Optional[pulumi.Input[_builtins.str]]):
|
604
|
+
pulumi.set(self, "attach_install_dir", value)
|
605
|
+
|
606
|
+
@_builtins.property
|
607
|
+
@pulumi.getter
|
608
|
+
def config(self) -> Optional[pulumi.Input['ConfigConfigArgs']]:
|
609
|
+
"""
|
610
|
+
(Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
611
|
+
"""
|
612
|
+
return pulumi.get(self, "config")
|
613
|
+
|
614
|
+
@config.setter
|
615
|
+
def config(self, value: Optional[pulumi.Input['ConfigConfigArgs']]):
|
616
|
+
pulumi.set(self, "config", value)
|
617
|
+
|
385
618
|
@_builtins.property
|
386
619
|
@pulumi.getter(name="configType")
|
387
620
|
def config_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -526,6 +759,42 @@ class _ConfigState:
|
|
526
759
|
def in_use_bies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]]):
|
527
760
|
pulumi.set(self, "in_use_bies", value)
|
528
761
|
|
762
|
+
@_builtins.property
|
763
|
+
@pulumi.getter(name="managementAgentId")
|
764
|
+
def management_agent_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
765
|
+
"""
|
766
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
767
|
+
"""
|
768
|
+
return pulumi.get(self, "management_agent_id")
|
769
|
+
|
770
|
+
@management_agent_id.setter
|
771
|
+
def management_agent_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
772
|
+
pulumi.set(self, "management_agent_id", value)
|
773
|
+
|
774
|
+
@_builtins.property
|
775
|
+
@pulumi.getter(name="matchAgentsWithAttributeKeys")
|
776
|
+
def match_agents_with_attribute_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
777
|
+
"""
|
778
|
+
The agent attribute KEY by which an Agent configuration is matched to an agent. All agent configuration objects share the same key. It is [ServiceName, service.name] by default. The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
|
779
|
+
"""
|
780
|
+
return pulumi.get(self, "match_agents_with_attribute_keys")
|
781
|
+
|
782
|
+
@match_agents_with_attribute_keys.setter
|
783
|
+
def match_agents_with_attribute_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
784
|
+
pulumi.set(self, "match_agents_with_attribute_keys", value)
|
785
|
+
|
786
|
+
@_builtins.property
|
787
|
+
@pulumi.getter(name="matchAgentsWithAttributeValue")
|
788
|
+
def match_agents_with_attribute_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
789
|
+
"""
|
790
|
+
The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
791
|
+
"""
|
792
|
+
return pulumi.get(self, "match_agents_with_attribute_value")
|
793
|
+
|
794
|
+
@match_agents_with_attribute_value.setter
|
795
|
+
def match_agents_with_attribute_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
796
|
+
pulumi.set(self, "match_agents_with_attribute_value", value)
|
797
|
+
|
529
798
|
@_builtins.property
|
530
799
|
@pulumi.getter
|
531
800
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]]:
|
@@ -574,6 +843,30 @@ class _ConfigState:
|
|
574
843
|
def options(self, value: Optional[pulumi.Input[_builtins.str]]):
|
575
844
|
pulumi.set(self, "options", value)
|
576
845
|
|
846
|
+
@_builtins.property
|
847
|
+
@pulumi.getter
|
848
|
+
def overrides(self) -> Optional[pulumi.Input['ConfigOverridesArgs']]:
|
849
|
+
"""
|
850
|
+
(Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
851
|
+
"""
|
852
|
+
return pulumi.get(self, "overrides")
|
853
|
+
|
854
|
+
@overrides.setter
|
855
|
+
def overrides(self, value: Optional[pulumi.Input['ConfigOverridesArgs']]):
|
856
|
+
pulumi.set(self, "overrides", value)
|
857
|
+
|
858
|
+
@_builtins.property
|
859
|
+
@pulumi.getter(name="processFilters")
|
860
|
+
def process_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
861
|
+
"""
|
862
|
+
(Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "process_filters")
|
865
|
+
|
866
|
+
@process_filters.setter
|
867
|
+
def process_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
868
|
+
pulumi.set(self, "process_filters", value)
|
869
|
+
|
577
870
|
@_builtins.property
|
578
871
|
@pulumi.getter
|
579
872
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]]:
|
@@ -586,6 +879,34 @@ class _ConfigState:
|
|
586
879
|
def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]]):
|
587
880
|
pulumi.set(self, "rules", value)
|
588
881
|
|
882
|
+
@_builtins.property
|
883
|
+
@pulumi.getter(name="runAsUser")
|
884
|
+
def run_as_user(self) -> Optional[pulumi.Input[_builtins.str]]:
|
885
|
+
"""
|
886
|
+
(Updatable) The OS user that should be used to discover Java processes.
|
887
|
+
"""
|
888
|
+
return pulumi.get(self, "run_as_user")
|
889
|
+
|
890
|
+
@run_as_user.setter
|
891
|
+
def run_as_user(self, value: Optional[pulumi.Input[_builtins.str]]):
|
892
|
+
pulumi.set(self, "run_as_user", value)
|
893
|
+
|
894
|
+
@_builtins.property
|
895
|
+
@pulumi.getter(name="serviceName")
|
896
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
897
|
+
"""
|
898
|
+
(Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
899
|
+
|
900
|
+
|
901
|
+
** IMPORTANT **
|
902
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
903
|
+
"""
|
904
|
+
return pulumi.get(self, "service_name")
|
905
|
+
|
906
|
+
@service_name.setter
|
907
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
908
|
+
pulumi.set(self, "service_name", value)
|
909
|
+
|
589
910
|
@_builtins.property
|
590
911
|
@pulumi.getter(name="timeCreated")
|
591
912
|
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
@@ -629,7 +950,10 @@ class Config(pulumi.CustomResource):
|
|
629
950
|
def __init__(__self__,
|
630
951
|
resource_name: str,
|
631
952
|
opts: Optional[pulumi.ResourceOptions] = None,
|
953
|
+
agent_version: Optional[pulumi.Input[_builtins.str]] = None,
|
632
954
|
apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
955
|
+
attach_install_dir: Optional[pulumi.Input[_builtins.str]] = None,
|
956
|
+
config: Optional[pulumi.Input[Union['ConfigConfigArgs', 'ConfigConfigArgsDict']]] = None,
|
633
957
|
config_type: Optional[pulumi.Input[_builtins.str]] = None,
|
634
958
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
635
959
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -640,11 +964,17 @@ class Config(pulumi.CustomResource):
|
|
640
964
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
641
965
|
group: Optional[pulumi.Input[_builtins.str]] = None,
|
642
966
|
in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigInUseByArgs', 'ConfigInUseByArgsDict']]]]] = None,
|
967
|
+
management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
968
|
+
match_agents_with_attribute_value: Optional[pulumi.Input[_builtins.str]] = None,
|
643
969
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigMetricArgs', 'ConfigMetricArgsDict']]]]] = None,
|
644
970
|
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
645
971
|
opc_dry_run: Optional[pulumi.Input[_builtins.str]] = None,
|
646
972
|
options: Optional[pulumi.Input[_builtins.str]] = None,
|
973
|
+
overrides: Optional[pulumi.Input[Union['ConfigOverridesArgs', 'ConfigOverridesArgsDict']]] = None,
|
974
|
+
process_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
647
975
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigRuleArgs', 'ConfigRuleArgsDict']]]]] = None,
|
976
|
+
run_as_user: Optional[pulumi.Input[_builtins.str]] = None,
|
977
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
648
978
|
__props__=None):
|
649
979
|
"""
|
650
980
|
This resource provides the Config resource in Oracle Cloud Infrastructure Apm Config service.
|
@@ -660,7 +990,15 @@ class Config(pulumi.CustomResource):
|
|
660
990
|
test_config = oci.apmconfig.Config("test_config",
|
661
991
|
apm_domain_id=test_apm_domain["id"],
|
662
992
|
config_type=config_config_type,
|
663
|
-
|
993
|
+
agent_version=config_agent_version,
|
994
|
+
attach_install_dir=config_attach_install_dir,
|
995
|
+
config={
|
996
|
+
"config_maps": [{
|
997
|
+
"file_name": config_config_config_map_file_name,
|
998
|
+
"body": config_config_config_map_body,
|
999
|
+
"content_type": config_config_config_map_content_type,
|
1000
|
+
}],
|
1001
|
+
},
|
664
1002
|
defined_tags={
|
665
1003
|
"foo-namespace.bar-key": "value",
|
666
1004
|
},
|
@@ -669,12 +1007,15 @@ class Config(pulumi.CustomResource):
|
|
669
1007
|
"name": config_dimensions_name,
|
670
1008
|
"value_source": config_dimensions_value_source,
|
671
1009
|
}],
|
1010
|
+
display_name=config_display_name,
|
672
1011
|
filter_id=test_filter["id"],
|
673
1012
|
filter_text=config_filter_text,
|
674
1013
|
freeform_tags={
|
675
1014
|
"bar-key": "value",
|
676
1015
|
},
|
677
1016
|
group=config_group,
|
1017
|
+
management_agent_id=test_management_agent["id"],
|
1018
|
+
match_agents_with_attribute_value=config_match_agents_with_attribute_value,
|
678
1019
|
metrics=[{
|
679
1020
|
"description": config_metrics_description,
|
680
1021
|
"name": config_metrics_name,
|
@@ -684,6 +1025,13 @@ class Config(pulumi.CustomResource):
|
|
684
1025
|
namespace=config_namespace,
|
685
1026
|
opc_dry_run=config_opc_dry_run,
|
686
1027
|
options=config_options,
|
1028
|
+
overrides={
|
1029
|
+
"override_lists": [{
|
1030
|
+
"agent_filter": config_overrides_override_list_agent_filter,
|
1031
|
+
"override_map": config_overrides_override_list_override_map,
|
1032
|
+
}],
|
1033
|
+
},
|
1034
|
+
process_filters=config_process_filter,
|
687
1035
|
rules=[{
|
688
1036
|
"display_name": config_rules_display_name,
|
689
1037
|
"filter_text": config_rules_filter_text,
|
@@ -692,7 +1040,9 @@ class Config(pulumi.CustomResource):
|
|
692
1040
|
"priority": config_rules_priority,
|
693
1041
|
"satisfied_response_time": config_rules_satisfied_response_time,
|
694
1042
|
"tolerating_response_time": config_rules_tolerating_response_time,
|
695
|
-
}]
|
1043
|
+
}],
|
1044
|
+
run_as_user=config_run_as_user,
|
1045
|
+
service_name=test_service["name"])
|
696
1046
|
```
|
697
1047
|
|
698
1048
|
## Import
|
@@ -705,7 +1055,10 @@ class Config(pulumi.CustomResource):
|
|
705
1055
|
|
706
1056
|
:param str resource_name: The name of the resource.
|
707
1057
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1058
|
+
:param pulumi.Input[_builtins.str] agent_version: (Updatable) The version of the referenced agent bundle.
|
708
1059
|
:param pulumi.Input[_builtins.str] apm_domain_id: (Updatable) The APM Domain ID the request is intended for.
|
1060
|
+
:param pulumi.Input[_builtins.str] attach_install_dir: (Updatable) The directory owned by runAsUser.
|
1061
|
+
:param pulumi.Input[Union['ConfigConfigArgs', 'ConfigConfigArgsDict']] config: (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
709
1062
|
:param pulumi.Input[_builtins.str] config_type: (Updatable) The type of configuration item.
|
710
1063
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
711
1064
|
:param pulumi.Input[_builtins.str] description: (Updatable) An optional string that describes what the options are intended or used for.
|
@@ -716,11 +1069,21 @@ class Config(pulumi.CustomResource):
|
|
716
1069
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
717
1070
|
:param pulumi.Input[_builtins.str] group: (Updatable) A string that specifies the group that an OPTIONS item belongs to.
|
718
1071
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigInUseByArgs', 'ConfigInUseByArgsDict']]]] in_use_bies: The list of configuration items that reference the span filter.
|
1072
|
+
:param pulumi.Input[_builtins.str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
1073
|
+
:param pulumi.Input[_builtins.str] match_agents_with_attribute_value: The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
719
1074
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigMetricArgs', 'ConfigMetricArgsDict']]]] metrics: (Updatable) The list of metrics in this group.
|
720
1075
|
:param pulumi.Input[_builtins.str] namespace: (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
|
721
1076
|
:param pulumi.Input[_builtins.str] opc_dry_run: (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.
|
722
1077
|
:param pulumi.Input[_builtins.str] options: (Updatable) The options are stored here as JSON.
|
1078
|
+
:param pulumi.Input[Union['ConfigOverridesArgs', 'ConfigOverridesArgsDict']] overrides: (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
1079
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] process_filters: (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
723
1080
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigRuleArgs', 'ConfigRuleArgsDict']]]] rules: (Updatable)
|
1081
|
+
:param pulumi.Input[_builtins.str] run_as_user: (Updatable) The OS user that should be used to discover Java processes.
|
1082
|
+
:param pulumi.Input[_builtins.str] service_name: (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
1083
|
+
|
1084
|
+
|
1085
|
+
** IMPORTANT **
|
1086
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
724
1087
|
"""
|
725
1088
|
...
|
726
1089
|
@overload
|
@@ -742,7 +1105,15 @@ class Config(pulumi.CustomResource):
|
|
742
1105
|
test_config = oci.apmconfig.Config("test_config",
|
743
1106
|
apm_domain_id=test_apm_domain["id"],
|
744
1107
|
config_type=config_config_type,
|
745
|
-
|
1108
|
+
agent_version=config_agent_version,
|
1109
|
+
attach_install_dir=config_attach_install_dir,
|
1110
|
+
config={
|
1111
|
+
"config_maps": [{
|
1112
|
+
"file_name": config_config_config_map_file_name,
|
1113
|
+
"body": config_config_config_map_body,
|
1114
|
+
"content_type": config_config_config_map_content_type,
|
1115
|
+
}],
|
1116
|
+
},
|
746
1117
|
defined_tags={
|
747
1118
|
"foo-namespace.bar-key": "value",
|
748
1119
|
},
|
@@ -751,12 +1122,15 @@ class Config(pulumi.CustomResource):
|
|
751
1122
|
"name": config_dimensions_name,
|
752
1123
|
"value_source": config_dimensions_value_source,
|
753
1124
|
}],
|
1125
|
+
display_name=config_display_name,
|
754
1126
|
filter_id=test_filter["id"],
|
755
1127
|
filter_text=config_filter_text,
|
756
1128
|
freeform_tags={
|
757
1129
|
"bar-key": "value",
|
758
1130
|
},
|
759
1131
|
group=config_group,
|
1132
|
+
management_agent_id=test_management_agent["id"],
|
1133
|
+
match_agents_with_attribute_value=config_match_agents_with_attribute_value,
|
760
1134
|
metrics=[{
|
761
1135
|
"description": config_metrics_description,
|
762
1136
|
"name": config_metrics_name,
|
@@ -766,6 +1140,13 @@ class Config(pulumi.CustomResource):
|
|
766
1140
|
namespace=config_namespace,
|
767
1141
|
opc_dry_run=config_opc_dry_run,
|
768
1142
|
options=config_options,
|
1143
|
+
overrides={
|
1144
|
+
"override_lists": [{
|
1145
|
+
"agent_filter": config_overrides_override_list_agent_filter,
|
1146
|
+
"override_map": config_overrides_override_list_override_map,
|
1147
|
+
}],
|
1148
|
+
},
|
1149
|
+
process_filters=config_process_filter,
|
769
1150
|
rules=[{
|
770
1151
|
"display_name": config_rules_display_name,
|
771
1152
|
"filter_text": config_rules_filter_text,
|
@@ -774,7 +1155,9 @@ class Config(pulumi.CustomResource):
|
|
774
1155
|
"priority": config_rules_priority,
|
775
1156
|
"satisfied_response_time": config_rules_satisfied_response_time,
|
776
1157
|
"tolerating_response_time": config_rules_tolerating_response_time,
|
777
|
-
}]
|
1158
|
+
}],
|
1159
|
+
run_as_user=config_run_as_user,
|
1160
|
+
service_name=test_service["name"])
|
778
1161
|
```
|
779
1162
|
|
780
1163
|
## Import
|
@@ -800,7 +1183,10 @@ class Config(pulumi.CustomResource):
|
|
800
1183
|
def _internal_init(__self__,
|
801
1184
|
resource_name: str,
|
802
1185
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1186
|
+
agent_version: Optional[pulumi.Input[_builtins.str]] = None,
|
803
1187
|
apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1188
|
+
attach_install_dir: Optional[pulumi.Input[_builtins.str]] = None,
|
1189
|
+
config: Optional[pulumi.Input[Union['ConfigConfigArgs', 'ConfigConfigArgsDict']]] = None,
|
804
1190
|
config_type: Optional[pulumi.Input[_builtins.str]] = None,
|
805
1191
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
806
1192
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
@@ -811,11 +1197,17 @@ class Config(pulumi.CustomResource):
|
|
811
1197
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
812
1198
|
group: Optional[pulumi.Input[_builtins.str]] = None,
|
813
1199
|
in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigInUseByArgs', 'ConfigInUseByArgsDict']]]]] = None,
|
1200
|
+
management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1201
|
+
match_agents_with_attribute_value: Optional[pulumi.Input[_builtins.str]] = None,
|
814
1202
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigMetricArgs', 'ConfigMetricArgsDict']]]]] = None,
|
815
1203
|
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
816
1204
|
opc_dry_run: Optional[pulumi.Input[_builtins.str]] = None,
|
817
1205
|
options: Optional[pulumi.Input[_builtins.str]] = None,
|
1206
|
+
overrides: Optional[pulumi.Input[Union['ConfigOverridesArgs', 'ConfigOverridesArgsDict']]] = None,
|
1207
|
+
process_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
818
1208
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigRuleArgs', 'ConfigRuleArgsDict']]]]] = None,
|
1209
|
+
run_as_user: Optional[pulumi.Input[_builtins.str]] = None,
|
1210
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
819
1211
|
__props__=None):
|
820
1212
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
821
1213
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -825,30 +1217,38 @@ class Config(pulumi.CustomResource):
|
|
825
1217
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
826
1218
|
__props__ = ConfigArgs.__new__(ConfigArgs)
|
827
1219
|
|
1220
|
+
__props__.__dict__["agent_version"] = agent_version
|
828
1221
|
if apm_domain_id is None and not opts.urn:
|
829
1222
|
raise TypeError("Missing required property 'apm_domain_id'")
|
830
1223
|
__props__.__dict__["apm_domain_id"] = apm_domain_id
|
1224
|
+
__props__.__dict__["attach_install_dir"] = attach_install_dir
|
1225
|
+
__props__.__dict__["config"] = config
|
831
1226
|
if config_type is None and not opts.urn:
|
832
1227
|
raise TypeError("Missing required property 'config_type'")
|
833
1228
|
__props__.__dict__["config_type"] = config_type
|
834
1229
|
__props__.__dict__["defined_tags"] = defined_tags
|
835
1230
|
__props__.__dict__["description"] = description
|
836
1231
|
__props__.__dict__["dimensions"] = dimensions
|
837
|
-
if display_name is None and not opts.urn:
|
838
|
-
raise TypeError("Missing required property 'display_name'")
|
839
1232
|
__props__.__dict__["display_name"] = display_name
|
840
1233
|
__props__.__dict__["filter_id"] = filter_id
|
841
1234
|
__props__.__dict__["filter_text"] = filter_text
|
842
1235
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
843
1236
|
__props__.__dict__["group"] = group
|
844
1237
|
__props__.__dict__["in_use_bies"] = in_use_bies
|
1238
|
+
__props__.__dict__["management_agent_id"] = management_agent_id
|
1239
|
+
__props__.__dict__["match_agents_with_attribute_value"] = match_agents_with_attribute_value
|
845
1240
|
__props__.__dict__["metrics"] = metrics
|
846
1241
|
__props__.__dict__["namespace"] = namespace
|
847
1242
|
__props__.__dict__["opc_dry_run"] = opc_dry_run
|
848
1243
|
__props__.__dict__["options"] = options
|
1244
|
+
__props__.__dict__["overrides"] = overrides
|
1245
|
+
__props__.__dict__["process_filters"] = process_filters
|
849
1246
|
__props__.__dict__["rules"] = rules
|
1247
|
+
__props__.__dict__["run_as_user"] = run_as_user
|
1248
|
+
__props__.__dict__["service_name"] = service_name
|
850
1249
|
__props__.__dict__["created_by"] = None
|
851
1250
|
__props__.__dict__["etag"] = None
|
1251
|
+
__props__.__dict__["match_agents_with_attribute_keys"] = None
|
852
1252
|
__props__.__dict__["time_created"] = None
|
853
1253
|
__props__.__dict__["time_updated"] = None
|
854
1254
|
__props__.__dict__["updated_by"] = None
|
@@ -862,7 +1262,10 @@ class Config(pulumi.CustomResource):
|
|
862
1262
|
def get(resource_name: str,
|
863
1263
|
id: pulumi.Input[str],
|
864
1264
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1265
|
+
agent_version: Optional[pulumi.Input[_builtins.str]] = None,
|
865
1266
|
apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1267
|
+
attach_install_dir: Optional[pulumi.Input[_builtins.str]] = None,
|
1268
|
+
config: Optional[pulumi.Input[Union['ConfigConfigArgs', 'ConfigConfigArgsDict']]] = None,
|
866
1269
|
config_type: Optional[pulumi.Input[_builtins.str]] = None,
|
867
1270
|
created_by: Optional[pulumi.Input[_builtins.str]] = None,
|
868
1271
|
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
@@ -875,11 +1278,18 @@ class Config(pulumi.CustomResource):
|
|
875
1278
|
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
876
1279
|
group: Optional[pulumi.Input[_builtins.str]] = None,
|
877
1280
|
in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigInUseByArgs', 'ConfigInUseByArgsDict']]]]] = None,
|
1281
|
+
management_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1282
|
+
match_agents_with_attribute_keys: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1283
|
+
match_agents_with_attribute_value: Optional[pulumi.Input[_builtins.str]] = None,
|
878
1284
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigMetricArgs', 'ConfigMetricArgsDict']]]]] = None,
|
879
1285
|
namespace: Optional[pulumi.Input[_builtins.str]] = None,
|
880
1286
|
opc_dry_run: Optional[pulumi.Input[_builtins.str]] = None,
|
881
1287
|
options: Optional[pulumi.Input[_builtins.str]] = None,
|
1288
|
+
overrides: Optional[pulumi.Input[Union['ConfigOverridesArgs', 'ConfigOverridesArgsDict']]] = None,
|
1289
|
+
process_filters: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
882
1290
|
rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConfigRuleArgs', 'ConfigRuleArgsDict']]]]] = None,
|
1291
|
+
run_as_user: Optional[pulumi.Input[_builtins.str]] = None,
|
1292
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
883
1293
|
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
884
1294
|
time_updated: Optional[pulumi.Input[_builtins.str]] = None,
|
885
1295
|
updated_by: Optional[pulumi.Input[_builtins.str]] = None) -> 'Config':
|
@@ -890,7 +1300,10 @@ class Config(pulumi.CustomResource):
|
|
890
1300
|
:param str resource_name: The unique name of the resulting resource.
|
891
1301
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
892
1302
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1303
|
+
:param pulumi.Input[_builtins.str] agent_version: (Updatable) The version of the referenced agent bundle.
|
893
1304
|
:param pulumi.Input[_builtins.str] apm_domain_id: (Updatable) The APM Domain ID the request is intended for.
|
1305
|
+
:param pulumi.Input[_builtins.str] attach_install_dir: (Updatable) The directory owned by runAsUser.
|
1306
|
+
:param pulumi.Input[Union['ConfigConfigArgs', 'ConfigConfigArgsDict']] config: (Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
894
1307
|
:param pulumi.Input[_builtins.str] config_type: (Updatable) The type of configuration item.
|
895
1308
|
:param pulumi.Input[_builtins.str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
|
896
1309
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
@@ -903,11 +1316,22 @@ class Config(pulumi.CustomResource):
|
|
903
1316
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
904
1317
|
:param pulumi.Input[_builtins.str] group: (Updatable) A string that specifies the group that an OPTIONS item belongs to.
|
905
1318
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigInUseByArgs', 'ConfigInUseByArgsDict']]]] in_use_bies: The list of configuration items that reference the span filter.
|
1319
|
+
:param pulumi.Input[_builtins.str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
1320
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] match_agents_with_attribute_keys: The agent attribute KEY by which an Agent configuration is matched to an agent. All agent configuration objects share the same key. It is [ServiceName, service.name] by default. The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
|
1321
|
+
:param pulumi.Input[_builtins.str] match_agents_with_attribute_value: The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
906
1322
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigMetricArgs', 'ConfigMetricArgsDict']]]] metrics: (Updatable) The list of metrics in this group.
|
907
1323
|
:param pulumi.Input[_builtins.str] namespace: (Updatable) The namespace to which the metrics are published. It must be one of several predefined namespaces.
|
908
1324
|
:param pulumi.Input[_builtins.str] opc_dry_run: (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.
|
909
1325
|
:param pulumi.Input[_builtins.str] options: (Updatable) The options are stored here as JSON.
|
1326
|
+
:param pulumi.Input[Union['ConfigOverridesArgs', 'ConfigOverridesArgsDict']] overrides: (Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
1327
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] process_filters: (Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
910
1328
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ConfigRuleArgs', 'ConfigRuleArgsDict']]]] rules: (Updatable)
|
1329
|
+
:param pulumi.Input[_builtins.str] run_as_user: (Updatable) The OS user that should be used to discover Java processes.
|
1330
|
+
:param pulumi.Input[_builtins.str] service_name: (Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
1331
|
+
|
1332
|
+
|
1333
|
+
** IMPORTANT **
|
1334
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
911
1335
|
:param pulumi.Input[_builtins.str] time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z`
|
912
1336
|
:param pulumi.Input[_builtins.str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z`
|
913
1337
|
:param pulumi.Input[_builtins.str] updated_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user.
|
@@ -916,7 +1340,10 @@ class Config(pulumi.CustomResource):
|
|
916
1340
|
|
917
1341
|
__props__ = _ConfigState.__new__(_ConfigState)
|
918
1342
|
|
1343
|
+
__props__.__dict__["agent_version"] = agent_version
|
919
1344
|
__props__.__dict__["apm_domain_id"] = apm_domain_id
|
1345
|
+
__props__.__dict__["attach_install_dir"] = attach_install_dir
|
1346
|
+
__props__.__dict__["config"] = config
|
920
1347
|
__props__.__dict__["config_type"] = config_type
|
921
1348
|
__props__.__dict__["created_by"] = created_by
|
922
1349
|
__props__.__dict__["defined_tags"] = defined_tags
|
@@ -929,16 +1356,31 @@ class Config(pulumi.CustomResource):
|
|
929
1356
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
930
1357
|
__props__.__dict__["group"] = group
|
931
1358
|
__props__.__dict__["in_use_bies"] = in_use_bies
|
1359
|
+
__props__.__dict__["management_agent_id"] = management_agent_id
|
1360
|
+
__props__.__dict__["match_agents_with_attribute_keys"] = match_agents_with_attribute_keys
|
1361
|
+
__props__.__dict__["match_agents_with_attribute_value"] = match_agents_with_attribute_value
|
932
1362
|
__props__.__dict__["metrics"] = metrics
|
933
1363
|
__props__.__dict__["namespace"] = namespace
|
934
1364
|
__props__.__dict__["opc_dry_run"] = opc_dry_run
|
935
1365
|
__props__.__dict__["options"] = options
|
1366
|
+
__props__.__dict__["overrides"] = overrides
|
1367
|
+
__props__.__dict__["process_filters"] = process_filters
|
936
1368
|
__props__.__dict__["rules"] = rules
|
1369
|
+
__props__.__dict__["run_as_user"] = run_as_user
|
1370
|
+
__props__.__dict__["service_name"] = service_name
|
937
1371
|
__props__.__dict__["time_created"] = time_created
|
938
1372
|
__props__.__dict__["time_updated"] = time_updated
|
939
1373
|
__props__.__dict__["updated_by"] = updated_by
|
940
1374
|
return Config(resource_name, opts=opts, __props__=__props__)
|
941
1375
|
|
1376
|
+
@_builtins.property
|
1377
|
+
@pulumi.getter(name="agentVersion")
|
1378
|
+
def agent_version(self) -> pulumi.Output[_builtins.str]:
|
1379
|
+
"""
|
1380
|
+
(Updatable) The version of the referenced agent bundle.
|
1381
|
+
"""
|
1382
|
+
return pulumi.get(self, "agent_version")
|
1383
|
+
|
942
1384
|
@_builtins.property
|
943
1385
|
@pulumi.getter(name="apmDomainId")
|
944
1386
|
def apm_domain_id(self) -> pulumi.Output[_builtins.str]:
|
@@ -947,6 +1389,22 @@ class Config(pulumi.CustomResource):
|
|
947
1389
|
"""
|
948
1390
|
return pulumi.get(self, "apm_domain_id")
|
949
1391
|
|
1392
|
+
@_builtins.property
|
1393
|
+
@pulumi.getter(name="attachInstallDir")
|
1394
|
+
def attach_install_dir(self) -> pulumi.Output[_builtins.str]:
|
1395
|
+
"""
|
1396
|
+
(Updatable) The directory owned by runAsUser.
|
1397
|
+
"""
|
1398
|
+
return pulumi.get(self, "attach_install_dir")
|
1399
|
+
|
1400
|
+
@_builtins.property
|
1401
|
+
@pulumi.getter
|
1402
|
+
def config(self) -> pulumi.Output['outputs.ConfigConfig']:
|
1403
|
+
"""
|
1404
|
+
(Updatable) Collection of agent configuration files. For agents that use a single configuration file, this SHOULD contain a single entry and the file name MAY be an empty string. For multiple entries, you should use multiple blocks of `config_map`. To apply a different configuration in a subset of the agents, put this block anywhere in the body of the configuration and edit <some variable> and <some content> {{ <some variable> | default <some content> }} Example: com.oracle.apm.agent.tracer.enable.jfr = {{ isJfrEnabled | default false }} Then, in the configuration's overrides, specify a different value for <some variable> along with the desired agent filter. Example: "agentFilter": "ApplicationType='Tomcat'" "overrideMap": { "isJfrEnabled": true }
|
1405
|
+
"""
|
1406
|
+
return pulumi.get(self, "config")
|
1407
|
+
|
950
1408
|
@_builtins.property
|
951
1409
|
@pulumi.getter(name="configType")
|
952
1410
|
def config_type(self) -> pulumi.Output[_builtins.str]:
|
@@ -1043,6 +1501,30 @@ class Config(pulumi.CustomResource):
|
|
1043
1501
|
"""
|
1044
1502
|
return pulumi.get(self, "in_use_bies")
|
1045
1503
|
|
1504
|
+
@_builtins.property
|
1505
|
+
@pulumi.getter(name="managementAgentId")
|
1506
|
+
def management_agent_id(self) -> pulumi.Output[_builtins.str]:
|
1507
|
+
"""
|
1508
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent that will provision the APM Agent.
|
1509
|
+
"""
|
1510
|
+
return pulumi.get(self, "management_agent_id")
|
1511
|
+
|
1512
|
+
@_builtins.property
|
1513
|
+
@pulumi.getter(name="matchAgentsWithAttributeKeys")
|
1514
|
+
def match_agents_with_attribute_keys(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
1515
|
+
"""
|
1516
|
+
The agent attribute KEY by which an Agent configuration is matched to an agent. All agent configuration objects share the same key. It is [ServiceName, service.name] by default. The attribute VALUE corresponding to this KEY is in the matchAgentsWithAttributeValue field.
|
1517
|
+
"""
|
1518
|
+
return pulumi.get(self, "match_agents_with_attribute_keys")
|
1519
|
+
|
1520
|
+
@_builtins.property
|
1521
|
+
@pulumi.getter(name="matchAgentsWithAttributeValue")
|
1522
|
+
def match_agents_with_attribute_value(self) -> pulumi.Output[_builtins.str]:
|
1523
|
+
"""
|
1524
|
+
The agent attribute VALUE by which an agent configuration is matched to an agent. Each agent configuration object must specify a different value. The attribute KEY corresponding to this VALUE is in the matchAgentsWithAttributeKey field.
|
1525
|
+
"""
|
1526
|
+
return pulumi.get(self, "match_agents_with_attribute_value")
|
1527
|
+
|
1046
1528
|
@_builtins.property
|
1047
1529
|
@pulumi.getter
|
1048
1530
|
def metrics(self) -> pulumi.Output[Sequence['outputs.ConfigMetric']]:
|
@@ -1075,6 +1557,22 @@ class Config(pulumi.CustomResource):
|
|
1075
1557
|
"""
|
1076
1558
|
return pulumi.get(self, "options")
|
1077
1559
|
|
1560
|
+
@_builtins.property
|
1561
|
+
@pulumi.getter
|
1562
|
+
def overrides(self) -> pulumi.Output['outputs.ConfigOverrides']:
|
1563
|
+
"""
|
1564
|
+
(Updatable) Agent configuration overrides that should apply to a subset of the agents associated with an Agent Config object.
|
1565
|
+
"""
|
1566
|
+
return pulumi.get(self, "overrides")
|
1567
|
+
|
1568
|
+
@_builtins.property
|
1569
|
+
@pulumi.getter(name="processFilters")
|
1570
|
+
def process_filters(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
1571
|
+
"""
|
1572
|
+
(Updatable) Filter patterns used to discover active Java processes for provisioning the APM Agent.
|
1573
|
+
"""
|
1574
|
+
return pulumi.get(self, "process_filters")
|
1575
|
+
|
1078
1576
|
@_builtins.property
|
1079
1577
|
@pulumi.getter
|
1080
1578
|
def rules(self) -> pulumi.Output[Sequence['outputs.ConfigRule']]:
|
@@ -1083,6 +1581,26 @@ class Config(pulumi.CustomResource):
|
|
1083
1581
|
"""
|
1084
1582
|
return pulumi.get(self, "rules")
|
1085
1583
|
|
1584
|
+
@_builtins.property
|
1585
|
+
@pulumi.getter(name="runAsUser")
|
1586
|
+
def run_as_user(self) -> pulumi.Output[_builtins.str]:
|
1587
|
+
"""
|
1588
|
+
(Updatable) The OS user that should be used to discover Java processes.
|
1589
|
+
"""
|
1590
|
+
return pulumi.get(self, "run_as_user")
|
1591
|
+
|
1592
|
+
@_builtins.property
|
1593
|
+
@pulumi.getter(name="serviceName")
|
1594
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
1595
|
+
"""
|
1596
|
+
(Updatable) The name of the service being monitored. This argument enables you to filter by service and view traces and other signals in the APM Explorer user interface.
|
1597
|
+
|
1598
|
+
|
1599
|
+
** IMPORTANT **
|
1600
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
1601
|
+
"""
|
1602
|
+
return pulumi.get(self, "service_name")
|
1603
|
+
|
1086
1604
|
@_builtins.property
|
1087
1605
|
@pulumi.getter(name="timeCreated")
|
1088
1606
|
def time_created(self) -> pulumi.Output[_builtins.str]:
|