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
@@ -0,0 +1,356 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetLogResult',
|
20
|
+
'AwaitableGetLogResult',
|
21
|
+
'get_log',
|
22
|
+
'get_log_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetLogResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getLog.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, apm_domain_id=None, attribute_metadata=None, attributes=None, body=None, event_name=None, id=None, log_key=None, overflow_attributes=None, severity_number=None, severity_text=None, span_key=None, time_created=None, time_log_ended_less_than=None, time_log_started_greater_than_or_equal_to=None, time_observed=None, timestamp=None, trace_flags=None, trace_key=None):
|
31
|
+
if apm_domain_id and not isinstance(apm_domain_id, str):
|
32
|
+
raise TypeError("Expected argument 'apm_domain_id' to be a str")
|
33
|
+
pulumi.set(__self__, "apm_domain_id", apm_domain_id)
|
34
|
+
if attribute_metadata and not isinstance(attribute_metadata, dict):
|
35
|
+
raise TypeError("Expected argument 'attribute_metadata' to be a dict")
|
36
|
+
pulumi.set(__self__, "attribute_metadata", attribute_metadata)
|
37
|
+
if attributes and not isinstance(attributes, list):
|
38
|
+
raise TypeError("Expected argument 'attributes' to be a list")
|
39
|
+
pulumi.set(__self__, "attributes", attributes)
|
40
|
+
if body and not isinstance(body, str):
|
41
|
+
raise TypeError("Expected argument 'body' to be a str")
|
42
|
+
pulumi.set(__self__, "body", body)
|
43
|
+
if event_name and not isinstance(event_name, str):
|
44
|
+
raise TypeError("Expected argument 'event_name' to be a str")
|
45
|
+
pulumi.set(__self__, "event_name", event_name)
|
46
|
+
if id and not isinstance(id, str):
|
47
|
+
raise TypeError("Expected argument 'id' to be a str")
|
48
|
+
pulumi.set(__self__, "id", id)
|
49
|
+
if log_key and not isinstance(log_key, str):
|
50
|
+
raise TypeError("Expected argument 'log_key' to be a str")
|
51
|
+
pulumi.set(__self__, "log_key", log_key)
|
52
|
+
if overflow_attributes and not isinstance(overflow_attributes, str):
|
53
|
+
raise TypeError("Expected argument 'overflow_attributes' to be a str")
|
54
|
+
pulumi.set(__self__, "overflow_attributes", overflow_attributes)
|
55
|
+
if severity_number and not isinstance(severity_number, int):
|
56
|
+
raise TypeError("Expected argument 'severity_number' to be a int")
|
57
|
+
pulumi.set(__self__, "severity_number", severity_number)
|
58
|
+
if severity_text and not isinstance(severity_text, str):
|
59
|
+
raise TypeError("Expected argument 'severity_text' to be a str")
|
60
|
+
pulumi.set(__self__, "severity_text", severity_text)
|
61
|
+
if span_key and not isinstance(span_key, str):
|
62
|
+
raise TypeError("Expected argument 'span_key' to be a str")
|
63
|
+
pulumi.set(__self__, "span_key", span_key)
|
64
|
+
if time_created and not isinstance(time_created, str):
|
65
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
66
|
+
pulumi.set(__self__, "time_created", time_created)
|
67
|
+
if time_log_ended_less_than and not isinstance(time_log_ended_less_than, str):
|
68
|
+
raise TypeError("Expected argument 'time_log_ended_less_than' to be a str")
|
69
|
+
pulumi.set(__self__, "time_log_ended_less_than", time_log_ended_less_than)
|
70
|
+
if time_log_started_greater_than_or_equal_to and not isinstance(time_log_started_greater_than_or_equal_to, str):
|
71
|
+
raise TypeError("Expected argument 'time_log_started_greater_than_or_equal_to' to be a str")
|
72
|
+
pulumi.set(__self__, "time_log_started_greater_than_or_equal_to", time_log_started_greater_than_or_equal_to)
|
73
|
+
if time_observed and not isinstance(time_observed, str):
|
74
|
+
raise TypeError("Expected argument 'time_observed' to be a str")
|
75
|
+
pulumi.set(__self__, "time_observed", time_observed)
|
76
|
+
if timestamp and not isinstance(timestamp, str):
|
77
|
+
raise TypeError("Expected argument 'timestamp' to be a str")
|
78
|
+
pulumi.set(__self__, "timestamp", timestamp)
|
79
|
+
if trace_flags and not isinstance(trace_flags, int):
|
80
|
+
raise TypeError("Expected argument 'trace_flags' to be a int")
|
81
|
+
pulumi.set(__self__, "trace_flags", trace_flags)
|
82
|
+
if trace_key and not isinstance(trace_key, str):
|
83
|
+
raise TypeError("Expected argument 'trace_key' to be a str")
|
84
|
+
pulumi.set(__self__, "trace_key", trace_key)
|
85
|
+
|
86
|
+
@_builtins.property
|
87
|
+
@pulumi.getter(name="apmDomainId")
|
88
|
+
def apm_domain_id(self) -> _builtins.str:
|
89
|
+
return pulumi.get(self, "apm_domain_id")
|
90
|
+
|
91
|
+
@_builtins.property
|
92
|
+
@pulumi.getter(name="attributeMetadata")
|
93
|
+
def attribute_metadata(self) -> Mapping[str, _builtins.str]:
|
94
|
+
"""
|
95
|
+
Metadata about the attributes in the logs.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "attribute_metadata")
|
98
|
+
|
99
|
+
@_builtins.property
|
100
|
+
@pulumi.getter
|
101
|
+
def attributes(self) -> Sequence['outputs.GetLogAttributeResult']:
|
102
|
+
"""
|
103
|
+
List of attributes associated with the logs.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "attributes")
|
106
|
+
|
107
|
+
@_builtins.property
|
108
|
+
@pulumi.getter
|
109
|
+
def body(self) -> _builtins.str:
|
110
|
+
"""
|
111
|
+
Log body (Body).
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "body")
|
114
|
+
|
115
|
+
@_builtins.property
|
116
|
+
@pulumi.getter(name="eventName")
|
117
|
+
def event_name(self) -> _builtins.str:
|
118
|
+
"""
|
119
|
+
Name of the event.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "event_name")
|
122
|
+
|
123
|
+
@_builtins.property
|
124
|
+
@pulumi.getter
|
125
|
+
def id(self) -> _builtins.str:
|
126
|
+
"""
|
127
|
+
The provider-assigned unique ID for this managed resource.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "id")
|
130
|
+
|
131
|
+
@_builtins.property
|
132
|
+
@pulumi.getter(name="logKey")
|
133
|
+
def log_key(self) -> _builtins.str:
|
134
|
+
"""
|
135
|
+
Unique identifier (logId) for the logKey. Note that this field is defined as logKey in the API and it maps to the logId in Application Performance Monitoring.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "log_key")
|
138
|
+
|
139
|
+
@_builtins.property
|
140
|
+
@pulumi.getter(name="overflowAttributes")
|
141
|
+
def overflow_attributes(self) -> _builtins.str:
|
142
|
+
"""
|
143
|
+
Full values for attributes that are too long to be stored as a log attribute (Overflow).
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "overflow_attributes")
|
146
|
+
|
147
|
+
@_builtins.property
|
148
|
+
@pulumi.getter(name="severityNumber")
|
149
|
+
def severity_number(self) -> _builtins.int:
|
150
|
+
"""
|
151
|
+
Log Severity number (SeverityNumber).
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "severity_number")
|
154
|
+
|
155
|
+
@_builtins.property
|
156
|
+
@pulumi.getter(name="severityText")
|
157
|
+
def severity_text(self) -> _builtins.str:
|
158
|
+
"""
|
159
|
+
Log Severity text (SeverityText). Also known as Log level.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "severity_text")
|
162
|
+
|
163
|
+
@_builtins.property
|
164
|
+
@pulumi.getter(name="spanKey")
|
165
|
+
def span_key(self) -> _builtins.str:
|
166
|
+
"""
|
167
|
+
Unique identifier for the span (spanId) associated with this log.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "span_key")
|
170
|
+
|
171
|
+
@_builtins.property
|
172
|
+
@pulumi.getter(name="timeCreated")
|
173
|
+
def time_created(self) -> _builtins.str:
|
174
|
+
"""
|
175
|
+
Time that the log event occurred (CreatedTime).
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "time_created")
|
178
|
+
|
179
|
+
@_builtins.property
|
180
|
+
@pulumi.getter(name="timeLogEndedLessThan")
|
181
|
+
def time_log_ended_less_than(self) -> _builtins.str:
|
182
|
+
return pulumi.get(self, "time_log_ended_less_than")
|
183
|
+
|
184
|
+
@_builtins.property
|
185
|
+
@pulumi.getter(name="timeLogStartedGreaterThanOrEqualTo")
|
186
|
+
def time_log_started_greater_than_or_equal_to(self) -> _builtins.str:
|
187
|
+
return pulumi.get(self, "time_log_started_greater_than_or_equal_to")
|
188
|
+
|
189
|
+
@_builtins.property
|
190
|
+
@pulumi.getter(name="timeObserved")
|
191
|
+
def time_observed(self) -> _builtins.str:
|
192
|
+
"""
|
193
|
+
Time that the log was received by apm (ObservedTime).
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "time_observed")
|
196
|
+
|
197
|
+
@_builtins.property
|
198
|
+
@pulumi.getter
|
199
|
+
def timestamp(self) -> _builtins.str:
|
200
|
+
"""
|
201
|
+
Time used by the time picker (RecordedTime). Either the timeCreated if present or the timeObserved.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "timestamp")
|
204
|
+
|
205
|
+
@_builtins.property
|
206
|
+
@pulumi.getter(name="traceFlags")
|
207
|
+
def trace_flags(self) -> _builtins.int:
|
208
|
+
"""
|
209
|
+
Trace flags.
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "trace_flags")
|
212
|
+
|
213
|
+
@_builtins.property
|
214
|
+
@pulumi.getter(name="traceKey")
|
215
|
+
def trace_key(self) -> _builtins.str:
|
216
|
+
"""
|
217
|
+
Unique identifier for the trace (traceId) associated with this log.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "trace_key")
|
220
|
+
|
221
|
+
|
222
|
+
class AwaitableGetLogResult(GetLogResult):
|
223
|
+
# pylint: disable=using-constant-test
|
224
|
+
def __await__(self):
|
225
|
+
if False:
|
226
|
+
yield self
|
227
|
+
return GetLogResult(
|
228
|
+
apm_domain_id=self.apm_domain_id,
|
229
|
+
attribute_metadata=self.attribute_metadata,
|
230
|
+
attributes=self.attributes,
|
231
|
+
body=self.body,
|
232
|
+
event_name=self.event_name,
|
233
|
+
id=self.id,
|
234
|
+
log_key=self.log_key,
|
235
|
+
overflow_attributes=self.overflow_attributes,
|
236
|
+
severity_number=self.severity_number,
|
237
|
+
severity_text=self.severity_text,
|
238
|
+
span_key=self.span_key,
|
239
|
+
time_created=self.time_created,
|
240
|
+
time_log_ended_less_than=self.time_log_ended_less_than,
|
241
|
+
time_log_started_greater_than_or_equal_to=self.time_log_started_greater_than_or_equal_to,
|
242
|
+
time_observed=self.time_observed,
|
243
|
+
timestamp=self.timestamp,
|
244
|
+
trace_flags=self.trace_flags,
|
245
|
+
trace_key=self.trace_key)
|
246
|
+
|
247
|
+
|
248
|
+
def get_log(apm_domain_id: Optional[_builtins.str] = None,
|
249
|
+
log_key: Optional[_builtins.str] = None,
|
250
|
+
time_log_ended_less_than: Optional[_builtins.str] = None,
|
251
|
+
time_log_started_greater_than_or_equal_to: Optional[_builtins.str] = None,
|
252
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogResult:
|
253
|
+
"""
|
254
|
+
This data source provides details about a specific Log resource in Oracle Cloud Infrastructure Apm Traces service.
|
255
|
+
|
256
|
+
Retrieve a log in the APM Domain.
|
257
|
+
|
258
|
+
## Example Usage
|
259
|
+
|
260
|
+
```python
|
261
|
+
import pulumi
|
262
|
+
import pulumi_oci as oci
|
263
|
+
|
264
|
+
test_log = oci.ApmTraces.get_log(apm_domain_id=test_apm_domain["id"],
|
265
|
+
log_key=log_log_key,
|
266
|
+
time_log_ended_less_than=log_time_log_ended_less_than,
|
267
|
+
time_log_started_greater_than_or_equal_to=log_time_log_started_greater_than_or_equal_to)
|
268
|
+
```
|
269
|
+
|
270
|
+
|
271
|
+
:param _builtins.str apm_domain_id: The APM Domain ID for the intended request.
|
272
|
+
:param _builtins.str log_key: Log key.
|
273
|
+
:param _builtins.str time_log_ended_less_than: Include logs with log time less than this value.
|
274
|
+
:param _builtins.str time_log_started_greater_than_or_equal_to: Include logs with log time equal to or greater than this value.
|
275
|
+
"""
|
276
|
+
__args__ = dict()
|
277
|
+
__args__['apmDomainId'] = apm_domain_id
|
278
|
+
__args__['logKey'] = log_key
|
279
|
+
__args__['timeLogEndedLessThan'] = time_log_ended_less_than
|
280
|
+
__args__['timeLogStartedGreaterThanOrEqualTo'] = time_log_started_greater_than_or_equal_to
|
281
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
282
|
+
__ret__ = pulumi.runtime.invoke('oci:ApmTraces/getLog:getLog', __args__, opts=opts, typ=GetLogResult).value
|
283
|
+
|
284
|
+
return AwaitableGetLogResult(
|
285
|
+
apm_domain_id=pulumi.get(__ret__, 'apm_domain_id'),
|
286
|
+
attribute_metadata=pulumi.get(__ret__, 'attribute_metadata'),
|
287
|
+
attributes=pulumi.get(__ret__, 'attributes'),
|
288
|
+
body=pulumi.get(__ret__, 'body'),
|
289
|
+
event_name=pulumi.get(__ret__, 'event_name'),
|
290
|
+
id=pulumi.get(__ret__, 'id'),
|
291
|
+
log_key=pulumi.get(__ret__, 'log_key'),
|
292
|
+
overflow_attributes=pulumi.get(__ret__, 'overflow_attributes'),
|
293
|
+
severity_number=pulumi.get(__ret__, 'severity_number'),
|
294
|
+
severity_text=pulumi.get(__ret__, 'severity_text'),
|
295
|
+
span_key=pulumi.get(__ret__, 'span_key'),
|
296
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
297
|
+
time_log_ended_less_than=pulumi.get(__ret__, 'time_log_ended_less_than'),
|
298
|
+
time_log_started_greater_than_or_equal_to=pulumi.get(__ret__, 'time_log_started_greater_than_or_equal_to'),
|
299
|
+
time_observed=pulumi.get(__ret__, 'time_observed'),
|
300
|
+
timestamp=pulumi.get(__ret__, 'timestamp'),
|
301
|
+
trace_flags=pulumi.get(__ret__, 'trace_flags'),
|
302
|
+
trace_key=pulumi.get(__ret__, 'trace_key'))
|
303
|
+
def get_log_output(apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
304
|
+
log_key: Optional[pulumi.Input[_builtins.str]] = None,
|
305
|
+
time_log_ended_less_than: Optional[pulumi.Input[_builtins.str]] = None,
|
306
|
+
time_log_started_greater_than_or_equal_to: Optional[pulumi.Input[_builtins.str]] = None,
|
307
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogResult]:
|
308
|
+
"""
|
309
|
+
This data source provides details about a specific Log resource in Oracle Cloud Infrastructure Apm Traces service.
|
310
|
+
|
311
|
+
Retrieve a log in the APM Domain.
|
312
|
+
|
313
|
+
## Example Usage
|
314
|
+
|
315
|
+
```python
|
316
|
+
import pulumi
|
317
|
+
import pulumi_oci as oci
|
318
|
+
|
319
|
+
test_log = oci.ApmTraces.get_log(apm_domain_id=test_apm_domain["id"],
|
320
|
+
log_key=log_log_key,
|
321
|
+
time_log_ended_less_than=log_time_log_ended_less_than,
|
322
|
+
time_log_started_greater_than_or_equal_to=log_time_log_started_greater_than_or_equal_to)
|
323
|
+
```
|
324
|
+
|
325
|
+
|
326
|
+
:param _builtins.str apm_domain_id: The APM Domain ID for the intended request.
|
327
|
+
:param _builtins.str log_key: Log key.
|
328
|
+
:param _builtins.str time_log_ended_less_than: Include logs with log time less than this value.
|
329
|
+
:param _builtins.str time_log_started_greater_than_or_equal_to: Include logs with log time equal to or greater than this value.
|
330
|
+
"""
|
331
|
+
__args__ = dict()
|
332
|
+
__args__['apmDomainId'] = apm_domain_id
|
333
|
+
__args__['logKey'] = log_key
|
334
|
+
__args__['timeLogEndedLessThan'] = time_log_ended_less_than
|
335
|
+
__args__['timeLogStartedGreaterThanOrEqualTo'] = time_log_started_greater_than_or_equal_to
|
336
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
337
|
+
__ret__ = pulumi.runtime.invoke_output('oci:ApmTraces/getLog:getLog', __args__, opts=opts, typ=GetLogResult)
|
338
|
+
return __ret__.apply(lambda __response__: GetLogResult(
|
339
|
+
apm_domain_id=pulumi.get(__response__, 'apm_domain_id'),
|
340
|
+
attribute_metadata=pulumi.get(__response__, 'attribute_metadata'),
|
341
|
+
attributes=pulumi.get(__response__, 'attributes'),
|
342
|
+
body=pulumi.get(__response__, 'body'),
|
343
|
+
event_name=pulumi.get(__response__, 'event_name'),
|
344
|
+
id=pulumi.get(__response__, 'id'),
|
345
|
+
log_key=pulumi.get(__response__, 'log_key'),
|
346
|
+
overflow_attributes=pulumi.get(__response__, 'overflow_attributes'),
|
347
|
+
severity_number=pulumi.get(__response__, 'severity_number'),
|
348
|
+
severity_text=pulumi.get(__response__, 'severity_text'),
|
349
|
+
span_key=pulumi.get(__response__, 'span_key'),
|
350
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
351
|
+
time_log_ended_less_than=pulumi.get(__response__, 'time_log_ended_less_than'),
|
352
|
+
time_log_started_greater_than_or_equal_to=pulumi.get(__response__, 'time_log_started_greater_than_or_equal_to'),
|
353
|
+
time_observed=pulumi.get(__response__, 'time_observed'),
|
354
|
+
timestamp=pulumi.get(__response__, 'timestamp'),
|
355
|
+
trace_flags=pulumi.get(__response__, 'trace_flags'),
|
356
|
+
trace_key=pulumi.get(__response__, 'trace_key')))
|
@@ -0,0 +1,163 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetScheduledQueriesResult',
|
21
|
+
'AwaitableGetScheduledQueriesResult',
|
22
|
+
'get_scheduled_queries',
|
23
|
+
'get_scheduled_queries_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetScheduledQueriesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getScheduledQueries.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, apm_domain_id=None, display_name=None, filters=None, id=None, scheduled_query_collections=None):
|
32
|
+
if apm_domain_id and not isinstance(apm_domain_id, str):
|
33
|
+
raise TypeError("Expected argument 'apm_domain_id' to be a str")
|
34
|
+
pulumi.set(__self__, "apm_domain_id", apm_domain_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if scheduled_query_collections and not isinstance(scheduled_query_collections, list):
|
45
|
+
raise TypeError("Expected argument 'scheduled_query_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "scheduled_query_collections", scheduled_query_collections)
|
47
|
+
|
48
|
+
@_builtins.property
|
49
|
+
@pulumi.getter(name="apmDomainId")
|
50
|
+
def apm_domain_id(self) -> _builtins.str:
|
51
|
+
return pulumi.get(self, "apm_domain_id")
|
52
|
+
|
53
|
+
@_builtins.property
|
54
|
+
@pulumi.getter(name="displayName")
|
55
|
+
def display_name(self) -> Optional[_builtins.str]:
|
56
|
+
return pulumi.get(self, "display_name")
|
57
|
+
|
58
|
+
@_builtins.property
|
59
|
+
@pulumi.getter
|
60
|
+
def filters(self) -> Optional[Sequence['outputs.GetScheduledQueriesFilterResult']]:
|
61
|
+
return pulumi.get(self, "filters")
|
62
|
+
|
63
|
+
@_builtins.property
|
64
|
+
@pulumi.getter
|
65
|
+
def id(self) -> _builtins.str:
|
66
|
+
"""
|
67
|
+
The provider-assigned unique ID for this managed resource.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "id")
|
70
|
+
|
71
|
+
@_builtins.property
|
72
|
+
@pulumi.getter(name="scheduledQueryCollections")
|
73
|
+
def scheduled_query_collections(self) -> Sequence['outputs.GetScheduledQueriesScheduledQueryCollectionResult']:
|
74
|
+
"""
|
75
|
+
The list of scheduled_query_collection.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "scheduled_query_collections")
|
78
|
+
|
79
|
+
|
80
|
+
class AwaitableGetScheduledQueriesResult(GetScheduledQueriesResult):
|
81
|
+
# pylint: disable=using-constant-test
|
82
|
+
def __await__(self):
|
83
|
+
if False:
|
84
|
+
yield self
|
85
|
+
return GetScheduledQueriesResult(
|
86
|
+
apm_domain_id=self.apm_domain_id,
|
87
|
+
display_name=self.display_name,
|
88
|
+
filters=self.filters,
|
89
|
+
id=self.id,
|
90
|
+
scheduled_query_collections=self.scheduled_query_collections)
|
91
|
+
|
92
|
+
|
93
|
+
def get_scheduled_queries(apm_domain_id: Optional[_builtins.str] = None,
|
94
|
+
display_name: Optional[_builtins.str] = None,
|
95
|
+
filters: Optional[Sequence[Union['GetScheduledQueriesFilterArgs', 'GetScheduledQueriesFilterArgsDict']]] = None,
|
96
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledQueriesResult:
|
97
|
+
"""
|
98
|
+
This data source provides the list of Scheduled Queries in Oracle Cloud Infrastructure Apm Traces service.
|
99
|
+
|
100
|
+
Returns a list of all scheduled queries in the APM Domain.
|
101
|
+
|
102
|
+
## Example Usage
|
103
|
+
|
104
|
+
```python
|
105
|
+
import pulumi
|
106
|
+
import pulumi_oci as oci
|
107
|
+
|
108
|
+
test_scheduled_queries = oci.ApmTraces.get_scheduled_queries(apm_domain_id=test_apm_domain["id"],
|
109
|
+
display_name=scheduled_query_display_name)
|
110
|
+
```
|
111
|
+
|
112
|
+
|
113
|
+
:param _builtins.str apm_domain_id: The APM Domain ID for the intended request.
|
114
|
+
:param _builtins.str display_name: A filter to return resources that match the given display name. This will return resources that have name starting with this filter.
|
115
|
+
"""
|
116
|
+
__args__ = dict()
|
117
|
+
__args__['apmDomainId'] = apm_domain_id
|
118
|
+
__args__['displayName'] = display_name
|
119
|
+
__args__['filters'] = filters
|
120
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
121
|
+
__ret__ = pulumi.runtime.invoke('oci:ApmTraces/getScheduledQueries:getScheduledQueries', __args__, opts=opts, typ=GetScheduledQueriesResult).value
|
122
|
+
|
123
|
+
return AwaitableGetScheduledQueriesResult(
|
124
|
+
apm_domain_id=pulumi.get(__ret__, 'apm_domain_id'),
|
125
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
126
|
+
filters=pulumi.get(__ret__, 'filters'),
|
127
|
+
id=pulumi.get(__ret__, 'id'),
|
128
|
+
scheduled_query_collections=pulumi.get(__ret__, 'scheduled_query_collections'))
|
129
|
+
def get_scheduled_queries_output(apm_domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
130
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
131
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetScheduledQueriesFilterArgs', 'GetScheduledQueriesFilterArgsDict']]]]] = None,
|
132
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduledQueriesResult]:
|
133
|
+
"""
|
134
|
+
This data source provides the list of Scheduled Queries in Oracle Cloud Infrastructure Apm Traces service.
|
135
|
+
|
136
|
+
Returns a list of all scheduled queries in the APM Domain.
|
137
|
+
|
138
|
+
## Example Usage
|
139
|
+
|
140
|
+
```python
|
141
|
+
import pulumi
|
142
|
+
import pulumi_oci as oci
|
143
|
+
|
144
|
+
test_scheduled_queries = oci.ApmTraces.get_scheduled_queries(apm_domain_id=test_apm_domain["id"],
|
145
|
+
display_name=scheduled_query_display_name)
|
146
|
+
```
|
147
|
+
|
148
|
+
|
149
|
+
:param _builtins.str apm_domain_id: The APM Domain ID for the intended request.
|
150
|
+
:param _builtins.str display_name: A filter to return resources that match the given display name. This will return resources that have name starting with this filter.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['apmDomainId'] = apm_domain_id
|
154
|
+
__args__['displayName'] = display_name
|
155
|
+
__args__['filters'] = filters
|
156
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
157
|
+
__ret__ = pulumi.runtime.invoke_output('oci:ApmTraces/getScheduledQueries:getScheduledQueries', __args__, opts=opts, typ=GetScheduledQueriesResult)
|
158
|
+
return __ret__.apply(lambda __response__: GetScheduledQueriesResult(
|
159
|
+
apm_domain_id=pulumi.get(__response__, 'apm_domain_id'),
|
160
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
161
|
+
filters=pulumi.get(__response__, 'filters'),
|
162
|
+
id=pulumi.get(__response__, 'id'),
|
163
|
+
scheduled_query_collections=pulumi.get(__response__, 'scheduled_query_collections')))
|